Interface Geometry<P extends Positions>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Geometry.Type
      Define the type of the Geometry.
    • Method Detail

      • type

        Geometry.Type type()
        Returns the Geometry type.
        Returns:
        Type
      • positions

        P positions()
        Returns the Position underlying instance.
        Returns:
        Position
      • size

        int size()
        Returns the size of this Geometry. Depending of the type of this Geometry, it may have different meaning. eg: For a LineString it is the number of points, for a MultiPolygon it is the number of polygons.
        Returns:
        Int