Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Features » PointsMassCenter3D
PointsMassCenter3D
Computes the central point of the input points.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::PointsMassCenter3D ( const atl::Array<avl::Point3D>& inPoints, avl::Point3D& outMassCenter )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoints | const Array<Point3D>& | Input array of points | ||
outMassCenter | Point3D& | Central point of input points |
Errors
Error type | Description |
---|---|
DomainError | Input point array is empty in PointsMassCenter3D. |