com.vividsolutions.jts.noding
Class MCIndexSegmentSetMutualIntersector

java.lang.Object
  extended by com.vividsolutions.jts.noding.SegmentSetMutualIntersector
      extended by com.vividsolutions.jts.noding.MCIndexSegmentSetMutualIntersector

public class MCIndexSegmentSetMutualIntersector
extends SegmentSetMutualIntersector

Intersects two sets of SegmentStrings using a index based on MonotoneChains and a SpatialIndex.

Version:
1.7

Nested Class Summary
 class MCIndexSegmentSetMutualIntersector.SegmentOverlapAction
           
 
Field Summary
 
Fields inherited from class com.vividsolutions.jts.noding.SegmentSetMutualIntersector
segInt
 
Constructor Summary
MCIndexSegmentSetMutualIntersector()
           
 
Method Summary
 SpatialIndex getIndex()
           
 void process(Collection segStrings)
          Computes the intersections for two collections of SegmentStrings.
 void setBaseSegments(Collection segStrings)
           
 
Methods inherited from class com.vividsolutions.jts.noding.SegmentSetMutualIntersector
setSegmentIntersector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCIndexSegmentSetMutualIntersector

public MCIndexSegmentSetMutualIntersector()
Method Detail

getIndex

public SpatialIndex getIndex()

setBaseSegments

public void setBaseSegments(Collection segStrings)
Specified by:
setBaseSegments in class SegmentSetMutualIntersector
Parameters:
segStrings - a collection of SegmentStrings to node

process

public void process(Collection segStrings)
Description copied from class: SegmentSetMutualIntersector
Computes the intersections for two collections of SegmentStrings.

Specified by:
process in class SegmentSetMutualIntersector
Parameters:
segStrings - a collection of SegmentStrings to node


Copyright © 2012. All Rights Reserved.