You are here: Start » AVL.NET » AVL.SelectOuterPaths Method

AVL.SelectOuterPaths Method

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

Name Type Range Default Description
inPathsAvlNet.PathInput 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.
outOuterPathsAvlNet.PathPaths 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