Class: IntersectionAdder

jsts.noding.IntersectionAdder

new IntersectionAdder()

Computes the intersections between two line segments in SegmentStrings and adds them to each string. The SegmentIntersector is passed to a Noder. The addIntersections method is called whenever the Noder detects that two SegmentStrings might intersect. This class is an example of the Strategy pattern.
Source:

Methods

getProperIntersectionPoint()

Source:
Returns:
the proper intersection point, or null if none was found.

hasInteriorIntersection()

An interior intersection is an intersection which is in the interior of some segment.
Source:

hasProperInteriorIntersection()

A proper interior intersection is a proper intersection which is not contained in the set of boundary nodes set for this SegmentIntersector.
Source:

hasProperIntersection()

A proper intersection is an intersection which is interior to at least two line segments. Note that a proper intersection is not necessarily in the interior of the entire Geometry, since another edge may have an endpoint equal to the intersection, which according to SFS semantics can result in the point being on the Boundary of the Geometry.
Source:

isDone()

Always process all intersections
Source:
Returns:
false always.

processIntersections()

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).
Source: