Protected
_edgesPrivate
_locationProtected
_verticesGets the area.
Gets the interior angles.
Gets a value indicating if the polygon is concave.
Gets a value indicating if the polygon is convex.
Indicates if the polygon have all corner angles equal.
true if this is the case.
Indicates if the polygon have all edges of the same length.
true if this is the case.
Gets the perimeter.
Checks if the given point is located inside the polygon.
The reference point.
true if the point is inside the polygon.
Checks if the current polygon intersect with the given shape.
The reference shape.
true it the two shapes intersect, otherwise false.
Checks if the given point is on one edge of the polygon.
The reference point.
A value used as a threshold / range to check if the point is on one edge.
true if the point is on edge.
Rotates the polygon by the given angle in degree, around a point.
The rotation angle.
The origin from which the rotation is supposed to be done.
Translates the polygon using the given vector for direction.
The vector defining the direction.
Generated using TypeDoc
Defines a square in two-dimensional coordinates.
See
https://en.wikipedia.org/wiki/Square