mars3d-cesium 1.102.0 → 1.103.1

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.
Files changed (117) hide show
  1. package/Build/Cesium/Cesium.d.ts +19 -38
  2. package/Build/Cesium/Cesium.js +1731 -1587
  3. package/Build/Cesium/ThirdParty/Workers/draco_decoder_nodejs.js +1 -1
  4. package/Build/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
  5. package/Build/Cesium/ThirdParty/draco_decoder.wasm +0 -0
  6. package/Build/Cesium/ThirdParty/google-earth-dbroot-parser.js +1 -1
  7. package/Build/Cesium/Workers/{AttributeCompression-5fa81749.js → AttributeCompression-48e336db.js} +1 -1
  8. package/Build/Cesium/Workers/{AxisAlignedBoundingBox-680337b6.js → AxisAlignedBoundingBox-bdacbf61.js} +1 -1
  9. package/Build/Cesium/Workers/{BoundingRectangle-58f64349.js → BoundingRectangle-d3799d7c.js} +1 -1
  10. package/Build/Cesium/Workers/{BoxGeometry-fb4b6b60.js → BoxGeometry-8f8457e8.js} +1 -1
  11. package/Build/Cesium/Workers/{Color-6b751834.js → Color-766015f1.js} +1 -1
  12. package/Build/Cesium/Workers/{ComponentDatatype-dd0b58d1.js → ComponentDatatype-ab629b88.js} +1 -1
  13. package/Build/Cesium/Workers/{CoplanarPolygonGeometryLibrary-1b418734.js → CoplanarPolygonGeometryLibrary-d7b9b4a4.js} +1 -1
  14. package/Build/Cesium/Workers/{CorridorGeometryLibrary-8e93b16a.js → CorridorGeometryLibrary-fc6b3e1d.js} +1 -1
  15. package/Build/Cesium/Workers/{CylinderGeometry-9c8f8c77.js → CylinderGeometry-617def66.js} +1 -1
  16. package/Build/Cesium/Workers/{CylinderGeometryLibrary-db7678f5.js → CylinderGeometryLibrary-f49f33a8.js} +1 -1
  17. package/Build/Cesium/Workers/{EllipseGeometry-7a90d5bc.js → EllipseGeometry-6d8255c4.js} +1 -1
  18. package/Build/Cesium/Workers/{EllipseGeometryLibrary-27e68ef4.js → EllipseGeometryLibrary-547a3631.js} +1 -1
  19. package/Build/Cesium/Workers/{EllipseOutlineGeometry-557afe07.js → EllipseOutlineGeometry-223e86d0.js} +1 -1
  20. package/Build/Cesium/Workers/{EllipsoidGeodesic-9484ceff.js → EllipsoidGeodesic-2723ab86.js} +1 -1
  21. package/Build/Cesium/Workers/EllipsoidGeometry-d3f60233.js +1 -0
  22. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-db26d80b.js +1 -0
  23. package/Build/Cesium/Workers/{EllipsoidRhumbLine-1dd98535.js → EllipsoidRhumbLine-77eff028.js} +1 -1
  24. package/Build/Cesium/Workers/{EllipsoidTangentPlane-ae5d3d65.js → EllipsoidTangentPlane-01ed2277.js} +1 -1
  25. package/Build/Cesium/Workers/{EncodedCartesian3-f2554a3b.js → EncodedCartesian3-5e2017ab.js} +1 -1
  26. package/Build/Cesium/Workers/{FrustumGeometry-f54f215c.js → FrustumGeometry-4b2eaeae.js} +1 -1
  27. package/Build/Cesium/Workers/{GeometryAttribute-6ed30287.js → GeometryAttribute-13894b50.js} +1 -1
  28. package/Build/Cesium/Workers/{GeometryAttributes-52134c76.js → GeometryAttributes-1e4ddcd2.js} +1 -1
  29. package/Build/Cesium/Workers/{GeometryInstance-c620c48b.js → GeometryInstance-0318e0cd.js} +1 -1
  30. package/Build/Cesium/Workers/{GeometryPipeline-c180ffdb.js → GeometryPipeline-14386f39.js} +1 -1
  31. package/Build/Cesium/Workers/IndexDatatype-d3db4e7d.js +1 -0
  32. package/Build/Cesium/Workers/{IntersectionTests-7d927f09.js → IntersectionTests-e917ad5d.js} +1 -1
  33. package/Build/Cesium/Workers/{Math-8e567554.js → Math-2ce22ee9.js} +1 -1
  34. package/Build/Cesium/Workers/{Matrix2-66622085.js → Matrix2-413c4048.js} +1 -1
  35. package/Build/Cesium/Workers/{Matrix3-d6f3913c.js → Matrix3-81054f0f.js} +1 -1
  36. package/Build/Cesium/Workers/OrientedBoundingBox-d21c965e.js +1 -0
  37. package/Build/Cesium/Workers/{Plane-6aee7ffc.js → Plane-6add0ae1.js} +1 -1
  38. package/Build/Cesium/Workers/{PolygonGeometryLibrary-227b23c8.js → PolygonGeometryLibrary-1cb29a35.js} +1 -1
  39. package/Build/Cesium/Workers/{PolygonPipeline-f56a8ec5.js → PolygonPipeline-4ca616ab.js} +1 -1
  40. package/Build/Cesium/Workers/{PolylinePipeline-eba1803b.js → PolylinePipeline-809bc207.js} +1 -1
  41. package/Build/Cesium/Workers/{PolylineVolumeGeometryLibrary-1f624b8b.js → PolylineVolumeGeometryLibrary-d4d0e222.js} +1 -1
  42. package/Build/Cesium/Workers/{PrimitivePipeline-736b1b51.js → PrimitivePipeline-19123225.js} +1 -1
  43. package/Build/Cesium/Workers/RectangleGeometryLibrary-ae9c3a0f.js +1 -0
  44. package/Build/Cesium/Workers/{RuntimeError-3c5db370.js → RuntimeError-9b4ce3fb.js} +1 -1
  45. package/Build/Cesium/Workers/{TerrainEncoding-ce59c054.js → TerrainEncoding-2e638818.js} +1 -1
  46. package/Build/Cesium/Workers/Transforms-845c8fd8.js +14 -0
  47. package/Build/Cesium/Workers/{VertexFormat-848ec33d.js → VertexFormat-fbdec922.js} +1 -1
  48. package/Build/Cesium/Workers/WallGeometryLibrary-0df56e57.js +1 -0
  49. package/Build/Cesium/Workers/{WebMercatorProjection-53aa47d9.js → WebMercatorProjection-943e2226.js} +1 -1
  50. package/Build/Cesium/Workers/arrayRemoveDuplicates-9b636830.js +1 -0
  51. package/Build/Cesium/Workers/cesiumWorkerBootstrapper.js +1 -1
  52. package/Build/Cesium/Workers/combine-0c102d93.js +1 -0
  53. package/Build/Cesium/Workers/combineGeometry.js +1 -1
  54. package/Build/Cesium/Workers/createBoxGeometry.js +1 -1
  55. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +1 -1
  56. package/Build/Cesium/Workers/createCircleGeometry.js +1 -1
  57. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +1 -1
  58. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +1 -1
  59. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
  60. package/Build/Cesium/Workers/createCorridorGeometry.js +1 -1
  61. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +1 -1
  62. package/Build/Cesium/Workers/createCylinderGeometry.js +1 -1
  63. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +1 -1
  64. package/Build/Cesium/Workers/createEllipseGeometry.js +1 -1
  65. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +1 -1
  66. package/Build/Cesium/Workers/createEllipsoidGeometry.js +1 -1
  67. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
  68. package/Build/Cesium/Workers/createFrustumGeometry.js +1 -1
  69. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +1 -1
  70. package/Build/Cesium/Workers/createGeometry.js +1 -1
  71. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +1 -1
  72. package/Build/Cesium/Workers/createPlaneGeometry.js +1 -1
  73. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +1 -1
  74. package/Build/Cesium/Workers/createPolygonGeometry.js +1 -1
  75. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +1 -1
  76. package/Build/Cesium/Workers/createPolylineGeometry.js +1 -1
  77. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +1 -1
  78. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
  79. package/Build/Cesium/Workers/createRectangleGeometry.js +1 -1
  80. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +1 -1
  81. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +1 -1
  82. package/Build/Cesium/Workers/createSphereGeometry.js +1 -1
  83. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +1 -1
  84. package/Build/Cesium/Workers/createTaskProcessorWorker.js +1 -1
  85. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +1 -1
  86. package/Build/Cesium/Workers/createVectorTileGeometries.js +1 -1
  87. package/Build/Cesium/Workers/createVectorTilePoints.js +1 -1
  88. package/Build/Cesium/Workers/createVectorTilePolygons.js +1 -1
  89. package/Build/Cesium/Workers/createVectorTilePolylines.js +1 -1
  90. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
  91. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  92. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
  93. package/Build/Cesium/Workers/createWallGeometry.js +1 -1
  94. package/Build/Cesium/Workers/createWallOutlineGeometry.js +1 -1
  95. package/Build/Cesium/Workers/decodeDraco.js +1 -1
  96. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +1 -1
  97. package/Build/Cesium/Workers/decodeI3S.js +1 -1
  98. package/Build/Cesium/Workers/package.js +1 -1
  99. package/Build/Cesium/Workers/transcodeKTX2.js +1 -1
  100. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  101. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +1 -1
  102. package/Build/Cesium/index.cjs +2045 -1901
  103. package/Build/Cesium/index.js +2093 -1949
  104. package/package.json +14 -13
  105. package/Build/Cesium/Workers/EllipsoidGeometry-bcf775bb.js +0 -1
  106. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-97f1f7c7.js +0 -1
  107. package/Build/Cesium/Workers/IndexDatatype-eddea9c9.js +0 -1
  108. package/Build/Cesium/Workers/OrientedBoundingBox-60a5c9a1.js +0 -1
  109. package/Build/Cesium/Workers/RectangleGeometryLibrary-f1f036f8.js +0 -1
  110. package/Build/Cesium/Workers/Transforms-b7f686a8.js +0 -14
  111. package/Build/Cesium/Workers/WallGeometryLibrary-d2baa4b3.js +0 -1
  112. package/Build/Cesium/Workers/arrayRemoveDuplicates-bb49591c.js +0 -1
  113. package/Build/Cesium/Workers/combine-6eb6e848.js +0 -1
  114. /package/Build/Cesium/Workers/{ArcType-3d26c7db.js → ArcType-26a3f38d.js} +0 -0
  115. /package/Build/Cesium/Workers/{GeometryOffsetAttribute-b6810db4.js → GeometryOffsetAttribute-2579b8d2.js} +0 -0
  116. /package/Build/Cesium/Workers/{WebGLConstants-f7267ced.js → WebGLConstants-7f557f93.js} +0 -0
  117. /package/Build/Cesium/Workers/{defaultValue-040c41f9.js → defaultValue-f6d5e6da.js} +0 -0
