You are here: Start » AVL.NET » AVL.SegmentArrayIntersections Method
AVL.SegmentArrayIntersections Method
Computes a common points or segment of any segments from the set.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void SegmentArrayIntersections( AvlNet.Segment2D[] inSegments, out AvlNet.Point2D[] outIntersectionPoints, out int[] outFirstIntersectionIndices, out int[] outSecondIntersectionIndices, out AvlNet.Segment2D[] outOverlapSegments, out int[] outFirstOverlapIndices, out int[] outSecondOverlapIndices )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegments | AvlNet.Segment2D | Input segments. | ||
![]() | outIntersectionPoints | AvlNet.Point2D | Intersection points. | ||
![]() | outFirstIntersectionIndices | int | First indices of the input segments which corresponds to the intersection points. | ||
![]() | outSecondIntersectionIndices | int | Second indices of the input segments which corresponds to the intersection points. | ||
![]() | outOverlapSegments | AvlNet.Segment2D | Overlap segments. | ||
![]() | outFirstOverlapIndices | int | First indices of the input segments which corresponds to the overlap segments. | ||
![]() | outSecondOverlapIndices | int | Second indices of the input segments which corresponds to the overlap segments. |
Examples
![]() |
![]() |
SegmentArrayIntersections performed on segments.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.