You are here: Start » FIL.NET » Function Reference » Path » Path Combinators » FIL.AveragePath

FIL.AveragePath

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void AveragePath
(
	FilNet.Path inPath1,
	FilNet.Path inPath2,
	FilNet.Path outPath
)

Parameters

Name Type Range Default Description
inPath1FilNet.PathInput path.
inPath2FilNet.PathInput path.
outPathFilNet.PathOutput 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

List of possible exceptions:

Error type Description
DomainError Input paths have unequal size in AveragePath.
DomainError Open/closed paths mismatch in AveragePath.

See also