Skip to content

2D Geometry Library #129

Open
Open
@Indy2222

Description

@Indy2222

Geometric Objects:

  • Aabb
  • LineSegment
    • normal(&self) -> Vec2
  • Triangle
  • ConvexPolygon
    • to_polygon(self) -> Polygon
  • Polygon
    • convex_hull(&self) -> ConvexPolygon

Traits:

  • Union
    • for Polygon
  • Intersects
    • for LineSegment
    • for Triangle
    • for Polygon
    • for ConvexPolygon
    • for Polygon
    • for ConvexPolygon
  • PointQuery -- local & projected closest point
    • for LineSegment
  • Offset
    • Polygon

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions