Delaunay constructor
Delaunay(
- Float64List coords
Creates a Delaunay triangulation from flat coordinates x0, y0, x1, y1, ....
Implementation
Delaunay(this.coords) {
final n = coords.length ~/ 2;
if (n < 3) {
triangleIndices = Int32List(0);
halfedges = Int32List(0);
hull = [];
trianglesLength = 0;
return;
}
_triangulate();
}