PolygonMassCenter_OrNil


Computes the mass center of polygon; returns Nil for degenerate inputs.

Syntax

C++
C#
Python
 
def PolygonMassCenter_OrNil(
	inPolygon: Path,
	/
)
-> outMassCenter: Point2D | None

Parameters

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