You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inPaths | System.Collections.Generic.IList<AvlNet.Path> | Input paths from which the inner ones will be selected. | |||
inCenterPoint | AvlNet.Point2D | Reference point used to determine path visibility. | |||
inTolerance | float | <0.0f, 1.0f> | 0.0f | Fraction of the path characteristic points that are allowed to be invisible from the inCenterPoint not rendering the path not-inner. Default value: 0.0f. | |
outInnerPaths | System.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.