Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Features » PathSelfIntersections
PathSelfIntersections
Checks if a path has any self-intersections and computes all of them.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::PathSelfIntersections ( const avl::Path& inPath, atl::Array<avl::Point2D>& outSelfIntersections, atl::Optional<atl::Array<int>&> outFirstSegmentIndices = atl::NIL, atl::Optional<atl::Array<int>&> outSecondSegmentIndices = atl::NIL, atl::Optional<bool&> outIsSelfIntersecting = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
outSelfIntersections | Array<Point2D>& | |||
outFirstSegmentIndices | Optional<Array<int>&> | NIL | First indices of the segments of the path which generate found intersection points | |
outSecondSegmentIndices | Optional<Array<int>&> | NIL | Second indices of the segments of the path which generate found intersection points | |
outIsSelfIntersecting | Optional<bool&> | NIL |