Start » Filter Reference » Path » Path Classification » GetMaximumPath

GetMaximumPath


Module: FoundationBasic

Returns the path from the input array that corresponds to the largest computed feature value.

Applications

Use this filter when you have an array of paths and you want to select one of them that best matches some criterion.
Name Type Description
Input value
inPaths PathArray Input paths
Input value
inFeature PathFeature Path feature value to be computed
Output value
outPath Path Output path
Output value
outValue Real Computed feature value of the output path
Output value
outIndex Integer

Examples

Description of usage of this filter can be found in examples and tutorial: Capsules.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty path array on input in GetMaximumPath.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of GetMaximumPath filter group.