You are here: Start » AVL.NET » AVL.SortPaths

AVL.SortPaths

Changes the order of paths from the input array accordingly to an ascending/descending sequence of their computed feature values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SortPaths
(
	AvlNet.Path[] inPaths,
	AvlNet.PathFilter inPathFilter,
	AvlNet.PathFeature inFeature,
	AvlNet.SortingOrder inSortingOrder,
	out AvlNet.Path[] outSortedPaths
)

Parameters

Name Type Range Default Description
inPathsAvlNet.Path[]Input paths.
inPathFilterAvlNet.PathFilterDetermines which paths will take part in computation.
inFeatureAvlNet.PathFeaturePath feature value to be computed.
inSortingOrderAvlNet.SortingOrderSorting order.
outSortedPathsAvlNet.Path[]Paths sorted according to the computed feature values.

See also