PolylineIntersection

References
public readonly struct PolylineIntersection
A single intersection event between two polylines, found by PolylineIntersector.

Constructors

PolylineIntersection

#
public PolylineIntersection(Interval a, Interval b, Point3d start, Point3d end)
Create a new intersection event.
a (Interval)Interval on the first polyline, increasing.
b (Interval)Interval on the second polyline, in the order matching a.
start (Point3d)Contact point at the start of the event.
end (Point3d)Contact point at the end of the event, the same as the start for a point contact.

Properties

A

#
public Interval A { get; }
Gets the interval on the first polyline. It never decreases.

B

#
public Interval B { get; }
Gets the interval on the second polyline. It decreases when an overlap runs against the direction of the first polyline.

End

#
public Point3d End { get; }
Gets the contact point at the end of the event, halfway between the two polylines.

IsOverlap

#
public bool IsOverlap { get; }
Gets whether this event is a stretch of shared segments rather than a single point.

IsReversed

#
public bool IsReversed { get; }
Gets whether this overlap runs against the direction of the first polyline.

Start

#
public Point3d Start { get; }
Gets the contact point at the start of the event, halfway between the two polylines.

Methods

ToString

#
public override string ToString()
Returns the fully qualified type name of this instance.
The fully qualified type name.