Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » PointsMassCenter
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Computes the central point of the input points.
Syntax
C++
C#
void avl::PointsMassCenter ( const atl::Array<avl::Point2D>& inPoints, avl::Point2D& outMassCenter )
Parameters
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input point array is empty in PointsMassCenter. |