@xtctwins/tctwins-core 1.0.43 → 1.0.45
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xtctwins/tctwins-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Web Programming Toolkit for 3D/2D BIM and CAD",
|
|
6
6
|
"module": "./dist/tctwins-core.es5.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "rollup --config rollup.config.js && rollup --config rollup.minified.config.js",
|
|
11
|
-
"dev": "webpack --config webpack.config.
|
|
11
|
+
"dev": "webpack --config webpack.min.config.js",
|
|
12
12
|
"publish": "npm publish --access public",
|
|
13
13
|
"release": "npm version patch && npm publish --access public"
|
|
14
14
|
},
|
|
@@ -77,6 +77,12 @@ export declare class SectionPlanesPlugin extends Plugin {
|
|
|
77
77
|
*/
|
|
78
78
|
setControlPos(posRate: number): void;
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* 获取剖切面位置
|
|
82
|
+
* @returns
|
|
83
|
+
*/
|
|
84
|
+
getControlPos(posRate: number): void;
|
|
85
|
+
|
|
80
86
|
/**
|
|
81
87
|
* Creates a {@link SectionPlane}.
|
|
82
88
|
*
|
|
@@ -130,4 +136,18 @@ export declare class SectionPlanesPlugin extends Plugin {
|
|
|
130
136
|
* Destroys all {@link SectionPlane}s created by this SectionPlanesPlugin.
|
|
131
137
|
*/
|
|
132
138
|
clear(): void;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 触屏点击剖切面事件
|
|
142
|
+
* @param event
|
|
143
|
+
* @param e
|
|
144
|
+
*/
|
|
145
|
+
on(event: "touchPlaneStart", e: any): void;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 触屏结束点击剖切面事件
|
|
149
|
+
* @param event
|
|
150
|
+
* @param e
|
|
151
|
+
*/
|
|
152
|
+
on(event: "touchPlaneEnd", e: any): void;
|
|
133
153
|
}
|