Class GeoPolygonFactory.PolygonDescription

  • Enclosing class:
    GeoPolygonFactory

    public static class GeoPolygonFactory.PolygonDescription
    extends java.lang.Object
    Use this class to specify a polygon with associated holes.
    • Constructor Detail

      • PolygonDescription

        public PolygonDescription​(java.util.List<? extends GeoPoint> points)
        Instantiate the polygon description.
        Parameters:
        points - is the list of points.
      • PolygonDescription

        public PolygonDescription​(java.util.List<? extends GeoPoint> points,
                                  java.util.List<? extends GeoPolygonFactory.PolygonDescription> holes)
        Instantiate the polygon description.
        Parameters:
        points - is the list of points.
        holes - is the list of holes.