com.esri.core.geometry
Class SimpleGeometryCursor
java.lang.Object
com.esri.core.geometry.GeometryCursor
com.esri.core.geometry.SimpleGeometryCursor
public class SimpleGeometryCursor
- extends GeometryCursor
A simple GeometryCursor implementation that wraps a single Geometry or
an array of Geometry classes
|
Method Summary |
int |
getGeometryID()
Returns the ID of the current geometry. |
Geometry |
next()
Moves the cursor to the next Geometry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGeometryCursor
public SimpleGeometryCursor(Geometry geom)
SimpleGeometryCursor
public SimpleGeometryCursor(Geometry[] geoms)
SimpleGeometryCursor
public SimpleGeometryCursor(List<Geometry> geoms)
getGeometryID
public int getGeometryID()
- Description copied from class:
GeometryCursor
- 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.
- Specified by:
getGeometryID in class GeometryCursor
next
public Geometry next()
- Description copied from class:
GeometryCursor
- 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.
- Specified by:
next in class GeometryCursor
Copyright © 2013. All Rights Reserved.