You are here: Start » FIL.NET » Function Reference » Surface » Surface Features » FIL.SurfaceMassCenter
Computes the mass center of surface points.
| Namespace: | FilNet |
|---|---|
| Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SurfaceMassCenter ( FilNet.Surface inSurface, out FilNet.Point3D outMassCenter )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Input surface. | ||
![]() | outMassCenter | FilNet.Point3D | Mass center of the surface points. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | No valid point in given region in SurfaceMassCenter. |
| DomainError | Region of interest exceeds an input surface in SurfaceMassCenter. |


