bruce-cesium 4.0.1 → 4.0.3

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,6 +1,6 @@
1
1
  import { BruceEvent, Cartes, Carto, Entity as Entity$1, Geometry, Tileset, MathUtils, LRUCache, ProjectViewTile, DelayQueue, ZoomControl, Style, EntityTag, Calculator, EntityLod, EntityType, ClientFile, ObjectUtils, Bounds, Api, EntityRelationType, ENVIRONMENT, EntityHistoricData, EntityCoords, EntitySource, MenuItem, EntityRelation, ProgramKey, AbstractApi, ProjectViewBookmark, EntityAttachment, EntityAttachmentType, EntityAttribute, ProjectView, ProjectViewLegacyTile, Camera } from 'bruce-models';
2
2
  import * as Cesium from 'cesium';
3
- import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, DistanceDisplayCondition, NearFarScalar, Model, ColorMaterialProperty, Entity, HorizontalOrigin, VerticalOrigin, ConstantProperty, ConstantPositionProperty, ClassificationType, ArcType, CornerType, ShadowMode, PolygonHierarchy, PolylineGraphics, ColorBlendMode, HeadingPitchRoll, Transforms, Primitive, Cesium3DTileFeature, SceneMode, GeoJsonDataSource, Cesium3DTileColorBlendMode, HeadingPitchRange, Ion, Cesium3DTileStyle, KmlDataSource, SceneTransforms, OrthographicFrustum, EasingFunction, EllipsoidGeodesic, EllipsoidTerrainProvider, sampleTerrainMostDetailed, defined, Cesium3DTileset, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, UrlTemplateImageryProvider, TileMapServiceImageryProvider, IonImageryProvider, CesiumTerrainProvider, Matrix4, Matrix3, IonResource, PolygonPipeline, CesiumInspector, ClockRange, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, BoundingSphere, GeometryInstance, ScreenSpaceEventHandler, ScreenSpaceEventType, CzmlDataSource, Quaternion, Intersect } from 'cesium';
3
+ import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, SceneMode, DistanceDisplayCondition, NearFarScalar, Model, ColorMaterialProperty, Entity, HorizontalOrigin, VerticalOrigin, ConstantProperty, ConstantPositionProperty, ClassificationType, ArcType, CornerType, ShadowMode, PolygonHierarchy, PolylineGraphics, ColorBlendMode, HeadingPitchRoll, Transforms, GeoJsonDataSource, Primitive, Cesium3DTileFeature, Cesium3DTileColorBlendMode, HeadingPitchRange, Ion, Cesium3DTileStyle, KmlDataSource, SceneTransforms, OrthographicFrustum, EasingFunction, EllipsoidTerrainProvider, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, UrlTemplateImageryProvider, TileMapServiceImageryProvider, IonImageryProvider, CesiumTerrainProvider, Cesium3DTileset, Matrix4, Matrix3, IonResource, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, CesiumInspector, ClockRange, PolygonPipeline, BoundingSphere, GeometryInstance, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, ScreenSpaceEventHandler, ScreenSpaceEventType, CzmlDataSource, Quaternion, Intersect } from 'cesium';
4
4
 
5
5
  /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2417,7 +2417,7 @@ var EntityUtils;
2417
2417
  });
2418
2418
  }); };
