Class GeometryWrapper

    • Constructor Detail

      • GeometryWrapper

        public GeometryWrapper()
        Default constructor.
      • GeometryWrapper

        public GeometryWrapper​(org.locationtech.jts.geom.Geometry geometry)
        Constructs a GeoJSON geometry wrapper with the specified geometry.
        Parameters:
        geometry - the geometry
    • Method Detail

      • getGeometry

        public org.locationtech.jts.geom.Geometry getGeometry()
        Gets the geometry.
        Returns:
        the geometry
      • setGeometry

        public void setGeometry​(org.locationtech.jts.geom.Geometry geometry)
        Sets the geometry.
        Parameters:
        geometry - the geometry
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object