Click or drag to resize

GeometryConvexHull2d Method

Given an array of Vector2s, returns the convex hull as a list of points in counterclockwise order. The last point is the same as the first one.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Vector2[] ConvexHull2d(
	Vector2[] points
)

Parameters

points
Type: GodotVector2

[Missing <param name="points"/> documentation for "M:Godot.Geometry.ConvexHull2d(Godot.Vector2[])"]

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.Geometry.ConvexHull2d(Godot.Vector2[])"]

See Also