Detects and records an intersection between two
SegmentStrings, if one exists. Only a single intersection is recorded. This strategy can be configured to search for
proper intersections. In this case, the presence of
any kind of intersection will still be recorded, but searching will continue until either a proper intersection has been found or no intersections are detected.
This method is called by clients of the
SegmentIntersector class to process intersections for two segments of the
SegmentStrings being intersected. Note that some clients (such as
MonotoneChains) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).
public boolean isDone()
Tests whether processing can terminate, because all required information has been obtained (e.g. an intersection of the desired type has been detected).