You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Features » 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
(
	IList<AvlNet.Point3D> inPoints,
	out AvlNet.Point3D outMassCenter
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>Input array of points.
outMassCenterAvlNet.Point3DCentral point of input points.

Errors

List of possible exceptions:

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

See also