Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » PointsMassCenter_OrNil
PointsMassCenter_OrNil
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
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>& |


