gs-bim-air 0.1.3-0.13 → 0.1.3-0.14

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/READMEBETA2.md CHANGED
@@ -52,6 +52,11 @@
52
52
  ### 0.1.30.13
53
53
 
54
54
  - 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
55
-
56
55
  - 修复视点碰撞 bug
57
56
  - 添加结构树 Tab 切换方法、默认结构树 Tab 可见配置,具体可看[Options](docs/options/options.md)
57
+
58
+ ### 0.1.30.14
59
+
60
+ - 修复结构树消失问题
61
+ - 新增剖切盒接口[Command](docs/classes/Command.md)
62
+ - 修复加载项目时多次刷新后页面崩溃
package/docs/README.md CHANGED
@@ -16,6 +16,7 @@ gs-bim-air
16
16
  - [Camera](classes/Camera.md)
17
17
  - [CircleScanEffect](classes/CircleScanEffect.md)
18
18
  - [CircleScanEffectConfig](classes/CircleScanEffectConfig.md)
19
+ - [Command](classes/Command.md)
19
20
  - [ComponentManager](classes/ComponentManager.md)
20
21
  - [ComponentSelector](classes/ComponentSelector.md)
21
22
  - [CuttingOptions](classes/CuttingOptions.md)
@@ -0,0 +1,66 @@
1
+ [gs-bim-air](../README.md) / Command
2
+
3
+ # Class: Command
4
+
5
+ ## Table of contents
6
+
7
+ ### Constructors
8
+
9
+ - [constructor](Command.md#constructor)
10
+
11
+ ### Properties
12
+
13
+ - [viewer](Command.md#viewer)
14
+
15
+ ### Methods
16
+
17
+ - [setCuttingBox](Command.md#setcuttingbox)
18
+ - [unsetCuttingBox](Command.md#unsetcuttingbox)
19
+
20
+ ## Constructors
21
+
22
+ ### constructor
23
+
24
+ • **new Command**(`viewer`)
25
+
26
+ #### Parameters
27
+
28
+ | Name | Type |
29
+ | :------ | :------ |
30
+ | `viewer` | `any` |
31
+
32
+ ## Properties
33
+
34
+ ### viewer
35
+
36
+ • **viewer**: [`Viewer`](Viewer.md)
37
+
38
+ ## Methods
39
+
40
+ ### setCuttingBox
41
+
42
+ ▸ **setCuttingBox**(`boundingBox`): `void`
43
+
44
+ 设置剖切包围盒大小进行剖切
45
+
46
+ #### Parameters
47
+
48
+ | Name | Type | Description |
49
+ | :------ | :------ | :------ |
50
+ | `boundingBox` | `number`[] | 包围盒大小 |
51
+
52
+ #### Returns
53
+
54
+ `void`
55
+
56
+ ___
57
+
58
+ ### unsetCuttingBox
59
+
60
+ ▸ **unsetCuttingBox**(): `void`
61
+
62
+ 取消剖切盒
63
+
64
+ #### Returns
65
+
66
+ `void`
@@ -87,6 +87,7 @@
87
87
  - [camera](Viewer.md#camera)
88
88
  - [cameraOrientationFixed](Viewer.md#cameraorientationfixed)
89
89
  - [collisionTolerance](Viewer.md#collisiontolerance)
90
+ - [command](Viewer.md#command)
90
91
  - [dynamicMemory](Viewer.md#dynamicmemory)
91
92
  - [dynamicMemoryThreshold](Viewer.md#dynamicmemorythreshold)
92
93
  - [freeze](Viewer.md#freeze)
@@ -974,6 +975,18 @@ LonganViewer.collisionTolerance
974
975
 
975
976
  ___
976
977
 
978
+ ### command
979
+
980
+ • `get` **command**(): [`Command`](Command.md)
981
+
982
+ 获取命令
983
+
984
+ #### Returns
985
+
986
+ [`Command`](Command.md)
987
+
988
+ ___
989
+
977
990
  ### dynamicMemory
978
991
 
979
992
  • `get` **dynamicMemory**(): `DynamicMemoryType`
@@ -2548,7 +2561,7 @@ ___
2548
2561
 
2549
2562
  returns 三维坐标列表
2550
2563
 
2551
- #### Overrides
2564
+ #### Inherited from
2552
2565
 
2553
2566
  LonganViewer.pixelPointToWorldPoint
2554
2567
 
@@ -2824,7 +2837,7 @@ ___
2824
2837
 
2825
2838
  returns 二维坐标列表
2826
2839
 
2827
- #### Overrides
2840
+ #### Inherited from
2828
2841
 
2829
2842
  LonganViewer.worldPointToPixelPoint
2830
2843