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 Details

  • Constructor Details

    • SimpleMapGeometryCursor

      public SimpleMapGeometryCursor(MapGeometry geom)
    • SimpleMapGeometryCursor

      public SimpleMapGeometryCursor(MapGeometry[] geoms)
  • Method Details

    • 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 class MapGeometryCursor
    • 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 class MapGeometryCursor