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 | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
inSegment | Segment2D | Input segment | |
![]() |
outIntersectionPoints | list[Point2D] | Intersections between the path and the segment | |
![]() |
outSegmentIndices | list[int] | Indices of the segments of the path which generate found intersection points |


