You are here: Start » FIL.NET » Function Reference » Path » Path Features » FIL.PathMassCenter

FIL.PathMassCenter

Computes the average of the path points (all, not only characteristic ones).

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void PathMassCenter
(
	FilNet.Path inPath,
	out FilNet.Point2D outMassCenter
)

Parameters

Name Type Range Default Description
inPathFilNet.PathInput path.
outMassCenterFilNet.Point2D

Description

The operation computes the mass center of a path by averaging its points.

Examples

The resulting outMassCenters drawn onto the sample paths.

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathMassCenter.

See also