Click or drag to resize

GeometryTriangulateDelaunay2d Method

Triangulates the area specified by discrete set of points such that no point is inside the circumcircle of any resulting triangle. Returns a Int32 where each triangle consists of three consecutive point indices into points (i.e. the returned array will have n * 3 elements, with n being the number of found triangles). If the triangulation did not succeed, an empty Int32 is returned.

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

Parameters

points
Type: GodotVector2

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

Return Value

Type: Int32

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

See Also