gs-bim-air 1.6.1-beta.26 → 1.6.1-beta.27

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/README.md CHANGED
@@ -1,5 +1,16 @@
1
1
  ## 更新日志
2
2
 
3
+ ### 1.6.1-beta.27
4
+
5
+ > Longan 更新为 v1.6.1-beta.17
6
+
7
+ - feat: 添加模型基本信息面板
8
+ - feat: 结构树搜索增添加载框
9
+ - feat: 构件添加获取尺寸的接口
10
+ - fix: 修复结构树搜索懒加载导致的深层节点无法搜索问题
11
+ - fix: SegmentObject.size 判断是否为空
12
+ - fix: 修复左键进行镜头缩放的问题.
13
+
3
14
  ### 1.6.1-beta.26
4
15
 
5
16
  - fix: 最小距离测量为 0 及时返回,提升测量效率
@@ -65,6 +65,7 @@
65
65
  - [mButtonDown](Longan.CameraMouse.md#mbuttondown-1)
66
66
  - [mButtonDownAndMove](Longan.CameraMouse.md#mbuttondownandmove-1)
67
67
  - [mButtonUp](Longan.CameraMouse.md#mbuttonup-1)
68
+ - [mouseWheel](Longan.CameraMouse.md#mousewheel-1)
68
69
  - [mouseWheelStop](Longan.CameraMouse.md#mousewheelstop)
69
70
  - [rButtonDown](Longan.CameraMouse.md#rbuttondown-1)
70
71
  - [rButtonDownAndMove](Longan.CameraMouse.md#rbuttondownandmove-1)
@@ -450,6 +451,12 @@ ___
450
451
 
451
452
  ___
452
453
 
454
+ ### mouseWheel
455
+
456
+ ▪ `Static` **mouseWheel**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
457
+
458
+ ___
459
+
453
460
  ### mouseWheelStop
454
461
 
455
462
  ▪ `Static` **mouseWheelStop**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
@@ -57,6 +57,7 @@
57
57
  - [mButtonDown](Longan.CameraPlanMouse.md#mbuttondown-1)
58
58
  - [mButtonDownAndMove](Longan.CameraPlanMouse.md#mbuttondownandmove-1)
59
59
  - [mButtonUp](Longan.CameraPlanMouse.md#mbuttonup-1)
60
+ - [mouseWheel](Longan.CameraPlanMouse.md#mousewheel-1)
60
61
  - [mouseWheelStop](Longan.CameraPlanMouse.md#mousewheelstop)
61
62
  - [rButtonDown](Longan.CameraPlanMouse.md#rbuttondown-1)
62
63
  - [rButtonDownAndMove](Longan.CameraPlanMouse.md#rbuttondownandmove-1)
@@ -510,6 +511,16 @@ ___
510
511
 
511
512
  ___
512
513
 
514
+ ### mouseWheel
515
+
516
+ ▪ `Static` **mouseWheel**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
517
+
518
+ #### Inherited from
519
+
520
+ [CameraMouse](Longan.CameraMouse.md).[mouseWheel](Longan.CameraMouse.md#mousewheel-1)
521
+
522
+ ___
523
+
513
524
  ### mouseWheelStop
514
525
 
515
526
  ▪ `Static` **mouseWheelStop**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
@@ -62,6 +62,7 @@
62
62
  - [mButtonDown](Longan.EarthCameraMouse.md#mbuttondown-1)
63
63
  - [mButtonDownAndMove](Longan.EarthCameraMouse.md#mbuttondownandmove-1)
64
64
  - [mButtonUp](Longan.EarthCameraMouse.md#mbuttonup-1)
65
+ - [mouseWheel](Longan.EarthCameraMouse.md#mousewheel-1)
65
66
  - [mouseWheelStop](Longan.EarthCameraMouse.md#mousewheelstop)
66
67
  - [newCameraUp](Longan.EarthCameraMouse.md#newcameraup)
67
68
  - [offsetMatrixOfHK](Longan.EarthCameraMouse.md#offsetmatrixofhk)
@@ -555,6 +556,16 @@ ___
555
556
 
556
557
  ___
557
558
 
559
+ ### mouseWheel
560
+
561
+ ▪ `Static` **mouseWheel**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
562
+
563
+ #### Inherited from
564
+
565
+ [CameraMouse](Longan.CameraMouse.md).[mouseWheel](Longan.CameraMouse.md#mousewheel-1)
566
+
567
+ ___
568
+
558
569
  ### mouseWheelStop
559
570
 
560
571
  ▪ `Static` **mouseWheelStop**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
@@ -30,6 +30,7 @@
30
30
  - [keyType](Longan.Geometry.md#keytype)
31
31
  - [owner](Longan.Geometry.md#owner)
32
32
  - [property](Longan.Geometry.md#property)
33
+ - [shellSize](Longan.Geometry.md#shellsize)
33
34
  - [typeName](Longan.Geometry.md#typename)
34
35
  - [volume](Longan.Geometry.md#volume)
35
36
 
@@ -119,6 +120,16 @@ ___
119
120
 
120
121
  ___
121
122
 
123
+ ### shellSize
124
+
125
+ • `get` **shellSize**(): `any`
126
+
127
+ #### Returns
128
+
129
+ `any`
130
+
131
+ ___
132
+
122
133
  ### typeName
123
134
 
124
135
  • `get` **typeName**(): `string`
@@ -36,6 +36,7 @@
36
36
  - [property](Longan.Image.md#property)
37
37
  - [rotate](Longan.Image.md#rotate)
38
38
  - [scale](Longan.Image.md#scale)
39
+ - [shellSize](Longan.Image.md#shellsize)
39
40
  - [size](Longan.Image.md#size)
40
41
  - [tiling](Longan.Image.md#tiling)
41
42
  - [translate](Longan.Image.md#translate)
@@ -380,6 +381,20 @@ ___
380
381
 
381
382
  ___
382
383
 
384
+ ### shellSize
385
+
386
+ • `get` **shellSize**(): `any`
387
+
388
+ #### Returns
389
+
390
+ `any`
391
+
392
+ #### Inherited from
393
+
394
+ Geometry.shellSize
395
+
396
+ ___
397
+
383
398
  ### size
384
399
 
385
400
  • `get` **size**(): `any`
@@ -24,6 +24,7 @@
24
24
  - [keyType](Longan.Line.md#keytype)
25
25
  - [owner](Longan.Line.md#owner)
26
26
  - [property](Longan.Line.md#property)
27
+ - [shellSize](Longan.Line.md#shellsize)
27
28
  - [typeName](Longan.Line.md#typename)
28
29
  - [volume](Longan.Line.md#volume)
29
30
 
@@ -138,6 +139,20 @@ Curve.property
138
139
 
139
140
  ___
140
141
 
142
+ ### shellSize
143
+
144
+ • `get` **shellSize**(): `any`
145
+
146
+ #### Returns
147
+
148
+ `any`
149
+
150
+ #### Inherited from
151
+
152
+ Curve.shellSize
153
+
154
+ ___
155
+
141
156
  ### typeName
142
157
 
143
158
  • `get` **typeName**(): `string`
@@ -24,6 +24,7 @@
24
24
  - [keyType](Longan.Marker.md#keytype)
25
25
  - [owner](Longan.Marker.md#owner)
26
26
  - [property](Longan.Marker.md#property)
27
+ - [shellSize](Longan.Marker.md#shellsize)
27
28
  - [typeName](Longan.Marker.md#typename)
28
29
  - [volume](Longan.Marker.md#volume)
29
30
 
@@ -137,6 +138,20 @@ Geometry.property
137
138
 
138
139
  ___
139
140
 
141
+ ### shellSize
142
+
143
+ • `get` **shellSize**(): `any`
144
+
145
+ #### Returns
146
+
147
+ `any`
148
+
149
+ #### Inherited from
150
+
151
+ Geometry.shellSize
152
+
153
+ ___
154
+
140
155
  ### typeName
141
156
 
142
157
  • `get` **typeName**(): `string`
@@ -25,6 +25,7 @@
25
25
  - [normals](Longan.Mesh.md#normals)
26
26
  - [owner](Longan.Mesh.md#owner)
27
27
  - [property](Longan.Mesh.md#property)
28
+ - [shellSize](Longan.Mesh.md#shellsize)
28
29
  - [texCoords](Longan.Mesh.md#texcoords)
29
30
  - [typeName](Longan.Mesh.md#typename)
30
31
  - [volume](Longan.Mesh.md#volume)
@@ -170,6 +171,20 @@ Surface.property
170
171
 
171
172
  ___
172
173
 
174
+ ### shellSize
175
+
176
+ • `get` **shellSize**(): `any`
177
+
178
+ #### Returns
179
+
180
+ `any`
181
+
182
+ #### Inherited from
183
+
184
+ Surface.shellSize
185
+
186
+ ___
187
+
173
188
  ### texCoords
174
189
 
175
190
  • `set` **texCoords**(`value`): `void`
@@ -58,6 +58,7 @@
58
58
  - [mButtonDown](Longan.PanoramaCameraMouse.md#mbuttondown-1)
59
59
  - [mButtonDownAndMove](Longan.PanoramaCameraMouse.md#mbuttondownandmove-1)
60
60
  - [mButtonUp](Longan.PanoramaCameraMouse.md#mbuttonup-1)
61
+ - [mouseWheel](Longan.PanoramaCameraMouse.md#mousewheel-1)
61
62
  - [mouseWheelStop](Longan.PanoramaCameraMouse.md#mousewheelstop)
62
63
  - [rButtonDown](Longan.PanoramaCameraMouse.md#rbuttondown-1)
63
64
  - [rButtonDownAndMove](Longan.PanoramaCameraMouse.md#rbuttondownandmove-1)
@@ -518,6 +519,16 @@ ___
518
519
 
519
520
  ___
520
521
 
522
+ ### mouseWheel
523
+
524
+ ▪ `Static` **mouseWheel**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
525
+
526
+ #### Inherited from
527
+
528
+ [CameraMouse](Longan.CameraMouse.md).[mouseWheel](Longan.CameraMouse.md#mousewheel-1)
529
+
530
+ ___
531
+
521
532
  ### mouseWheelStop
522
533
 
523
534
  ▪ `Static` **mouseWheelStop**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
@@ -26,6 +26,7 @@
26
26
  - [owner](Longan.ParametricGeometry.md#owner)
27
27
  - [params](Longan.ParametricGeometry.md#params)
28
28
  - [property](Longan.ParametricGeometry.md#property)
29
+ - [shellSize](Longan.ParametricGeometry.md#shellsize)
29
30
  - [texCoords](Longan.ParametricGeometry.md#texcoords)
30
31
  - [type](Longan.ParametricGeometry.md#type)
31
32
  - [typeName](Longan.ParametricGeometry.md#typename)
@@ -194,6 +195,20 @@ Surface.property
194
195
 
195
196
  ___
196
197
 
198
+ ### shellSize
199
+
200
+ • `get` **shellSize**(): `any`
201
+
202
+ #### Returns
203
+
204
+ `any`
205
+
206
+ #### Inherited from
207
+
208
+ Surface.shellSize
209
+
210
+ ___
211
+
197
212
  ### texCoords
198
213
 
199
214
  • `set` **texCoords**(`value`): `void`
@@ -57,6 +57,7 @@
57
57
  - [mButtonDown](Longan.PerspectiveCameraMouse.md#mbuttondown-1)
58
58
  - [mButtonDownAndMove](Longan.PerspectiveCameraMouse.md#mbuttondownandmove-1)
59
59
  - [mButtonUp](Longan.PerspectiveCameraMouse.md#mbuttonup-1)
60
+ - [mouseWheel](Longan.PerspectiveCameraMouse.md#mousewheel-1)
60
61
  - [mouseWheelStop](Longan.PerspectiveCameraMouse.md#mousewheelstop)
61
62
  - [rButtonDown](Longan.PerspectiveCameraMouse.md#rbuttondown-1)
62
63
  - [rButtonDownAndMove](Longan.PerspectiveCameraMouse.md#rbuttondownandmove-1)
@@ -510,6 +511,16 @@ ___
510
511
 
511
512
  ___
512
513
 
514
+ ### mouseWheel
515
+
516
+ ▪ `Static` **mouseWheel**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
517
+
518
+ #### Inherited from
519
+
520
+ [CameraMouse](Longan.CameraMouse.md).[mouseWheel](Longan.CameraMouse.md#mousewheel-1)
521
+
522
+ ___
523
+
513
524
  ### mouseWheelStop
514
525
 
515
526
  ▪ `Static` **mouseWheelStop**: [`List`](Longan.List.md)<(`cm`: [`CameraMouse`](Longan.CameraMouse.md), `e`: [`ViewerEvent`](Longan.LonganCore.ViewerEvent.md)) => `void`\>
@@ -25,6 +25,7 @@
25
25
  - [owner](Longan.Polyline.md#owner)
26
26
  - [points](Longan.Polyline.md#points)
27
27
  - [property](Longan.Polyline.md#property)
28
+ - [shellSize](Longan.Polyline.md#shellsize)
28
29
  - [typeName](Longan.Polyline.md#typename)
29
30
  - [volume](Longan.Polyline.md#volume)
30
31
 
@@ -149,6 +150,20 @@ Curve.property
149
150
 
150
151
  ___
151
152
 
153
+ ### shellSize
154
+
155
+ • `get` **shellSize**(): `any`
156
+
157
+ #### Returns
158
+
159
+ `any`
160
+
161
+ #### Inherited from
162
+
163
+ Curve.shellSize
164
+
165
+ ___
166
+
152
167
  ### typeName
153
168
 
154
169
  • `get` **typeName**(): `string`
@@ -27,6 +27,7 @@
27
27
  - [owner](Longan.Shell.md#owner)
28
28
  - [points](Longan.Shell.md#points)
29
29
  - [property](Longan.Shell.md#property)
30
+ - [shellSize](Longan.Shell.md#shellsize)
30
31
  - [texCoords](Longan.Shell.md#texcoords)
31
32
  - [typeName](Longan.Shell.md#typename)
32
33
  - [volume](Longan.Shell.md#volume)
@@ -198,6 +199,20 @@ Surface.property
198
199
 
199
200
  ___
200
201
 
202
+ ### shellSize
203
+
204
+ • `get` **shellSize**(): `any`
205
+
206
+ #### Returns
207
+
208
+ `any`
209
+
210
+ #### Inherited from
211
+
212
+ Surface.shellSize
213
+
214
+ ___
215
+
201
216
  ### texCoords
202
217
 
203
218
  • `set` **texCoords**(`value`): `void`
@@ -26,6 +26,7 @@
26
26
  - [normals](Longan.TriangularShell.md#normals)
27
27
  - [owner](Longan.TriangularShell.md#owner)
28
28
  - [property](Longan.TriangularShell.md#property)
29
+ - [shellSize](Longan.TriangularShell.md#shellsize)
29
30
  - [texCoords](Longan.TriangularShell.md#texcoords)
30
31
  - [typeName](Longan.TriangularShell.md#typename)
31
32
  - [volume](Longan.TriangularShell.md#volume)
@@ -182,6 +183,20 @@ Surface.property
182
183
 
183
184
  ___
184
185
 
186
+ ### shellSize
187
+
188
+ • `get` **shellSize**(): `any`
189
+
190
+ #### Returns
191
+
192
+ `any`
193
+
194
+ #### Inherited from
195
+
196
+ Surface.shellSize
197
+
198
+ ___
199
+
185
200
  ### texCoords
186
201
 
187
202
  • `set` **texCoords**(`value`): `void`
@@ -18,6 +18,7 @@
18
18
 
19
19
  - [collisionPanel](PanelManager.md#collisionpanel)
20
20
  - [drawingPanel](PanelManager.md#drawingpanel)
21
+ - [info](PanelManager.md#info)
21
22
  - [propertyPanel](PanelManager.md#propertypanel)
22
23
  - [setting](PanelManager.md#setting)
23
24
  - [snapshoot](PanelManager.md#snapshoot)
@@ -64,6 +65,16 @@ ___
64
65
 
65
66
  ___
66
67
 
68
+ ### info
69
+
70
+ • `get` **info**(): `default`
71
+
72
+ #### Returns
73
+
74
+ `default`
75
+
76
+ ___
77
+
67
78
  ### propertyPanel
68
79
 
69
80
  • `get` **propertyPanel**(): `default`
@@ -19,6 +19,7 @@
19
19
  - [name](SegmentObject.md#name)
20
20
  - [nodeKey](SegmentObject.md#nodekey)
21
21
  - [segment](SegmentObject.md#segment)
22
+ - [size](SegmentObject.md#size)
22
23
  - [treeNodeOject](SegmentObject.md#treenodeoject)
23
24
  - [version](SegmentObject.md#version)
24
25
  - [viewer](SegmentObject.md#viewer)
@@ -40,6 +41,7 @@
40
41
  - [setMaterial](SegmentObject.md#setmaterial)
41
42
  - [setVisible](SegmentObject.md#setvisible)
42
43
  - [translate](SegmentObject.md#translate)
44
+ - [traverseSegment](SegmentObject.md#traversesegment)
43
45
  - [undoMatrix](SegmentObject.md#undomatrix)
44
46
  - [unsetCutting](SegmentObject.md#unsetcutting)
45
47
  - [unsetMatrix](SegmentObject.md#unsetmatrix)
@@ -153,6 +155,24 @@ ___
153
155
 
154
156
  ___
155
157
 
158
+ ### size
159
+
160
+ • `get` **size**(): `Object`
161
+
162
+ 构件的尺寸,包含点数量、面数量、几何数量
163
+
164
+ #### Returns
165
+
166
+ `Object`
167
+
168
+ | Name | Type |
169
+ | :------ | :------ |
170
+ | `face` | `number` |
171
+ | `geo` | `number` |
172
+ | `pos` | `number` |
173
+
174
+ ___
175
+
156
176
  ### treeNodeOject
157
177
 
158
178
  • `get` **treeNodeOject**(): [`TreeNodeObject`](TreeNodeObject.md)
@@ -436,6 +456,23 @@ ___
436
456
 
437
457
  ___
438
458
 
459
+ ### traverseSegment
460
+
461
+ ▸ **traverseSegment**(`segment`, `geometries`): [`List`](Longan.List.md)<[`Geometry`](Longan.Geometry.md)\>
462
+
463
+ #### Parameters
464
+
465
+ | Name | Type |
466
+ | :------ | :------ |
467
+ | `segment` | [`Segment`](Longan.Segment.md) |
468
+ | `geometries` | [`List`](Longan.List.md)<[`Geometry`](Longan.Geometry.md)\> |
469
+
470
+ #### Returns
471
+
472
+ [`List`](Longan.List.md)<[`Geometry`](Longan.Geometry.md)\>
473
+
474
+ ___
475
+
439
476
  ### undoMatrix
440
477
 
441
478
  ▸ **undoMatrix**(): `void`
@@ -19,6 +19,7 @@
19
19
  - [EN](Longan.LonganCore.ViewMode.md#en)
20
20
  - [Iso](Longan.LonganCore.ViewMode.md#iso)
21
21
  - [NW](Longan.LonganCore.ViewMode.md#nw)
22
+ - [OFSIso](Longan.LonganCore.ViewMode.md#ofsiso)
22
23
  - [SE](Longan.LonganCore.ViewMode.md#se)
23
24
  - [TopE](Longan.LonganCore.ViewMode.md#tope)
24
25
  - [TopEN](Longan.LonganCore.ViewMode.md#topen)
@@ -105,6 +106,12 @@ ___
105
106
 
106
107
  ___
107
108
 
109
+ ### OFSIso
110
+
111
+ • **OFSIso** = ``28``
112
+
113
+ ___
114
+
108
115
  ### SE
109
116
 
110
117
  • **SE** = ``10``
@@ -12,6 +12,7 @@
12
12
  - [cut](ToolbarVisible.md#cut)
13
13
  - [explosion](ToolbarVisible.md#explosion)
14
14
  - [floorPlan](ToolbarVisible.md#floorplan)
15
+ - [info](ToolbarVisible.md#info)
15
16
  - [label](ToolbarVisible.md#label)
16
17
  - [leftToolbar](ToolbarVisible.md#lefttoolbar)
17
18
  - [measure](ToolbarVisible.md#measure)
@@ -67,6 +68,12 @@ ___
67
68
 
68
69
  ___
69
70
 
71
+ ### info
72
+
73
+ • `Optional` **info**: `boolean`
74
+
75
+ ___
76
+
70
77
  ### label
71
78
 
72
79
  • `Optional` **label**: `boolean`