- getNumberOfVertices
- getVertex
Return the vertex from a clockwise ordered list
- <init>
Creates an empty convex polygon, adds N new vertices using an array of Point2d,
updates the vertices
- update
Modifies the vertices so they are clockwise ordered. Updates centroid, area and
the bounding box. Ca
- addVertex
Add a vertex to this polygon. Note that this method recycles memory.
- clear
After calling this method, the polygon has no vertex, area, or centroid. Note
that calling that meth
- setAndUpdate
This method does: 1- clear(); 2- addVertices(vertices, numberOfVertices); 3-
update().
- getArea
- addVertices
Adds N new vertices to this polygon using an array of Point2d. Note that this
method recycles memory
- getCentroid
- isEmpty
- applyTransformAndProjectToXYPlane