Class Geometries


  • public class Geometries
    extends Object
    Helper class for working with Geometry objects.
    • Constructor Detail

      • Geometries

        public Geometries()
    • Method Detail

      • of

        public static Geometry of​(Point coordinates)
        Create a Geometry object with Point coordinates.
        Parameters:
        coordinates - The point coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.
      • of

        public static Geometry of​(LineString coordinates)
        Create a Geometry object with LineString coordinates.
        Parameters:
        coordinates - The line string coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.
      • of

        public static Geometry of​(Polygon coordinates)
        Create a Geometry object with Polygon coordinates.
        Parameters:
        coordinates - The polygon coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.
      • of

        public static Geometry of​(MultiPoint coordinates)
        Create a Geometry object with MultiPoint coordinates.
        Parameters:
        coordinates - The multi point coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.
      • of

        public static Geometry of​(MultiLineString coordinates)
        Create a Geometry object with MultiLineString coordinates.
        Parameters:
        coordinates - The multi line string coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.
      • of

        public static Geometry of​(MultiPolygon coordinates)
        Create a Geometry object with MultiPolygon coordinates.
        Parameters:
        coordinates - The multi polygon coordinates of the geometry.
        Returns:
        The geometry with the coordinates configured.