Package | Description |
---|---|
com.esri.core.geometry | |
com.esri.core.geometry.ogc |
Modifier and Type | Class and Description |
---|---|
class |
Envelope
An envelope is an axis-aligned rectangle.
|
class |
Line
A straight line between a pair of points.
|
class |
MultiPath
The MulitPath class is a base class for polygons and polylines.
|
class |
MultiPoint
A Multipoint is a collection of points.
|
class |
MultiVertexGeometry
This class is a base for geometries with many vertices.
|
class |
Point
A Point is a zero-dimensional object that represents a specific (X,Y)
location in a two-dimensional XY-Plane.
|
class |
Polygon
A polygon is a collection of one or many interior or exterior rings.
|
class |
Polyline
A polyline is a collection of one or many paths.
|
class |
Segment
A base class for segments.
|
Modifier and Type | Field and Description |
---|---|
Geometry |
OGCStructure.m_geometry |
Modifier and Type | Method and Description |
---|---|
static Geometry |
GeometryEngine.clip(Geometry geometry,
Envelope envelope,
SpatialReference spatialReference)
Calculates the clipped geometry from a target geometry using an envelope.
|
static Geometry |
GeometryEngine.convexHull(Geometry geometry)
Calculates the convex hull geometry.
|
static Geometry[] |
GeometryEngine.convexHull(Geometry[] geometries,
boolean b_merge)
Calculates the convex hull.
|
Geometry |
Geometry.copy()
Creates a copy of the geometry.
|
Geometry |
Polyline.createInstance() |
Geometry |
Polygon.createInstance() |
Geometry |
Point.createInstance() |
Geometry |
MultiPoint.createInstance() |
Geometry |
Line.createInstance() |
abstract Geometry |
Geometry.createInstance()
Creates an instance of an empty geometry of the same type.
|
Geometry |
Envelope.createInstance() |
static Geometry[] |
GeometryEngine.cut(Geometry cuttee,
Polyline cutter,
SpatialReference spatialReference)
Calculates the cut geometry from a target geometry using a polyline.
|
static Geometry |
GeometryEngine.difference(Geometry geometry1,
Geometry substractor,
SpatialReference spatialReference)
Creates the difference of two geometries.
|
abstract Geometry |
OperatorGeneralize.execute(Geometry geom,
double maxDeviation,
boolean bRemoveDegenerateParts,
ProgressTracker progressTracker)
Performs the Generalize operation on a single geometry.
|
abstract Geometry |
OperatorDensifyByLength.execute(Geometry inputGeometry,
double maxLength,
ProgressTracker progressTracker)
Performs the Densify operation on the geometry set.
|
abstract Geometry |
OperatorClip.execute(Geometry geom,
Envelope2D envelope,
SpatialReference spatialRef,
ProgressTracker progressTracker)
Performs the Clip operation on a single geometry.
|
abstract Geometry |
OperatorUnion.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Union operation on two geometries.
|
abstract Geometry |
OperatorSymmetricDifference.execute(Geometry leftGeometry,
Geometry rightGeometry,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Symmetric Difference operation on the two geometries.
|
abstract Geometry |
OperatorIntersection.execute(Geometry inputGeometry,
Geometry intersector,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Intersection operation on the geometry.
|
abstract Geometry |
OperatorDifference.execute(Geometry inputGeometry,
Geometry subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the two geometries.
|
Geometry |
CombineOperator.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Operation on two geometries, returning a third.
|
abstract Geometry |
OperatorConvexHull.execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the convex hull geometry.
|
abstract Geometry |
OperatorBoundary.execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the boundary.
|
abstract Geometry |
OperatorSimplifyOGC.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Processes geometry to ensure it is simple for OGC specification.
|
abstract Geometry |
OperatorSimplify.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on the geometry.
|
abstract Geometry |
OperatorOffset.execute(Geometry inputGeometry,
SpatialReference sr,
double distance,
OperatorOffset.JoinType joins,
double bevelRatio,
double flattenError,
ProgressTracker progressTracker)
Creates offset version of the input geometry.
|
abstract Geometry |
OperatorBuffer.execute(Geometry inputGeometry,
SpatialReference sr,
double distance,
ProgressTracker progressTracker)
Creates a buffer around the input geometry
|
abstract Geometry |
OperatorImportFromESRIShape.execute(int importFlags,
Geometry.Type type,
ByteBuffer shapeBuffer)
Performs the ImportFromESRIShape operation.
|
abstract Geometry |
OperatorImportFromWkb.execute(int importFlags,
Geometry.Type type,
ByteBuffer wkbBuffer,
ProgressTracker progress_tracker)
Performs the ImportFromWKB operation.
|
abstract Geometry |
OperatorImportFromWkt.execute(int import_flags,
Geometry.Type type,
String wkt_string,
ProgressTracker progress_tracker)
Performs the ImportFromWkt operation.
|
static Geometry |
GeometryEngine.geometryFromEsriShape(byte[] esriShapeBuffer,
Geometry.Type geometryType)
Imports geometry from the ESRI shape file format.
|
static Geometry |
GeometryEngine.geometryFromWkt(String wkt,
int importFlags,
Geometry.Type geometryType)
Imports a geometry from a WKT string.
|
Geometry |
Segment.getBoundary() |
Geometry |
Point.getBoundary() |
Geometry |
MultiPoint.getBoundary() |
Geometry |
MultiPath.getBoundary() |
abstract Geometry |
Geometry.getBoundary()
Returns boundary of this geometry.
|
Geometry |
Envelope.getBoundary() |
Geometry |
MapGeometry.getGeometry()
Gets the only geometry without the spatial reference from the
MapGeometry.
|
static Geometry |
GeometryEngine.intersect(Geometry geometry1,
Geometry intersector,
SpatialReference spatialReference)
Creates a geometry through intersection between two geometries.
|
static Geometry |
OperatorFactoryLocal.loadGeometryFromEsriShapeDbg(String file_name) |
static Geometry |
OperatorFactoryLocal.loadGeometryFromWKTFileDbg(String file_name) |
Geometry |
SimpleGeometryCursor.next() |
Geometry |
ListeningGeometryCursor.next() |
Geometry |
GeometryCursorAppend.next() |
abstract Geometry |
GeometryCursor.next()
Moves the cursor to the next Geometry.
|
static Geometry |
GeometryEngine.simplify(Geometry geometry,
SpatialReference spatialReference)
Performs the simplify operation on the geometry.
|
static Geometry |
GeometryEngine.symmetricDifference(Geometry leftGeometry,
Geometry rightGeometry,
SpatialReference spatialReference)
Creates the symmetric difference of two geometries.
|
static Geometry |
GeometryEngine.union(Geometry[] geometries,
SpatialReference spatialReference)
Constructs a new geometry by union an array of geometries.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OperatorSimpleRelation.accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree) |
boolean |
OperatorRelate.accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree) |
boolean |
Operator.accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree)
Processes Geometry to accelerate operations on it.
|
static Polygon[] |
GeometryEngine.buffer(Geometry[] geometries,
SpatialReference spatialReference,
double[] distances,
boolean toUnionResults)
Calculates a buffer polygon for each geometry at each of the
corresponding specified distances.
|
static Polygon |
GeometryEngine.buffer(Geometry geometry,
SpatialReference spatialReference,
double distance)
Calculates a buffer polygon of the geometry as specified by the
distance input.
|
boolean |
OperatorSimpleRelation.canAccelerateGeometry(Geometry geometry) |
boolean |
OperatorRelate.canAccelerateGeometry(Geometry geometry) |
boolean |
Operator.canAccelerateGeometry(Geometry geometry)
Returns true if the geometry can be accelerated.
|
static Geometry |
GeometryEngine.clip(Geometry geometry,
Envelope envelope,
SpatialReference spatialReference)
Calculates the clipped geometry from a target geometry using an envelope.
|
static boolean |
GeometryEngine.contains(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry contains another geometry.
|
static Geometry |
GeometryEngine.convexHull(Geometry geometry)
Calculates the convex hull geometry.
|
static Geometry[] |
GeometryEngine.convexHull(Geometry[] geometries,
boolean b_merge)
Calculates the convex hull.
|
void |
Segment.copyTo(Geometry dst) |
void |
Point.copyTo(Geometry dst) |
void |
MultiPoint.copyTo(Geometry dst) |
void |
MultiPath.copyTo(Geometry dst) |
abstract void |
Geometry.copyTo(Geometry dst)
Copies this geometry to another geometry of the same type.
|
void |
Envelope.copyTo(Geometry dst) |
static RasterizedGeometry2D |
RasterizedGeometry2D.create(Geometry geom,
double toleranceXY,
int rasterSizeBytes)
Creates a rasterized geometry from a given Geometry.
|
static boolean |
GeometryEngine.crosses(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry crosses another geometry.
|
static Geometry[] |
GeometryEngine.cut(Geometry cuttee,
Polyline cutter,
SpatialReference spatialReference)
Calculates the cut geometry from a target geometry using a polyline.
|
static void |
Operator.deaccelerateGeometry(Geometry geometry)
Removes accelerators from given geometry.
|
static Geometry |
GeometryEngine.difference(Geometry geometry1,
Geometry substractor,
SpatialReference spatialReference)
Creates the difference of two geometries.
|
static boolean |
GeometryEngine.disjoint(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
See OperatorDisjoint.
|
static double |
GeometryEngine.distance(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Calculates the 2D planar distance between two geometries.
|
static boolean |
GeometryEngine.equals(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if two geometries are equal.
|
abstract GeometryCursor |
OperatorCut.execute(boolean bConsiderTouch,
Geometry cuttee,
Polyline cutter,
SpatialReference spatialReference,
ProgressTracker progressTracker)
Performs the Cut operation on a geometry.
|
abstract String |
OperatorExportToGeoJson.execute(Geometry geometry)
Performs the ExportToGeoJson operation.
|
abstract Geometry |
OperatorGeneralize.execute(Geometry geom,
double maxDeviation,
boolean bRemoveDegenerateParts,
ProgressTracker progressTracker)
Performs the Generalize operation on a single geometry.
|
abstract Geometry |
OperatorDensifyByLength.execute(Geometry inputGeometry,
double maxLength,
ProgressTracker progressTracker)
Performs the Densify operation on the geometry set.
|
abstract Geometry |
OperatorClip.execute(Geometry geom,
Envelope2D envelope,
SpatialReference spatialRef,
ProgressTracker progressTracker)
Performs the Clip operation on a single geometry.
|
abstract double |
OperatorDistance.execute(Geometry geom1,
Geometry geom2,
ProgressTracker progressTracker)
Calculates distance between two geometries.
|
abstract Geometry |
OperatorUnion.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Union operation on two geometries.
|
abstract Geometry |
OperatorSymmetricDifference.execute(Geometry leftGeometry,
Geometry rightGeometry,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Symmetric Difference operation on the two geometries.
|
abstract boolean |
OperatorSimpleRelation.execute(Geometry inputGeom1,
Geometry inputGeom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the given relation operation between two geometries.
|
abstract Geometry |
OperatorIntersection.execute(Geometry inputGeometry,
Geometry intersector,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Intersection operation on the geometry.
|
abstract Geometry |
OperatorDifference.execute(Geometry inputGeometry,
Geometry subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the two geometries.
|
Geometry |
CombineOperator.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Operation on two geometries, returning a third.
|
abstract boolean |
OperatorRelate.execute(Geometry inputGeom1,
Geometry inputGeom2,
SpatialReference sr,
String de_9im_string,
ProgressTracker progressTracker)
Performs the Relation operation between two geometries using the DE-9IM matrix encoded as a string.
|
abstract Geometry |
OperatorConvexHull.execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the convex hull geometry.
|
Point2D |
OperatorCentroid2DLocal.execute(Geometry geometry,
ProgressTracker progressTracker) |
abstract Point2D |
OperatorCentroid2D.execute(Geometry geometry,
ProgressTracker progressTracker) |
abstract Geometry |
OperatorBoundary.execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the boundary.
|
abstract Geometry |
OperatorSimplifyOGC.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Processes geometry to ensure it is simple for OGC specification.
|
abstract Geometry |
OperatorSimplify.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on the geometry.
|
abstract Geometry |
OperatorOffset.execute(Geometry inputGeometry,
SpatialReference sr,
double distance,
OperatorOffset.JoinType joins,
double bevelRatio,
double flattenError,
ProgressTracker progressTracker)
Creates offset version of the input geometry.
|
abstract Geometry |
OperatorBuffer.execute(Geometry inputGeometry,
SpatialReference sr,
double distance,
ProgressTracker progressTracker)
Creates a buffer around the input geometry
|
abstract ByteBuffer |
OperatorExportToESRIShape.execute(int exportFlags,
Geometry geometry)
Performs the ExportToESRIShape operation.
|
abstract int |
OperatorExportToESRIShape.execute(int exportFlags,
Geometry geometry,
ByteBuffer shapeBuffer)
Performs the ExportToESRIShape operation.
|
abstract int |
OperatorExportToWkb.execute(int exportFlags,
Geometry geometry,
ByteBuffer wkbBuffer,
ProgressTracker progressTracker)
Performs the ExportToWKB operation.
|
abstract String |
OperatorExportToWkt.execute(int exportFlags,
Geometry geometry,
ProgressTracker progress_tracker) |
abstract ByteBuffer |
OperatorExportToWkb.execute(int exportFlags,
Geometry geometry,
ProgressTracker progressTracker)
Performs the ExportToWKB operation.
|
abstract String |
OperatorExportToGeoJson.execute(int exportFlags,
SpatialReference spatialReference,
Geometry geometry)
Performs the ExportToGeoJson operation
|
abstract String |
OperatorExportToJson.execute(SpatialReference spatialReference,
Geometry geometry)
Performs the ExportToJson operation
|
abstract String |
OperatorExportToGeoJson.execute(SpatialReference spatialReference,
Geometry geometry)
Performs the ExportToGeoJson operation
|
abstract String |
OperatorExportToJson.execute(SpatialReference spatialReference,
Geometry geometry,
Map<String,Object> exportProperties)
Performs the ExportToJson operation
|
static byte[] |
GeometryEngine.geometryToEsriShape(Geometry geometry)
Exports geometry to the ESRI shape file format.
|
static String |
GeometryEngine.geometryToGeoJson(Geometry geometry) |
static String |
GeometryEngine.geometryToGeoJson(int wkid,
Geometry geometry)
Exports the specified geometry instance to its GeoJSON representation.
|
static String |
GeometryEngine.geometryToGeoJson(SpatialReference spatialReference,
Geometry geometry)
Exports the specified geometry instance to it's JSON representation.
|
static String |
GeometryEngine.geometryToJson(int wkid,
Geometry geometry)
Exports the specified geometry instance to it's JSON representation.
|
static String |
GeometryEngine.geometryToJson(SpatialReference spatialReference,
Geometry geometry)
Exports the specified geometry instance to it's JSON representation.
|
static String |
GeometryEngine.geometryToWkt(Geometry geometry,
int exportFlags)
Exports a geometry to a string in WKT format.
|
QuadTree.QuadTreeIterator |
QuadTree.getIterator(Geometry query,
double tolerance)
Gets an iterator on the QuadTree.
|
QuadTree.QuadTreeIterator |
QuadTree.getIterator(Geometry query,
double tolerance,
boolean bSorted)
Gets an iterator on the QuadTree.
|
abstract Proximity2DResult |
OperatorProximity2D.getNearestCoordinate(Geometry geom,
Point inputPoint,
boolean bTestPolygonInterior)
Returns the nearest coordinate on the Geometry to the given input point.
|
static Proximity2DResult |
GeometryEngine.getNearestCoordinate(Geometry geometry,
Point inputPoint,
boolean bTestPolygonInterior)
Finds the coordinate of the geometry which is closest to the specified
point.
|
abstract Proximity2DResult |
OperatorProximity2D.getNearestCoordinate(Geometry geom,
Point inputPoint,
boolean bTestPolygonInterior,
boolean bCalculateLeftRightSide)
Returns the nearest coordinate on the Geometry to the given input point.
|
abstract Proximity2DResult |
OperatorProximity2D.getNearestVertex(Geometry geom,
Point inputPoint)
Returns the nearest vertex of the Geometry to the given input point.
|
static Proximity2DResult |
GeometryEngine.getNearestVertex(Geometry geometry,
Point inputPoint)
Finds nearest vertex on the geometry which is closed to the specified
point.
|
abstract Proximity2DResult[] |
OperatorProximity2D.getNearestVertices(Geometry geom,
Point inputPoint,
double searchRadius,
int maxVertexCountToReturn)
Returns vertices of the Geometry that are closer to the given point than
the given radius.
|
static Proximity2DResult[] |
GeometryEngine.getNearestVertices(Geometry geometry,
Point inputPoint,
double searchRadius,
int maxVertexCountToReturn)
Finds all vertices in the given distance from the specified point, sorted
from the closest to the furthest.
|
static Geometry |
GeometryEngine.intersect(Geometry geometry1,
Geometry intersector,
SpatialReference spatialReference)
Creates a geometry through intersection between two geometries.
|
abstract boolean |
OperatorConvexHull.isConvex(Geometry geom,
ProgressTracker progress_tracker)
Checks whether a Geometry is convex.
|
abstract boolean |
OperatorSimplify.isSimpleAsFeature(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple.
|
boolean |
OperatorSimplify.isSimpleAsFeature(Geometry geom,
SpatialReference spatialRef,
ProgressTracker progressTracker)
Tests if the Geometry is simple (second call will use a cached IsKnownSimple flag and immediately return).
|
abstract boolean |
OperatorSimplifyOGC.isSimpleOGC(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple for OGC specification.
|
static boolean |
GeometryEngine.overlaps(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry overlaps another geometry.
|
static boolean |
GeometryEngine.relate(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference,
String relation)
Indicates if the given relation holds for the two geometries.
|
void |
QuadTree.QuadTreeIterator.resetIterator(Geometry query,
double tolerance)
Resets the iterator to an starting state on the QuadTree.
|
static void |
OperatorFactoryLocal.saveGeometryToEsriShapeDbg(String file_name,
Geometry geometry) |
static void |
OperatorFactoryLocal.saveJSONToTextFileDbg(String file_name,
Geometry geometry,
SpatialReference spatial_ref) |
static void |
OperatorFactoryLocal.saveToWKTFileDbg(String file_name,
Geometry geometry,
SpatialReference spatial_ref) |
void |
MapGeometry.setGeometry(Geometry geometry)
Sets the geometry for this MapGeometry.
|
void |
GenericGeometrySerializer.setGeometryByValue(Geometry geometry) |
static Geometry |
GeometryEngine.simplify(Geometry geometry,
SpatialReference spatialReference)
Performs the simplify operation on the geometry.
|
static Geometry |
GeometryEngine.symmetricDifference(Geometry leftGeometry,
Geometry rightGeometry,
SpatialReference spatialReference)
Creates the symmetric difference of two geometries.
|
void |
ListeningGeometryCursor.tick(Geometry geom)
Call this method to add geometry to the cursor.
|
static boolean |
GeometryEngine.touches(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry touches another geometry.
|
static Geometry |
GeometryEngine.union(Geometry[] geometries,
SpatialReference spatialReference)
Constructs a new geometry by union an array of geometries.
|
static int |
Geometry.vertex_count(Geometry geom)
Returns count of geometry vertices: 1 for Point, 4 for Envelope,
get_point_count for MultiVertexGeometry types, 2 for segment types Returns 0
if geometry is empty.
|
static boolean |
GeometryEngine.within(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry is within another geometry.
|
Constructor and Description |
---|
MapGeometry(Geometry g,
SpatialReference _sr)
Construct a MapGeometry instance using the specified geometry instance
and its corresponding spatial reference.
|
SimpleGeometryCursor(Geometry geom) |
SimpleGeometryCursor(Geometry[] geoms) |
Constructor and Description |
---|
SimpleGeometryCursor(List<Geometry> geoms) |
Modifier and Type | Method and Description |
---|---|
Geometry |
OGCPolygon.getEsriGeometry() |
Geometry |
OGCPoint.getEsriGeometry() |
Geometry |
OGCMultiPolygon.getEsriGeometry() |
Geometry |
OGCMultiPoint.getEsriGeometry() |
Geometry |
OGCMultiLineString.getEsriGeometry() |
Geometry |
OGCLineString.getEsriGeometry() |
abstract Geometry |
OGCGeometry.getEsriGeometry() |
Geometry |
OGCConcreteGeometryCollection.getEsriGeometry() |
Modifier and Type | Method and Description |
---|---|
static OGCGeometry |
OGCGeometry.createFromEsriGeometry(Geometry geom,
SpatialReference sr) |
static OGCGeometry |
OGCGeometry.createFromEsriGeometry(Geometry geom,
SpatialReference sr,
boolean multiType) |
Copyright © 2018. All rights reserved.