Back to Aurora Vision Library Lite website
You are here: Start » Path » Path Features » PathMassCenter_OrNil
PathMassCenter_OrNil
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Computes the average of the path points (all, not only characteristic ones); returns NIL if the path is empty.
Syntax
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>& |


