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

AVL.SelectInnerPaths

Selects paths which are visible from a point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inPathsSystem.Collections.Generic.IList<AvlNet.Path>Input paths from which the inner ones will be selected.
inCenterPointAvlNet.Point2DReference point used to determine path visibility.
inTolerancefloat<0.0f, 1.0f>0.0fFraction of the path characteristic points that are allowed to be invisible from the inCenterPoint not rendering the path not-inner. Default value: 0.0f.
outInnerPathsSystem.Collections.Generic.IList<AvlNet.Path>Paths classified as inner.

Description

The operation select those paths from the inPaths array that are visible from inCenterPoint.

A point is visible iff the segment connecting this point to inCenterPoint does not intersect any other path in inPaths.

Examples

SelectInnerPaths run on the sample data with inTolerance = 0.0.

See also