From 7f02f7d9474358d68bee9803d53a7c422e6e22dd Mon Sep 17 00:00:00 2001 From: ZhangZihan Date: Tue, 30 Apr 2024 14:19:25 +0800 Subject: [PATCH] fix(modeling): create scission.d.ts and update index.d.ts --- packages/modeling/src/operations/booleans/index.d.ts | 1 + packages/modeling/src/operations/booleans/scission.d.ts | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 packages/modeling/src/operations/booleans/scission.d.ts diff --git a/packages/modeling/src/operations/booleans/index.d.ts b/packages/modeling/src/operations/booleans/index.d.ts index 8fed30f5e..68899f11b 100644 --- a/packages/modeling/src/operations/booleans/index.d.ts +++ b/packages/modeling/src/operations/booleans/index.d.ts @@ -1,5 +1,6 @@ export { default as intersect } from './intersect' export { default as subtract } from './subtract' export { default as union } from './union' +export { default as scission } from './scission' export as namespace booleans diff --git a/packages/modeling/src/operations/booleans/scission.d.ts b/packages/modeling/src/operations/booleans/scission.d.ts new file mode 100644 index 000000000..f31fb0c92 --- /dev/null +++ b/packages/modeling/src/operations/booleans/scission.d.ts @@ -0,0 +1,7 @@ +import { Geom2, Geom3 } from '../../geometries/types' +import RecursiveArray from '../../utils/recursiveArray' + +export default scission + +declare function scission(...geometries: RecursiveArray): Geom2 +declare function scission(...geometries: RecursiveArray): Geom3