Class Polygon

  • All Implemented Interfaces:
    Geometry

    public final class Polygon
    extends Object
    implements Geometry
    Represents a closed polygon on the earth's surface with optional holes
    • Field Detail

      • EMPTY

        public static final Polygon EMPTY
    • Constructor Detail

      • Polygon

        public Polygon​(LinearRing polygon,
                       List<LinearRing> holes)
        Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.
      • Polygon

        public Polygon​(LinearRing polygon)
        Creates a new Polygon from the supplied latitude/longitude array, and optionally any holes.