PathLineIntersections


Computes the common points of a path and a line.

Syntax

C++
C#
Python
 
def PathLineIntersections(
	inPath: Path,
	inLine: Line2D,
	/
)
-> (
	outIntersectionPoints: list[Point2D],
	outSegmentIndices: list[int]
)

Parameters

Name Type Default Description
Input value inPath Path Input path
Input value inLine Line2D Input line
Output value outIntersectionPoints list[Point2D] Intersections between the path and the line
Output value outSegmentIndices list[int] Indices of the segments of the path which generate found intersection points