You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Features » FIL.PointsMassCenter
Computes the central point of the input points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void PointsMassCenter ( IList<FilNet.Point2D> inPoints, out FilNet.Point2D outMassCenter )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point2D> | |||
![]() | outMassCenter | FilNet.Point2D |
Examples

PointsMassCenter performed on a set of 8 input points. The orange point is the result.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input point array is empty in PointsMassCenter. |