Back to Adaptive Vision Library website
You are here: Start » Function Reference » Surface Features » SurfaceMassCenter
SurfaceMassCenter
Computes the mass center of surface points.
Header: | AVL.h |
---|
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. |