UNPKG
@jscad/modeling
Version:
alpha (3.0.2-alpha.0)
latest (2.12.6)
3.0.2-alpha.0
3.0.1-alpha.0
3.0.0-alpha.0
2.12.6
2.12.5
2.12.4
2.12.3
2.12.2
2.12.1
2.12.0
2.11.1
2.11.0
2.10.0
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.0
2.7.2
2.7.1
2.7.0
2.6.1
2.6.0
2.5.3
2.5.2
2.5.1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
Constructive Solid Geometry (CSG) Library for JSCAD
openjscad.xyz
jscad/OpenJSCAD.org
@jscad/modeling
/
src
/
operations
/
booleans
/
union.d.ts
8 lines
(5 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Geom2
,
Geom3
}
from
'../../geometries/types'
import
RecursiveArray
from
'../../utils/recursiveArray'
export
default
union declare
function
union
(
...geometries: RecursiveArray<Geom2>
):
Geom2
declare
function
union
(
...geometries: RecursiveArray<Geom3>
):
Geom3