Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Features » PointsMassCenter
![](../../img/icon/PointsFeature.png)
PointsMassCenter
Computes the central point of the input points.
Syntax
void avl::PointsMassCenter ( const atl::Array<avl::Point2D>& inPoints, avl::Point2D& outMassCenter )
Parameters
Examples
![](../../img/filters/PointsMassCenter.png)
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. |