Start » Filter Reference » Path » Path Combinators » AveragePath
Module: | FoundationLite |
---|
Computes the average of two paths (of equal size and type) point by point.
Name | Type | Description | |
---|---|---|---|
![]() |
inPath1 | Path | Input path |
![]() |
inPath2 | Path | Input path |
![]() |
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.