SurfaceMassCenter_OrNil


Computes the mass center of surface points; returns NIL if the surface is empty in the given region.

Syntax

C++
C#
Python
 
def SurfaceMassCenter_OrNil(
	inSurface: Surface,
	/,
	*,
	inRoi: Region | None = None
)
-> outMassCenter: Point3D | None

Parameters

Name Type Default Description
Input value inSurface Surface Input surface
Input value inRoi Region | None None Region of interest
Output value outMassCenter Point3D | None Mass center of the surface points