You are here: Start » AVL.NET » AVL.ClassifyPaths(AvlNet.Path[], AvlNet.PathFilter, AvlNet.PathFeature, float?, float?, AvlNet.Path[], AvlNet.Path[], AvlNet.Path[], AvlNet.Path[], float[])
AVL.ClassifyPaths(AvlNet.Path[], AvlNet.PathFilter, AvlNet.PathFeature, float?, float?, AvlNet.Path[], AvlNet.Path[], AvlNet.Path[], AvlNet.Path[], float[])
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ClassifyPaths( AvlNet.Path[] inPaths, AvlNet.PathFilter inPathFilter, AvlNet.PathFeature inFeature, float? inMinimum, float? inMaximum, out AvlNet.Path[] outAccepted, out AvlNet.Path[] outRejected, out AvlNet.Path[] outBelow, out AvlNet.Path[] outAbove, out float[] outValues )
Parameters
- inPaths
- Type: AvlNet.Path
- inPathFilter
- Type: AvlNet.PathFilter
- inFeature
- Type: AvlNet.PathFeature
- inMinimum
- Type: System.Nullable<System.Single>
- inMaximum
- Type: System.Nullable<System.Single>
- outAccepted
- Type: AvlNet.Path
- outRejected
- Type: AvlNet.Path
- outBelow
- Type: AvlNet.Path
- outAbove
- Type: AvlNet.Path
- outValues
- Type: System.Single
Description
The filter accepts an array of paths and splits it into output arrays, depending on how each of the computed feature values fits the (inMinimum, inMaximum) range.
- Paths corresponding to feature values lower than inMinimum are passed onto outBelow and outRejected.
- Paths corresponding to feature values that fit closed range (inMinimum, inMaximum) are passed onto outAccepted.
- Paths corresponding to feature values higher than inMaximum are passed onto outAbove and outRejected.
In the special case of inMinimum being greater than inMaximum, first matching condition is applied, which means that objects corresponding to values higher than inMaximum and lower than inMinimum are passed onto outBelow.
Paths can be filtered before classification. One can process all paths, only open or only closed ones, depending on value of inPathFilter input.
To learn about possible features to classify paths, one should see PathFeature documentation. To know details about particular feature, corresponding filter article should be read.
