FVector2GetCenter Method

Return the center point of the collection of points.

Definition

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

Parameters

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

Return Value

FVector2
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