Class OperatorGeneralizeCursor
java.lang.Object
com.esri.core.geometry.GeometryCursor
com.esri.core.geometry.OperatorGeneralizeCursor
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) GeometryCursor(package private) double(package private) ProgressTracker -
Constructor Summary
ConstructorsConstructorDescriptionOperatorGeneralizeCursor(GeometryCursor geoms, double maxDeviation, boolean bRemoveDegenerateParts, ProgressTracker progressTracker) -
Method Summary
Modifier and TypeMethodDescriptionprivate intFindGreatestDistance(Line line, Point2D ptHelper, AttributeStreamOfDbl xy, int start, int end, int pathEnd) private GeometryGeneralize(Geometry geom) private voidGeneralizePath(MultiPathImpl mpsrc, int ipath, MultiPathImpl mpdst, Line lineHelper) intReturns the ID of the current geometry.next()Moves the cursor to the next Geometry.Methods inherited from class GeometryCursor
tock
-
Field Details
-
m_progressTracker
ProgressTracker m_progressTracker -
m_geoms
GeometryCursor 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
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
-
Generalize
-
GeneralizePath
-
FindGreatestDistance
private int FindGreatestDistance(Line line, Point2D ptHelper, AttributeStreamOfDbl xy, int start, int end, int pathEnd)
-