Class Cracker

java.lang.Object
com.esri.core.geometry.Cracker

final class Cracker extends Object
Implementation for the segment cracking. Finds and splits all intersecting segments. Used by the TopoGraph and Simplify.
  • Field Details

    • 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 Details

  • Method Details

    • getSegment_

      private Segment getSegment_(int vertex, Line lineHelper)
    • 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)