Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Classification » SelectInnerPaths

SelectInnerPaths


Header: AVL.h
Namespace: avl
Module: FoundationPro

Selects paths which are visible from a point.

Syntax

C++
C#
 
void avl::SelectInnerPaths
(
	const atl::Array<avl::Path>& inPaths,
	const avl::Point2D& inCenterPoint,
	float inTolerance,
	atl::Array<avl::Path>& outInnerPaths
)

Parameters

Name Type Range Default Description
Input value inPaths const Array<Path>& Input paths from which the inner ones will be selected
Input value inCenterPoint const Point2D& Reference point used to determine path visibility
Input value inTolerance float 0.0 - 1.0 0.0f Fraction of the path characteristic points that are allowed to be invisible from the inCenterPoint not rendering the path not-inner
Output value outInnerPaths Array<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

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