Class OGCPoint

    • Field Detail

      • TYPE

        public static java.lang.String TYPE
    • Method Detail

      • X

        public double X()
      • Y

        public double Y()
      • Z

        public double Z()
      • M

        public double M()
      • estimateMemorySize

        public long estimateMemorySize()
        Description copied from class: OGCGeometry
        Returns an estimate of this object size in bytes.

        This estimate doesn't include the size of the SpatialReference object because instances of SpatialReference are expected to be shared among geometry objects.

        Specified by:
        estimateMemorySize in class OGCGeometry
        Returns:
        Returns an estimate of this object size in bytes.
      • convertToMulti

        public OGCGeometry convertToMulti()
        Description copied from class: OGCGeometry
        Converts this Geometry to the OGCMulti* if it is not OGCMulti* or OGCGeometryCollection already.
        Specified by:
        convertToMulti in class OGCGeometry
        Returns:
        OGCMulti* or OGCGeometryCollection instance.
      • reduceFromMulti

        public OGCGeometry reduceFromMulti()
        Description copied from class: OGCGeometry
        For the geometry collection types, when it has 1 or 0 elements, converts a MultiPolygon to Polygon, MultiPoint to Point, MultiLineString to a LineString, and OGCConcretGeometryCollection to the reduced element it contains. If OGCConcretGeometryCollection is empty, returns self.
        Specified by:
        reduceFromMulti in class OGCGeometry
        Returns:
        A reduced geometry or this.