Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Combinators » PathPathIntersections
PathPathIntersections
Computes the common points of two paths.
Header: | AVL.h |
---|
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 |
Description
The operation computes an array of the intersection points of two given paths.