Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Features » PointsMassCenter3D

PointsMassCenter3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Computes the central point of the input points.
Syntax
C++
C#
void fil::PointsMassCenter3D ( const ftl::Array<fil::Point3D>& inPoints, fil::Point3D& outMassCenter )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point3D>& | Input array of points | |
![]() |
outMassCenter | Point3D& | Central point of input points |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input point array is empty in PointsMassCenter3D. |