Class OperatorGeneralizeCursor

java.lang.Object
com.esri.core.geometry.GeometryCursor
com.esri.core.geometry.OperatorGeneralizeCursor

final class OperatorGeneralizeCursor extends GeometryCursor
  • Field Details

    • m_progressTracker

      ProgressTracker m_progressTracker
    • m_geoms

    • m_maxDeviation

      double m_maxDeviation
    • m_bRemoveDegenerateParts

      boolean m_bRemoveDegenerateParts
  • Constructor Details

    • OperatorGeneralizeCursor

      public OperatorGeneralizeCursor(GeometryCursor geoms, double maxDeviation, boolean bRemoveDegenerateParts, ProgressTracker progressTracker)
  • Method Details

    • 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 class GeometryCursor
    • 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 class GeometryCursor
    • Generalize

      private Geometry Generalize(Geometry geom)
    • GeneralizePath

      private void GeneralizePath(MultiPathImpl mpsrc, int ipath, MultiPathImpl mpdst, Line lineHelper)
    • FindGreatestDistance

      private int FindGreatestDistance(Line line, Point2D ptHelper, AttributeStreamOfDbl xy, int start, int end, int pathEnd)