- addVertex
Add a vertex to this polygon using the x and y coordinates of the given vertex.
Note that this poly
- getNumberOfVertices
- clear
After calling this method, the polygon has no vertex, area, or centroid. Note
that this polygon is m
- getVertex
- scale
Scale this convex polygon about pointToScaleAbout. This method effectively
modifies the vertices of
- translate
Translates this polygon.
- update
Updates the vertices so they represent a clockwise convex polygon. Call this
method after editing th
- applyTransform
Transforms this convex polygon using the given homogeneous transformation
matrix.
- clearAndUpdate
After calling this method, the polygon has no vertex, area, or centroid. Use
only when an empty poly
- epsilonEquals
- geometricallyEquals
- getBoundingBox
Gets the reference to this polygon's axis-aligned bounding box.