Class Polygon
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final List<Point>outerBoundaryprivate final List<List<Point>>innerBoundaries
-
Method Summary
Modifier and Type Method Description StringgetType()final List<Point>getOuterBoundary()The list of Points that define the outer boundary of the polygon. final List<List<Point>>getInnerBoundaries()The list of lists of Points that define the inner boundaries (holes) of the polygon. -
-
Method Detail
-
getOuterBoundary
final List<Point> getOuterBoundary()
The list of Points that define the outer boundary of the polygon.
-
getInnerBoundaries
final List<List<Point>> getInnerBoundaries()
The list of lists of Points that define the inner boundaries (holes) of the polygon. Defaults to an empty list.
-
-
-
-