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 | |
|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | |
![]() |
inRoi | Region | None | None | Region of interest |
![]() |
outMassCenter | Point3D | None | Mass center of the surface points |


