You are here: Start » AVL.NET » AVL.SelectOuterPaths(AvlNet.Path[], AvlNet.Point2D, float, AvlNet.Path[])

AVL.SelectOuterPaths(AvlNet.Path[], AvlNet.Point2D, float, AvlNet.Path[])

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SelectOuterPaths(
	AvlNet.Path[] inPaths,
	AvlNet.Point2D inCenterPoint,
	float inTolerance,
	out AvlNet.Path[] outOuterPaths
)

Parameters

inPaths
Type: AvlNet.Path
Input paths from which the outer ones will be selected
inCenterPoint
Type: AvlNet.Point2D
Reference point used to determine path visibility
inTolerance
Type: System.Single
Fraction of the path sections that are allowed to obstruct visibility of other paths not rendering the path not-outer
outOuterPaths
Type: 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