You are here: Start » AVL.NET » AVL.SurfaceMassCenter Method

AVL.SurfaceMassCenter Method

Computes the mass center of surface points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SurfaceMassCenter(
	AvlNet.Surface inSurface,
	AvlNet.Region inRoi,
	out AvlNet.Point3D outMassCenter
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.RegionRegion of interest. Default value: atl::NIL, or null.
outMassCenterAvlNet.Point3DMass center of the surface points.

Errors

Error type Description
DomainError No valid point in given region in SurfaceMassCenter.

See also