start adding threading to SLA
This commit is contained in:
parent
abbfd27b6b
commit
11225739e5
4 changed files with 36 additions and 18 deletions
|
|
@ -29,6 +29,7 @@
|
|||
trimTo,
|
||||
expand,
|
||||
expand_lines,
|
||||
points,
|
||||
route,
|
||||
union,
|
||||
inset,
|
||||
|
|
@ -145,6 +146,10 @@
|
|||
return output;
|
||||
}
|
||||
|
||||
function points(polys) {
|
||||
return polys.length ? polys.map(p => p.deepLength).reduce((a,v) => a+v) : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* todo use clipper polytree?
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue