@realsee/dnalogel 3.79.3 → 3.79.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Sculpt/utils/isIntersecting.d.ts +17 -0
- package/dist/index.cjs.js +74 -74
- package/dist/index.js +4979 -4914
- package/dist/index.umd.js +67 -67
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +21 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/Sculpt/Objects/Polygon/index.js +100 -99
- package/libs/Sculpt/utils/isIntersecting.d.ts +17 -0
- package/libs/Sculpt/utils/isIntersecting.js +68 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +159 -158
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Point3D {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
z: number;
|
|
5
|
+
}
|
|
6
|
+
interface Line3D {
|
|
7
|
+
start: Point3D;
|
|
8
|
+
end: Point3D;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description 判断线段是否相交
|
|
12
|
+
* @todo ai写的一些变量名起的比较怪,懒得改了
|
|
13
|
+
*/
|
|
14
|
+
export declare function isIntersecting(line1: Line3D, line2: Line3D | Line3D[]): boolean;
|
|
15
|
+
export declare function isLinesIntersecting(lines: Line3D[]): boolean;
|
|
16
|
+
export declare function isPolygenIntersecting(points: Point3D[]): boolean;
|
|
17
|
+
export {};
|