|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Geometry | |
|---|---|
| com.esri.core.geometry | |
| com.esri.core.geometry.ogc | |
| Uses of Geometry in com.esri.core.geometry |
|---|
| Subclasses of Geometry in com.esri.core.geometry | |
|---|---|
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 |
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. |
| Fields in com.esri.core.geometry declared as Geometry | |
|---|---|
Geometry |
OGCStructure.m_geometry
|
| Methods in com.esri.core.geometry that return Geometry | |
|---|---|
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 |
Polygon.createInstance()
|
Geometry |
Point.createInstance()
|
Geometry |
Line.createInstance()
|
abstract Geometry |
Geometry.createInstance()
Creates an instance of an empty geometry of the same type. |
Geometry |
Envelope.createInstance()
|
Geometry |
MultiPoint.createInstance()
|
Geometry |
Polyline.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 |
OperatorDifference.execute(Geometry inputGeometry,
Geometry subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the 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 |
OperatorUnion.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Union operation on two geometries. |
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)
This method is still in development. |
abstract Geometry |
OperatorSimplify.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on a 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 |
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 |
GeometryCursorAppend.next()
|
Geometry |
ListeningGeometryCursor.next()
|
Geometry |
SimpleGeometryCursor.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. |
| Methods in com.esri.core.geometry with parameters of type Geometry | |
|---|---|
boolean |
Operator.accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree)
Processes Geometry to accelerate operations on it. |
boolean |
OperatorSimpleRelation.accelerateGeometry(Geometry geometry,
SpatialReference spatialReference,
Geometry.GeometryAccelerationDegree accelDegree)
|
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 |
Operator.canAccelerateGeometry(Geometry geometry)
Returns true if the geometry can be accelerated. |
boolean |
OperatorSimpleRelation.canAccelerateGeometry(Geometry geometry)
|
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 |
Point.copyTo(Geometry dst)
|
abstract void |
Geometry.copyTo(Geometry dst)
Copies this geometry to another geometry of the same type. |
void |
Envelope.copyTo(Geometry dst)
|
void |
MultiPath.copyTo(Geometry dst)
|
void |
Segment.copyTo(Geometry dst)
|
void |
MultiPoint.copyTo(Geometry dst)
|
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)
|
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)
|
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)
|
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 |
OperatorDifference.execute(Geometry inputGeometry,
Geometry subtractor,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Difference operation on the 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 boolean |
OperatorSimpleRelation.execute(Geometry inputGeom1,
Geometry inputGeom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the given relation operation between two geometries. |
abstract Geometry |
OperatorUnion.execute(Geometry geom1,
Geometry geom2,
SpatialReference sr,
ProgressTracker progressTracker)
Performs the Topological Union operation on two geometries. |
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. |
abstract Geometry |
OperatorBoundary.execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the boundary. |
abstract Geometry |
OperatorSimplifyOGC.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
This method is still in development. |
abstract Geometry |
OperatorSimplify.execute(Geometry geom,
SpatialReference sr,
boolean bForceSimplify,
ProgressTracker progressTracker)
Performs the Simplify operation on a 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)
|
abstract String |
OperatorExportToGeoJson.execute(SpatialReference spatialReference,
Geometry geometry)
|
abstract String |
OperatorExportToJson.execute(SpatialReference spatialReference,
Geometry geometry)
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 Quad_tree. |
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)
Returns the nearest coordinate on 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.getNearestVertex(Geometry geom,
Point inputPoint)
Returns the nearest vertex of the Geometry to the given input point. |
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. |
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 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,
com.esri.core.geometry.NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple. |
boolean |
OperatorSimplify.isSimpleAsFeature(Geometry geom,
SpatialReference spatialRef,
ProgressTracker progressTracker)
|
abstract boolean |
OperatorSimplifyOGC.isSimpleOGC(Geometry geom,
SpatialReference spatialRef,
boolean bForceTest,
com.esri.core.geometry.NonSimpleResult result,
ProgressTracker progressTracker)
Tests if the Geometry is simple for OGC spec 1.2.1. |
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 Quad_tree. |
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. |
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 boolean |
GeometryEngine.within(Geometry geometry1,
Geometry geometry2,
SpatialReference spatialReference)
Indicates if one geometry is within another geometry. |
| Constructors in com.esri.core.geometry with parameters of type Geometry | |
|---|---|
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 parameters in com.esri.core.geometry with type arguments of type Geometry | |
|---|---|
SimpleGeometryCursor(List<Geometry> geoms)
|
|
| Uses of Geometry in com.esri.core.geometry.ogc |
|---|
| Methods in com.esri.core.geometry.ogc that return Geometry | |
|---|---|
Geometry |
OGCLineString.getEsriGeometry()
|
Geometry |
OGCPolygon.getEsriGeometry()
|
abstract Geometry |
OGCGeometry.getEsriGeometry()
|
Geometry |
OGCMultiLineString.getEsriGeometry()
|
Geometry |
OGCMultiPoint.getEsriGeometry()
|
Geometry |
OGCMultiPolygon.getEsriGeometry()
|
Geometry |
OGCConcreteGeometryCollection.getEsriGeometry()
|
Geometry |
OGCPoint.getEsriGeometry()
|
| Methods in com.esri.core.geometry.ogc with parameters of type Geometry | |
|---|---|
static OGCGeometry |
OGCGeometry.createFromEsriGeometry(Geometry geom,
SpatialReference sr)
|
static OGCGeometry |
OGCGeometry.createFromEsriGeometry(Geometry geom,
SpatialReference sr,
boolean multiType)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||