gs-bim-air 2.0.0-beta.10 → 2.0.0-beta.11

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,24 @@
1
1
  ## 更新日志
2
2
 
3
+ ### 2.0.0-beta.11
4
+
5
+ > 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
6
+ >
7
+ > Longan 更新为 v2.0.0-beta.5
8
+
9
+ - feat: 插入 font library 时,添加是否已存贮判断
10
+ - feat: 添加根据材质名字移除重写颜色数据
11
+ - feat: 添加禁用 f12 的函数
12
+ - feat: 搜索函数加上 id 搜索
13
+ - feat: 添加备注修改接口
14
+
15
+ ---
16
+
17
+ - fix: 更新 wasm,修复双屏闪缩问题
18
+ - fix: 修复切换视点时,罗盘没有没有变化的问题
19
+ - fix: 修改打包 bimAir 后样式错乱
20
+ - fix: 左右分栏拖动组件添加可设置的最小宽度
21
+
3
22
  ### 2.0.0-beta.10
4
23
 
5
24
  > 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
@@ -39,6 +39,7 @@
39
39
  - [optimizeObjects](DataManagerBase.md#optimizeobjects)
40
40
  - [removeAllDatas](DataManagerBase.md#removealldatas)
41
41
  - [removeDatas](DataManagerBase.md#removedatas)
42
+ - [removeDatasByName](DataManagerBase.md#removedatasbyname)
42
43
  - [removeObjects](DataManagerBase.md#removeobjects)
43
44
 
44
45
  ## Constructors
@@ -157,13 +158,14 @@ ___
157
158
 
158
159
  ### addObjects
159
160
 
160
- ▸ **addObjects**(`objs`, `callback?`): `void`
161
+ ▸ **addObjects**(`objs`, `materialName`, `callback?`): `void`
161
162
 
162
163
  #### Parameters
163
164
 
164
165
  | Name | Type |
165
166
  | :------ | :------ |
166
167
  | `objs` | [`TreeNodeObject`](TreeNodeObject.md)[] \| [`SegmentObject`](SegmentObject.md)[] |
168
+ | `materialName` | `string` |
167
169
  | `callback?` | (`key`: `any`, `path`: `any`) => `void` |
168
170
 
169
171
  #### Returns
@@ -338,6 +340,26 @@ ___
338
340
 
339
341
  ___
340
342
 
343
+ ### removeDatasByName
344
+
345
+ ▸ **removeDatasByName**(`name`): `void`
346
+
347
+ #### Parameters
348
+
349
+ | Name | Type |
350
+ | :------ | :------ |
351
+ | `name` | `string` |
352
+
353
+ #### Returns
354
+
355
+ `void`
356
+
357
+ #### Inherited from
358
+
359
+ [DataManagerBase](Longan.DataManagerBase.md).[removeDatasByName](Longan.DataManagerBase.md#removedatasbyname)
360
+
361
+ ___
362
+
341
363
  ### removeObjects
342
364
 
343
365
  ▸ **removeObjects**(`objs`, `callback?`): `void`
@@ -12,12 +12,15 @@
12
12
 
13
13
  ### Methods
14
14
 
15
+ - [angleBetween](Longan.DGeometryOperators.md#anglebetween)
16
+ - [angleBetweenByNormal](Longan.DGeometryOperators.md#anglebetweenbynormal)
15
17
  - [arrangePolygon](Longan.DGeometryOperators.md#arrangepolygon)
16
18
  - [closestPoint](Longan.DGeometryOperators.md#closestpoint)
17
19
  - [createPolylinesBySegments](Longan.DGeometryOperators.md#createpolylinesbysegments)
18
20
  - [createRingPoints](Longan.DGeometryOperators.md#createringpoints)
19
21
  - [distance](Longan.DGeometryOperators.md#distance)
20
22
  - [distancePoint](Longan.DGeometryOperators.md#distancepoint)
23
+ - [includeAngleBetween](Longan.DGeometryOperators.md#includeanglebetween)
21
24
  - [intersectionLineLine](Longan.DGeometryOperators.md#intersectionlineline)
22
25
  - [intersectionLinePlane](Longan.DGeometryOperators.md#intersectionlineplane)
23
26
  - [intersectionLineSegmentLineSegment](Longan.DGeometryOperators.md#intersectionlinesegmentlinesegment)
@@ -46,6 +49,41 @@
46
49
 
47
50
  ## Methods
48
51
 
52
+ ### angleBetween
53
+
54
+ ▸ `Static` **angleBetween**(`v0`, `v1`): `number`
55
+
56
+ #### Parameters
57
+
58
+ | Name | Type |
59
+ | :------ | :------ |
60
+ | `v0` | `Float64Array` |
61
+ | `v1` | `Float64Array` |
62
+
63
+ #### Returns
64
+
65
+ `number`
66
+
67
+ ___
68
+
69
+ ### angleBetweenByNormal
70
+
71
+ ▸ `Static` **angleBetweenByNormal**(`v0`, `v1`, `normal`): `number`
72
+
73
+ #### Parameters
74
+
75
+ | Name | Type |
76
+ | :------ | :------ |
77
+ | `v0` | `Float64Array` |
78
+ | `v1` | `Float64Array` |
79
+ | `normal` | `Float64Array` |
80
+
81
+ #### Returns
82
+
83
+ `number`
84
+
85
+ ___
86
+
49
87
  ### arrangePolygon
50
88
 
51
89
  ▸ `Static` **arrangePolygon**(`polygon`, `tolerance`): `Float64Array`
@@ -155,6 +193,23 @@ ___
155
193
 
156
194
  ___
157
195
 
196
+ ### includeAngleBetween
197
+
198
+ ▸ `Static` **includeAngleBetween**(`v0`, `v1`): `number`
199
+
200
+ #### Parameters
201
+
202
+ | Name | Type |
203
+ | :------ | :------ |
204
+ | `v0` | `Float64Array` |
205
+ | `v1` | `Float64Array` |
206
+
207
+ #### Returns
208
+
209
+ `number`
210
+
211
+ ___
212
+
158
213
  ### intersectionLineLine
159
214
 
160
215
  ▸ `Static` **intersectionLineLine**(`line0_p0`, `line0_p1`, `line1_p0`, `line1_p1`): `any`
@@ -34,6 +34,7 @@
34
34
  - [hasKey](Longan.DataManagerBase.md#haskey)
35
35
  - [removeAllDatas](Longan.DataManagerBase.md#removealldatas)
36
36
  - [removeDatas](Longan.DataManagerBase.md#removedatas)
37
+ - [removeDatasByName](Longan.DataManagerBase.md#removedatasbyname)
37
38
 
38
39
  ## Constructors
39
40
 
@@ -159,3 +160,19 @@ ___
159
160
  #### Returns
160
161
 
161
162
  `void`
163
+
164
+ ___
165
+
166
+ ### removeDatasByName
167
+
168
+ ▸ **removeDatasByName**(`name`): `void`
169
+
170
+ #### Parameters
171
+
172
+ | Name | Type |
173
+ | :------ | :------ |
174
+ | `name` | `string` |
175
+
176
+ #### Returns
177
+
178
+ `void`
@@ -16,6 +16,7 @@
16
16
 
17
17
  ### Methods
18
18
 
19
+ - [delete](Material.md#delete)
19
20
  - [equals](Material.md#equals)
20
21
  - [getColor](Material.md#getcolor)
21
22
  - [setColor](Material.md#setcolor)
@@ -96,6 +97,16 @@ ___
96
97
 
97
98
  ## Methods
98
99
 
100
+ ### delete
101
+
102
+ ▸ **delete**(): `void`
103
+
104
+ #### Returns
105
+
106
+ `void`
107
+
108
+ ___
109
+
99
110
  ### equals
100
111
 
101
112
  ▸ **equals**(`material`): `boolean`
@@ -58,6 +58,7 @@
58
58
  - [JS\_Clear\_All\_By\_Key](Longan.LonganCore.md#js_clear_all_by_key)
59
59
  - [JS\_Clear\_Attributes](Longan.LonganCore.md#js_clear_attributes)
60
60
  - [JS\_Clear\_Attributes\_By\_Key](Longan.LonganCore.md#js_clear_attributes_by_key)
61
+ - [JS\_Clear\_Font\_Library](Longan.LonganCore.md#js_clear_font_library)
61
62
  - [JS\_Clear\_Geometry](Longan.LonganCore.md#js_clear_geometry)
62
63
  - [JS\_Clear\_Geometry\_By\_Key](Longan.LonganCore.md#js_clear_geometry_by_key)
63
64
  - [JS\_Clear\_Includes](Longan.LonganCore.md#js_clear_includes)
@@ -105,6 +106,7 @@
105
106
  - [JS\_Extrude\_By\_Shell](Longan.LonganCore.md#js_extrude_by_shell)
106
107
  - [JS\_Fina\_Database](Longan.LonganCore.md#js_fina_database)
107
108
  - [JS\_Fina\_Multithreading\_Services](Longan.LonganCore.md#js_fina_multithreading_services)
109
+ - [JS\_Font\_Library\_Exists](Longan.LonganCore.md#js_font_library_exists)
108
110
  - [JS\_Geometry\_Data\_To\_Stream](Longan.LonganCore.md#js_geometry_data_to_stream)
109
111
  - [JS\_Image\_Exists](Longan.LonganCore.md#js_image_exists)
110
112
  - [JS\_Include\_Segment\_By\_Key](Longan.LonganCore.md#js_include_segment_by_key)
@@ -132,6 +134,7 @@
132
134
  - [JS\_Open\_Segment](Longan.LonganCore.md#js_open_segment)
133
135
  - [JS\_Open\_Segment\_By\_Key](Longan.LonganCore.md#js_open_segment_by_key)
134
136
  - [JS\_Property\_Exists](Longan.LonganCore.md#js_property_exists)
137
+ - [JS\_Remove\_Font\_Library](Longan.LonganCore.md#js_remove_font_library)
135
138
  - [JS\_Remove\_Property](Longan.LonganCore.md#js_remove_property)
136
139
  - [JS\_Rename\_Segment](Longan.LonganCore.md#js_rename_segment)
137
140
  - [JS\_Resize\_By\_Key](Longan.LonganCore.md#js_resize_by_key)
@@ -490,6 +493,12 @@ ___
490
493
 
491
494
  ___
492
495
 
496
+ ### JS\_Clear\_Font\_Library
497
+
498
+ • **JS\_Clear\_Font\_Library**: `any`
499
+
500
+ ___
501
+
493
502
  ### JS\_Clear\_Geometry
494
503
 
495
504
  • **JS\_Clear\_Geometry**: `any`
@@ -772,6 +781,12 @@ ___
772
781
 
773
782
  ___
774
783
 
784
+ ### JS\_Font\_Library\_Exists
785
+
786
+ • **JS\_Font\_Library\_Exists**: `any`
787
+
788
+ ___
789
+
775
790
  ### JS\_Geometry\_Data\_To\_Stream
776
791
 
777
792
  • **JS\_Geometry\_Data\_To\_Stream**: `any`
@@ -934,6 +949,12 @@ ___
934
949
 
935
950
  ___
936
951
 
952
+ ### JS\_Remove\_Font\_Library
953
+
954
+ • **JS\_Remove\_Font\_Library**: `any`
955
+
956
+ ___
957
+
937
958
  ### JS\_Remove\_Property
938
959
 
939
960
  • **JS\_Remove\_Property**: `any`