2419
2419
  getEntityPositions = function (sample) { return __awaiter(_this, void 0, void 0, function () {
2420
- var entityId, entity, tileset, tilesetId, disallowRendered, evaluateRendered, evaluateRecord, renderedPosses, e_1, recordPosses, e_2, tilesetIds, tSettings, pos3d, eLocation, alt, alt, worldPosition, eTransform, heading, pitch, roll, matrix4, offset, m1, hpr, transform, transformedOffset, geometryRadius, sphere;
2420
+ var entityId, entity, tileset, tilesetId, disallowRendered, evaluateRendered, evaluateRecord, renderedPosses, e_1, recordPosses, e_2, tilesetIds, tSettings, pos3d, eLocation, alt, alt, worldPosition, eTransform, heading, pitch, roll, matrix4, offset, worldPivot, m1, hpr, transform, transformedOffset, geometryRadius, sphere;
2421
2421
  var _this = this;
2422
2422
  var _a, _b, _c, _d;
2423
2423
  return __generator(this, function (_e) {
@@ -2582,7 +2582,7 @@ var EntityUtils;
2582
2582
  posses = [];
2583
2583
  location = Entity$1.GetValue({
2584
2584
  entity: entity,
2585
- path: ["Bruce", "location"]
2585
+ path: ["Bruce", "Location"]
2586
2586
  });
2587
2587
  if (location && typeof location == "object" && Carto.ValidateCarto(location)) {
2588
2588
  latitude = EnsureNumber(location.latitude);
@@ -2595,7 +2595,7 @@ var EntityUtils;
2595
2595
  }
2596
2596
  geometry = Entity$1.GetValue({
2597
2597
  entity: entity,
2598
- path: ["Bruce", "geometry"]
2598
+ path: ["Bruce", "VectorGeometry"]
2599
2599
  });
2600
2600
  if (!(geometry && typeof geometry == "object")) return [3 /*break*/, 4];
2601
2601
  pointStr = geometry.Point;
@@ -2634,7 +2634,7 @@ var EntityUtils;
2634
2634
  case 4:
2635
2635
  boundaries = Entity$1.GetValue({
2636
2636
  entity: entity,
2637
- path: ["boundaries"]
2637
+ path: ["Bruce, Boundaries"]
2638
2638
  });
2639
2639
  if (!(boundaries && typeof boundaries == "object")) return [3 /*break*/, 6];
2640
2640
  point = {
@@ -2716,7 +2716,7 @@ var EntityUtils;
2716
2716
  if (!tilesetId) {
2717
2717
  tilesetIds = Entity$1.GetValue({
2718
2718
  entity: entity,
2719
- path: ["Bruce", "tilesetID"]
2719
+ path: ["Bruce", "TilesetIDs"]
2720
2720
  });
2721
2721
  tilesetId = (tilesetIds === null || tilesetIds === void 0 ? void 0 : tilesetIds.length) ? tilesetIds[0] : tilesetId;
2722
2722
  }
@@ -2735,7 +2735,7 @@ var EntityUtils;
2735
2735
  pos3d = null;
2736
2736
  eLocation = Entity$1.GetValue({
2737
2737
  entity: entity,
2738
- path: ["Bruce", "location"]
2738
+ path: ["Bruce", "Location"]
2739
2739
  });
2740
2740
  if (!((eLocation === null || eLocation === void 0 ? void 0 : eLocation.longitude) || ((_a = tSettings === null || tSettings === void 0 ? void 0 : tSettings.location) === null || _a === void 0 ? void 0 : _a.longitude))) return [3 /*break*/, 16];
2741
2741
  if (eLocation === null || eLocation === void 0 ? void 0 : eLocation.longitude) {
@@ -2754,12 +2754,12 @@ var EntityUtils;
2754
2754
  }
2755
2755
  worldPosition = Entity$1.GetValue({
2756
2756
  entity: entity,
2757
- path: ["Bruce", "transform", "worldPosition"]
2757
+ path: ["Bruce", "AssemblyWorldPosition"]
2758
2758
  });
2759
2759
  if (!worldPosition) return [3 /*break*/, 16];
2760
2760
  eTransform = Entity$1.GetValue({
2761
2761
  entity: entity,
2762
- path: ["Bruce", "transform"]
2762
+ path: ["Bruce", "Transform"]
2763
2763
  });
2764
2764
  heading = 0;
2765
2765
  pitch = 0;
@@ -2796,9 +2796,13 @@ var EntityUtils;
2796
2796
  }
2797
2797
  matrix4 = worldPosition;
2798
2798
  offset = new Cartesian3(+matrix4[0][3], +matrix4[1][3], +matrix4[2][3]);
2799
- if (entity.worldPivot) //the position from worldMatrix + center of geometry offset
2799
+ worldPivot = Entity$1.GetValue({
2800
+ entity: entity,
2801
+ path: ["Bruce", "GeometryWorldPivot"]
2802
+ });
2803
+ if (worldPivot) //the position from worldMatrix + center of geometry offset
2800
2804
  {
2801
- offset = new Cartesian3(entity.worldPivot[0], entity.worldPivot[1], entity.worldPivot[2]);
2805
+ offset = new Cartesian3(worldPivot[0], worldPivot[1], worldPivot[2]);
2802
2806
  }
2803
2807
  m1 = Transforms.eastNorthUpToFixedFrame(pos3d);
2804
2808
  hpr = HeadingPitchRoll.fromDegrees(heading, pitch, roll, new HeadingPitchRoll());
@@ -2813,7 +2817,7 @@ var EntityUtils;
2813
2817
  case 15:
2814
2818
  geometryRadius = Entity$1.GetValue({
2815
2819
  entity: entity,
2816
- path: ["Bruce", "geometryRadius"]
2820
+ path: ["Bruce", "GeometryRadius"]
2817
2821
  });
2818
2822
  if (geometryRadius && (pos3d === null || pos3d === void 0 ? void 0 : pos3d.x)) {
2819
2823
  sphere = BoundingSphere.fromPoints([pos3d]);
@@ -2986,7 +2990,7 @@ var EntityUtils;
2986
2990
  function evaluateRecord() {
2987
2991
  var location = Entity$1.GetValue({
2988
2992
  entity: entity,
2989
- path: ["Bruce", "location"]
2993
+ path: ["Bruce", "Location"]
2990
2994
  });
2991
2995
  if (location && typeof location == "object" && Carto.ValidateCarto(location)) {
2992
2996
  var latitude = EnsureNumber(location.latitude);
@@ -2998,7 +3002,7 @@ var EntityUtils;
2998
3002
  }
2999
3003
  var geometry = Entity$1.GetValue({
3000
3004
  entity: entity,
3001
- path: ["Bruce", "geometry"]
3005
+ path: ["Bruce", "VectorGeometry"]
3002
3006
  });
3003
3007
  if (geometry && typeof geometry == "object") {
3004
3008
  var pointStr = geometry.Point;
@@ -3046,7 +3050,7 @@ var EntityUtils;
3046
3050
  }
3047
3051
  var boundaries = Entity$1.GetValue({
3048
3052
  entity: entity,
3049
- path: ["Bruce", "boundaries"]
3053
+ path: ["Bruce", "Boundaries"]
3050
3054
  });
3051
3055
  if (boundaries && typeof boundaries == "object") {
3052
3056
  var point = {
@@ -3085,7 +3089,7 @@ var EntityUtils;
3085
3089
  function GetPosAsync(params) {
3086
3090
  var _a, _b, _c, _d;
3087
3091
  return __awaiter(this, void 0, void 0, function () {
3088
- var viewer, entityId, entity, tileset, tilesetId, visualRegister, returnHeightRef, recordHeightRef, api, lat, lon, location_1, e_3, e_4, tilesetIds, pos3d, tSettings, eLocation, alt, alt, worldPosition, heading, pitch, roll, eTransform, matrix4, offset, m1, hpr, transform, transformedOffset;
3092
+ var viewer, entityId, entity, tileset, tilesetId, visualRegister, returnHeightRef, recordHeightRef, api, lat, lon, location_1, e_3, e_4, tilesetIds, pos3d, tSettings, eLocation, alt, alt, worldPosition, heading, pitch, roll, eTransform, matrix4, offset, worldPivot, m1, hpr, transform, transformedOffset;
3089
3093
  return __generator(this, function (_e) {
3090
3094
  switch (_e.label) {
3091
3095
  case 0:
@@ -3106,7 +3110,7 @@ var EntityUtils;
3106
3110
  if (entity) {
3107
3111
  location_1 = Entity$1.GetValue({
3108
3112
  entity: entity,
3109
- path: ["Bruce", "location"]
3113
+ path: ["Bruce", "Location"]
3110
3114
  });
3111
3115
  lat = +(location_1 === null || location_1 === void 0 ? void 0 : location_1.latitude);
3112
3116
  lon = +(location_1 === null || location_1 === void 0 ? void 0 : location_1.longitude);
@@ -3147,7 +3151,7 @@ var EntityUtils;
3147
3151
  if (!tilesetId) {
3148
3152
  tilesetIds = Entity$1.GetValue({
3149
3153
  entity: entity,
3150
- path: ["Bruce", "tilesetID"]
3154
+ path: ["Bruce", "TilesetIDs"]
3151
3155
  });
3152
3156
  tilesetId = (tilesetIds === null || tilesetIds === void 0 ? void 0 : tilesetIds.length) ? tilesetIds[0] : tilesetId;
3153
3157
  }
@@ -3174,7 +3178,7 @@ var EntityUtils;
3174
3178
  tSettings = tileset === null || tileset === void 0 ? void 0 : tileset.settings;
3175
3179
  eLocation = Entity$1.GetValue({
3176
3180
  entity: entity,
3177
- path: ["Bruce", "location"]
3181
+ path: ["Bruce", "Location"]
3178
3182
  });
3179
3183
  if ((eLocation === null || eLocation === void 0 ? void 0 : eLocation.longitude) || ((_a = tSettings === null || tSettings === void 0 ? void 0 : tSettings.location) === null || _a === void 0 ? void 0 : _a.longitude)) {
3180
3184
  if (eLocation === null || eLocation === void 0 ? void 0 : eLocation.longitude) {
@@ -3193,7 +3197,7 @@ var EntityUtils;
3193
3197
  }
3194
3198
  worldPosition = Entity$1.GetValue({
3195
3199
  entity: entity,
3196
- path: ["Bruce", "transform", "worldPosition"]
3200
+ path: ["Bruce", "AssemblyWorldPosition"]
3197
3201
  });
3198
3202
  if (worldPosition) {
3199
3203
  heading = 0;
@@ -3201,7 +3205,7 @@ var EntityUtils;
3201
3205
  roll = 0;
3202
3206
  eTransform = Entity$1.GetValue({
3203
3207
  entity: entity,
3204
- path: ["Bruce", "transform"]
3208
+ path: ["Bruce", "Transform"]
3205
3209
  });
3206
3210
  if (eTransform === null || eTransform === void 0 ? void 0 : eTransform.heading) {
3207
3211
  heading = eTransform.heading;
@@ -3235,9 +3239,13 @@ var EntityUtils;
3235
3239
  }
3236
3240
  matrix4 = worldPosition;
3237
3241
  offset = new Cartesian3(+matrix4[0][3], +matrix4[1][3], +matrix4[2][3]);
3238
- if (entity.worldPivot) //the position from worldMatrix + center of geometry offset
3242
+ worldPivot = Entity$1.GetValue({
3243
+ entity: entity,
3244
+ path: ["Bruce", "GeometryWorldPivot"]
3245
+ });
3246
+ if (worldPivot) //the position from worldMatrix + center of geometry offset
3239
3247
  {
3240
- offset = new Cartesian3(entity.worldPivot[0], entity.worldPivot[1], entity.worldPivot[2]);
3248
+ offset = new Cartesian3(worldPivot[0], worldPivot[1], worldPivot[2]);
3241
3249
  }
3242
3250
  m1 = Transforms.eastNorthUpToFixedFrame(pos3d);
3243
3251
  hpr = HeadingPitchRoll.fromDegrees(heading, pitch, roll, new HeadingPitchRoll());
@@ -3504,15 +3512,15 @@ function createCacheKey(point, entity) {
3504
3512
  };
3505
3513
  var location_1 = Entity$1.GetValue({
3506
3514
  entity: entity,
3507
- path: ["Bruce", "location"]
3515
+ path: ["Bruce", "Location"]
3508
3516
  });
3509
3517
  var geometry = Entity$1.GetValue({
3510
3518
  entity: entity,
3511
- path: ["Bruce", "geometry"]
3519
+ path: ["Bruce", "VectorGeometry"]
3512
3520
  });
3513
3521
  var boundaries = Entity$1.GetValue({
3514
3522
  entity: entity,
3515
- path: ["Bruce", "boundaries"]
3523
+ path: ["Bruce", "Boundaries"]
3516
3524
  });
3517
3525
  var entityData = __assign(__assign(__assign({}, location_1), geometry), boundaries);
3518
3526
  return JSON.stringify(pointData) + '|' + JSON.stringify(entityData);
@@ -3541,7 +3549,7 @@ function calculateDistance(point, entity) {
3541
3549
  var entityPos3d = null;
3542
3550
  var location = Entity$1.GetValue({
3543
3551
  entity: entity,
3544
- path: ["Bruce", "location"]
3552
+ path: ["Bruce", "Location"]
3545
3553
  });
3546
3554
  if (location && location.latitude) {
3547
3555
  var latitude = EnsureNumber(location.latitude);
@@ -3558,7 +3566,7 @@ function calculateDistance(point, entity) {
3558
3566
  // Check geometry if it's available.
3559
3567
  var geometry = Entity$1.GetValue({
3560
3568
  entity: entity,
3561
- path: ["Bruce", "geometry"]
3569
+ path: ["Bruce", "VectorGeometry"]
3562
3570
  });
3563
3571
  if (geometry) {
3564
3572
  var passedGeometry = false;
@@ -3606,7 +3614,7 @@ function calculateDistance(point, entity) {
3606
3614
  if (minDistance === Infinity) {
3607
3615
  var boundaries = Entity$1.GetValue({
3608
3616
  entity: entity,
3609
- path: ["Bruce", "boundaries"]
3617
+ path: ["Bruce", "Boundaries"]
3610
3618
  });
3611
3619
  if (boundaries && typeof boundaries == "object") {
3612
3620
  var point_1 = {
@@ -4649,7 +4657,7 @@ function getPolygonStyleExtrusion(pStyle, entity, tags, heightRef) {
4649
4657
  */
4650
4658
  var height = Entity$1.GetValue({
4651
4659
  entity: entity,
4652
- path: ["Bruce", "location", "altitude"]
4660
+ path: ["Bruce", "Location", "altitude"]
4653
4661
  });
4654
4662
  return heightRef != HeightReference.CLAMP_TO_GROUND ? extrusion + height : extrusion;
4655
4663
  }
@@ -4672,7 +4680,7 @@ function getPolygonExtrusion(entity, tags, ring, posses, heightRef, pStyle) {
4672
4680
  // This let's us have a consistent extrusion height, and be adjustable easier by user.
4673
4681
  var alt_1 = Entity$1.GetValue({
4674
4682
  entity: entity,
4675
- path: ["Bruce", "location", "altitude"]
4683
+ path: ["Bruce", "Location", "altitude"]
4676
4684
  });
4677
4685
  if (!alt_1) {
4678
4686
  alt_1 = 0;
@@ -4729,7 +4737,7 @@ function getCylinderStyleExtrusion(style, entity, tags, heightRef) {
4729
4737
  */
4730
4738
  var height = EnsureNumber(Entity$1.GetValue({
4731
4739
  entity: entity,
4732
- path: ["Bruce", "location", "altitude"]
4740
+ path: ["Bruce", "Location", "altitude"]
4733
4741
  }), 0);
4734
4742
  return heightRef != HeightReference.CLAMP_TO_GROUND ? extrusion + height : extrusion;
4735
4743
  }
@@ -4953,7 +4961,7 @@ function getSizeOfPolygonEntity(entity) {
4953
4961
  var hasCalculatedBounds = false;
4954
4962
  var bounds = Entity$1.GetValue({
4955
4963
  entity: entity,
4956
- path: ["Bruce", "boundaries"]
4964
+ path: ["Bruce", "Boundaries"]
4957
4965
  });
4958
4966
  var calculateBounds = function () {
4959
4967
  hasCalculatedBounds = true;
@@ -4999,11 +5007,11 @@ function getSizeOfPolygonEntity(entity) {
4999
5007
  // We'll set the change in both places.
5000
5008
  if (entity.boundaries) {
5001
5009
  entity.boundaries = bounds;
5002
- entity.Bruce.boundaries = bounds;
5010
+ entity.Bruce.Boundaries = bounds;
5003
5011
  }
5004
5012
  // Data migrated to an internal field.
5005
5013
  else {
5006
- entity.Bruce.boundaries = bounds;
5014
+ entity.Bruce.Boundaries = bounds;
5007
5015
  }
5008
5016
  }
5009
5017
  return length;
@@ -5321,17 +5329,17 @@ var EntityRenderEngine;
5321
5329
  entity = params.entities[i];
5322
5330
  geometry = Entity$1.GetValue({
5323
5331
  entity: entity,
5324
- path: ["Bruce", "geometry"]
5332
+ path: ["Bruce", "VectorGeometry"]
5325
5333
  });
5326
5334
  if (((_a = geometry === null || geometry === void 0 ? void 0 : geometry.MultiGeometry) === null || _a === void 0 ? void 0 : _a.length) == 1) {
5327
5335
  // Not migrated to internal, set in both places.
5328
5336
  if (entity.geometry) {
5329
5337
  entity.geometry = __assign(__assign(__assign({}, entity.geometry), geometry.MultiGeometry[0]), { MultiGeometry: [] });
5330
- entity.Bruce.geometry = entity.geometry;
5338
+ entity.Bruce.VectorGeometry = entity.geometry;
5331
5339
  }
5332
5340
  // Migrated to internal, we'll set it there.
5333
- else if (entity.Bruce.geometry) {
5334
- entity.Bruce.geometry = __assign(__assign(__assign({}, entity.Bruce.geometry), geometry.MultiGeometry[0]), { MultiGeometry: [] });
5341
+ else if (entity.Bruce.VectorGeometry) {
5342
+ entity.Bruce.VectorGeometry = __assign(__assign(__assign({}, entity.Bruce.VectorGeometry), geometry.MultiGeometry[0]), { MultiGeometry: [] });
5335
5343
  }
5336
5344
  }
5337
5345
  }
@@ -5392,7 +5400,7 @@ var EntityRenderEngine;
5392
5400
  else if (displayType == ZoomControl.EDisplayType.Geometry) {
5393
5401
  geometry = Entity$1.GetValue({
5394
5402
  entity: entity,
5395
- path: ["Bruce", "geometry"]
5403
+ path: ["Bruce", "VectorGeometry"]
5396
5404
  });
5397
5405
  if ((_f = geometry === null || geometry === void 0 ? void 0 : geometry.MultiGeometry) === null || _f === void 0 ? void 0 : _f.length) {
5398
5406
  multiGeometry.push(entity);
@@ -5435,7 +5443,7 @@ var EntityRenderEngine;
5435
5443
  entity = multiGeometry[i];
5436
5444
  geometry = Entity$1.GetValue({
5437
5445
  entity: entity,
5438
- path: ["Bruce", "geometry"]
5446
+ path: ["Bruce", "VectorGeometry"]
5439
5447
  });
5440
5448
  if (!((_g = geometry === null || geometry === void 0 ? void 0 : geometry.MultiGeometry) === null || _g === void 0 ? void 0 : _g.length)) {
5441
5449
  polygons.push(entity);
@@ -6163,7 +6171,7 @@ var EntityRenderEngine;
6163
6171
  var entity = params.entity;
6164
6172
  var lineString = Entity$1.GetValue({
6165
6173
  entity: entity,
6166
- path: ["Bruce", "geometry", "LineString"]
6174
+ path: ["Bruce", "VectorGeometry", "LineString"]
6167
6175
  });
6168
6176
  var points = lineString && typeof lineString == "string" ? Geometry.ParsePoints(lineString) : [];
6169
6177
  if (!points || points.length < 2) {
@@ -6427,7 +6435,7 @@ var EntityRenderEngine;
6427
6435
  var entity = params.entity;
6428
6436
  var pRings = Entity$1.GetValue({
6429
6437
  entity: entity,
6430
- path: ["Bruce", "geometry", "Polygon"]
6438
+ path: ["Bruce", "VectorGeometry", "Polygon"]
6431
6439
  });
6432
6440
  if (pRings == null || !Array.isArray(pRings) || pRings.length <= 0) {
6433
6441
  return null;
@@ -6805,7 +6813,7 @@ var EntityRenderEngine;
6805
6813
  }
6806
6814
  var transform = Entity$1.GetValue({
6807
6815
  entity: entity,
6808
- path: ["Bruce", "transform"]
6816
+ path: ["Bruce", "Transform"]
6809
6817
  });
6810
6818
  var heading = EnsureNumber(transform === null || transform === void 0 ? void 0 : transform.heading);
6811
6819
  heading = (heading + 90) % 360;
@@ -24576,7 +24584,7 @@ var ViewRenderEngine;
24576
24584
  ViewRenderEngine.Render = Render;
24577
24585
  })(ViewRenderEngine || (ViewRenderEngine = {}));
24578
24586
 
24579
- var VERSION = "4.0.1";
24587
+ var VERSION = "4.0.3";
24580
24588
 
24581
24589
  export { VERSION, CesiumViewMonitor, ViewerUtils, MenuItemManager, EntityRenderEngine, MenuItemCreator, VisualsRegister, RenderManager, EntitiesIdsRenderManager, EntitiesLoadedRenderManager, EntitiesRenderManager, EntityRenderManager, TilesetCadRenderManager, TilesetArbRenderManager, TilesetEntitiesRenderManager, TilesetOsmRenderManager, TilesetPointcloudRenderManager, TilesetGooglePhotosRenderManager, DataSourceStaticKmlManager, RelationsRenderManager, SharedGetters, CesiumParabola, EntityLabel, ViewRenderEngine, TileRenderEngine, TilesetRenderEngine, CESIUM_INSPECTOR_KEY, CESIUM_TIMELINE_KEY, ViewUtils, DrawingUtils, MeasureUtils, EntityUtils, CesiumEntityStyler, CesiumAnimatedProperty, CesiumAnimatedInOut, Draw3dPolygon, Draw3dPolyline };
24582
24590
  //# sourceMappingURL=bruce-cesium.es5.js.map