PathSegmentIntersections


Computes the common points of a path and a segment.

Syntax

C++
C#
Python
 
def PathSegmentIntersections(
	inPath: Path,
	inSegment: Segment2D,
	/
)
-> (
	outIntersectionPoints: list[Point2D],
	outSegmentIndices: list[int]
)

Parameters

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