@@ -1531,12 +1531,6 @@ export class BoxOutlineGeometry {
1531
1531
  */
1532
1532
  export function buildModuleUrl(relativeUrl: string): string;
1533
1533
 
1534
- /**
1535
- * A browser-independent function to cancel an animation frame requested using {@link requestAnimationFrame}.
1536
- * @param requestID - The value returned by {@link requestAnimationFrame}.
1537
- */
1538
- export function cancelAnimationFrame(requestID: number): void;
1539
-
1540
1534
  /**
1541
1535
  * A 2D Cartesian point.
1542
1536
  * @param [x = 0.0] - The X component.
@@ -14718,28 +14712,6 @@ export namespace Request {
14718
14712
  type PriorityCallback = () => number;
14719
14713
  }
14720
14714
 
14721
- /**
14722
- * A browser-independent function to request a new animation frame. This is used to create
14723
- an application's draw loop as shown in the example below.
14724
- * @example
14725
- * // Create a draw loop using requestAnimationFrame. The
14726
- // tick callback function is called for every animation frame.
14727
- function tick() {
14728
- scene.render();
14729
- Cesium.requestAnimationFrame(tick);
14730
- }
14731
- tick();
14732
- * @param callback - The function to call when the next frame should be drawn.
14733
- * @returns An ID that can be passed to {@link cancelAnimationFrame} to cancel the request.
14734
- */
14735
- export function requestAnimationFrame(callback: requestAnimationFrameCallback): number;
14736
-
14737
- /**
14738
- * A function that will be called when the next frame should be drawn.
14739
- * @param timestamp - A timestamp for the frame, in milliseconds.
14740
- */
14741
- export type requestAnimationFrameCallback = (timestamp: number) => void;
14742
-
14743
14715
  /**
14744
14716
  * An event that is raised when a request encounters an error.
14745
14717
  * @param [statusCode] - The HTTP error status code, such as 404.
@@ -24154,7 +24126,7 @@ export class ReferenceProperty {
24154
24126
  /**
24155
24127
  * Gets the array of property names used to retrieve the referenced property.
24156
24128
  */
24157
- readonly targetPropertyNames: string[];
24129
+ readonly targetPropertyNames: any;
24158
24130
  /**
24159
24131
  * Gets the resolved instance of the underlying referenced property.
24160
24132
  */
@@ -24997,13 +24969,13 @@ anisotropic texture filtering when the WebGL extension is supported.
24997
24969
  Setting this to false will improve performance, but hurt visual quality,
24998
24970
  especially for horizon views.
24999
24971
  </p>
25000
- * @property [requestWebGl1 = false] - If true and the browser supports it, use a WebGL 1 rendering context
24972
+ * @property [requestWebgl1 = false] - If true and the browser supports it, use a WebGL 1 rendering context
25001
24973
  * @property [allowTextureFilterAnisotropic = true] - If true, use anisotropic filtering during texture sampling
25002
24974
  * @property [webgl] - WebGL options to be passed on to canvas.getContext
25003
24975
  * @property [getWebGLStub] - A function to create a WebGL stub for testing
25004
24976
  */
25005
24977
  export type ContextOptions = {
25006
- requestWebGl1?: boolean;
24978
+ requestWebgl1?: boolean;
25007
24979
  allowTextureFilterAnisotropic?: boolean;
25008
24980
  webgl?: WebGLOptions;
25009
24981
  getWebGLStub?: (...params: any[]) => any;
@@ -27163,9 +27135,13 @@ the content is loaded on-demand when needed based on the view.
27163
27135
  <p>
27164
27136
  Do not construct this directly, instead access tiles through {@link Cesium3DTileset#tileVisible}.
27165
27137
  </p>
27138
+ * @param tileset - The tileset
27139
+ * @param baseResource - The base resource for the tileset
27140
+ * @param header - The JSON header for the tile
27141
+ * @param parent - The parent tile of the new tile
27166
27142
  */
27167
27143
  export class Cesium3DTile {
27168
- constructor();
27144
+ constructor(tileset: Cesium3DTileset, baseResource: Resource, header: any, parent: Cesium3DTile);
27169
27145
  /**
27170
27146
  * The local transform of this tile.
27171
27147
  */
@@ -34869,12 +34845,12 @@ polygon.material = new Cesium.Material();
34869
34845
 
34870
34846
  // Create a color material with full Fabric notation:
34871
34847
  polygon.material = new Cesium.Material({
34872
- fabric : {
34873
- type : 'Color',
34874
- uniforms : {
34875
- color : new Cesium.Color(1.0, 1.0, 0.0, 1.0)
34876
- }
34848
+ fabric: {
34849
+ type: 'Color',
34850
+ uniforms: {
34851
+ color: new Cesium.Color(1.0, 1.0, 0.0, 1.0)
34877
34852
  }
34853
+ }
34878
34854
  });
34879
34855
  * @param [options] - Object with the following properties:
34880
34856
  * @param [options.strict = false] - Throws errors for issues that would normally be ignored, including unused uniforms or materials.
@@ -34883,6 +34859,7 @@ polygon.material = new Cesium.Material({
34883
34859
  * @param [options.minificationFilter = TextureMinificationFilter.LINEAR] - The {@link TextureMinificationFilter} to apply to this material's textures.
34884
34860
  * @param [options.magnificationFilter = TextureMagnificationFilter.LINEAR] - The {@link TextureMagnificationFilter} to apply to this material's textures.
34885
34861
  * @param options.fabric - The fabric JSON used to generate the material.
34862
+ ructor
34886
34863
  */
34887
34864
  export class Material {
34888
34865
  constructor(options?: {
@@ -34919,7 +34896,7 @@ export class Material {
34919
34896
  Shorthand for: new Material({fabric : {type : type}});
34920
34897
  * @example
34921
34898
  * const material = Cesium.Material.fromType('Color', {
34922
- color : new Cesium.Color(1.0, 0.0, 0.0, 1.0)
34899
+ color: new Cesium.Color(1.0, 0.0, 0.0, 1.0)
34923
34900
  });
34924
34901
  * @param type - The base material type.
34925
34902
  * @param [uniforms] - Overrides for the default uniforms.
@@ -40113,6 +40090,10 @@ export class ScreenSpaceCameraController {
40113
40090
  * The minimum height the camera must be before picking the terrain instead of the ellipsoid.
40114
40091
  */
40115
40092
  minimumPickingTerrainHeight: number;
40093
+ /**
40094
+ * The minimum distance the camera must be before testing for collision with terrain when zoom with inertia.
40095
+ */
40096
+ minimumPickingTerrainDistanceWithInertia: number;
40116
40097
  /**
40117
40098
  * The minimum height the camera must be before testing for collision with terrain.
40118
40099
  */