SegmentIntersectorN class abstract

Processes possible intersections detected by a {@link Noder}. The {@link SegmentIntersector} is passed to a {@link Noder}. The {@link SegmentIntersector#processIntersections(SegmentString, int, SegmentString, int)} method is called whenever the {@link Noder} detects 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 {@link #isDone()} method. This class is an example of the Strategy pattern.

@version 1.7

Implementers

Constructors

SegmentIntersectorN()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isDone() bool
Reports whether the client of this class needs to continue testing all intersections in an arrangement.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1) → void
This method is called by clients of the {@link SegmentIntersector} interface to process intersections for two segments of the {@link SegmentString}s being intersected.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited