public interface SegmentIntersector
SegmentIntersectoris passed to a
processIntersections(SegmentString, int, SegmentString, int)method is called whenever the
Noderdetects that two SegmentStrings might intersect. This class may be used either to find all intersections, or to detect the presence of an intersection. In the latter case, Noders may choose to short-circuit their computation by calling the
isDone()method. This class is an example of the Strategy pattern.
|Modifier and Type||Method and Description|
Reports whether the client of this class needs to continue testing all intersections in an arrangement.
void processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1)
Copyright © 2020. All rights reserved.