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

AVL.SortPaths Method

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

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

Parameters

Name Type Range Default Description
inPathsAvlNet.PathInput paths.
inPathFilterAvlNet.PathFilterDetermines which paths will take part in computation.
inFeatureAvlNet.PathFeaturePath feature value to be computed.
inSortingOrderAvlNet.SortingOrderSorting order.
outSortedPathsAvlNet.PathPaths sorted according to the computed feature values.
outSortedValuesfloatComputed feature values

See also