Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Combinators » PathLineIntersections
PathLineIntersections
Computes the common points of a path and a line.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::PathLineIntersections ( const avl::Path& inPath, const avl::Line2D& inLine, atl::Array<avl::Point2D>& outIntersectionPoints, atl::Optional<atl::Array<int>&> outSegmentIndices = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
inLine | const Line2D& | Input line | ||
outIntersectionPoints | Array<Point2D>& | Intersections between the path and the line | ||
outSegmentIndices | Optional<Array<int>&> | NIL | Indices of the segments of the path which generate found intersection points |
Errors
Error type | Description |
---|---|
DomainError | Indefinite line on input in PathLineIntersections. |