|
PointsCloudGetCenterOfGravity Method
|
Get center of gravity for the specified list of points.
Namespace:
Accord.Math.Geometry
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Point GetCenterOfGravity(
IEnumerable<IntPoint> cloud
)
Public Shared Function GetCenterOfGravity (
cloud As IEnumerable(Of IntPoint)
) As Point
Request Example
View SourceParameters
- cloud
- Type: System.Collections.GenericIEnumerableIntPoint
List of points to calculate center of gravity for.
Return Value
Type:
PointReturns center of gravity (mean X-Y values) for the specified list of points.
See Also