public class FastSegmentSetIntersectionFinder extends Object
SegmentStrings intersect.
Uses indexing for fast performance and to optimize repeated tests
against a target set of lines.
Short-circuited to return as soon an intersection is found.| Constructor and Description |
|---|
FastSegmentSetIntersectionFinder(Collection baseSegStrings) |
| Modifier and Type | Method and Description |
|---|---|
SegmentSetMutualIntersector |
getSegmentSetIntersector()
Gets the segment set intersector used by this class.
|
boolean |
intersects(Collection segStrings) |
boolean |
intersects(Collection segStrings,
SegmentIntersectionDetector intDetector) |
public FastSegmentSetIntersectionFinder(Collection baseSegStrings)
public SegmentSetMutualIntersector getSegmentSetIntersector()
public boolean intersects(Collection segStrings)
public boolean intersects(Collection segStrings, SegmentIntersectionDetector intDetector)
Copyright © 2016. All rights reserved.