You are here: Start » AVL.NET » Invoke.SurfaceMassCenter_OrNil
Computes the mass center of surface points; returns NIL if the surface is empty in the given region.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SurfaceMassCenter_OrNil ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, Conditional<Avl.Point3D> outMassCenter )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurface | Avl.Surface | Input surface. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | outMassCenter | Atl.Conditional<Avl.Point3D> | Mass center of the surface points. | 


