FPointGetCenter Method

Return the center point of the collection of points.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FPoint GetCenter(
	List<FPoint> points
)

Parameters

points  ListFPoint
Reference to the collection of points to be inspected.

Return Value

FPoint
Reference to the center point of the provided point list, if legitimate. Otherwise, an empty point.

Remarks

This function returns the centroid or center of mass of the object.

See Also