Package com.esri.core.geometry
Class Cracker
- java.lang.Object
-
- com.esri.core.geometry.Cracker
-
final class Cracker extends java.lang.Object
Implementation 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 boolean
m_bAllowCoincident
private NonSimpleResult
m_non_simple_result
private ProgressTracker
m_progress_tracker
private EditShape
m_shape
private SweepComparator
m_sweep_comparator
private Treap
m_sweep_structure
private double
m_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 boolean
canBeCracked(EditShape shape)
(package private) boolean
checkForIntersections_(int sweep_edge_1, int sweep_edge_2)
private boolean
crackBruteForce_()
(package private) boolean
crackerPlaneSweep_()
(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
needsCrackingImpl_()
(package private) boolean
planeSweep_()
-
-
-
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)
-
-