Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Features » PointsMassCenter_OrNil
![](../../img/icon/PointsFeature.png)
PointsMassCenter_OrNil
Computes the central point of the input points; returns NIL if the array is empty.
Syntax
void avl::PointsMassCenter_OrNil ( const atl::Array<avl::Point2D>& inPoints, atl::Conditional<avl::Point2D>& outMassCenter )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
outMassCenter | Conditional<Point2D>& |