public class MapPolygonWithHoles
extends java.lang.Object
MapPolygon and
a list of holes.| Modifier and Type | Field and Description |
|---|---|
java.util.List<MapPolygon> |
holes |
MapPolygon |
hull |
| Constructor and Description |
|---|
MapPolygonWithHoles(MapPolygon hull,
java.util.List<MapPolygon> holes)
Creates a MapPolygonWithHoles.
|
@Nonnull public final MapPolygon hull
@Nullable public final java.util.List<MapPolygon> holes
public MapPolygonWithHoles(@Nonnull
MapPolygon hull,
@Nullable
java.util.List<MapPolygon> holes)
hull - The outer hull of the polygon.holes - Intersecting polygons representing holes in the hull.