Delaunay.fromPoints constructor
Creates a Delaunay triangulation from a list of points.
Implementation
factory Delaunay.fromPoints(List<Point> points) {
final coords = Float64List(points.length * 2);
for (int i = 0; i < points.length; i++) {
coords[i * 2] = points[i].x;
coords[i * 2 + 1] = points[i].y;
}
return Delaunay(coords);
}