@snowemperor/cesium-core 0.2.5 → 0.2.6
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 +223 -42
- package/dist/cesium-core.cjs.js +1 -1
- package/dist/cesium-core.es.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -164,13 +164,13 @@ measure.clear(); // 清除
|
|
|
164
164
|
* [CreateCustomSensor](#CreateCustomSensor)
|
|
165
165
|
* [new CreateCustomSensor()](#new_CreateCustomSensor_new)
|
|
166
166
|
* _instance_
|
|
167
|
-
* [.removeSensorFromSatellite(id)](#CreateCustomSensor+removeSensorFromSatellite)
|
|
167
|
+
* [.removeSensorFromSatellite(id, isCzml, czmlIndex)](#CreateCustomSensor+removeSensorFromSatellite)
|
|
168
168
|
* [.InitCreateSarOrCurtomSensor(isSar, isConicCustom, isHexagonal)](#CreateCustomSensor+InitCreateSarOrCurtomSensor)
|
|
169
|
-
* [.createSARSensor(
|
|
170
|
-
* [.createConicSensorByCustom(id, isClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallBeamAngle)](#CreateCustomSensor+createConicSensorByCustom)
|
|
171
|
-
* [.createHexagonalSensorByCustom(id, isHexagonalClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallHalfAngleDeg)](#CreateCustomSensor+createHexagonalSensorByCustom)
|
|
172
|
-
* [.
|
|
173
|
-
* [.createRectSensor(id, yHalfAngle, xHalfAngle, isCzml, czmlIndex, isMount,
|
|
169
|
+
* [.createSARSensor(id, oHalfAngle, iHalfAngle, maxRoll, radius, isMount, isRadians, isCzml, czmlIndex, orienMark)](#CreateCustomSensor+createSARSensor)
|
|
170
|
+
* [.createConicSensorByCustom(id, isClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallBeamAngle, radius, isMount, orienMark)](#CreateCustomSensor+createConicSensorByCustom)
|
|
171
|
+
* [.createHexagonalSensorByCustom(id, isHexagonalClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallHalfAngleDeg, radius, isMount, orienMark)](#CreateCustomSensor+createHexagonalSensorByCustom)
|
|
172
|
+
* [.createConicSensor(id, halfAngle, radius, isCzml, czmlIndex, isMount, orienMark)](#CreateCustomSensor+createConicSensor) ⇒ <code>\*</code>
|
|
173
|
+
* [.createRectSensor(id, yHalfAngle, xHalfAngle, radius, isCzml, czmlIndex, isMount, orienMark)](#CreateCustomSensor+createRectSensor) ⇒ <code>\*</code>
|
|
174
174
|
* [.constrollOrientationOnlyRoll(id, rollAngle, isCzml, czmlIndex)](#CreateCustomSensor+constrollOrientationOnlyRoll)
|
|
175
175
|
* [.constrollOrientationByHeadingPitchRoll(id, rotationValues, isCzml, czmlIndex)](#CreateCustomSensor+constrollOrientationByHeadingPitchRoll)
|
|
176
176
|
* [.constrollOrientationByFromRotation(id, rotationValues, isCzml, czmlIndex)](#CreateCustomSensor+constrollOrientationByFromRotation)
|
|
@@ -178,6 +178,17 @@ measure.clear(); // 清除
|
|
|
178
178
|
* [.toggleSatelliteSideLook(id)](#CreateCustomSensor+toggleSatelliteSideLook)
|
|
179
179
|
* _static_
|
|
180
180
|
* [.autobind(instance)](#CreateCustomSensor.autobind)
|
|
181
|
+
* [.judgeEntityHasOrientation(satelliteEntity, orienMark)](#CreateCustomSensor.judgeEntityHasOrientation)
|
|
182
|
+
* [.createDependenceSARSensor(id, satelliteEntity, oHalfAngle, iHalfAngle, maxRoll, radius, isRadians)](#CreateCustomSensor.createDependenceSARSensor)
|
|
183
|
+
* [.createIndependentSARSensor(id, satelliteEntity, oHalfAngle, iHalfAngle, maxRoll, radius, isRadians)](#CreateCustomSensor.createIndependentSARSensor)
|
|
184
|
+
* [.createDependenceConicCustom(id, satelliteEntity, beams, radius)](#CreateCustomSensor.createDependenceConicCustom)
|
|
185
|
+
* [.createIndependentConicCustom(id, satelliteEntity, beams, radius)](#CreateCustomSensor.createIndependentConicCustom)
|
|
186
|
+
* [.createDependenceHexagonalCustom(id, satelliteEntity, beams, radius)](#CreateCustomSensor.createDependenceHexagonalCustom)
|
|
187
|
+
* [.createIndependentHexagonalCustom(id, satelliteEntity, beams, radius)](#CreateCustomSensor.createIndependentHexagonalCustom)
|
|
188
|
+
* [.createDependenceConicSensor(id, satelliteEntity, halfAngle, radius)](#CreateCustomSensor.createDependenceConicSensor)
|
|
189
|
+
* [.createIndependentConicSensor(id, satelliteEntity, halfAngle, radius)](#CreateCustomSensor.createIndependentConicSensor)
|
|
190
|
+
* [.createDependenceRectSensor(id, satelliteEntity, yHalfAngle, xHalfAngle, radius)](#CreateCustomSensor.createDependenceRectSensor)
|
|
191
|
+
* [.createIndependentRectSensor(id, satelliteEntity, yHalfAngle, xHalfAngle, radius)](#CreateCustomSensor.createIndependentRectSensor)
|
|
181
192
|
* [.generateClusterBeams(bigHalfAngleDeg, smallHalfAngleDeg)](#CreateCustomSensor.generateClusterBeams) ⇒ <code>Array</code>
|
|
182
193
|
* [.generateHexagonalClusterBeams(bigHalfAngleDeg, smallHexHalfAngleDeg)](#CreateCustomSensor.generateHexagonalClusterBeams)
|
|
183
194
|
* [.convertStkSarToCesiumParams(stkEleMin, stkEleMax, stkExclForward, stkExclAft)](#CreateCustomSensor.convertStkSarToCesiumParams) ⇒ <code>Object</code>
|
|
@@ -192,15 +203,15 @@ measure.clear(); // 清除
|
|
|
192
203
|
import { CreateCustomSensor } from "cesium-core";
|
|
193
204
|
let customSensor = new CreateCustomSensor();
|
|
194
205
|
customSensor.InitCreateSarOrCurtomSensor(true, true, false);
|
|
195
|
-
初始化完毕后,调用以下方法
|
|
206
|
+
initCesium(viewer)初始化完毕后,调用以下方法
|
|
207
|
+
|
|
196
208
|
customSensor.setViewer(viewer);
|
|
197
|
-
|
|
209
|
+
创建自定义SAR传感器
|
|
210
|
+
customSensor.createSARSensor('Satellite/Satellite3',10,72,2,2e7,true,false,true,0,'HPR');
|
|
198
211
|
普通圆形载荷
|
|
199
|
-
var cone = customSensor.
|
|
200
|
-
viewer.entities.add(cone)
|
|
212
|
+
var cone = customSensor.createConicSensor('Satellite/Satellite3',10,2e7,false,0,true,'HPR')
|
|
201
213
|
普通矩形载荷
|
|
202
|
-
var rect = customSensor.createRectSensor('Satellite/Satellite3',
|
|
203
|
-
viewer.entities.add(cone)
|
|
214
|
+
var rect = customSensor.createRectSensor('Satellite/Satellite3',2,4,2e7,false,0,true,'HPR')
|
|
204
215
|
自定义圆形载荷(不覆盖圆形范围)
|
|
205
216
|
customSensor.createConicSensorByCustom('Satellite/Satellite3',false,[
|
|
206
217
|
{ pitch: 0, roll: 0, halfAngle: Cesium.Math.toRadians(10) },
|
|
@@ -228,11 +239,11 @@ customSensor.createConicSensorByCustom('Satellite/Satellite3',false,[
|
|
|
228
239
|
roll: 0,
|
|
229
240
|
halfAngle: Cesium.Math.toRadians(5),
|
|
230
241
|
},
|
|
231
|
-
],true,
|
|
242
|
+
],false,0,10,2.5,2e7,true,'HPR')
|
|
232
243
|
自定义圆形载荷(覆盖圆形范围)
|
|
233
|
-
|
|
244
|
+
customSensor.createConicSensorByCustom('Satellite/Satellite3',true,[],false,0,10,2.5,2e7,true,'HPR')
|
|
234
245
|
自定义矩形载荷(不覆盖圆形范围)
|
|
235
|
-
customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
246
|
+
customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
236
247
|
{ pitch: 0, roll: 0, halfAngle: Cesium.Math.toRadians(10) },
|
|
237
248
|
|
|
238
249
|
{
|
|
@@ -258,20 +269,22 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
258
269
|
roll: 0,
|
|
259
270
|
halfAngle: Cesium.Math.toRadians(5),
|
|
260
271
|
},
|
|
261
|
-
],true,
|
|
272
|
+
],false,0,20,2,2e7,true,'HPR')
|
|
262
273
|
自定义矩形载荷(覆盖圆形范围)
|
|
263
|
-
customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',true,[],true,
|
|
274
|
+
customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',true,[],false,0,20,2,2e7,true,'HPR')
|
|
264
275
|
```
|
|
265
276
|
<a name="CreateCustomSensor+removeSensorFromSatellite"></a>
|
|
266
277
|
|
|
267
|
-
### createCustomSensor.removeSensorFromSatellite(id)
|
|
268
|
-
|
|
278
|
+
### createCustomSensor.removeSensorFromSatellite(id, isCzml, czmlIndex)
|
|
279
|
+
从卫星上移除传感器载荷
|
|
269
280
|
|
|
270
281
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
271
282
|
|
|
272
|
-
| Param | Type | Description |
|
|
273
|
-
| --- | --- | --- |
|
|
274
|
-
| id | <code>String</code> |
|
|
283
|
+
| Param | Type | Default | Description |
|
|
284
|
+
| --- | --- | --- | --- |
|
|
285
|
+
| id | <code>String</code> | | 卫星实体的 ID |
|
|
286
|
+
| isCzml | <code>Boolean</code> | <code>false</code> | 是否为 CZML 数据源中的实体 |
|
|
287
|
+
| czmlIndex | <code>Number</code> \| <code>String</code> | <code>0</code> | CZML 数据源的索引或名称 |
|
|
275
288
|
|
|
276
289
|
<a name="CreateCustomSensor+InitCreateSarOrCurtomSensor"></a>
|
|
277
290
|
|
|
@@ -288,25 +301,27 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
288
301
|
|
|
289
302
|
<a name="CreateCustomSensor+createSARSensor"></a>
|
|
290
303
|
|
|
291
|
-
### createCustomSensor.createSARSensor(
|
|
304
|
+
### createCustomSensor.createSARSensor(id, oHalfAngle, iHalfAngle, maxRoll, radius, isMount, isRadians, isCzml, czmlIndex, orienMark)
|
|
292
305
|
创建自定义SAR载荷
|
|
293
306
|
|
|
294
307
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
295
308
|
|
|
296
|
-
| Param | Type | Description |
|
|
297
|
-
| --- | --- | --- |
|
|
298
|
-
|
|
|
299
|
-
|
|
|
300
|
-
|
|
|
301
|
-
|
|
|
302
|
-
|
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
309
|
+
| Param | Type | Default | Description |
|
|
310
|
+
| --- | --- | --- | --- |
|
|
311
|
+
| id | <code>\*</code> | | 卫星ID |
|
|
312
|
+
| oHalfAngle | <code>\*</code> | | 内角 度 |
|
|
313
|
+
| iHalfAngle | <code>\*</code> | | 外角 度 |
|
|
314
|
+
| maxRoll | <code>\*</code> | <code>2</code> | 厚度 度 |
|
|
315
|
+
| radius | <code>\*</code> | <code>20000000</code> | 半径 米 |
|
|
316
|
+
| isMount | <code>\*</code> | <code>true</code> | 是否挂载到卫星实体 |
|
|
317
|
+
| isRadians | <code>\*</code> | <code>false</code> | 弧度单位标志 |
|
|
318
|
+
| isCzml | <code>\*</code> | <code>false</code> | 是否是CZML实体 |
|
|
319
|
+
| czmlIndex | <code>\*</code> | <code>0</code> | CZML索引 |
|
|
320
|
+
| orienMark | <code>\*</code> | <code>HPR</code> | 姿态标志位 NONE Velocity HPR |
|
|
306
321
|
|
|
307
322
|
<a name="CreateCustomSensor+createConicSensorByCustom"></a>
|
|
308
323
|
|
|
309
|
-
### createCustomSensor.createConicSensorByCustom(id, isClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallBeamAngle)
|
|
324
|
+
### createCustomSensor.createConicSensorByCustom(id, isClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallBeamAngle, radius, isMount, orienMark)
|
|
310
325
|
自定义多波束载荷
|
|
311
326
|
|
|
312
327
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
@@ -320,10 +335,13 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
320
335
|
| czmlIndex | <code>\*</code> | <code>0</code> | CZML索引 |
|
|
321
336
|
| bigCircleAngle | <code>\*</code> | <code>10</code> | 大圆形的半径角度 度 (需要覆盖的区域角度) |
|
|
322
337
|
| smallBeamAngle | <code>\*</code> | <code>2.5</code> | 小圆形的半径角度 度 |
|
|
338
|
+
| radius | <code>\*</code> | <code>20000000</code> | 半径 米 |
|
|
339
|
+
| isMount | <code>\*</code> | <code>true</code> | 是否挂载到卫星实体 |
|
|
340
|
+
| orienMark | <code>\*</code> | <code>HPR</code> | 姿态标志位 NONE Velocity HPR |
|
|
323
341
|
|
|
324
342
|
<a name="CreateCustomSensor+createHexagonalSensorByCustom"></a>
|
|
325
343
|
|
|
326
|
-
### createCustomSensor.createHexagonalSensorByCustom(id, isHexagonalClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallHalfAngleDeg)
|
|
344
|
+
### createCustomSensor.createHexagonalSensorByCustom(id, isHexagonalClusterBeams, beamsArr, isCzml, czmlIndex, bigCircleAngle, smallHalfAngleDeg, radius, isMount, orienMark)
|
|
327
345
|
自定义六边形多波束载荷
|
|
328
346
|
|
|
329
347
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
@@ -337,10 +355,13 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
337
355
|
| czmlIndex | <code>\*</code> | <code>0</code> | CZML索引 |
|
|
338
356
|
| bigCircleAngle | <code>\*</code> | <code>20</code> | 大圆形的半径角度 度 (需要覆盖的区域角度) |
|
|
339
357
|
| smallHalfAngleDeg | <code>\*</code> | <code>2</code> | 小六边形的半径角度 度 |
|
|
358
|
+
| radius | <code>\*</code> | <code>20000000</code> | 半径 米 |
|
|
359
|
+
| isMount | <code>\*</code> | <code>true</code> | 是否挂载到卫星实体 |
|
|
360
|
+
| orienMark | <code>\*</code> | <code>HPR</code> | 姿态标志位 NONE Velocity HPR |
|
|
340
361
|
|
|
341
|
-
<a name="CreateCustomSensor+
|
|
362
|
+
<a name="CreateCustomSensor+createConicSensor"></a>
|
|
342
363
|
|
|
343
|
-
### createCustomSensor.
|
|
364
|
+
### createCustomSensor.createConicSensor(id, halfAngle, radius, isCzml, czmlIndex, isMount, orienMark) ⇒ <code>\*</code>
|
|
344
365
|
创建卫星圆形载荷
|
|
345
366
|
|
|
346
367
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
@@ -350,15 +371,15 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
350
371
|
| --- | --- | --- | --- |
|
|
351
372
|
| id | <code>\*</code> | | 卫星ID |
|
|
352
373
|
| halfAngle | <code>\*</code> | | 半角 度 |
|
|
374
|
+
| radius | <code>\*</code> | <code>20000000</code> | 半径 米 |
|
|
353
375
|
| isCzml | <code>\*</code> | <code>true</code> | 是否是CZML实体 |
|
|
354
376
|
| czmlIndex | <code>\*</code> | <code>0</code> | CZML索引 |
|
|
355
377
|
| isMount | <code>\*</code> | <code>false</code> | 是否挂载到卫星实体上,挂在到卫星实体上,后两个参数不用管有默认值 |
|
|
356
|
-
|
|
|
357
|
-
| isVeocityOrientation | <code>\*</code> | <code>false</code> | 姿态是否有速度姿态构建 后两个参数都是false,会通过heading/pitch/roll 根据位置自动对比,如果单纯isVeocityOrientation为true则姿态遵循速度方向 |
|
|
378
|
+
| orienMark | <code>\*</code> | <code>HPR</code> | 姿态标志位 NONE Velocity HPR |
|
|
358
379
|
|
|
359
380
|
<a name="CreateCustomSensor+createRectSensor"></a>
|
|
360
381
|
|
|
361
|
-
### createCustomSensor.createRectSensor(id, yHalfAngle, xHalfAngle, isCzml, czmlIndex, isMount,
|
|
382
|
+
### createCustomSensor.createRectSensor(id, yHalfAngle, xHalfAngle, radius, isCzml, czmlIndex, isMount, orienMark) ⇒ <code>\*</code>
|
|
362
383
|
创建卫星矩形载荷
|
|
363
384
|
|
|
364
385
|
**Kind**: instance method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
@@ -369,11 +390,11 @@ customSensor.createHexagonalSensorByCustom('Satellite/Satellite3',false,[
|
|
|
369
390
|
| id | <code>\*</code> | | 卫星ID |
|
|
370
391
|
| yHalfAngle | <code>\*</code> | | Y轴方向 运行方向 半角 度 |
|
|
371
392
|
| xHalfAngle | <code>\*</code> | | X轴方向 垂直运动方向 半角 度 |
|
|
393
|
+
| radius | <code>\*</code> | <code>20000000</code> | 半径 米 |
|
|
372
394
|
| isCzml | <code>\*</code> | <code>true</code> | 是否是CZML实体 |
|
|
373
395
|
| czmlIndex | <code>\*</code> | <code>0</code> | CZML索引 |
|
|
374
396
|
| isMount | <code>\*</code> | <code>false</code> | 是否挂载到卫星实体上 |
|
|
375
|
-
|
|
|
376
|
-
| isVeocityOrientation | <code>\*</code> | <code>false</code> | 姿态是否有速度姿态构建 |
|
|
397
|
+
| orienMark | <code>\*</code> | <code>HPR</code> | 姿态标志位 NONE Velocity HPR |
|
|
377
398
|
|
|
378
399
|
<a name="CreateCustomSensor+constrollOrientationOnlyRoll"></a>
|
|
379
400
|
|
|
@@ -455,6 +476,166 @@ constrollOrientation 控制载荷侧摆使用,这个是直接就侧摆了,
|
|
|
455
476
|
| --- | --- |
|
|
456
477
|
| instance | <code>\*</code> |
|
|
457
478
|
|
|
479
|
+
<a name="CreateCustomSensor.judgeEntityHasOrientation"></a>
|
|
480
|
+
|
|
481
|
+
### CreateCustomSensor.judgeEntityHasOrientation(satelliteEntity, orienMark)
|
|
482
|
+
判断实体是否存在载荷属性
|
|
483
|
+
|
|
484
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
485
|
+
|
|
486
|
+
| Param | Type | Description |
|
|
487
|
+
| --- | --- | --- |
|
|
488
|
+
| satelliteEntity | <code>\*</code> | 卫星ID |
|
|
489
|
+
| orienMark | <code>\*</code> | 姿态标志位 NONE Velocity HPR |
|
|
490
|
+
|
|
491
|
+
<a name="CreateCustomSensor.createDependenceSARSensor"></a>
|
|
492
|
+
|
|
493
|
+
### CreateCustomSensor.createDependenceSARSensor(id, satelliteEntity, oHalfAngle, iHalfAngle, maxRoll, radius, isRadians)
|
|
494
|
+
挂载SAR载荷到卫星实体
|
|
495
|
+
|
|
496
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
497
|
+
|
|
498
|
+
| Param | Type | Description |
|
|
499
|
+
| --- | --- | --- |
|
|
500
|
+
| id | <code>\*</code> | 卫星ID |
|
|
501
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
502
|
+
| oHalfAngle | <code>\*</code> | 内角 度 |
|
|
503
|
+
| iHalfAngle | <code>\*</code> | 外角 度 |
|
|
504
|
+
| maxRoll | <code>\*</code> | 厚度 度 |
|
|
505
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
506
|
+
| isRadians | <code>\*</code> | 弧度单位标志 |
|
|
507
|
+
|
|
508
|
+
<a name="CreateCustomSensor.createIndependentSARSensor"></a>
|
|
509
|
+
|
|
510
|
+
### CreateCustomSensor.createIndependentSARSensor(id, satelliteEntity, oHalfAngle, iHalfAngle, maxRoll, radius, isRadians)
|
|
511
|
+
创建独立SAR载荷实体
|
|
512
|
+
|
|
513
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
514
|
+
|
|
515
|
+
| Param | Type | Description |
|
|
516
|
+
| --- | --- | --- |
|
|
517
|
+
| id | <code>\*</code> | 卫星ID |
|
|
518
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
519
|
+
| oHalfAngle | <code>\*</code> | 内角 度 |
|
|
520
|
+
| iHalfAngle | <code>\*</code> | 外角 度 |
|
|
521
|
+
| maxRoll | <code>\*</code> | 厚度 度 |
|
|
522
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
523
|
+
| isRadians | <code>\*</code> | 弧度单位标志 |
|
|
524
|
+
|
|
525
|
+
<a name="CreateCustomSensor.createDependenceConicCustom"></a>
|
|
526
|
+
|
|
527
|
+
### CreateCustomSensor.createDependenceConicCustom(id, satelliteEntity, beams, radius)
|
|
528
|
+
自定义圆形载荷挂在到卫星上
|
|
529
|
+
|
|
530
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
531
|
+
|
|
532
|
+
| Param | Type | Description |
|
|
533
|
+
| --- | --- | --- |
|
|
534
|
+
| id | <code>\*</code> | 卫星ID |
|
|
535
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
536
|
+
| beams | <code>\*</code> | 圆形集合 包含pitch roll halfAngle pitch 俯仰 roll偏航角 单位 弧度 |
|
|
537
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
538
|
+
|
|
539
|
+
<a name="CreateCustomSensor.createIndependentConicCustom"></a>
|
|
540
|
+
|
|
541
|
+
### CreateCustomSensor.createIndependentConicCustom(id, satelliteEntity, beams, radius)
|
|
542
|
+
自定义创建圆形载荷实体
|
|
543
|
+
|
|
544
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
545
|
+
|
|
546
|
+
| Param | Type | Description |
|
|
547
|
+
| --- | --- | --- |
|
|
548
|
+
| id | <code>\*</code> | 卫星ID |
|
|
549
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
550
|
+
| beams | <code>\*</code> | 圆形集合 包含pitch roll halfAngle pitch 俯仰 roll偏航角 单位 弧度 |
|
|
551
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
552
|
+
|
|
553
|
+
<a name="CreateCustomSensor.createDependenceHexagonalCustom"></a>
|
|
554
|
+
|
|
555
|
+
### CreateCustomSensor.createDependenceHexagonalCustom(id, satelliteEntity, beams, radius)
|
|
556
|
+
自定义六边形载荷挂在到卫星上
|
|
557
|
+
|
|
558
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
559
|
+
|
|
560
|
+
| Param | Type | Description |
|
|
561
|
+
| --- | --- | --- |
|
|
562
|
+
| id | <code>\*</code> | 卫星ID |
|
|
563
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
564
|
+
| beams | <code>\*</code> | 六边形集合 包含pitch roll halfAngle pitch 俯仰 roll偏航角 单位 弧度 |
|
|
565
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
566
|
+
|
|
567
|
+
<a name="CreateCustomSensor.createIndependentHexagonalCustom"></a>
|
|
568
|
+
|
|
569
|
+
### CreateCustomSensor.createIndependentHexagonalCustom(id, satelliteEntity, beams, radius)
|
|
570
|
+
自定义创建六边形载荷实体
|
|
571
|
+
|
|
572
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
573
|
+
|
|
574
|
+
| Param | Type | Description |
|
|
575
|
+
| --- | --- | --- |
|
|
576
|
+
| id | <code>\*</code> | 卫星ID |
|
|
577
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
578
|
+
| beams | <code>\*</code> | 六边形集合 包含pitch roll halfAngle pitch 俯仰 roll偏航角 单位 弧度 |
|
|
579
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
580
|
+
|
|
581
|
+
<a name="CreateCustomSensor.createDependenceConicSensor"></a>
|
|
582
|
+
|
|
583
|
+
### CreateCustomSensor.createDependenceConicSensor(id, satelliteEntity, halfAngle, radius)
|
|
584
|
+
挂载圆形载荷到卫星实体
|
|
585
|
+
|
|
586
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
587
|
+
|
|
588
|
+
| Param | Type | Description |
|
|
589
|
+
| --- | --- | --- |
|
|
590
|
+
| id | <code>\*</code> | 卫星ID |
|
|
591
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
592
|
+
| halfAngle | <code>\*</code> | 半角 度 |
|
|
593
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
594
|
+
|
|
595
|
+
<a name="CreateCustomSensor.createIndependentConicSensor"></a>
|
|
596
|
+
|
|
597
|
+
### CreateCustomSensor.createIndependentConicSensor(id, satelliteEntity, halfAngle, radius)
|
|
598
|
+
创建独立圆形载荷
|
|
599
|
+
|
|
600
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
601
|
+
|
|
602
|
+
| Param | Type | Description |
|
|
603
|
+
| --- | --- | --- |
|
|
604
|
+
| id | <code>\*</code> | 卫星ID |
|
|
605
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
606
|
+
| halfAngle | <code>\*</code> | 半角 度 |
|
|
607
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
608
|
+
|
|
609
|
+
<a name="CreateCustomSensor.createDependenceRectSensor"></a>
|
|
610
|
+
|
|
611
|
+
### CreateCustomSensor.createDependenceRectSensor(id, satelliteEntity, yHalfAngle, xHalfAngle, radius)
|
|
612
|
+
挂载矩形载荷到卫星实体
|
|
613
|
+
|
|
614
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
615
|
+
|
|
616
|
+
| Param | Type | Description |
|
|
617
|
+
| --- | --- | --- |
|
|
618
|
+
| id | <code>\*</code> | 卫星ID |
|
|
619
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
620
|
+
| yHalfAngle | <code>\*</code> | Y轴方向 运行方向 半角 度 |
|
|
621
|
+
| xHalfAngle | <code>\*</code> | X轴方向 垂直运动方向 半角 度 |
|
|
622
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
623
|
+
|
|
624
|
+
<a name="CreateCustomSensor.createIndependentRectSensor"></a>
|
|
625
|
+
|
|
626
|
+
### CreateCustomSensor.createIndependentRectSensor(id, satelliteEntity, yHalfAngle, xHalfAngle, radius)
|
|
627
|
+
创建独立矩形载荷
|
|
628
|
+
|
|
629
|
+
**Kind**: static method of [<code>CreateCustomSensor</code>](#CreateCustomSensor)
|
|
630
|
+
|
|
631
|
+
| Param | Type | Description |
|
|
632
|
+
| --- | --- | --- |
|
|
633
|
+
| id | <code>\*</code> | 卫星ID |
|
|
634
|
+
| satelliteEntity | <code>\*</code> | 卫星实体 |
|
|
635
|
+
| yHalfAngle | <code>\*</code> | Y轴方向 运行方向 半角 度 |
|
|
636
|
+
| xHalfAngle | <code>\*</code> | X轴方向 垂直运动方向 半角 度 |
|
|
637
|
+
| radius | <code>\*</code> | 半径 米 |
|
|
638
|
+
|
|
458
639
|
<a name="CreateCustomSensor.generateClusterBeams"></a>
|
|
459
640
|
|
|
460
641
|
### CreateCustomSensor.generateClusterBeams(bigHalfAngleDeg, smallHalfAngleDeg) ⇒ <code>Array</code>
|