gs-bim-air 0.0.3-0.3 → 0.0.3-0.4

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.
@@ -61,8 +61,8 @@
61
61
 
62
62
  // 动画移动的对象
63
63
  let moveObjId = "QMD+M+4G+HYD+XDRA01+EL002";
64
- let key = JS_Show_Key_By_Id(moveObjId);
65
- let moveSegmentObject = new SegmentObject(viewer, key);
64
+ let key = BimAir.LonganCore.JS_Show_Key_By_Id(moveObjId);
65
+ let moveSegmentObject = new BimAir.SegmentObject(viewer, key);
66
66
 
67
67
  let bb = viewer.computeViewBoundingBox(moveSegmentObject.segment);
68
68
  let center = new Float64Array([
@@ -109,7 +109,7 @@
109
109
  let moveObjId = "QMD+M+4G+HYD+XDRA01+EL001";
110
110
  // 动画2移动的对象
111
111
  let key = JS_Show_Key_By_Id(moveObjId);
112
- let moveSegmentObject = new SegmentObject(viewer, key);
112
+ let moveSegmentObject = new BimAir.SegmentObject(viewer, key);
113
113
 
114
114
  let bb = viewer.computeViewBoundingBox(moveSegmentObject.segment);
115
115
  let center = new Float64Array([
@@ -127,7 +127,7 @@ ___
127
127
 
128
128
  ### getProperty
129
129
 
130
- ▸ **getProperty**(`segmentObject`): `Promise`<`any`\>
130
+ ▸ **getProperty**(`segmentObject`): `Promise`<`any`[]\>
131
131
 
132
132
  #### Parameters
133
133
 
@@ -137,7 +137,7 @@ ___
137
137
 
138
138
  #### Returns
139
139
 
140
- `Promise`<`any`\>
140
+ `Promise`<`any`[]\>
141
141
 
142
142
  ___
143
143
 
@@ -149,6 +149,7 @@
149
149
  - [initManagers](Viewer.md#initmanagers)
150
150
  - [instantiateRenderObject](Viewer.md#instantiaterenderobject)
151
151
  - [loadLocalModel](Viewer.md#loadlocalmodel)
152
+ - [loadModelByMCA](Viewer.md#loadmodelbymca)
152
153
  - [loadModels](Viewer.md#loadmodels)
153
154
  - [locateObject](Viewer.md#locateobject)
154
155
  - [locatePoint](Viewer.md#locatepoint)
@@ -2106,7 +2107,7 @@ ___
2106
2107
 
2107
2108
  ### loadLocalModel
2108
2109
 
2109
- ▸ **loadLocalModel**(`path`, `name`): `Promise`<[`LightModel`](LightModel.md)\>
2110
+ ▸ **loadLocalModel**(`path`, `name`): `Promise`<`RenderObject`\>
2110
2111
 
2111
2112
  加载本地gsl文件
2112
2113
 
@@ -2119,12 +2120,28 @@ ___
2119
2120
 
2120
2121
  #### Returns
2121
2122
 
2122
- `Promise`<[`LightModel`](LightModel.md)\>
2123
+ `Promise`<`RenderObject`\>
2123
2124
 
2124
2125
  模型
2125
2126
 
2126
2127
  ___
2127
2128
 
2129
+ ### loadModelByMCA
2130
+
2131
+ ▸ **loadModelByMCA**(`mca`): `Promise`<`RenderObject`\>
2132
+
2133
+ #### Parameters
2134
+
2135
+ | Name | Type |
2136
+ | :------ | :------ |
2137
+ | `mca` | `any` |
2138
+
2139
+ #### Returns
2140
+
2141
+ `Promise`<`RenderObject`\>
2142
+
2143
+ ___
2144
+
2128
2145
  ### loadModels
2129
2146
 
2130
2147
  ▸ **loadModels**(`modelIds`, `isReplace?`, `isSingleModel?`): `Promise`<[`LightModel`](LightModel.md)[]\>