public class TriangulatedPolygon extends Polygon
Constructor and Description |
---|
TriangulatedPolygon(Polygon p)
Construct a
TriangulatedPolygon with a polygon. |
TriangulatedPolygon(Shape shape)
Construct a
TriangulatedPolygon with a shape. |
addInnerPolygon, addInnerPolygon, addVertex, addVertex, asPolygon, calculateArea, calculateCentroid, calculateConvexHullMelkman, calculateDirection, calculateFirstMoment, calculatePerimeter, calculateRegularBoundingBox, calculateSecondMoment, calculateSecondMomentCentralised, calculateSignedArea, clone, close, closestPoint, difference, equals, equals, getInnerPoly, getInnerPolys, getNumInnerPoly, getVertices, hashCode, hasNoInnerPolygons, intersect, intersectionArea, intersectionArea, isClockwise, isClosed, isConvex, isEmpty, isHole, isInside, minimumBoundingRectangle, minimumBoundingRectangle, nVertices, open, reduceVertices, roundVertices, scale, scale, scaleX, scaleXY, scaleY, setIsHole, toEllipse, toString, transform, translate, union, xor
calculateConvexHull, computeIntrinsicScale, computeMean, get, getHeight, getLines, getLines, getWidth, iterator, maxX, maxY, minX, minY, rotate, rotate, scaleCentroid, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getHeight, getWidth, maxX, maxY, minX, minY, scaleCentroid
forEach, spliterator
public TriangulatedPolygon(Polygon p)
TriangulatedPolygon
with a polygon.
Triangulation is performed with a DelaunayTriangulator
.p
- The polygon.public TriangulatedPolygon(Shape shape)
TriangulatedPolygon
with a shape.
Triangulation is performed with a DelaunayTriangulator
.shape
- The shape.