InteriorIntersectionFinderAdder class

Finds interior intersections between line segments in {@link NodedSegmentString}s, and adds them as nodes using {@link NodedSegmentString#addIntersection(LineIntersector, int, int, int)}.

This class is used primarily for Snap-Rounding. For general-purpose noding, use {@link IntersectionAdder}.

@version 1.7 @see IntersectionAdder

Implemented types

Constructors

InteriorIntersectionFinderAdder(LineIntersector li)
Creates an intersection finder which finds all proper intersections

Properties

hashCode int
The hash code for this object.
no setterinherited
interiorIntersections List
getter/setter pair
li LineIntersector
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInteriorIntersections() List
isDone() bool
Always process all intersections
override
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} class to process intersections for two segments of the {@link SegmentString}s 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).
override
toString() String
A string representation of this object.
inherited

Operators

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