Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Features » PathMassCenter_OrNil

PathMassCenter_OrNil


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes the average of the path points (all, not only characteristic ones); returns NIL if the path is empty.

Syntax

C++
C#
 
void avl::PathMassCenter_OrNil
(
	const avl::Path& inPath,
	atl::Conditional<avl::Point2D>& outMassCenter
)

Parameters

Name Type Default Description
Input value inPath const Path& Input path
Output value outMassCenter Conditional<Point2D>&