Restore d3.geom.delaunay.
This commit is contained in:
Родитель
5a54a90f44
Коммит
8c443d9aee
|
@ -5195,7 +5195,7 @@ d3 = function() {
|
|||
return (a.x - c.x) * (b.y - a.y) - (a.x - b.x) * (c.y - a.y);
|
||||
}
|
||||
d3.geom.delaunay = function(vertices) {
|
||||
throw new Error("not yet implemented");
|
||||
return d3.geom.voronoi().triangles(vertices);
|
||||
};
|
||||
d3.geom.quadtree = function(points, x1, y1, x2, y2) {
|
||||
var x = d3_svg_lineX, y = d3_svg_lineY, compat;
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,6 +1,6 @@
|
|||
import "geom";
|
||||
|
||||
// @deprecated; use d3.geom.voronoi links instead.
|
||||
// @deprecated; use d3.geom.voronoi triangles instead.
|
||||
d3.geom.delaunay = function(vertices) {
|
||||
throw new Error("not yet implemented");
|
||||
return d3.geom.voronoi().triangles(vertices);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче