Package com.esri.core.geometry
Class SimpleMapGeometryCursor
- java.lang.Object
-
- com.esri.core.geometry.MapGeometryCursor
-
- com.esri.core.geometry.SimpleMapGeometryCursor
-
class SimpleMapGeometryCursor extends MapGeometryCursor
A simple MapGeometryCursor implementation that wraps a single MapGeometry or an array of MapGeometry classes
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
m_count
(package private) MapGeometry
m_geom
(package private) MapGeometry[]
m_geomArray
(package private) int
m_index
-
Constructor Summary
Constructors Constructor Description SimpleMapGeometryCursor(MapGeometry geom)
SimpleMapGeometryCursor(MapGeometry[] geoms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGeometryID()
Returns the ID of the current geometry.MapGeometry
next()
Moves the cursor to the next ProjectedGeometry.
-
-
-
Field Detail
-
m_geom
MapGeometry m_geom
-
m_geomArray
MapGeometry[] m_geomArray
-
m_index
int m_index
-
m_count
int m_count
-
-
Constructor Detail
-
SimpleMapGeometryCursor
public SimpleMapGeometryCursor(MapGeometry geom)
-
SimpleMapGeometryCursor
public SimpleMapGeometryCursor(MapGeometry[] geoms)
-
-
Method Detail
-
getGeometryID
public int getGeometryID()
Description copied from class:MapGeometryCursor
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 classMapGeometryCursor
-
next
public MapGeometry next()
Description copied from class:MapGeometryCursor
Moves the cursor to the next ProjectedGeometry. Returns null when reached the end.- Specified by:
next
in classMapGeometryCursor
-
-