PathMassCenter_OrNil


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

Syntax

C++
Python
 
def PathMassCenter_OrNil(
	inPath: Path,
	/
)
-> outMassCenter: Point2D | None

Parameters

Name Type Default Description
Input value inPath Path Input path
Output value outMassCenter Point2D | None