PointsMassCenter_OrNil


Computes the central point of the input points; returns NIL if the array is empty.

Syntax

C++
Python
 
def PointsMassCenter_OrNil(
	inPoints: list[Point2D],
	/
)
-> outMassCenter: Point2D | None

Parameters

Name Type Default Description
Input value inPoints list[Point2D]
Output value outMassCenter Point2D | None