Class MultiPolygon

    • Method Detail

      • of

        public static MultiPolygon of​(Polygon... polygons)
        Creates a MultiPolygon from the given Polygon sequence.
        Parameters:
        polygons - The Polygon sequence.
        Returns:
        MultiPolygon
      • type

        public Geometry.Type type()
        Description copied from interface: Geometry
        Returns the Geometry type.
        Returns:
        Type
      • polygons

        public List<Polygon> polygons()
        Returns the Iterable of Polygon composing this MultiPolygon.
        Returns:
        an Iterable of the polygons contained in this MultiPolygon.