Package com.esri.core.geometry.ogc
Class OGCConcreteGeometryCollection.GeometryCursorOGC
- java.lang.Object
-
- com.esri.core.geometry.GeometryCursor
-
- com.esri.core.geometry.ogc.OGCConcreteGeometryCollection.GeometryCursorOGC
-
- Enclosing class:
- OGCConcreteGeometryCollection
private static class OGCConcreteGeometryCollection.GeometryCursorOGC extends GeometryCursor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) GeometryCursor
m_curs
private java.util.List<OGCGeometry>
m_geoms
private int
m_ind
private int
m_index
-
Constructor Summary
Constructors Constructor Description GeometryCursorOGC(java.util.List<OGCGeometry> geoms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGeometryID()
Returns the ID of the current geometry.Geometry
next()
Moves the cursor to the next Geometry.-
Methods inherited from class com.esri.core.geometry.GeometryCursor
tock
-
-
-
-
Field Detail
-
m_index
private int m_index
-
m_ind
private int m_ind
-
m_geoms
private java.util.List<OGCGeometry> m_geoms
-
m_curs
GeometryCursor m_curs
-
-
Constructor Detail
-
GeometryCursorOGC
GeometryCursorOGC(java.util.List<OGCGeometry> geoms)
-
-
Method Detail
-
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 classGeometryCursor
-
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 classGeometryCursor
-
-