Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Classification » SelectOuterPaths

SelectOuterPaths


Header: AVL.h
Namespace: avl
Module: FoundationPro

Selects paths which do not obstruct visibility of other paths from a point.

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
Input value inPaths const Array<Path>& Input paths from which the outer ones will be selected
Input value inCenterPoint const Point2D& Reference point used to determine path visibility
Input value 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
Output value 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