You are here: Start » AVL.NET » AVL.PointsMassCenter
Computes the central point of the input points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointsMassCenter ( IList<AvlNet.Point2D> inPoints, out AvlNet.Point2D outMassCenter )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | ||||
outMassCenter | AvlNet.Point2D |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input point array is empty in PointsMassCenter. |