bruce-cesium 4.4.2 → 4.4.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.
@@ -1,2 +1,3 @@
1
1
  import * as Cesium from "cesium";
2
2
  export declare function OnNextRender(viewer: Cesium.Viewer, callback: () => void): void;
3
+ export declare function GetValue<T>(viewer: Cesium.Viewer, obj: Cesium.Property | any): T;
@@ -129,12 +129,20 @@ export declare namespace CesiumAnimatedProperty {
129
129
  class AnimatePositionSeries {
130
130
  private viewer;
131
131
  private positions;
132
- private cachedCalc;
133
- private cachedTime;
132
+ private lastCalcPos3d;
133
+ private lastCalcPosIndexLast;
134
+ private lastCalcPosIndexNext;
135
+ private lastCalcTime;
136
+ private lastCalcSeriesPos3d;
137
+ private lastCalcSeriesTime;
134
138
  constructor(params: {
135
139
  viewer: Cesium.Viewer;
136
140
  posses: IAnimateSeriesPos[];
137
141
  });
138
142
  GetValue(): Cesium.Cartesian3;
143
+ /**
144
+ * Returns a series of positions to use for rendering the path.
145
+ */
146
+ GetSeries(): Cesium.Cartesian3[];
139
147
  }
140
148
  }
@@ -13,6 +13,8 @@ export declare namespace EntityRenderEngine {
13
13
  _siblingGraphics?: Cesium.Entity[];
14
14
  _parentEntity?: Cesium.Entity;
15
15
  _renderGroup?: string;
16
+ _noEdit?: boolean;
17
+ _noSelect?: boolean;
16
18
  }
17
19
  interface ICesiumBillboardExt extends Cesium.BillboardGraphics {
18
20
  _billboardSize?: number;
@@ -36,6 +38,7 @@ export declare namespace EntityRenderEngine {
36
38
  zoomControl: ZoomControl.IItem[];
37
39
  entities: Entity.IEntity[];
38
40
  entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
41
+ entityHistoricDrawTrack?: boolean;
39
42
  force?: boolean;
40
43
  optimizeGeometry?: boolean;
41
44
  optimizeMinPoints?: number;
@@ -56,11 +59,13 @@ export declare namespace EntityRenderEngine {
56
59
  style: Style.IPointSettings;
57
60
  entity: Entity.IEntity;
58
61
  entityHistoric?: EntityHistoricData.IData[];
62
+ entityHistoricDrawTrack?: boolean;
59
63
  tags: EntityTag.ITag[];
60
64
  viewer: Cesium.Viewer;
61
65
  maxDistance?: number;
62
66
  minDistance?: number;
63
67
  rendered?: ICesiumEntityExt;
68
+ fullStyle?: Style.IEntitySettings;
64
69
  }
65
70
  interface IGroupParams {
66
71
  rendered?: Map<string, ICesiumEntityExt>;
@@ -68,6 +73,7 @@ export declare namespace EntityRenderEngine {
68
73
  menuItemId: string;
69
74
  entities: Entity.IEntity[];
70
75
  entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
76
+ entityHistoricDrawTrack?: boolean;
71
77
  zoomItems: IDictionary<ZoomControl.IItem>;
72
78
  visualRegister: VisualsRegister.Register;
73
79
  viewer: Cesium.Viewer;
@@ -131,6 +137,7 @@ export declare namespace EntityRenderEngine {
131
137
  style: Style.IModelSettings;
132
138
  entity: Entity.IEntity;
133
139
  entityHistoric?: EntityHistoricData.IData[];
140
+ entityHistoricDrawTrack?: boolean;
134
141
  tags: EntityTag.ITag[];
135
142
  viewer: Cesium.Viewer;
136
143
  maxDistance?: number;
@@ -142,6 +149,7 @@ export declare namespace EntityRenderEngine {
142
149
  menuItemId: string;
143
150
  entities: Entity.IEntity[];
144
151
  entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
152
+ entityHistoricDrawTrack?: boolean;
145
153
  zoomItems: IDictionary<ZoomControl.IItem>;
146
154
  visualRegister: VisualsRegister.Register;
147
155
  viewer: Cesium.Viewer;
@@ -69,6 +69,8 @@ export declare namespace EntityUtils {
69
69
  */
70
70
  function GatherEntity(params: {
71
71
  entity: VisualsRegister.Visual;
72
+ editable?: boolean;
73
+ selectable?: boolean;
72
74
  }): VisualsRegister.Visual[];
73
75
  /**
74
76
  * Looks at given entities with least amount of movement.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-cesium",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-cesium.umd.js",
@@ -72,7 +72,7 @@
72
72
  "typescript": "^5.0.4"
73
73
  },
74
74
  "dependencies": {
75
- "bruce-models": "^4.9.2",
75
+ "bruce-models": "^4.9.4",
76
76
  "tslib": "^2.4.1"
77
77
  }
78
78
  }