You are here: Start » AVL.NET » Function Reference » Path » Path Classification » AVL.SelectOuterPaths

AVL.SelectOuterPaths

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SelectOuterPaths
(
	IList<AvlNet.Path> inPaths,
	AvlNet.Point2D inCenterPoint,
	float inTolerance,
	IList<AvlNet.Path> outOuterPaths
)

Parameters

Name Type Range Default Description
inPathsSystem.Collections.Generic.IList<AvlNet.Path>Input paths from which the outer ones will be selected.
inCenterPointAvlNet.Point2DReference point used to determine path visibility.
inTolerancefloat<0.0f, 1.0f>0.0fFraction of the path sections that are allowed to obstruct visibility of other paths not rendering the path not-outer. Default value: 0.0f.
outOuterPathsSystem.Collections.Generic.IList<AvlNet.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