Class SimpleMapGeometryCursor


  • class SimpleMapGeometryCursor
    extends MapGeometryCursor
    A simple MapGeometryCursor implementation that wraps a single MapGeometry or an array of MapGeometry classes
    • 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 class MapGeometryCursor