SegmentArrayIntersections
Computes a common points or segment of any segments from the set.
Syntax
C++
Python
def SegmentArrayIntersections( inSegments: list[Segment2D], / ) -> ( outIntersectionPoints: list[Point2D], outFirstIntersectionIndices: list[int], outSecondIntersectionIndices: list[int], outOverlapSegments: list[Segment2D], outFirstOverlapIndices: list[int], outSecondOverlapIndices: list[int] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegments | list[Segment2D] | Input segments | |
![]() |
outIntersectionPoints | list[Point2D] | Intersection points | |
![]() |
outFirstIntersectionIndices | list[int] | First indices of the input segments which corresponds to the intersection points | |
![]() |
outSecondIntersectionIndices | list[int] | Second indices of the input segments which corresponds to the intersection points | |
![]() |
outOverlapSegments | list[Segment2D] | Overlap segments | |
![]() |
outFirstOverlapIndices | list[int] | First indices of the input segments which corresponds to the overlap segments | |
![]() |
outSecondOverlapIndices | list[int] | Second indices of the input segments which corresponds to the overlap segments |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


