ClassifyPaths


Splits the paths of the input array - in accordance to the relation between computed feature values and the specified range.

Applications:Use this filter when you have an array of paths and you want to select some of them for further processing.

Syntax

C++
C#
Python
 
def ClassifyPaths(
	inPaths: list[Path],
	/,
	*,
	inPathFilter: PathFilter = PathFilter.All,
	inFeature: PathFeature = PathFeature.BoundingBoxBottom,
	inMinimum: float | None = None,
	inMaximum: float | None = None
)
-> (
	outAccepted: list[Path],
	outRejected: list[Path],
	outBelow: list[Path],
	outAbove: list[Path],
	outValues: list[float]
)

Parameters

Name Type Default Description
Input value inPaths list[Path] Input paths
Input value inPathFilter PathFilter PathFilter.All Determines which paths will take part in computation
Input value inFeature PathFeature PathFeature.BoundingBoxBottom Path feature value to be computed
Input value inMinimum float | None None Lowest value of the range
Input value inMaximum float | None None Highest value of the range
Output value outAccepted list[Path] Paths with feature values matching the range
Output value outRejected list[Path] Paths with feature values outside the range
Output value outBelow list[Path] Paths with feature values lower than inMinimum
Output value outAbove list[Path] Paths with feature values higher than inMaximum
Output value outValues list[float] Computed feature values