mars3d 3.6.3 → 3.6.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.
package/dist/mars3d.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.6.3
5
- * 编译日期:2023-08-29 15:40:10
4
+ * 版本信息:v3.6.4
5
+ * 编译日期:2023-09-05 22:31:54
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:免费公开版 ,2023-03-17
8
8
  */
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.6.3
6
- * 编译日期:2023-08-29 15:40:10
5
+ * 版本信息:v3.6.4
6
+ * 编译日期:2023-09-05 22:31:54
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2023-03-17
9
9
  */
@@ -2162,6 +2162,7 @@ declare namespace LocationBar {
2162
2162
  * 【鼠标所在位置】 经度:{lng}, 纬度:{lat}, 海拔:{alt}米, 横{crsx} 纵{crsy}
2163
2163
  * 【相机的】 方向角度:{heading}, 俯仰角度:{pitch}, 视高:{cameraHeight}米,
2164
2164
  * 【地图的】 层级:{level}
2165
+ * 【地图的】 每秒帧率:{fps} (越高越流畅),延迟:{ms} 毫秒 (越小越流畅)
2165
2166
  * @param [options.latDecimal = LngLatPoint.FormatLength] - 保留的{lat}和{lng}的小数位
2166
2167
  * @param [options.crs] - 按指定坐标系显示坐标值,true时取值CRS.CGCS2000_GK_Zone_3,配置后template可以加模板:【鼠标所在位置对应的crs坐标系】 X或经度值:{crsx}, Y或纬度值:{crsy}
2167
2168
  * @param [options.crsDecimal = 1] - 保留的{crsx}和{crsy}的小数位
@@ -2170,7 +2171,6 @@ declare namespace LocationBar {
2170
2171
  * @param [options.style.bottom] - css定位bottom位置
2171
2172
  * @param [options.style.left] - css定位left位置
2172
2173
  * @param [options.style.right] - css定位right位置
2173
- * @param [options.fps = false] - 是否显示实时FPS帧率
2174
2174
  * @param [options.cacheTime = 50] - 鼠标移动的缓存时间
2175
2175
  * @param [options.id = createGuid()] - 对象的id标识
2176
2176
  * @param [options.enabled = true] - 对象的启用状态
@@ -2190,7 +2190,6 @@ declare class LocationBar extends BaseControl {
2190
2190
  left?: string;
2191
2191
  right?: string;
2192
2192
  };
2193
- fps?: boolean;
2194
2193
  cacheTime?: number;
2195
2194
  id?: string | number;
2196
2195
  enabled?: boolean;
@@ -3336,13 +3335,13 @@ declare class BloomEffect extends BaseEffect {
3336
3335
  * @param [options.color = Cesium.Color.WHITE] - 泛光颜色
3337
3336
  * @param [options.contrast = 128] - 对比度,取值范围[-255.0,255.0]
3338
3337
  * @param [options.brightness = -0.3] - 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
3338
+ * @param [options.ratio = 2.0] - 亮度增强比例
3339
+ * @param [options.threshold = 0.0] - 亮度阈值
3340
+ * @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
3339
3341
  * @param [options.blurSamples = 32.0] - 模糊样本
3340
3342
  * @param [options.delta = 1.0] - 增量
3341
3343
  * @param [options.sigma = 3.78] - delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
3342
3344
  * @param [options.stepSize = 5.0] - 步长,是下一个texel的距离
3343
- * @param [options.ratio = 2.0] - 亮度增强比例
3344
- * @param [options.threshold = 0.0] - 亮度阈值
3345
- * @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
3346
3345
  * @param [options.objectsToExclude] - 排除不拾取的对象,支持TilesetLayer或Graphic对象
3347
3346
  * @param [options.enabled = true] - 对象的启用状态
3348
3347
  */
@@ -3352,24 +3351,60 @@ declare class BloomTargetEffect extends BaseEffect {
3352
3351
  color?: Cesium.Color;
3353
3352
  contrast?: number;
3354
3353
  brightness?: number;
3354
+ ratio?: number;
3355
+ threshold?: number;
3356
+ smoothWidth?: number;
3355
3357
  blurSamples?: number;
3356
3358
  delta?: number;
3357
3359
  sigma?: number;
3358
3360
  stepSize?: number;
3359
- ratio?: number;
3360
- threshold?: number;
3361
- smoothWidth?: number;
3362
3361
  objectsToExclude?: any[];
3363
3362
  enabled?: boolean;
3364
3363
  });
3364
+ /**
3365
+ * 高亮触发的事件类型,默认为单击。
3366
+ */
3367
+ eventType: EventType | string;
3365
3368
  /**
3366
3369
  * 发光颜色
3367
3370
  */
3368
3371
  color: Cesium.Color;
3369
3372
  /**
3370
- * 高亮触发的事件类型,默认为单击。
3373
+ * 对比度,取值范围[-255.0,255.0]
3371
3374
  */
3372
- eventType: EventType | string;
3375
+ contrast: number;
3376
+ /**
3377
+ * 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
3378
+ */
3379
+ brightness: number;
3380
+ /**
3381
+ * 模糊样本
3382
+ */
3383
+ blurSamples: number;
3384
+ /**
3385
+ * 增量
3386
+ */
3387
+ delta: number;
3388
+ /**
3389
+ * delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
3390
+ */
3391
+ sigma: number;
3392
+ /**
3393
+ * 步长,是下一个texel的距离
3394
+ */
3395
+ stepSize: number;
3396
+ /**
3397
+ * 亮度增强比例
3398
+ */
3399
+ ratio: number;
3400
+ /**
3401
+ * 亮度阈值
3402
+ */
3403
+ threshold: number;
3404
+ /**
3405
+ * 亮度光滑的宽度
3406
+ */
3407
+ smoothWidth: number;
3373
3408
  /**
3374
3409
  * 选中对象 ,仅支持Primitive、3DTiles Feature等部分对象
3375
3410
  */
@@ -3504,7 +3539,7 @@ declare namespace OutlineEffect {
3504
3539
  * @property [width = 6] - 线宽,单位:像素px
3505
3540
  * @property [color = Cesium.Color.WHITE] - 轮廓线 颜色
3506
3541
  * @property [colorHidden = color] - 被遮挡的轮廓线 颜色
3507
- * @property [showPlane = false] - 是否显示边缘同一个平面(按thresholdAngle属性定义)
3542
+ * @property [showPlane = false] - 是否显示边缘同一个平面(按planeAngle属性定义)
3508
3543
  * @property [planeAngle = 10] - 如果两个三角面的法线间夹角小于该值 则标记为同一个平面。该值的单位:角度
3509
3544
  * @property [glow = false] - 是否显示发光
3510
3545
  * @property [glowPower = 1] - 发光强度
@@ -3539,6 +3574,10 @@ declare class OutlineEffect extends BaseEffect {
3539
3574
  * 选中对象 ,仅支持Primitive、3DTiles Feature等部分对象
3540
3575
  */
3541
3576
  selected: any | any | undefined;
3577
+ /**
3578
+ * 线宽,单位:像素px
3579
+ */
3580
+ width: number;
3542
3581
  /**
3543
3582
  * 轮廓线 颜色
3544
3583
  */
@@ -3548,21 +3587,13 @@ declare class OutlineEffect extends BaseEffect {
3548
3587
  */
3549
3588
  colorHidden: string | Cesium.Color;
3550
3589
  /**
3551
- * 如果两个三角面的法线间夹角小于该值 则标记为同一个平面。该值的单位:角度
3552
- */
3553
- planeAngle: number;
3554
- /**
3555
- * 高亮触发的事件类型,默认为单击。
3556
- */
3557
- eventType: EventType | string;
3558
- /**
3559
- * 轮廓线 宽度,单位:像素px
3590
+ * 是否显示边缘同一个平面(按planeAngle属性定义)
3560
3591
  */
3561
- width: number;
3592
+ showPlane: boolean;
3562
3593
  /**
3563
- * 是否显示边缘同一个平面(按thresholdAngle属性定义)
3594
+ * 如果两个三角面的法线间夹角小于该值 则标记为同一个平面。该值的单位:角度
3564
3595
  */
3565
- showPlane: boolean;
3596
+ planeAngle: number;
3566
3597
  /**
3567
3598
  * 是否显示发光
3568
3599
  */
@@ -3576,9 +3607,9 @@ declare class OutlineEffect extends BaseEffect {
3576
3607
  */
3577
3608
  glowStrength: number;
3578
3609
  /**
3579
- * 只显示选中构件
3610
+ * 高亮触发的事件类型,默认为单击。
3580
3611
  */
3581
- onlySelected: boolean;
3612
+ eventType: EventType | string;
3582
3613
  }
3583
3614
 
3584
3615
  /**
@@ -3640,12 +3671,18 @@ declare class SnowCoverEffect extends BaseEffect {
3640
3671
  * @param [options] - 参数对象,包括以下:
3641
3672
  * @param [options.enabled = true] - 对象的启用状态
3642
3673
  * @param [options.speed = 10] - 速度
3674
+ * @param [options.maxHeight = 9000] - 最大高度,限定超出该高度不显示积雪效果
3643
3675
  */
3644
3676
  declare class SnowEffect extends BaseEffect {
3645
3677
  constructor(options?: {
3646
3678
  enabled?: boolean;
3647
3679
  speed?: number;
3680
+ maxHeight?: number;
3648
3681
  });
3682
+ /**
3683
+ * 最高限定高度,超出该高度不显示积雪效果
3684
+ */
3685
+ maxHeight: number;
3649
3686
  /**
3650
3687
  * 速度
3651
3688
  */
@@ -3865,6 +3902,12 @@ declare class BaseGraphic extends BaseClass {
3865
3902
  * graphic.availability = { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false }
3866
3903
  */
3867
3904
  availability: Cesium.TimeIntervalCollection;
3905
+ /**
3906
+ * 获取指定时间下的时序对应的 显示隐藏 状态
3907
+ * @param time - 指定时间
3908
+ * @returns 显示隐藏 状态
3909
+ */
3910
+ getAvailabilityShow(time: Cesium.JulianDate): boolean;
3868
3911
  /**
3869
3912
  * 名称
3870
3913
  */
@@ -4900,81 +4943,6 @@ declare class FlatBillboard extends BaseCombine {
4900
4943
  redraw(style?: any): BasePrimitive;
4901
4944
  }
4902
4945
 
4903
- /**
4904
- * 大数据 四棱锥体 集合 (合并渲染) Primitive图元 矢量对象
4905
- * @param options - 参数对象,包括以下:
4906
- * @param [options.instances] - 面信息数组,单个对象包括:
4907
- * @param options.instances.position - 坐标位置
4908
- * @param [options.instances.style] - 样式信息
4909
- * @param [options.instances.attr] - 矢量数据的 属性信息,可以任意附加属性。
4910
- * @param [options.style] - 所有面的公共样式信息
4911
- * @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
4912
- * @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
4913
- * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
4914
- * @param [options.attributes] - [cesium原生]每个实例的属性。
4915
- * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
4916
- * @param [options.vertexCacheOptimize = false] - 当true,几何顶点优化前和后顶点着色缓存。
4917
- * @param [options.interleave = false] - 当true时,几何顶点属性被交叉,这可以略微提高渲染性能,但会增加加载时间。
4918
- * @param [options.compressVertices = true] - 当true时,几何顶点被压缩,这将节省内存。提升效率。
4919
- * @param [options.releaseGeometryInstances = true] - 当true时,图元不保留对输入geometryInstances的引用以节省内存。
4920
- * @param [options.allowPicking = true] - 当true时,每个几何图形实例只能通过{@link Scene#pick}进行挑选。当false时,保存GPU内存。
4921
- * @param [options.cull = true] - 当true时,渲染器会根据图元的边界体积来剔除它们的截锥和地平线。设置为false,如果你手动剔除图元,可以获得较小的性能提升。
4922
- * @param [options.asynchronous = true] - 确定该图元是异步创建还是阻塞创建,直到就绪。
4923
- * @param [options.debugShowBoundingVolume = false] - 仅供调试。确定该图元命令的边界球是否显示。
4924
- * @param [options.debugShowShadowVolume = false] - 仅供调试。贴地时,确定是否绘制了图元中每个几何图形的阴影体积。必须是true创建卷之前要释放几何图形或选项。releaseGeometryInstance必须是false。
4925
- * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
4926
- * @param [options.popupOptions] - popup弹窗时的配置参数
4927
- * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
4928
- * @param [options.tooltipOptions] - tooltip弹窗时的配置参数
4929
- * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
4930
- * @param [options.id = createGuid()] - 矢量数据id标识
4931
- * @param [options.name = ''] - 矢量数据名称
4932
- * @param [options.show = true] - 矢量数据是否显示
4933
- * @param [options.availability] - 指定时间范围内显示该对象
4934
- * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4935
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4936
- * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4937
- * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4938
- */
4939
- declare class FrustumCombine extends BasePointCombine {
4940
- constructor(options: {
4941
- instances?: {
4942
- position: LngLatPoint | Cesium.Cartesian3 | any[] | any;
4943
- style?: FrustumPrimitive.StyleOptions | any;
4944
- attr?: any;
4945
- }[];
4946
- style?: FrustumPrimitive.StyleOptions | any;
4947
- highlight?: {
4948
- type?: string;
4949
- };
4950
- appearance?: Cesium.Appearance;
4951
- attributes?: Cesium.Appearance;
4952
- depthFailAppearance?: Cesium.Appearance;
4953
- vertexCacheOptimize?: boolean;
4954
- interleave?: boolean;
4955
- compressVertices?: boolean;
4956
- releaseGeometryInstances?: boolean;
4957
- allowPicking?: boolean;
4958
- cull?: boolean;
4959
- asynchronous?: boolean;
4960
- debugShowBoundingVolume?: boolean;
4961
- debugShowShadowVolume?: boolean;
4962
- popup?: string | any[] | ((...params: any[]) => any);
4963
- popupOptions?: Popup.StyleOptions | any;
4964
- tooltip?: string | any[] | ((...params: any[]) => any);
4965
- tooltipOptions?: Tooltip.StyleOptions | any;
4966
- contextmenuItems?: any;
4967
- id?: string | number;
4968
- name?: string;
4969
- show?: boolean;
4970
- availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
4971
- eventParent?: BaseClass | boolean;
4972
- allowDrillPick?: boolean | ((...params: any[]) => any);
4973
- flyTo?: boolean;
4974
- flyToOptions?: any;
4975
- });
4976
- }
4977
-
4978
4946
  /**
4979
4947
  * 大数据 平面 集合 (合并渲染) Primitive图元 矢量对象
4980
4948
  * @param options - 参数对象,包括以下:
@@ -6450,7 +6418,7 @@ declare class Route extends BasePointPrimitive {
6450
6418
  * 更新视角模式,传入空值代表取消。
6451
6419
  * @param [cameraOptions] - 参数,包括:
6452
6420
  * @param [cameraOptions.type] - 视角模式类型,包括:'':无、'gs':跟随视角、'dy':第一视角、'sd':上帝视角
6453
- * @param [cameraOptions.radius] - 'gs'跟随视角时的 初始俯仰距离值(单位:米)
6421
+ * @param [cameraOptions.radius] - 'gs'跟随视角时的 离目标的距离值(单位:米)
6454
6422
  * @param [cameraOptions.heading] - 'gs'跟随视角时的 初始方向角度值,绕垂直于地心的轴旋转角度, 0至360
6455
6423
  * @param [cameraOptions.pitch] - 'gs'跟随视角时的 初始俯仰角度值,绕纬度线旋转角度, 0至360 *
6456
6424
  * @param [cameraOptions.followedX = 50] - 'dy'锁定第一视角时,距离运动点的距离(后方)
@@ -7073,7 +7041,7 @@ declare namespace DivBoderLabel {
7073
7041
  * @param [options.hasEdit = true] - 是否允许编辑
7074
7042
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7075
7043
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7076
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7044
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7077
7045
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7078
7046
  * @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7079
7047
  * @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
@@ -7184,7 +7152,7 @@ declare namespace DivGraphic {
7184
7152
  * @param [options.hasEdit = true] - 是否允许编辑
7185
7153
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7186
7154
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7187
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7155
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7188
7156
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7189
7157
  * @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7190
7158
  * @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
@@ -7471,7 +7439,7 @@ declare namespace DivLightPoint {
7471
7439
  * @param [options.hasEdit = true] - 是否允许编辑
7472
7440
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7473
7441
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7474
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7442
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7475
7443
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7476
7444
  * @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7477
7445
  * @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
@@ -7586,7 +7554,7 @@ declare namespace DivUpLabel {
7586
7554
  * @param [options.hasEdit = true] - 是否允许编辑
7587
7555
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7588
7556
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7589
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7557
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7590
7558
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7591
7559
  * @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7592
7560
  * @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
@@ -7745,7 +7713,7 @@ declare namespace Popup {
7745
7713
  * @param [options.autoClose = true] - 在打开弹窗时,是否自动关闭之前的弹窗
7746
7714
  * @param [options.animation = true] - 是否执行打开时的动画效果
7747
7715
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7748
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7716
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7749
7717
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7750
7718
  * @param [options.zIndex = "10000000"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7751
7719
  * @param [options.depthTest = false] - 是否打开深度判断(true时判断是否在球背面)
@@ -7851,7 +7819,7 @@ declare namespace Tooltip {
7851
7819
  * @param options.style - 样式信息
7852
7820
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
7853
7821
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7854
- * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7822
+ * @param [options.pointerEvents] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7855
7823
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
7856
7824
  * @param [options.zIndex = "10000000"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
7857
7825
  * @param [options.depthTest = false] - 是否打开深度判断(true时判断是否在球背面)
@@ -8550,6 +8518,38 @@ declare class BillboardEntity extends BasePointEntity {
8550
8518
  * @returns 无
8551
8519
  */
8552
8520
  stopBounce(): void;
8521
+ /**
8522
+ * 指定时间范围内显示该对象 [提示:仅部分子类实现,非所有对象都支持]
8523
+ * @example
8524
+ * // cesium原生写法,单个
8525
+ * graphic.availability = new Cesium.TimeInterval({
8526
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
8527
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
8528
+ * isStartIncluded: true,
8529
+ * isStopIncluded: false
8530
+ * })
8531
+ *
8532
+ * // cesium原生写法, 多个
8533
+ * graphic.availability = new Cesium.TimeIntervalCollection([
8534
+ * new Cesium.TimeInterval({
8535
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
8536
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
8537
+ * isStartIncluded: true,
8538
+ * isStopIncluded: false
8539
+ * }),
8540
+ *
8541
+ * ])
8542
+ *
8543
+ * // 普通传值方式,多个
8544
+ * graphic.availability = [
8545
+ * { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false },
8546
+ * { start: "2017-08-25 09:00:00", stop: "2017-08-25 09:02:30" }
8547
+ * ]
8548
+ *
8549
+ * // 普通传值方式,单个
8550
+ * graphic.availability = { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false }
8551
+ */
8552
+ availability: Cesium.TimeIntervalCollection;
8553
8553
  }
8554
8554
 
8555
8555
  declare namespace BoxEntity {
@@ -10813,6 +10813,38 @@ declare class ModelEntity extends BasePointEntity {
10813
10813
  * 四周方向角,0-360度角度值
10814
10814
  */
10815
10815
  heading: number;
10816
+ /**
10817
+ * 指定时间范围内显示该对象 [提示:仅部分子类实现,非所有对象都支持]
10818
+ * @example
10819
+ * // cesium原生写法,单个
10820
+ * graphic.availability = new Cesium.TimeInterval({
10821
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
10822
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
10823
+ * isStartIncluded: true,
10824
+ * isStopIncluded: false
10825
+ * })
10826
+ *
10827
+ * // cesium原生写法, 多个
10828
+ * graphic.availability = new Cesium.TimeIntervalCollection([
10829
+ * new Cesium.TimeInterval({
10830
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
10831
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
10832
+ * isStartIncluded: true,
10833
+ * isStopIncluded: false
10834
+ * }),
10835
+ *
10836
+ * ])
10837
+ *
10838
+ * // 普通传值方式,多个
10839
+ * graphic.availability = [
10840
+ * { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false },
10841
+ * { start: "2017-08-25 09:00:00", stop: "2017-08-25 09:02:30" }
10842
+ * ]
10843
+ *
10844
+ * // 普通传值方式,单个
10845
+ * graphic.availability = { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false }
10846
+ */
10847
+ availability: Cesium.TimeIntervalCollection;
10816
10848
  }
10817
10849
 
10818
10850
  declare namespace PathEntity {
@@ -10991,6 +11023,38 @@ declare class PathEntity extends BasePointEntity {
10991
11023
  * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
10992
11024
  */
10993
11025
  position: Cesium.Cartesian3 | LngLatPoint;
11026
+ /**
11027
+ * 指定时间范围内显示该对象 [提示:仅部分子类实现,非所有对象都支持]
11028
+ * @example
11029
+ * // cesium原生写法,单个
11030
+ * graphic.availability = new Cesium.TimeInterval({
11031
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
11032
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
11033
+ * isStartIncluded: true,
11034
+ * isStopIncluded: false
11035
+ * })
11036
+ *
11037
+ * // cesium原生写法, 多个
11038
+ * graphic.availability = new Cesium.TimeIntervalCollection([
11039
+ * new Cesium.TimeInterval({
11040
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
11041
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
11042
+ * isStartIncluded: true,
11043
+ * isStopIncluded: false
11044
+ * }),
11045
+ *
11046
+ * ])
11047
+ *
11048
+ * // 普通传值方式,多个
11049
+ * graphic.availability = [
11050
+ * { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false },
11051
+ * { start: "2017-08-25 09:00:00", stop: "2017-08-25 09:02:30" }
11052
+ * ]
11053
+ *
11054
+ * // 普通传值方式,单个
11055
+ * graphic.availability = { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false }
11056
+ */
11057
+ availability: Cesium.TimeIntervalCollection;
10994
11058
  }
10995
11059
 
10996
11060
  declare namespace PitEntity {
@@ -11331,6 +11395,38 @@ declare class PointEntity extends BasePointEntity {
11331
11395
  * 矢量数据对应的 Cesium内部对象的具体类型对象
11332
11396
  */
11333
11397
  readonly entityGraphic: Cesium.PointGraphics;
11398
+ /**
11399
+ * 指定时间范围内显示该对象 [提示:仅部分子类实现,非所有对象都支持]
11400
+ * @example
11401
+ * // cesium原生写法,单个
11402
+ * graphic.availability = new Cesium.TimeInterval({
11403
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
11404
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
11405
+ * isStartIncluded: true,
11406
+ * isStopIncluded: false
11407
+ * })
11408
+ *
11409
+ * // cesium原生写法, 多个
11410
+ * graphic.availability = new Cesium.TimeIntervalCollection([
11411
+ * new Cesium.TimeInterval({
11412
+ * start: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:00")),
11413
+ * stop: Cesium.JulianDate.fromDate(new Date("2017-08-25 08:00:20")),
11414
+ * isStartIncluded: true,
11415
+ * isStopIncluded: false
11416
+ * }),
11417
+ *
11418
+ * ])
11419
+ *
11420
+ * // 普通传值方式,多个
11421
+ * graphic.availability = [
11422
+ * { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false },
11423
+ * { start: "2017-08-25 09:00:00", stop: "2017-08-25 09:02:30" }
11424
+ * ]
11425
+ *
11426
+ * // 普通传值方式,单个
11427
+ * graphic.availability = { start: "2017-08-25 08:00:00", stop: "2017-08-25 08:01:20", isStartIncluded: true, isStopIncluded: false }
11428
+ */
11429
+ availability: Cesium.TimeIntervalCollection;
11334
11430
  }
11335
11431
 
11336
11432
  declare namespace PolygonEntity {
@@ -16202,6 +16298,7 @@ declare namespace FrustumPrimitive {
16202
16298
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
16203
16299
  * @param [options.targetPosition] - 追踪的目标位置
16204
16300
  * @param [options.camera] - 支持直接传入相机对象,替代style中的方向参数
16301
+ * @param [options.fixedFrameTransform = Cesium.Transforms.northEastDownToFixedFrame] - 参考系
16205
16302
  * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
16206
16303
  * @param [options.attributes] - [cesium原生]每个实例的属性。
16207
16304
  * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
@@ -16235,6 +16332,7 @@ declare class FrustumPrimitive extends BasePointPrimitive {
16235
16332
  attr?: any;
16236
16333
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
16237
16334
  camera?: Cesium.Camera;
16335
+ fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
16238
16336
  appearance?: Cesium.Appearance;
16239
16337
  attributes?: Cesium.Appearance;
16240
16338
  depthFailAppearance?: Cesium.Appearance;
@@ -17640,6 +17738,8 @@ declare namespace ReflectionWater {
17640
17738
  * @property [ripple = 50.0] - 波纹大小(数值越大,波纹越密集)
17641
17739
  * @property [distortion = 3.7] - 倒影的扭曲程度
17642
17740
  * @property [shiny = 100.0] - 光照强度
17741
+ * @property [animationSpeed = 1.0] - 控制水的动画速度的数字。
17742
+ * @property [specularIntensity = 0.3] - 控制镜面反射强度的数字。
17643
17743
  * @property [lightDirection = new Cesium.Cartesian3(0, 0, 1)] - 光照方向,单位向量。原点为水面中心点,水面中心点由 options.positions 决定,X、Y、Z轴对应水面中心点的东、北、上方向。(默认为0,0,1)
17644
17744
  * @property [stRotation = 0] - 水流方向的角度(弧度值),正北为0,逆时针旋转
17645
17745
  * @property [stRotationDegree = 0] - 水流方向的角度(度数值,0-360度),与stRotation二选一
@@ -17659,6 +17759,8 @@ declare namespace ReflectionWater {
17659
17759
  ripple?: number;
17660
17760
  distortion?: number;
17661
17761
  shiny?: number;
17762
+ animationSpeed?: number;
17763
+ specularIntensity?: number;
17662
17764
  lightDirection?: Cesium.Cartesian3;
17663
17765
  stRotation?: number;
17664
17766
  stRotationDegree?: number;
@@ -29606,31 +29708,6 @@ declare class Tle {
29606
29708
  * @returns ECI(地心惯性坐标系)坐标
29607
29709
  */
29608
29710
  static ecfToEci(positionEcf: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number): Cesium.Cartesian3;
29609
- /**
29610
- * 开普勒六根数 转换到 两行轨道根数 【测试算法,待验证优化】
29611
- * @param options - 参数:
29612
- * @param options.name - 卫星两位数编号,如01,最多五位数
29613
- * @param options.epochYear - 发射年份(最后两位数字),比如2017年时传入17
29614
- * @param options.epochDay - 开始时间,每年1月1日0点为0,后逐渐累积,整数部分为日,小数部分为时分秒
29615
- * @param options.inclination - 轨道的交角,倾角,单位:度
29616
- * @param options.rightAscension - 升交点赤经,单位:度
29617
- * @param options.eccentricity - 轨道偏心率
29618
- * @param options.perigee - 近地点角矩(deg)
29619
- * @param options.meanAnomaly - 平近点角,单位:度
29620
- * @param options.meanMotion - 每天绕地球公转圈数(平均运动)
29621
- * @returns 两行轨道根数
29622
- */
29623
- static coe2tle(options: {
29624
- name: string;
29625
- epochYear: number;
29626
- epochDay: number;
29627
- inclination: number;
29628
- rightAscension: number;
29629
- eccentricity: number;
29630
- perigee: number;
29631
- meanAnomaly: number;
29632
- meanMotion: number;
29633
- }): string[];
29634
29711
  /**
29635
29712
  * 两行轨道根数 转换到 开普勒六根数
29636
29713
  * @param tle1 - 两行轨道根数1
@@ -36538,6 +36615,12 @@ declare namespace Util {
36538
36615
  * @returns JulianDate时间
36539
36616
  */
36540
36617
  function getAvailability(availability: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any): Cesium.TimeIntervalCollection;
36618
+ /**
36619
+ * 获取时间范围的简单对象数组,用于对象的编辑
36620
+ * @param availability - 指定时间范围
36621
+ * @returns JulianDate时间
36622
+ */
36623
+ function getAvailabilityJson(availability: Cesium.TimeIntervalCollection): any;
36541
36624
  /**
36542
36625
  * 取属性值,简化Cesium内的属性,去掉getValue等,取最简的键值对。
36543
36626
  * 方便popup、tooltip等构造方法使用
@@ -37198,6 +37281,7 @@ declare namespace layer {
37198
37281
  declare namespace query {
37199
37282
  export { BaiduPOI }
37200
37283
  export { GaodePOI }
37284
+ export { TdtPOI }
37201
37285
  export { GaodeRoute }
37202
37286
  export { QueryGeoServer }
37203
37287
  export { QueryArcServer }