PathSelfIntersections


Checks if a path has any self-intersections and computes all of them.

Syntax

C++
C#
Python
 
def PathSelfIntersections(
	inPath: Path,
	/
)
-> (
	outSelfIntersections: list[Point2D],
	outFirstSegmentIndices: list[int],
	outSecondSegmentIndices: list[int],
	outIsSelfIntersecting: bool
)

Parameters

Name Type Default Description
Input value inPath Path Input path
Output value outSelfIntersections list[Point2D]
Output value outFirstSegmentIndices list[int] First indices of the segments of the path which generate found intersection points
Output value outSecondSegmentIndices list[int] Second indices of the segments of the path which generate found intersection points
Output value outIsSelfIntersecting bool