You are here: Start » FIL.NET » Function Reference » Surface » Surface Features » FIL.SurfaceMassCenter_OrNil

FIL.SurfaceMassCenter_OrNil

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void SurfaceMassCenter_OrNil
(
	FilNet.Surface inSurface,
	out FilNet.Point3D? outMassCenter
)

Parameters

Name Type Range Default Description
inSurfaceFilNet.SurfaceInput surface.
outMassCenterFilNet.Point3D?Mass center of the surface points.

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in SurfaceMassCenter_OrNil.

Function Overrides

See also