PointCloudExtensionsCalculateCenterOfGravity Method

CVB.Net Documentation
Calculates the center of gravity of the point cloud.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Point3Dd CalculateCenterOfGravity(
	this PointCloud pc
)

Parameters

pc
Type: Stemmer.CvbPointCloud
PointCloud whose center of gravity to calculate.

Return Value

Type: Point3Dd
Point to the center of gravity.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointCloud. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

ExceptionCondition
CvbExceptionWhen calculating the center of gravity failed.
See Also

Reference