DOTS Geometry
 
Loading...
Searching...
No Matches
Delaunay2D Class Reference

Static Public Member Functions

static JobHandle CalculateDelaunay (NativeArray< float2 > points, ref NativeList< int3 > triangulation, out JobAllocations allocations, Allocator allocator=Allocator.TempJob, JobHandle dependsOn=default)
 Calculates the delaunay triangulation (a triangulation that maximizes the minimum angle of all triangles) of a set of points.
 

Member Function Documentation

◆ CalculateDelaunay()

static JobHandle CalculateDelaunay ( NativeArray< float2 > points,
ref NativeList< int3 > triangulation,
out JobAllocations allocations,
Allocator allocator = Allocator::TempJob,
JobHandle dependsOn = default )
static

Calculates the delaunay triangulation (a triangulation that maximizes the minimum angle of all triangles) of a set of points.

Parameters
pointsThe set of points to be triangulated
triangulationA list of triples of integers where each triple points to three indices in the points-array thus forming a triangle
allocations
allocator
dependsOn
Returns