Class OGCPoint

java.lang.Object
com.esri.core.geometry.ogc.OGCGeometry
com.esri.core.geometry.ogc.OGCPoint

public final class OGCPoint extends OGCGeometry
  • Field Details

  • Constructor Details

  • Method Details

    • asText

      public String asText()
      Overrides:
      asText in class OGCGeometry
    • asBinary

      public ByteBuffer asBinary()
      Overrides:
      asBinary in class OGCGeometry
    • X

      public double X()
    • Y

      public double Y()
    • Z

      public double Z()
    • M

      public double M()
    • geometryType

      public String geometryType()
      Specified by:
      geometryType in class OGCGeometry
    • 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.
    • boundary

      public OGCGeometry boundary()
      Specified by:
      boundary in class OGCGeometry
    • locateAlong

      public OGCGeometry locateAlong(double mValue)
      Specified by:
      locateAlong in class OGCGeometry
    • locateBetween

      public OGCGeometry locateBetween(double mStart, double mEnd)
      Specified by:
      locateBetween in class OGCGeometry
    • getEsriGeometry

      public Geometry getEsriGeometry()
      Specified by:
      getEsriGeometry in class OGCGeometry
    • 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.