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 | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
outMassCenter | Point2D | None |


