Back to Adaptive Vision Library website
 
                
                    
		
	You are here: Start » Function Reference » Geometry 2D Features » PointsMassCenter_OrNil
Computes the central point of the input points; returns NIL if the array is empty.
Syntax
C++
C#
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>& | 

 
 
