Class OperatorConvexHullCursor

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

class OperatorConvexHullCursor extends GeometryCursor
  • Field Details

    • m_progress_tracker

      private ProgressTracker m_progress_tracker
    • m_b_merge

      private boolean m_b_merge
    • m_b_done

      private boolean m_b_done
    • m_inputGeometryCursor

      private GeometryCursor m_inputGeometryCursor
    • m_index

      private int m_index
    • m_hull

      ConvexHull m_hull
  • Constructor Details

  • 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
    • calculateConvexHullMerging_

      private Geometry calculateConvexHullMerging_(GeometryCursor geoms, ProgressTracker progress_tracker)
    • tock

      public boolean tock()
      Description copied from class: GeometryCursor
      Executes a unit of work on the cursor.
      Overrides:
      tock in class GeometryCursor
      Returns:
      Returns true, if there is a geometry ready to be pulled using next(). This method is to be used together with the tick() method on the ListeningGeometryCursor. Call tock() for each tick() on the ListeningGeometryCursor.
    • calculateConvexHull_

      static Geometry calculateConvexHull_(Geometry geom, ProgressTracker progress_tracker)
    • isConvex_

      static boolean isConvex_(Geometry geom, ProgressTracker progress_tracker)