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

AVL.PointsMassCenter3D Method

Computes the central point of the input points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inPointsAvlNet.Point3DInput array of points.
outMassCenterAvlNet.Point3DCentral point of input points.

Errors

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

See also