You are here: Start » AVL.NET » AVL.PointsMassCenter(AvlNet.Point2D[], AvlNet.Point2D)

AVL.PointsMassCenter(AvlNet.Point2D[], AvlNet.Point2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PointsMassCenter(
	AvlNet.Point2D[] inPoints,
	out AvlNet.Point2D outMassCenter
)

Parameters

inPoints
Type: AvlNet.Point2D
outMassCenter
Type: AvlNet.Point2D

Examples

PointsMassCenter performed on a set of 8 input points. The orange point is the result.

Errors

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

See also