Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Classification » SelectOuterPaths
SelectOuterPaths
Selects paths which do not obstruct visibility of other paths from a point.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SelectOuterPaths ( const atl::Array<avl::Path>& inPaths, const avl::Point2D& inCenterPoint, float inTolerance, atl::Array<avl::Path>& outOuterPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPaths | const Array<Path>& | Input paths from which the outer 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 sections that are allowed to obstruct visibility of other paths not rendering the path not-outer | |
outOuterPaths | Array<Path>& | Paths classified as outer |
Description
The operation select those paths from the inPaths array that do not obstruct the visibility of any other path. Visibility of a characteristic point is obstructed by a path iff the segment connecting this point to inCenterPoint intersect the path.
Examples
See Also
- SelectInnerPaths – Selects paths which are visible from a point.