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