Class OperatorConvexHullCursor
java.lang.Object
com.esri.core.geometry.GeometryCursor
com.esri.core.geometry.OperatorConvexHullCursor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate boolean(package private) ConvexHullprivate intprivate GeometryCursorprivate ProgressTracker -
Constructor Summary
ConstructorsConstructorDescriptionOperatorConvexHullCursor(boolean b_merge, GeometryCursor geoms, ProgressTracker progress_tracker) -
Method Summary
Modifier and TypeMethodDescription(package private) static GeometrycalculateConvexHull_(Geometry geom, ProgressTracker progress_tracker) private GeometrycalculateConvexHullMerging_(GeometryCursor geoms, ProgressTracker progress_tracker) intReturns the ID of the current geometry.(package private) static booleanisConvex_(Geometry geom, ProgressTracker progress_tracker) next()Moves the cursor to the next Geometry.booleantock()Executes a unit of work on the cursor.
-
Field Details
-
m_progress_tracker
-
m_b_merge
private boolean m_b_merge -
m_b_done
private boolean m_b_done -
m_inputGeometryCursor
-
m_index
private int m_index -
m_hull
ConvexHull m_hull
-
-
Constructor Details
-
OperatorConvexHullCursor
OperatorConvexHullCursor(boolean b_merge, GeometryCursor geoms, ProgressTracker progress_tracker)
-
-
Method Details
-
next
Description copied from class:GeometryCursorMoves 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:
nextin classGeometryCursor
-
getGeometryID
public int getGeometryID()Description copied from class:GeometryCursorReturns 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 classGeometryCursor
-
calculateConvexHullMerging_
private Geometry calculateConvexHullMerging_(GeometryCursor geoms, ProgressTracker progress_tracker) -
tock
public boolean tock()Description copied from class:GeometryCursorExecutes a unit of work on the cursor.- Overrides:
tockin classGeometryCursor- 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_
-
isConvex_
-