Back to Aurora Vision Library website
You are here: Start » Function Reference » Path » Path Combinators » PathPathIntersections
PathPathIntersections
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Computes the common points of two paths.
Syntax
C++
C#
void avl::PathPathIntersections ( const avl::Path& inPath1, const avl::Path& inPath2, atl::Array<avl::Point2D>& outIntersectionPoints, atl::Optional<atl::Array<int>&> outSegmentIndices1 = atl::NIL, atl::Optional<atl::Array<int>&> outSegmentIndices2 = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath1 | const Path& | Input path | ||
inPath2 | const Path& | Input path | ||
outIntersectionPoints | Array<Point2D>& | Intersections between the input paths | ||
outSegmentIndices1 | Optional<Array<int>&> | NIL | Indices of the segments of the first path which generate found intersection points | |
outSegmentIndices2 | Optional<Array<int>&> | NIL | Indices of the segments of the second path which generate found intersection points |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outSegmentIndices1, outSegmentIndices2.
Read more about Optional Outputs.
Description
The operation computes an array of the intersection points of two given paths.