Start » Filter Reference » Path » Path Combinators » AveragePath

AveragePath


Module: FoundationLite

Computes the average of two paths (of equal size and type) point by point.

Name Type Description
Input value
inPath1 Path Input path
Input value
inPath2 Path Input path
Output value
outPath Path Output path

Description

The operation computes the average of two paths of equal size and type (open/closed). Each point of the resulting path is an average of the corresponding points in the input paths.

Examples

AveragePath run on the sample paths.

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 Input paths have unequal size in AveragePath.
DomainError Open/closed paths mismatch in AveragePath.

Complexity Level

This filter is available on Basic Complexity Level.