PolylineIntersector
Finds every intersection event between two polylines, treating both as open.
Fields
Methods
ContinuesAcrossSeam
#Decide whether the first and last overlap events are really one overlap continuing across the seam.
public static bool ContinuesAcrossSeam()
first,
The first event along the first polyline.
last,
The last event along the first polyline.
a,
First polyline.
b
Second polyline.
Returns: True if the last event carries on into the first across the seam.
ContinuesAcrossSecondSeam
#Decide whether two consecutive overlap events along the first polyline are one overlap continuing across the seam of the second.
public static bool ContinuesAcrossSecondSeam()
earlier,
The event ending at the seam of the second polyline.
later,
The event starting at that seam.
b
Second polyline.
Returns: True if the earlier event carries on into the later one across the seam.
Intersect
#Find all intersection events between two polylines.
public static PolylineIntersection[] Intersect()
a,
First polyline.
b,
Second polyline.
tolerance
Largest distance at which the polylines count as touching.
Returns: All events, sorted along the first polyline.