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) intm_count(package private) MapGeometrym_geom(package private) MapGeometry[]m_geomArray(package private) intm_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 intgetGeometryID()Returns the ID of the current geometry.MapGeometrynext()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:MapGeometryCursorReturns 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:
getGeometryIDin classMapGeometryCursor
-
next
public MapGeometry next()
Description copied from class:MapGeometryCursorMoves the cursor to the next ProjectedGeometry. Returns null when reached the end.- Specified by:
nextin classMapGeometryCursor
-
-