Class Geometry

    • Method Detail

      • equals

        public boolean equals​(Object other)
        Checks whether two Geometry object are equal.
        Overrides:
        equals in class Object
        Parameters:
        other - A Geometry object
        Returns:
        true if these two object are equal
        Since:
        1.12.0
      • hashCode

        public int hashCode()
        Calculates the hash code of this Geometry Object.
        Overrides:
        hashCode in class Object
        Returns:
        An int number representing the hash code value
        Since:
        1.12.0
      • toString

        public String toString()
        Converts this Geometry object to a String value.
        Overrides:
        toString in class Object
        Returns:
        A String value.
        Since:
        1.12.0
      • fromGeoJSON

        public static Geometry fromGeoJSON​(String g)
        Creates a Geometry object from a GeoJSON string.
        Parameters:
        g - GeoJSON String
        Returns:
        a new Geometry object
        Since:
        1.12.0