mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 03:34:42 +02:00
update comments
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
use<experimental/_impl/_tri_delaunay_impl.scad>;
|
use<experimental/_impl/_tri_delaunay_impl.scad>;
|
||||||
|
|
||||||
// ret: "TRI_SHAPES", "TRI_INDICES", "DELAUNAY"
|
// ret: "TRI_SHAPES", "TRI_INDICES", "DELAUNAY"
|
||||||
// todo: "VORONOI_SHAPES"
|
|
||||||
function tri_delaunay(points, ret = "TRI_SHAPES") =
|
function tri_delaunay(points, ret = "TRI_SHAPES") =
|
||||||
let(d = _tri_delaunay(delaunay_init(points), points, len(points)))
|
let(d = _tri_delaunay(delaunay_init(points), points, len(points)))
|
||||||
ret == "TRI_SHAPES" ? tri_delaunay_shapes(d) :
|
ret == "TRI_SHAPES" ? tri_delaunay_shapes(d) :
|
||||||
ret == "TRI_INDICES" ? tri_delaunay_indices(d) :
|
ret == "TRI_INDICES" ? tri_delaunay_indices(d) :
|
||||||
d; // [coords(list), triangles(hashmap), circles(hashmap)]
|
d; // "DELAUNAY": [coords(list), triangles(hashmap), circles(hashmap)]
|
Reference in New Issue
Block a user