Back to Aurora Vision Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Intersections »
SegmentArrayIntersections
SegmentArrayIntersections
| Header: |
AVL.h
|
| Namespace: |
avl |
Computes a common points or segment of any segments from the set.
Syntax
void avl::SegmentArrayIntersections
(
const atl::Array<avl::Segment2D>& inSegments,
atl::Array<avl::Point2D>& outIntersectionPoints,
atl::Array<int>& outFirstIntersectionIndices,
atl::Array<int>& outSecondIntersectionIndices,
atl::Array<avl::Segment2D>& outOverlapSegments,
atl::Array<int>& outFirstOverlapIndices,
atl::Array<int>& outSecondOverlapIndices
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inSegments |
const Array<Segment2D>& |
|
Input segments |
 |
outIntersectionPoints |
Array<Point2D>& |
|
Intersection points |
 |
outFirstIntersectionIndices |
Array<int>& |
|
First indices of the input segments which corresponds to the intersection points |
 |
outSecondIntersectionIndices |
Array<int>& |
|
Second indices of the input segments which corresponds to the intersection points |
 |
outOverlapSegments |
Array<Segment2D>& |
|
Overlap segments |
 |
outFirstOverlapIndices |
Array<int>& |
|
First indices of the input segments which corresponds to the overlap segments |
 |
outSecondOverlapIndices |
Array<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.