Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

cloud
Type: System.Collections.GenericIEnumerableIntPoint
List of points to calculate center of gravity for.

Return Value

Type: Point
Returns center of gravity (mean X-Y values) for the specified list of points.
See Also