Class MCIndexNoder

java.lang.Object
org.locationtech.jts.noding.SinglePassNoder
org.locationtech.jts.noding.MCIndexNoder
All Implemented Interfaces:
Noder

public class MCIndexNoder extends SinglePassNoder
Nodes a set of SegmentStrings using a index based on MonotoneChains and a SpatialIndex. The SpatialIndex used should be something that supports envelope (range) queries efficiently (such as a Quadtree} or STRtree (which is the default index provided).

The noder supports using an overlap tolerance distance . This allows determining segment intersection using a buffer for uses involving snapping with a distance tolerance.

Version:
1.7
  • Constructor Details

    • MCIndexNoder

      public MCIndexNoder()
    • MCIndexNoder

      public MCIndexNoder(SegmentIntersector si)
    • MCIndexNoder

      public MCIndexNoder(SegmentIntersector si, double overlapTolerance)
      Creates a new noder with a given SegmentIntersector and an overlap tolerance distance to expand intersection tests with.
      Parameters:
      si - the segment intersector
      overlapTolerance - the expansion distance for overlap tests
  • Method Details