Uses of Class
com.esri.core.geometry.Geometry
Packages that use Geometry
-
Uses of Geometry in com.esri.core.geometry
Subclasses of Geometry in com.esri.core.geometryModifier and TypeClassDescriptionclassAn envelope is an axis-aligned rectangle.final classA straight line between a pair of points.classThe MulitPath class is a base class for polygons and polylines.classA Multipoint is a collection of points.classThis class is a base for geometries with many vertices.classA Point is a zero-dimensional object that represents a specific (X,Y) location in a two-dimensional XY-Plane.classA polygon is a collection of one or many interior or exterior rings.classA polyline is a collection of one or many paths.classA base class for segments.Fields in com.esri.core.geometry declared as GeometryMethods in com.esri.core.geometry that return GeometryModifier and TypeMethodDescriptionstatic GeometryGeometryEngine.clip(Geometry geometry, Envelope envelope, SpatialReference spatialReference) Calculates the clipped geometry from a target geometry using an envelope.static GeometryGeometryEngine.convexHull(Geometry geometry) Calculates the convex hull geometry.static Geometry[]GeometryEngine.convexHull(Geometry[] geometries, boolean b_merge) Calculates the convex hull.Geometry.copy()Creates a copy of the geometry.Envelope.createInstance()abstract GeometryGeometry.createInstance()Creates an instance of an empty geometry of the same type.Line.createInstance()MultiPoint.createInstance()Point.createInstance()Polygon.createInstance()Polyline.createInstance()static Geometry[]GeometryEngine.cut(Geometry cuttee, Polyline cutter, SpatialReference spatialReference) Calculates the cut geometry from a target geometry using a polyline.static GeometryGeometryEngine.difference(Geometry geometry1, Geometry substractor, SpatialReference spatialReference) Creates the difference of two geometries.CombineOperator.execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Operation on two geometries, returning a third.abstract GeometryOperatorBoundary.execute(Geometry geom, ProgressTracker progress_tracker) Calculates the boundary.abstract GeometryOperatorBuffer.execute(Geometry inputGeometry, SpatialReference sr, double distance, ProgressTracker progressTracker) Creates a buffer around the input geometryabstract GeometryOperatorClip.execute(Geometry geom, Envelope2D envelope, SpatialReference spatialRef, ProgressTracker progressTracker) Performs the Clip operation on a single geometry.abstract GeometryOperatorConvexHull.execute(Geometry geom, ProgressTracker progress_tracker) Calculates the convex hull geometry.abstract GeometryOperatorDensifyByLength.execute(Geometry inputGeometry, double maxLength, ProgressTracker progressTracker) Performs the Densify operation on the geometry set.abstract GeometryOperatorDifference.execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the two geometries.abstract GeometryOperatorGeneralize.execute(Geometry geom, double maxDeviation, boolean bRemoveDegenerateParts, ProgressTracker progressTracker) Performs the Generalize operation on a single geometry.abstract GeometryOperatorImportFromESRIShape.execute(int importFlags, Geometry.Type type, ByteBuffer shapeBuffer) Performs the ImportFromESRIShape operation.abstract GeometryOperatorImportFromWkb.execute(int importFlags, Geometry.Type type, ByteBuffer wkbBuffer, ProgressTracker progress_tracker) Performs the ImportFromWKB operation.abstract GeometryOperatorImportFromWkt.execute(int import_flags, Geometry.Type type, String wkt_string, ProgressTracker progress_tracker) Performs the ImportFromWkt operation.abstract GeometryOperatorIntersection.execute(Geometry inputGeometry, Geometry intersector, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Intersection operation on the geometry.abstract GeometryOperatorOffset.execute(Geometry inputGeometry, SpatialReference sr, double distance, OperatorOffset.JoinType joins, double bevelRatio, double flattenError, ProgressTracker progressTracker) Creates offset version of the input geometry.abstract GeometryOperatorSimplify.execute(Geometry geom, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker) Performs the Simplify operation on the geometry.abstract GeometryOperatorSimplifyOGC.execute(Geometry geom, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker) Processes geometry to ensure it is simple for OGC specification.abstract GeometryOperatorSymmetricDifference.execute(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the two geometries.abstract GeometryOperatorUnion.execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Union operation on two geometries.static GeometryGeometryEngine.geometryFromEsriShape(byte[] esriShapeBuffer, Geometry.Type geometryType) Imports geometry from the ESRI shape file format.static GeometryGeometryEngine.geometryFromWkt(String wkt, int importFlags, Geometry.Type geometryType) Imports a geometry from a WKT string.Envelope.getBoundary()abstract GeometryGeometry.getBoundary()Returns boundary of this geometry.MultiPath.getBoundary()MultiPoint.getBoundary()Point.getBoundary()Segment.getBoundary()MapGeometry.getGeometry()Gets the only geometry without the spatial reference from the MapGeometry.static GeometryGeometryEngine.intersect(Geometry geometry1, Geometry intersector, SpatialReference spatialReference) Creates a geometry through intersection between two geometries.static GeometryOperatorFactoryLocal.loadGeometryFromEsriShapeDbg(String file_name) static GeometryOperatorFactoryLocal.loadGeometryFromWKTFileDbg(String file_name) abstract GeometryGeometryCursor.next()Moves the cursor to the next Geometry.GeometryCursorAppend.next()ListeningGeometryCursor.next()SimpleGeometryCursor.next()static GeometryGeometryEngine.simplify(Geometry geometry, SpatialReference spatialReference) Performs the simplify operation on the geometry.static GeometryGeometryEngine.symmetricDifference(Geometry leftGeometry, Geometry rightGeometry, SpatialReference spatialReference) Creates the symmetric difference of two geometries.static GeometryGeometryEngine.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 GeometryModifier and TypeMethodDescriptionbooleanOperator.accelerateGeometry(Geometry geometry, SpatialReference spatialReference, Geometry.GeometryAccelerationDegree accelDegree) Processes Geometry to accelerate operations on it.booleanOperatorRelate.accelerateGeometry(Geometry geometry, SpatialReference spatialReference, Geometry.GeometryAccelerationDegree accelDegree) booleanOperatorSimpleRelation.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 PolygonGeometryEngine.buffer(Geometry geometry, SpatialReference spatialReference, double distance) Calculates a buffer polygon of the geometry as specified by the distance input.booleanOperator.canAccelerateGeometry(Geometry geometry) Returns true if the geometry can be accelerated.booleanOperatorRelate.canAccelerateGeometry(Geometry geometry) booleanOperatorSimpleRelation.canAccelerateGeometry(Geometry geometry) static GeometryGeometryEngine.clip(Geometry geometry, Envelope envelope, SpatialReference spatialReference) Calculates the clipped geometry from a target geometry using an envelope.static booleanGeometryEngine.contains(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) Indicates if one geometry contains another geometry.static GeometryGeometryEngine.convexHull(Geometry geometry) Calculates the convex hull geometry.static Geometry[]GeometryEngine.convexHull(Geometry[] geometries, boolean b_merge) Calculates the convex hull.voidabstract voidCopies this geometry to another geometry of the same type.voidvoidvoidvoidstatic RasterizedGeometry2DCreates a rasterized geometry from a given Geometry.static booleanGeometryEngine.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 voidOperator.deaccelerateGeometry(Geometry geometry) Removes accelerators from given geometry.static GeometryGeometryEngine.difference(Geometry geometry1, Geometry substractor, SpatialReference spatialReference) Creates the difference of two geometries.static booleanGeometryEngine.disjoint(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) See OperatorDisjoint.static doubleGeometryEngine.distance(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) Calculates the 2D planar distance between two geometries.static booleanGeometryEngine.equals(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) Indicates if two geometries are equal.CombineOperator.execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Operation on two geometries, returning a third.abstract GeometryOperatorBoundary.execute(Geometry geom, ProgressTracker progress_tracker) Calculates the boundary.abstract GeometryOperatorBuffer.execute(Geometry inputGeometry, SpatialReference sr, double distance, ProgressTracker progressTracker) Creates a buffer around the input geometryabstract Point2DOperatorCentroid2D.execute(Geometry geometry, ProgressTracker progressTracker) OperatorCentroid2DLocal.execute(Geometry geometry, ProgressTracker progressTracker) abstract GeometryOperatorClip.execute(Geometry geom, Envelope2D envelope, SpatialReference spatialRef, ProgressTracker progressTracker) Performs the Clip operation on a single geometry.abstract GeometryOperatorConvexHull.execute(Geometry geom, ProgressTracker progress_tracker) Calculates the convex hull geometry.abstract GeometryCursorOperatorCut.execute(boolean bConsiderTouch, Geometry cuttee, Polyline cutter, SpatialReference spatialReference, ProgressTracker progressTracker) Performs the Cut operation on a geometry.abstract GeometryOperatorDensifyByLength.execute(Geometry inputGeometry, double maxLength, ProgressTracker progressTracker) Performs the Densify operation on the geometry set.abstract GeometryOperatorDifference.execute(Geometry inputGeometry, Geometry subtractor, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Difference operation on the two geometries.abstract doubleOperatorDistance.execute(Geometry geom1, Geometry geom2, ProgressTracker progressTracker) Calculates distance between two geometries.abstract ByteBufferPerforms the ExportToESRIShape operation.abstract intOperatorExportToESRIShape.execute(int exportFlags, Geometry geometry, ByteBuffer shapeBuffer) Performs the ExportToESRIShape operation.abstract StringOperatorExportToGeoJson.execute(int exportFlags, SpatialReference spatialReference, Geometry geometry) Performs the ExportToGeoJson operationabstract StringPerforms the ExportToGeoJson operation.abstract StringOperatorExportToGeoJson.execute(SpatialReference spatialReference, Geometry geometry) Performs the ExportToGeoJson operationabstract StringOperatorExportToJson.execute(SpatialReference spatialReference, Geometry geometry) Performs the ExportToJson operationabstract StringOperatorExportToJson.execute(SpatialReference spatialReference, Geometry geometry, Map<String, Object> exportProperties) Performs the ExportToJson operationabstract ByteBufferOperatorExportToWkb.execute(int exportFlags, Geometry geometry, ProgressTracker progressTracker) Performs the ExportToWKB operation.abstract intOperatorExportToWkb.execute(int exportFlags, Geometry geometry, ByteBuffer wkbBuffer, ProgressTracker progressTracker) Performs the ExportToWKB operation.abstract StringOperatorExportToWkt.execute(int exportFlags, Geometry geometry, ProgressTracker progress_tracker) abstract GeometryOperatorGeneralize.execute(Geometry geom, double maxDeviation, boolean bRemoveDegenerateParts, ProgressTracker progressTracker) Performs the Generalize operation on a single geometry.abstract GeometryOperatorIntersection.execute(Geometry inputGeometry, Geometry intersector, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Intersection operation on the geometry.abstract GeometryOperatorOffset.execute(Geometry inputGeometry, SpatialReference sr, double distance, OperatorOffset.JoinType joins, double bevelRatio, double flattenError, ProgressTracker progressTracker) Creates offset version of the input geometry.abstract booleanOperatorRelate.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 booleanOperatorSimpleRelation.execute(Geometry inputGeom1, Geometry inputGeom2, SpatialReference sr, ProgressTracker progressTracker) Performs the given relation operation between two geometries.abstract GeometryOperatorSimplify.execute(Geometry geom, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker) Performs the Simplify operation on the geometry.abstract GeometryOperatorSimplifyOGC.execute(Geometry geom, SpatialReference sr, boolean bForceSimplify, ProgressTracker progressTracker) Processes geometry to ensure it is simple for OGC specification.abstract GeometryOperatorSymmetricDifference.execute(Geometry leftGeometry, Geometry rightGeometry, SpatialReference sr, ProgressTracker progressTracker) Performs the Symmetric Difference operation on the two geometries.abstract GeometryOperatorUnion.execute(Geometry geom1, Geometry geom2, SpatialReference sr, ProgressTracker progressTracker) Performs the Topological Union operation on two geometries.static byte[]GeometryEngine.geometryToEsriShape(Geometry geometry) Exports geometry to the ESRI shape file format.static StringGeometryEngine.geometryToGeoJson(int wkid, Geometry geometry) Exports the specified geometry instance to its GeoJSON representation.static StringGeometryEngine.geometryToGeoJson(Geometry geometry) static StringGeometryEngine.geometryToGeoJson(SpatialReference spatialReference, Geometry geometry) Exports the specified geometry instance to it's JSON representation.static StringGeometryEngine.geometryToJson(int wkid, Geometry geometry) Exports the specified geometry instance to it's JSON representation.static StringGeometryEngine.geometryToJson(SpatialReference spatialReference, Geometry geometry) Exports the specified geometry instance to it's JSON representation.static StringGeometryEngine.geometryToWkt(Geometry geometry, int exportFlags) Exports a geometry to a string in WKT format.QuadTree.getIterator(Geometry query, double tolerance) Gets an iterator on the QuadTree.QuadTree.getIterator(Geometry query, double tolerance, boolean bSorted) Gets an iterator on the QuadTree.static Proximity2DResultGeometryEngine.getNearestCoordinate(Geometry geometry, Point inputPoint, boolean bTestPolygonInterior) Finds the coordinate of the geometry which is closest to the specified point.abstract Proximity2DResultOperatorProximity2D.getNearestCoordinate(Geometry geom, Point inputPoint, boolean bTestPolygonInterior) Returns the nearest coordinate on the Geometry to the given input point.abstract Proximity2DResultOperatorProximity2D.getNearestCoordinate(Geometry geom, Point inputPoint, boolean bTestPolygonInterior, boolean bCalculateLeftRightSide) Returns the nearest coordinate on the Geometry to the given input point.static Proximity2DResultGeometryEngine.getNearestVertex(Geometry geometry, Point inputPoint) Finds nearest vertex on the geometry which is closed to the specified point.abstract Proximity2DResultOperatorProximity2D.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 GeometryGeometryEngine.intersect(Geometry geometry1, Geometry intersector, SpatialReference spatialReference) Creates a geometry through intersection between two geometries.abstract booleanOperatorConvexHull.isConvex(Geometry geom, ProgressTracker progress_tracker) Checks whether a Geometry is convex.abstract booleanOperatorSimplify.isSimpleAsFeature(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker) Tests if the Geometry is simple.booleanOperatorSimplify.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 booleanOperatorSimplifyOGC.isSimpleOGC(Geometry geom, SpatialReference spatialRef, boolean bForceTest, NonSimpleResult result, ProgressTracker progressTracker) Tests if the Geometry is simple for OGC specification.static booleanGeometryEngine.overlaps(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) Indicates if one geometry overlaps another geometry.static booleanGeometryEngine.relate(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference, String relation) Indicates if the given relation holds for the two geometries.voidQuadTree.QuadTreeIterator.resetIterator(Geometry query, double tolerance) Resets the iterator to an starting state on the QuadTree.static voidOperatorFactoryLocal.saveGeometryToEsriShapeDbg(String file_name, Geometry geometry) static voidOperatorFactoryLocal.saveJSONToTextFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref) static voidOperatorFactoryLocal.saveToWKTFileDbg(String file_name, Geometry geometry, SpatialReference spatial_ref) voidMapGeometry.setGeometry(Geometry geometry) Sets the geometry for this MapGeometry.voidGenericGeometrySerializer.setGeometryByValue(Geometry geometry) static GeometryGeometryEngine.simplify(Geometry geometry, SpatialReference spatialReference) Performs the simplify operation on the geometry.static GeometryGeometryEngine.symmetricDifference(Geometry leftGeometry, Geometry rightGeometry, SpatialReference spatialReference) Creates the symmetric difference of two geometries.voidCall this method to add geometry to the cursor.static booleanGeometryEngine.touches(Geometry geometry1, Geometry geometry2, SpatialReference spatialReference) Indicates if one geometry touches another geometry.static GeometryGeometryEngine.union(Geometry[] geometries, SpatialReference spatialReference) Constructs a new geometry by union an array of geometries.static intGeometry.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 booleanGeometryEngine.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 GeometryModifierConstructorDescriptionMapGeometry(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 -
Uses of Geometry in com.esri.core.geometry.ogc
Methods in com.esri.core.geometry.ogc that return GeometryModifier and TypeMethodDescriptionOGCConcreteGeometryCollection.getEsriGeometry()abstract GeometryOGCGeometry.getEsriGeometry()OGCLineString.getEsriGeometry()OGCMultiLineString.getEsriGeometry()OGCMultiPoint.getEsriGeometry()OGCMultiPolygon.getEsriGeometry()OGCPoint.getEsriGeometry()OGCPolygon.getEsriGeometry()Methods in com.esri.core.geometry.ogc with parameters of type GeometryModifier and TypeMethodDescriptionstatic OGCGeometryOGCGeometry.createFromEsriGeometry(Geometry geom, SpatialReference sr) static OGCGeometryOGCGeometry.createFromEsriGeometry(Geometry geom, SpatialReference sr, boolean multiType)