Back to FabImage Library website
You are here: Start » Function Reference » Path » Path Classification » SelectOuterPaths

SelectOuterPaths
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Selects paths which do not obstruct visibility of other paths from a point.
Syntax
C++
C#
void fil::SelectOuterPaths ( const ftl::Array<fil::Path>& inPaths, const fil::Point2D& inCenterPoint, float inTolerance, ftl::Array<fil::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
![]() |
![]() |
SelectOuterPaths run on the sample data with inTolerance = 0.0.
See Also
- SelectInnerPaths – Selects paths which are visible from a point.