Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Features » PathMassCenter_OrNil
PathMassCenter_OrNil
Computes the average of the path points (all, not only characteristic ones); returns NIL if the path is empty.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::PathMassCenter_OrNil ( const avl::Path& inPath, atl::Conditional<avl::Point2D>& outMassCenter )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
outMassCenter | Conditional<Point2D>& |