You are here: Start » AVL.NET » Invoke.SurfaceMassCenter_OrNil

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
inSurfaceAvl.SurfaceInput surface.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
outMassCenterAtl.Conditional<Avl.Point3D>Mass center of the surface points.

See also