Package com.esri.core.geometry
Class GeometryCursor
java.lang.Object
com.esri.core.geometry.GeometryCursor
- Direct Known Subclasses:
Bufferer.GeometryCursorForMultiPoint
,Bufferer.GeometryCursorForPolygon
,Bufferer.GeometryCursorForPolyline
,Bufferer.GlueingCursorForPolyline
,GeometryCursorAppend
,ListeningGeometryCursor
,OGCConcreteGeometryCollection.FlatteningCollectionCursor
,OGCConcreteGeometryCollection.GeometryCursorOGC
,OGCStructureInternal.EditShapeCursor
,OperatorBoundaryLocalCursor
,OperatorBufferCursor
,OperatorClipCursor
,OperatorConvexHullCursor
,OperatorCutCursor
,OperatorDensifyByLengthCursor
,OperatorDifferenceCursor
,OperatorGeneralizeCursor
,OperatorImportFromESRIShapeCursor
,OperatorIntersectionCursor
,OperatorOffsetCursor
,OperatorSimplifyCursor
,OperatorSimplifyCursorOGC
,OperatorSymmetricDifferenceCursor
,OperatorUnionCursor
,SimpleGeometryCursor
An abstract Geometry Cursor class.
-
Constructor Details
-
GeometryCursor
public GeometryCursor()
-
-
Method Details
-
next
Moves the cursor to the next Geometry. Returns null when reached the end. The behavior of the cursor is undefined after the method returns null. -
getGeometryID
public abstract int getGeometryID()Returns the ID of the current geometry. The ID is propagated across the operations (when possible). Returns an ID associated with the current Geometry. The ID is passed along and is returned by some operators to preserve relationship between the input and output geometry classes. It is not always possible to preserve an ID during an operation. -
tock
public boolean tock()Executes a unit of work on the cursor.- Returns:
- Returns true, if there is a geometry ready to be pulled using next(). This method is to be used together with the tick() method on the ListeningGeometryCursor. Call tock() for each tick() on the ListeningGeometryCursor.
-