Package com.esri.core.geometry
Class Cracker
- java.lang.Object
-
- com.esri.core.geometry.Cracker
-
final class Cracker extends java.lang.ObjectImplementation for the segment cracking. Finds and splits all intersecting segments. Used by the TopoGraph and Simplify.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanm_bAllowCoincidentprivate NonSimpleResultm_non_simple_resultprivate ProgressTrackerm_progress_trackerprivate EditShapem_shapeprivate SweepComparatorm_sweep_comparatorprivate Treapm_sweep_structureprivate doublem_tolerance
-
Constructor Summary
Constructors Constructor Description Cracker(ProgressTracker progress_tracker)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static booleancanBeCracked(EditShape shape)(package private) booleancheckForIntersections_(int sweep_edge_1, int sweep_edge_2)private booleancrackBruteForce_()(package private) booleancrackerPlaneSweep_()(package private) static booleanexecute(EditShape shape, double tolerance, ProgressTracker progress_tracker)(package private) static booleanexecute(EditShape shape, Envelope2D extent, double tolerance, ProgressTracker progress_tracker)private SegmentgetSegment_(int vertex, Line lineHelper)(package private) static booleanneedsCracking(boolean allowCoincident, EditShape shape, double tolerance, NonSimpleResult result, ProgressTracker progress_tracker)(package private) booleanneedsCrackingImpl_()(package private) booleanplaneSweep_()
-
-
-
Field Detail
-
m_shape
private EditShape m_shape
-
m_progress_tracker
private ProgressTracker m_progress_tracker
-
m_non_simple_result
private NonSimpleResult m_non_simple_result
-
m_tolerance
private double m_tolerance
-
m_sweep_structure
private Treap m_sweep_structure
-
m_sweep_comparator
private SweepComparator m_sweep_comparator
-
m_bAllowCoincident
private boolean m_bAllowCoincident
-
-
Constructor Detail
-
Cracker
Cracker(ProgressTracker progress_tracker)
-
-
Method Detail
-
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
static boolean canBeCracked(EditShape shape)
-
execute
static boolean execute(EditShape shape, Envelope2D extent, double tolerance, ProgressTracker progress_tracker)
-
execute
static boolean execute(EditShape shape, double tolerance, ProgressTracker progress_tracker)
-
needsCracking
static boolean needsCracking(boolean allowCoincident, EditShape shape, double tolerance, NonSimpleResult result, ProgressTracker progress_tracker)
-
-