gs-bim-air 1.6.1-beta.28 → 1.6.1-beta.29

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,9 @@
1
1
  ## 更新日志
2
2
 
3
+ ### 1.6.1-beta.29
4
+
5
+ - feat: 添加面选取和面展示的接口和 demo
6
+
3
7
  ### 1.6.1-beta.28
4
8
 
5
9
  > Longan 更新为 v1.6.1-beta.19
@@ -16,6 +16,7 @@
16
16
 
17
17
  ### Methods
18
18
 
19
+ - [addLocalPlane](Geometry.Plane.md#addlocalplane)
19
20
  - [addPlane](Geometry.Plane.md#addplane)
20
21
  - [deletePlanes](Geometry.Plane.md#deleteplanes)
21
22
 
@@ -39,6 +40,29 @@
39
40
 
40
41
  ## Methods
41
42
 
43
+ ### addLocalPlane
44
+
45
+ ▸ **addLocalPlane**(`name`, `position`, `vector`, `color?`, `transparency?`, `length?`): `PlaneObject`
46
+
47
+ 添加平面
48
+
49
+ #### Parameters
50
+
51
+ | Name | Type | Default value | Description |
52
+ | :------ | :------ | :------ | :------ |
53
+ | `name` | `string` | `undefined` | 平面名字 |
54
+ | `position` | `number`[] | `undefined` | 创建平面的位置 |
55
+ | `vector` | `number`[] | `undefined` | 平面方向 |
56
+ | `color` | `number`[] | `undefined` | - |
57
+ | `transparency` | `number` | `0.5` | 平面贴图透明度 0~1 |
58
+ | `length?` | `number` | `undefined` | - |
59
+
60
+ #### Returns
61
+
62
+ `PlaneObject`
63
+
64
+ ___
65
+
42
66
  ### addPlane
43
67
 
44
68
  ▸ **addPlane**(`name`, `position`, `vector`, `width`, `height`, `imagePath`, `color`, `transparency?`): `Promise`<`PlaneObject`\>