PolygonPolygonIntersections class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

intersect(PolygonComponent polygonA, PolygonComponent polygonB, {Rect? overlappingRect}) Set<Vector2>
Returns the intersection points of polygonA and polygonB The two polygons are required to be convex If they share a segment of a line, both end points and the center point of that line segment will be counted as collision points
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supportsShapes(ShapeComponent shapeA, ShapeComponent shapeB) bool
inherited
toString() String
A string representation of this object.
inherited
unorderedIntersect(ShapeComponent shapeA, ShapeComponent shapeB) Set<Vector2>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited