geometry library
Classes
- CircleCircleIntersections
- CircleComponent
- CirclePolygonIntersections
-
Intersections<
T1 extends ShapeComponent, T2 extends ShapeComponent> - Line
- This represents a line on the ax + by = c form If you just want to represent a part of a line, look into LineSegment.
- LineSegment
- A LineSegment represent a segment of an infinitely long line, it is the segment between the from and to vectors (inclusive).
- PolygonComponent
- PolygonPolygonIntersections
- RectangleComponent
- ShapeComponent
- A shape can represent any geometrical shape with optionally a size, position and angle. It can also have an anchor if it shouldn't be rotated around its center. A point can be determined to be within of outside of a shape.
Functions
-
intersections(
ShapeComponent shapeA, ShapeComponent shapeB) → Set< Vector2>