Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Features » SurfaceMassCenter

SurfaceMassCenter


Computes the mass center of surface points.

Syntax

C++
C#
 
void avl::SurfaceMassCenter
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Region&> inRoi,
	avl::Point3D& outMassCenter
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
inRoi Optional<const Region&> NIL Region of interest
outMassCenter Point3D& Mass center of the surface points

Errors

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