Back to FabImage Library Lite website
You are here: Start » Geometry 2D Features » PointsMassCenter
PointsMassCenter
Computes the central point of the input points.
Syntax
void fil::PointsMassCenter ( const ftl::Array<fil::Point2D>& inPoints, fil::Point2D& outMassCenter )
Parameters
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. |


