This commit is contained in:
Adrian Mariano
2024-01-13 19:59:46 -05:00
parent 4d2045aa95
commit 01b125f665

View File

@@ -1412,10 +1412,10 @@ module exclusive_or() {
// Arguments: // Arguments:
// region = region or path listing points to compute the hull from. // region = region or path listing points to compute the hull from.
// Example(2D, NoAxes): // Example(2D, NoAxes):
data = [star(id=10,od=20,n=9), // data = [star(id=10,od=20,n=9),
right(30, star(id=12,od=25, n=7))]; // right(30, star(id=12,od=25, n=7))];
stroke(data); // stroke(data);
stroke([hull_region(data)],color="red"); // stroke([hull_region(data)],color="red");
function hull_region(region) = function hull_region(region) =
assert(is_path(region) || is_region(region)) assert(is_path(region) || is_region(region))
let( let(