2D polygon with given vertices.
v2.0.0
Returns true if given point is inside this polygon.
true
Returns the distance between this polygon and the given point.
Returns true if given circle intersects this circle.
Returns true if given polygon intersects this polygon.
Returns true if given section intersects this polygon.
Returns true if given other shape intersects this polygon.
Returns true if given rectangle intersects this shape.
Returns a polygon composed of all vertices of this polygon except a given vertex.
Returns a polygon composed of all vertices of this polygon and a given vertex added at the end.
Returns the same polygon, but with vertices in reversed order.
Returns this polygon rotated by given angle around origin point.
Returns this polygon rotated by given angle around given pivot point.
Returns this polygon scaled by given scale value relative to origin point.
Returns this polygon scaled by given scale value relative to given center point.
Returns this polygon transformed using given matrix.
Returns this polygon translated by given vector.
Bounding box of this polygon.
Edges of this polygon.
Midpoint of this polygon.
Type of coordinates in this polygon.
Vertices of this polygon.