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

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

Selects paths which are visible from a point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

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