Package com.esri.core.geometry
Class Cracker
java.lang.Object
com.esri.core.geometry.Cracker
Implementation for the segment cracking.
Finds and splits all intersecting segments. Used by the TopoGraph and
Simplify.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private NonSimpleResult
private ProgressTracker
private EditShape
private SweepComparator
private Treap
private double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
canBeCracked
(EditShape shape) (package private) boolean
checkForIntersections_
(int sweep_edge_1, int sweep_edge_2) private boolean
(package private) boolean
(package private) static boolean
execute
(EditShape shape, double tolerance, ProgressTracker progress_tracker) (package private) static boolean
execute
(EditShape shape, Envelope2D extent, double tolerance, ProgressTracker progress_tracker) private Segment
getSegment_
(int vertex, Line lineHelper) (package private) static boolean
needsCracking
(boolean allowCoincident, EditShape shape, double tolerance, NonSimpleResult result, ProgressTracker progress_tracker) (package private) boolean
(package private) boolean
-
Field Details
-
m_shape
-
m_progress_tracker
-
m_non_simple_result
-
m_tolerance
private double m_tolerance -
m_sweep_structure
-
m_sweep_comparator
-
m_bAllowCoincident
private boolean m_bAllowCoincident
-
-
Constructor Details
-
Cracker
Cracker(ProgressTracker progress_tracker)
-
-
Method Details
-
getSegment_
-
crackBruteForce_
private boolean crackBruteForce_() -
crackerPlaneSweep_
boolean crackerPlaneSweep_() -
planeSweep_
boolean planeSweep_() -
needsCrackingImpl_
boolean needsCrackingImpl_() -
checkForIntersections_
boolean checkForIntersections_(int sweep_edge_1, int sweep_edge_2) -
canBeCracked
-
execute
static boolean execute(EditShape shape, Envelope2D extent, double tolerance, ProgressTracker progress_tracker) -
execute
-
needsCracking
static boolean needsCracking(boolean allowCoincident, EditShape shape, double tolerance, NonSimpleResult result, ProgressTracker progress_tracker)
-