{"id":16203054,"url":"https://github.com/siccity/geometry2d","last_synced_at":"2025-03-19T07:30:28.392Z","repository":{"id":107578882,"uuid":"96348621","full_name":"Siccity/Geometry2D","owner":"Siccity","description":"Unity3D: A set of helper classes for 2D geometric calculations.","archived":false,"fork":false,"pushed_at":"2017-12-15T08:18:52.000Z","size":37,"stargazers_count":80,"open_issues_count":0,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-28T16:11:20.652Z","etag":null,"topics":["2d","area","geometry","helper","helpers","line2d","polygon","triangulation","trigonometry"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Siccity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-07-05T18:19:05.000Z","updated_at":"2025-02-17T18:32:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"53850e22-01ca-4886-97cc-a68746ae4f4c","html_url":"https://github.com/Siccity/Geometry2D","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siccity%2FGeometry2D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siccity%2FGeometry2D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siccity%2FGeometry2D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siccity%2FGeometry2D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siccity","download_url":"https://codeload.github.com/Siccity/Geometry2D/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243973755,"owners_count":20377228,"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":["2d","area","geometry","helper","helpers","line2d","polygon","triangulation","trigonometry"],"created_at":"2024-10-10T09:50:50.855Z","updated_at":"2025-03-19T07:30:28.356Z","avatar_url":"https://github.com/Siccity.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Geometry2D\nA set of 2D Geometric helper components and structs for Unity3D.\nAll structs are immutable.\nUseful for many things including calculating intersections, projections, distances and lerping.\n\n**Structs**\n* *Line2D* - A line between point *a* and point *b*.\n* *Triangle2D* - A 3-gon defined by point *a*, *b* and *c*. Can be converted into an array of *Line2D*.\n* *Polygon2D* - An n-gon defined by an array of points. Can be converted into an array of *Triangle2D* or *Line2D*.\n* *Bounds2D* - A simple axis-alligned bounding box for fast collision checks.\n\n**Components**\n* *Area2D* - Lets you assign and edit a polygon in 3D-space for various purposes.\n\n**Extensions**\n* *Geometry2D* - Contains extension methods for Vector2.\n\n![alt text](http://i.imgur.com/OWEFj72.gif \"Area2D demonstration\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiccity%2Fgeometry2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiccity%2Fgeometry2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiccity%2Fgeometry2d/lists"}