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 +4 -0
- package/docs/classes/Geometry.Plane.md +24 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +99 -5
- package/lib/BimAir.css +39 -0
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +99 -5
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +99 -5
- package/lib/undefined.gzundefined +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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`\>
|