You are here: Start » AVL.NET » AVL.PointsMassCenter3D

AVL.PointsMassCenter3D

Computes the central point of the input points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PointsMassCenter3D
(
	AvlNet.Point3D[] inPoints,
	out AvlNet.Point3D outMassCenter
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point3D[]Input array of points.
outMassCenterAvlNet.Point3DCentral point of input points.

Errors

Error type Description
DomainError Input point array is empty in PointsMassCenter3D.

See also