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 | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
outSelfIntersections | list[Point2D] | ||
![]() |
outFirstSegmentIndices | list[int] | First indices of the segments of the path which generate found intersection points | |
![]() |
outSecondSegmentIndices | list[int] | Second indices of the segments of the path which generate found intersection points | |
![]() |
outIsSelfIntersecting | bool |


