Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Classification » SelectInnerPaths
SelectInnerPaths
Selects paths which are visible from a point.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SelectInnerPaths ( const atl::Array<avl::Path>& inPaths, const avl::Point2D& inCenterPoint, float inTolerance, atl::Array<avl::Path>& outInnerPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPaths | const Array<Path>& | Input paths from which the inner ones will be selected | |||
inCenterPoint | const Point2D& | Reference point used to determine path visibility | |||
inTolerance | float | 0.0 - 1.0 | 0.0f | Fraction of the path characteristic points that are allowed to be invisible from the inCenterPoint not rendering the path not-inner | |
outInnerPaths | Array<Path>& | Paths classified as inner |
Description
The operation select those paths from the inPaths array that are visible from inCenterPoint.
A point is visible iff the segment connecting this point to inCenterPoint does not intersect any other path in inPaths.
Examples
See Also
- SelectOuterPaths – Selects paths which do not obstruct visibility of other paths from a point.