Package com.esri.core.geometry.ogc
Class OGCPoint
java.lang.Object
com.esri.core.geometry.ogc.OGCGeometry
com.esri.core.geometry.ogc.OGCPoint
-
Field Summary
FieldsFields inherited from class com.esri.core.geometry.ogc.OGCGeometry
esriSR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasBinary()
asText()
boundary()
Converts this Geometry to the OGCMulti* if it is not OGCMulti* or OGCGeometryCollection already.long
Returns an estimate of this object size in bytes.locateAlong
(double mValue) locateBetween
(double mStart, double mEnd) double
M()
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.double
X()
double
Y()
double
Z()
Methods inherited from class com.esri.core.geometry.ogc.OGCGeometry
asGeoJson, asGeoJsonImpl, asJson, buffer, centroid, contains, convexHull, coordinateDimension, createFromEsriCursor, createFromEsriCursor, createFromEsriGeometry, createFromEsriGeometry, createFromOGCStructure, crosses, difference, dimension, disjoint, distance, envelope, equals, equals, Equals, fromBinary, fromEsriShape, fromGeoJson, fromJson, fromText, getEsriGeometryCursor, getEsriSpatialReference, hashCode, intersection, intersects, is3D, isConcreteGeometryCollection, isEmpty, isMeasured, isSimple, isSimpleRelaxed, makeSimple, makeSimpleRelaxed, MakeSimpleRelaxed, MaxMeasure, MaxZ, MinMeasure, MinZ, overlaps, relate, setSpatialReference, SRID, symDifference, toString, touches, union, within
-
Field Details
-
TYPE
-
point
Point point
-
-
Constructor Details
-
OGCPoint
-
-
Method Details
-
asText
- Overrides:
asText
in classOGCGeometry
-
asBinary
- Overrides:
asBinary
in classOGCGeometry
-
X
public double X() -
Y
public double Y() -
Z
public double Z() -
M
public double M() -
geometryType
- Specified by:
geometryType
in classOGCGeometry
-
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 ofSpatialReference
are expected to be shared among geometry objects.- Specified by:
estimateMemorySize
in classOGCGeometry
- Returns:
- Returns an estimate of this object size in bytes.
-
boundary
- Specified by:
boundary
in classOGCGeometry
-
locateAlong
- Specified by:
locateAlong
in classOGCGeometry
-
locateBetween
- Specified by:
locateBetween
in classOGCGeometry
-
getEsriGeometry
- Specified by:
getEsriGeometry
in classOGCGeometry
-
convertToMulti
Description copied from class:OGCGeometry
Converts this Geometry to the OGCMulti* if it is not OGCMulti* or OGCGeometryCollection already.- Specified by:
convertToMulti
in classOGCGeometry
- Returns:
- OGCMulti* or OGCGeometryCollection instance.
-
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 classOGCGeometry
- Returns:
- A reduced geometry or this.
-