{"id":26513200,"url":"https://github.com/bhttchr6/computational-geometry-problems","last_synced_at":"2025-03-21T04:27:45.147Z","repository":{"id":280242958,"uuid":"916923328","full_name":"bhttchr6/Computational-Geometry-Problems","owner":"bhttchr6","description":"Computational geometry and smart pointers related problems","archived":false,"fork":false,"pushed_at":"2025-03-02T07:59:46.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T08:24:45.301Z","etag":null,"topics":["collision-detection","computational-geometry","operator-overloading","raytracing","smart-pointers"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhttchr6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-15T02:29:54.000Z","updated_at":"2025-03-02T08:02:50.000Z","dependencies_parsed_at":"2025-03-02T08:34:56.916Z","dependency_job_id":null,"html_url":"https://github.com/bhttchr6/Computational-Geometry-Problems","commit_stats":null,"previous_names":["bhttchr6/computational-geometry-problems"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhttchr6%2FComputational-Geometry-Problems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhttchr6%2FComputational-Geometry-Problems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhttchr6%2FComputational-Geometry-Problems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhttchr6%2FComputational-Geometry-Problems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhttchr6","download_url":"https://codeload.github.com/bhttchr6/Computational-Geometry-Problems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244736171,"owners_count":20501431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collision-detection","computational-geometry","operator-overloading","raytracing","smart-pointers"],"created_at":"2025-03-21T04:27:44.656Z","updated_at":"2025-03-21T04:27:45.133Z","avatar_url":"https://github.com/bhttchr6.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Each `.cpp` file is a self-contained unit and can be compiled and run independently. To compile an individual file, use the following command:\n\n```bash\ng++ -std=c++17 \u003cfilename\u003e.cpp -o test\n```\nLearn ray tracing with 2 hours and play around with the `rayTracing.cpp` file to see the implementation.\nA very good learning resource for understanding ray tracing, particularly how to implement it with parametric and implicit surfaces, is the following article:\n\n[Scratchapixel - Parametric and Implicit Surfaces](https://www.scratchapixel.com/lessons/3d-basic-rendering/minimal-ray-tracer-rendering-simple-shapes/parametric-and-implicit-surfaces.html)\n\n`geometry.cpp` consists of a C++ program to check whether a point lies inside(including the boundary) of a triangle or outside. A good resource is the book by John Vince [Mathematics for Computer Graphics](https://www.profajaypashankar.com/wp-content/uploads/2018/09/Mathematics-for-Computer-Graphics-Fifth-Edition.pdf),  [gamemath.com](https://gamemath.com/book/geomprims.html) and Newcastle University [Game Engineering course](https://research.ncl.ac.uk/game/mastersdegree/gametechnologies/physicstutorials/1raycasting/) \n\n`fibonacci.cpp` is a unique `shared_ptr` based implementation for generating Fibonaci numbers. It just needs to store two numbers to generate the entire series. \n\n`smartptrs.cpp` is a tutorial/very basic module to learn and play with smart pointers. \n\n`collision.cpp` checks whether two axis-aligned bounding boxes are colliding or not. \n\n## References\n1. A good overview of [robotics](https://motion.cs.illinois.edu/RoboticSystems/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhttchr6%2Fcomputational-geometry-problems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhttchr6%2Fcomputational-geometry-problems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhttchr6%2Fcomputational-geometry-problems/lists"}