@cesium/engine 1.0.0 → 1.1.0
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/Build/Workers/{AttributeCompression-4589338a.js → AttributeCompression-b646d393.js} +1 -1
- package/Build/Workers/{AxisAlignedBoundingBox-bfb1234f.js → AxisAlignedBoundingBox-a4321399.js} +1 -1
- package/Build/Workers/{BoundingRectangle-7ffc2153.js → BoundingRectangle-80d8801f.js} +1 -1
- package/Build/Workers/{BoxGeometry-93f344a3.js → BoxGeometry-33c10a4f.js} +1 -1
- package/Build/Workers/{Color-0c5aaf47.js → Color-1bf9a6e0.js} +1 -1
- package/Build/Workers/{CoplanarPolygonGeometryLibrary-6597982a.js → CoplanarPolygonGeometryLibrary-5c5b981b.js} +1 -1
- package/Build/Workers/{CorridorGeometryLibrary-2119580e.js → CorridorGeometryLibrary-7cbae7a0.js} +1 -1
- package/Build/Workers/{CylinderGeometry-f9503c6d.js → CylinderGeometry-42740df0.js} +1 -1
- package/Build/Workers/{EllipseGeometry-fedf72d5.js → EllipseGeometry-49a3ac21.js} +1 -1
- package/Build/Workers/{EllipseGeometryLibrary-4ea68687.js → EllipseGeometryLibrary-b891b2f8.js} +1 -1
- package/Build/Workers/{EllipseOutlineGeometry-e2ae6a35.js → EllipseOutlineGeometry-fbd72e07.js} +1 -1
- package/Build/Workers/{EllipsoidGeodesic-16de63ea.js → EllipsoidGeodesic-98c62a56.js} +1 -1
- package/Build/Workers/{EllipsoidGeometry-95c0330e.js → EllipsoidGeometry-a351dba8.js} +1 -1
- package/Build/Workers/{EllipsoidOutlineGeometry-d6d2ceec.js → EllipsoidOutlineGeometry-3e8779bf.js} +1 -1
- package/Build/Workers/{EllipsoidRhumbLine-ae5e65e0.js → EllipsoidRhumbLine-19756602.js} +1 -1
- package/Build/Workers/{EllipsoidTangentPlane-bfc674bf.js → EllipsoidTangentPlane-cfb50678.js} +1 -1
- package/Build/Workers/{EncodedCartesian3-f473ea18.js → EncodedCartesian3-81f70735.js} +1 -1
- package/Build/Workers/{FrustumGeometry-3bf2e4eb.js → FrustumGeometry-c5754412.js} +1 -1
- package/Build/Workers/{GeometryAttribute-df5f473e.js → GeometryAttribute-0bfd05e8.js} +1 -1
- package/Build/Workers/{GeometryInstance-aa75b4cf.js → GeometryInstance-451dc1cd.js} +1 -1
- package/Build/Workers/{GeometryPipeline-f0e46c42.js → GeometryPipeline-0166905d.js} +1 -1
- package/Build/Workers/{IntersectionTests-9de29d51.js → IntersectionTests-a93d3de9.js} +1 -1
- package/Build/Workers/{Matrix2-ce637455.js → Matrix2-13178034.js} +4 -2
- package/Build/Workers/{Matrix3-4f4df527.js → Matrix3-315394f6.js} +2 -1
- package/Build/Workers/{OrientedBoundingBox-d3ff3d4d.js → OrientedBoundingBox-b450cb61.js} +5 -5
- package/Build/Workers/{Plane-b81241c2.js → Plane-900aa728.js} +1 -1
- package/Build/Workers/{PolygonGeometryLibrary-6f4937bb.js → PolygonGeometryLibrary-f918ac26.js} +1 -1
- package/Build/Workers/PolygonPipeline-f59a8f0a.js +1345 -0
- package/Build/Workers/{PolylinePipeline-2e2b015c.js → PolylinePipeline-d8e6bd9b.js} +1 -1
- package/Build/Workers/{PolylineVolumeGeometryLibrary-7ee1d449.js → PolylineVolumeGeometryLibrary-125d2edf.js} +1 -1
- package/Build/Workers/{PrimitivePipeline-a9b7aae0.js → PrimitivePipeline-0d7b5ed4.js} +1 -1
- package/Build/Workers/{RectangleGeometryLibrary-9aa6c8f6.js → RectangleGeometryLibrary-0768db63.js} +1 -1
- package/Build/Workers/{TerrainEncoding-b52dcfc5.js → TerrainEncoding-06470d7f.js} +1 -1
- package/Build/Workers/{Transforms-2f755df8.js → Transforms-26539bce.js} +97 -83
- package/Build/Workers/{WallGeometryLibrary-ab19a93d.js → WallGeometryLibrary-6167b0fc.js} +1 -1
- package/Build/Workers/{WebMercatorProjection-9f25de49.js → WebMercatorProjection-13a90d41.js} +1 -1
- package/Build/Workers/cesiumWorkerBootstrapper.js +25 -1
- package/Build/Workers/combineGeometry.js +1 -1
- package/Build/Workers/createBoxGeometry.js +1 -1
- package/Build/Workers/createBoxOutlineGeometry.js +1 -1
- package/Build/Workers/createCircleGeometry.js +1 -1
- package/Build/Workers/createCircleOutlineGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createCorridorGeometry.js +1 -1
- package/Build/Workers/createCorridorOutlineGeometry.js +1 -1
- package/Build/Workers/createCylinderGeometry.js +1 -1
- package/Build/Workers/createCylinderOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipseGeometry.js +1 -1
- package/Build/Workers/createEllipseOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipsoidGeometry.js +1 -1
- package/Build/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/Build/Workers/createFrustumGeometry.js +1 -1
- package/Build/Workers/createFrustumOutlineGeometry.js +1 -1
- package/Build/Workers/createGeometry.js +1 -1
- package/Build/Workers/createGroundPolylineGeometry.js +1 -1
- package/Build/Workers/createPlaneGeometry.js +1 -1
- package/Build/Workers/createPlaneOutlineGeometry.js +1 -1
- package/Build/Workers/createPolygonGeometry.js +1 -1
- package/Build/Workers/createPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createPolylineGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
- package/Build/Workers/createRectangleGeometry.js +1 -1
- package/Build/Workers/createRectangleOutlineGeometry.js +1 -1
- package/Build/Workers/createSimplePolylineGeometry.js +1 -1
- package/Build/Workers/createSphereGeometry.js +1 -1
- package/Build/Workers/createSphereOutlineGeometry.js +1 -1
- package/Build/Workers/createVectorTileClampedPolylines.js +1 -1
- package/Build/Workers/createVectorTileGeometries.js +1 -1
- package/Build/Workers/createVectorTilePoints.js +1 -1
- package/Build/Workers/createVectorTilePolygons.js +1 -1
- package/Build/Workers/createVectorTilePolylines.js +1 -1
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/Build/Workers/createVerticesFromHeightmap.js +7 -3
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
- package/Build/Workers/createWallGeometry.js +1 -1
- package/Build/Workers/createWallOutlineGeometry.js +1 -1
- package/Build/Workers/decodeI3S.js +1 -1
- package/Build/Workers/package.js +25 -1
- package/Build/Workers/transferTypedArrayTest.js +25 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
- package/Source/Core/EarthOrientationParameters.js +67 -63
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/Matrix2.js +2 -1
- package/Source/Core/Matrix3.js +2 -1
- package/Source/Core/Matrix4.js +1 -0
- package/Source/Core/OrientedBoundingBox.js +4 -4
- package/Source/Core/S2Cell.js +3 -3
- package/Source/Core/Transforms.js +3 -7
- package/Source/DataSources/GpxDataSource.js +4 -6
- package/Source/DataSources/KmlDataSource.js +3 -5
- package/Source/Renderer/Context.js +27 -9
- package/Source/Renderer/Pass.js +3 -2
- package/Source/Scene/Cesium3DTileContentType.js +19 -0
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +482 -0
- package/Source/Scene/Cesium3DTilesetMetadata.js +2 -2
- package/Source/Scene/ContentMetadata.js +2 -2
- package/Source/Scene/DerivedCommand.js +7 -0
- package/Source/Scene/Expression.js +1 -1
- package/Source/Scene/Globe.js +10 -0
- package/Source/Scene/GlobeSurfaceTileProvider.js +7 -0
- package/Source/Scene/GltfImageLoader.js +1 -1
- package/Source/Scene/GltfVertexBufferLoader.js +10 -2
- package/Source/Scene/GroupMetadata.js +2 -2
- package/Source/Scene/ImplicitMetadataView.js +2 -2
- package/Source/Scene/ImplicitSubtreeCache.js +127 -0
- package/Source/Scene/ImplicitSubtreeMetadata.js +2 -2
- package/Source/Scene/ImplicitTileset.js +3 -2
- package/Source/Scene/KeyframeNode.js +47 -0
- package/Source/Scene/Megatexture.js +490 -0
- package/Source/Scene/MetadataClass.js +60 -25
- package/Source/Scene/MetadataClassProperty.js +132 -68
- package/Source/Scene/MetadataComponentType.js +78 -57
- package/Source/Scene/MetadataEnum.js +59 -23
- package/Source/Scene/MetadataEnumValue.js +49 -15
- package/Source/Scene/MetadataSchema.js +53 -24
- package/Source/Scene/MetadataSchemaLoader.js +2 -2
- package/Source/Scene/MetadataTableProperty.js +2 -2
- package/Source/Scene/MetadataType.js +6 -14
- package/Source/Scene/Model/GeoJsonLoader.js +1 -1
- package/Source/Scene/Model/Model.js +2 -3
- package/Source/Scene/Model/buildDrawCommand.js +19 -11
- package/Source/Scene/PointCloud.js +1 -1
- package/Source/Scene/PropertyAttribute.js +2 -2
- package/Source/Scene/PropertyAttributeProperty.js +2 -2
- package/Source/Scene/PropertyTable.js +2 -2
- package/Source/Scene/PropertyTexture.js +2 -2
- package/Source/Scene/PropertyTextureProperty.js +2 -2
- package/Source/Scene/ResourceCache.js +9 -1
- package/Source/Scene/ResourceCacheKey.js +9 -1
- package/Source/Scene/Scene.js +17 -0
- package/Source/Scene/SpatialNode.js +375 -0
- package/Source/Scene/StructuralMetadata.js +2 -2
- package/Source/Scene/TileMetadata.js +2 -2
- package/Source/Scene/TilesetMetadata.js +2 -2
- package/Source/Scene/VoxelBoxShape.js +527 -0
- package/Source/Scene/VoxelContent.js +169 -0
- package/Source/Scene/VoxelCylinderShape.js +937 -0
- package/Source/Scene/VoxelEllipsoidShape.js +937 -0
- package/Source/Scene/VoxelPrimitive.js +1919 -0
- package/Source/Scene/VoxelProvider.js +255 -0
- package/Source/Scene/VoxelRenderResources.js +224 -0
- package/Source/Scene/VoxelShape.js +152 -0
- package/Source/Scene/VoxelShapeType.js +105 -0
- package/Source/Scene/VoxelTraversal.js +1144 -0
- package/Source/Scene/buildVoxelDrawCommands.js +116 -0
- package/Source/Scene/parseBatchTable.js +18 -2
- package/Source/Scene/preprocess3DTileContent.js +8 -0
- package/Source/Scene/processVoxelProperties.js +455 -0
- package/Source/Shaders/BillboardCollectionVS.glsl +1 -1
- package/Source/Shaders/BillboardCollectionVS.js +1 -1
- package/Source/Shaders/Builtin/Constants/passOverlay.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passOverlay.js +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.glsl +9 -0
- package/Source/Shaders/Builtin/Constants/passVoxels.js +11 -0
- package/Source/Shaders/Builtin/CzmBuiltins.js +17 -15
- package/Source/Shaders/Builtin/Functions/windowToEyeCoordinates.glsl +55 -43
- package/Source/Shaders/Builtin/Functions/windowToEyeCoordinates.js +55 -43
- package/Source/Shaders/GlobeFS.glsl +2 -1
- package/Source/Shaders/GlobeFS.js +2 -1
- package/Source/Shaders/PointPrimitiveCollectionVS.glsl +5 -2
- package/Source/Shaders/PointPrimitiveCollectionVS.js +5 -2
- package/Source/Shaders/Voxels/IntersectBox.glsl +79 -0
- package/Source/Shaders/Voxels/IntersectBox.js +81 -0
- package/Source/Shaders/Voxels/IntersectClippingPlanes.glsl +70 -0
- package/Source/Shaders/Voxels/IntersectClippingPlanes.js +72 -0
- package/Source/Shaders/Voxels/IntersectCylinder.glsl +273 -0
- package/Source/Shaders/Voxels/IntersectCylinder.js +275 -0
- package/Source/Shaders/Voxels/IntersectDepth.glsl +23 -0
- package/Source/Shaders/Voxels/IntersectDepth.js +25 -0
- package/Source/Shaders/Voxels/IntersectEllipsoid.glsl +337 -0
- package/Source/Shaders/Voxels/IntersectEllipsoid.js +339 -0
- package/Source/Shaders/Voxels/Intersection.glsl +54 -0
- package/Source/Shaders/Voxels/Intersection.js +56 -0
- package/Source/Shaders/Voxels/IntersectionUtils.glsl +151 -0
- package/Source/Shaders/Voxels/IntersectionUtils.js +153 -0
- package/Source/Shaders/Voxels/Megatexture.glsl +136 -0
- package/Source/Shaders/Voxels/Megatexture.js +138 -0
- package/Source/Shaders/Voxels/Octree.glsl +221 -0
- package/Source/Shaders/Voxels/Octree.js +223 -0
- package/Source/Shaders/Voxels/VoxelFS.glsl +150 -0
- package/Source/Shaders/Voxels/VoxelFS.js +152 -0
- package/Source/Shaders/Voxels/VoxelVS.glsl +11 -0
- package/Source/Shaders/Voxels/VoxelVS.js +13 -0
- package/Source/Shaders/Voxels/convertUvToBox.glsl +16 -0
- package/Source/Shaders/Voxels/convertUvToBox.js +18 -0
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +79 -0
- package/Source/Shaders/Voxels/convertUvToCylinder.js +81 -0
- package/Source/Shaders/Voxels/convertUvToEllipsoid.glsl +133 -0
- package/Source/Shaders/Voxels/convertUvToEllipsoid.js +135 -0
- package/Source/ThirdParty/Workers/z-worker-pako.js +0 -0
- package/index.d.ts +3124 -2287
- package/index.js +1117 -1085
- package/package.json +3 -4
- package/Build/Workers/PolygonPipeline-774a8aaf.js +0 -1341
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './PrimitivePipeline-
|
|
1
|
+
define(['./defaultValue-0a909f67', './PrimitivePipeline-0d7b5ed4', './createTaskProcessorWorker', './Transforms-26539bce', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryPipeline-0166905d', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IndexDatatype-a55ceaa1', './IntersectionTests-a93d3de9', './Plane-900aa728', './WebMercatorProjection-13a90d41'], (function (defaultValue, PrimitivePipeline, createTaskProcessorWorker, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryPipeline, AttributeCompression, EncodedCartesian3, IndexDatatype, IntersectionTests, Plane, WebMercatorProjection) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/* global require */
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-26539bce', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './ComponentDatatype-f7b11d02', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './EncodedCartesian3-81f70735', './GeometryAttribute-0bfd05e8', './IntersectionTests-a93d3de9', './Plane-900aa728', './WebMercatorProjection-13a90d41', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c'], (function (Transforms, Matrix2, Matrix3, Check, defaultValue, Math$1, ArcType, arrayRemoveDuplicates, ComponentDatatype, EllipsoidGeodesic, EllipsoidRhumbLine, EncodedCartesian3, GeometryAttribute, IntersectionTests, Plane, WebMercatorProjection, combine, RuntimeError, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A tiling scheme for geometry referenced to a simple {@link GeographicProjection} where
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Transforms-26539bce', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './VertexFormat-6b480673', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c'], (function (defaultValue, Transforms, Matrix3, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, VertexFormat, Math$1, Matrix2, RuntimeError, combine, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes geometry representing a plane centered at the origin, with a unit width and length.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Transforms-26539bce', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c'], (function (defaultValue, Transforms, Matrix3, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, Math$1, Matrix2, RuntimeError, combine, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes geometry representing the outline of a plane centered at the origin, with a unit width and length.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './BoundingRectangle-80d8801f', './Transforms-26539bce', './Matrix2-13178034', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './EllipsoidGeodesic-98c62a56', './EllipsoidTangentPlane-cfb50678', './GeometryAttribute-0bfd05e8', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-0166905d', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonGeometryLibrary-f918ac26', './PolygonPipeline-f59a8f0a', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './arrayRemoveDuplicates-c2038105', './EllipsoidRhumbLine-19756602', './GeometryAttributes-f06a2792'], (function (defaultValue, Matrix3, ArcType, BoundingRectangle, Transforms, Matrix2, Check, ComponentDatatype, EllipsoidGeodesic, EllipsoidTangentPlane, GeometryAttribute, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonGeometryLibrary, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, arrayRemoveDuplicates, EllipsoidRhumbLine, GeometryAttributes) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCarto1 = new Matrix3.Cartographic();
|
|
4
4
|
const scratchCarto2 = new Matrix3.Cartographic();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './Transforms-26539bce', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './EllipsoidTangentPlane-cfb50678', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-0166905d', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonGeometryLibrary-f918ac26', './PolygonPipeline-f59a8f0a', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './arrayRemoveDuplicates-c2038105', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, ArcType, Transforms, Check, ComponentDatatype, EllipsoidTangentPlane, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonGeometryLibrary, PolygonPipeline, Matrix2, RuntimeError, combine, WebGLConstants, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, arrayRemoveDuplicates, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const createGeometryFromPositionsPositions = [];
|
|
4
4
|
const createGeometryFromPositionsSubdivided = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './Transforms-26539bce', './Color-1bf9a6e0', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolylinePipeline-d8e6bd9b', './VertexFormat-6b480673', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (defaultValue, Matrix3, ArcType, arrayRemoveDuplicates, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math$1, PolylinePipeline, VertexFormat, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchInterpolateColorsArray = [];
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './arrayRemoveDuplicates-c2038105', './BoundingRectangle-80d8801f', './Transforms-26539bce', './Matrix2-13178034', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-125d2edf', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryPipeline-0166905d', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-f59a8f0a', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-cfb50678', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728', './PolylinePipeline-d8e6bd9b', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Math, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, AttributeCompression, EncodedCartesian3) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function computeAttributes(
|
|
4
4
|
combinedPositions,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './arrayRemoveDuplicates-c2038105', './BoundingRectangle-80d8801f', './Transforms-26539bce', './Matrix2-13178034', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-125d2edf', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-f59a8f0a', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-cfb50678', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728', './PolylinePipeline-d8e6bd9b', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolygonPipeline, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function computeAttributes(positions, shape) {
|
|
4
4
|
const attributes = new GeometryAttributes.GeometryAttributes();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Matrix2-13178034', './Transforms-26539bce', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-0166905d', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-f59a8f0a', './RectangleGeometryLibrary-0768db63', './VertexFormat-6b480673', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IntersectionTests-a93d3de9', './Plane-900aa728', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, Matrix2, Transforms, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, VertexFormat, RuntimeError, combine, WebGLConstants, AttributeCompression, EncodedCartesian3, IntersectionTests, Plane, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const positionScratch = new Matrix3.Cartesian3();
|
|
4
4
|
const normalScratch = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Matrix2-13178034', './Transforms-26539bce', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-f59a8f0a', './RectangleGeometryLibrary-0768db63', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, Matrix2, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, RuntimeError, combine, WebGLConstants, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const bottomBoundingSphere = new Transforms.BoundingSphere();
|
|
4
4
|
const topBoundingSphere = new Transforms.BoundingSphere();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './Transforms-26539bce', './Color-1bf9a6e0', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolylinePipeline-d8e6bd9b', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (defaultValue, Matrix3, ArcType, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolylinePipeline, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function interpolateColors(p0, p1, color0, color1, minDistance, array, offset) {
|
|
4
4
|
const numPoints = PolylinePipeline.PolylinePipeline.numberOfPoints(p0, p1, minDistance);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './EllipsoidGeometry-a351dba8', './VertexFormat-6b480673', './Math-2dbd6b93', './Transforms-26539bce', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of a sphere centered at the origin.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './EllipsoidOutlineGeometry-3e8779bf', './Math-2dbd6b93', './Transforms-26539bce', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, Matrix3, Check, EllipsoidOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of the outline of a sphere.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './combine-ca22a614', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (AttributeCompression, Matrix3, combine, IndexDatatype, Math$1, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const MAX_SHORT = 32767;
|
|
4
4
|
const MITER_BREAK = Math.cos(Math$1.CesiumMath.toRadians(150.0));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-26539bce', './BoxGeometry-33c10a4f', './Matrix3-315394f6', './Color-1bf9a6e0', './CylinderGeometry-42740df0', './defaultValue-0a909f67', './EllipsoidGeometry-a351dba8', './IndexDatatype-a55ceaa1', './Matrix2-13178034', './createTaskProcessorWorker', './Check-666ab1a0', './Math-2dbd6b93', './combine-ca22a614', './RuntimeError-06c93819', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './VertexFormat-6b480673', './CylinderGeometryLibrary-372c07d8'], (function (Transforms, BoxGeometry, Matrix3, Color, CylinderGeometry, defaultValue, EllipsoidGeometry, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, Math$1, combine, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, CylinderGeometryLibrary) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes a renderable batch of geometry.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './Math-2dbd6b93', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (AttributeCompression, Matrix3, Math, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const maxShort = 32767;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './Color-1bf9a6e0', './defaultValue-0a909f67', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './OrientedBoundingBox-b450cb61', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './Transforms-26539bce', './combine-ca22a614', './RuntimeError-06c93819', './EllipsoidTangentPlane-cfb50678', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (AttributeCompression, Matrix3, Color, defaultValue, IndexDatatype, Math$1, OrientedBoundingBox, Matrix2, createTaskProcessorWorker, ComponentDatatype, Check, WebGLConstants, Transforms, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCenter = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchEllipsoid = new Matrix3.Ellipsoid();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-
|
|
1
|
+
define(['./Matrix3-315394f6', './combine-ca22a614', './AttributeCompression-b646d393', './Math-2dbd6b93', './IndexDatatype-a55ceaa1', './Matrix2-13178034', './createTaskProcessorWorker', './Check-666ab1a0', './defaultValue-0a909f67', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (Matrix3, combine, AttributeCompression, Math, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, defaultValue, ComponentDatatype, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const maxShort = 32767;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-a4321399', './Transforms-26539bce', './Matrix2-13178034', './Matrix3-315394f6', './defaultValue-0a909f67', './TerrainEncoding-06470d7f', './Math-2dbd6b93', './OrientedBoundingBox-b450cb61', './RuntimeError-06c93819', './WebMercatorProjection-13a90d41', './createTaskProcessorWorker', './Check-666ab1a0', './combine-ca22a614', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-cfb50678', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (AxisAlignedBoundingBox, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, Math$1, OrientedBoundingBox, RuntimeError, WebMercatorProjection, createTaskProcessorWorker, Check, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const sizeOfUint16 = Uint16Array.BYTES_PER_ELEMENT;
|
|
4
4
|
const sizeOfInt32 = Int32Array.BYTES_PER_ELEMENT;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-
|
|
1
|
+
define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-a4321399', './Transforms-26539bce', './Matrix2-13178034', './defaultValue-0a909f67', './Check-666ab1a0', './TerrainEncoding-06470d7f', './Math-2dbd6b93', './OrientedBoundingBox-b450cb61', './WebMercatorProjection-13a90d41', './RuntimeError-06c93819', './createTaskProcessorWorker', './combine-ca22a614', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-cfb50678', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (Matrix3, AxisAlignedBoundingBox, Transforms, Matrix2, defaultValue, Check, TerrainEncoding, Math$1, OrientedBoundingBox, WebMercatorProjection, RuntimeError, createTaskProcessorWorker, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The encoding that is used for a heightmap
|
|
@@ -545,7 +545,11 @@ define(['./Matrix3-4f4df527', './AxisAlignedBoundingBox-bfb1234f', './Transforms
|
|
|
545
545
|
};
|
|
546
546
|
var HeightmapTessellator$1 = HeightmapTessellator;
|
|
547
547
|
|
|
548
|
-
var
|
|
548
|
+
var LercDecodeExports = {};
|
|
549
|
+
var LercDecode = {
|
|
550
|
+
get exports(){ return LercDecodeExports; },
|
|
551
|
+
set exports(v){ LercDecodeExports = v; },
|
|
552
|
+
};
|
|
549
553
|
|
|
550
554
|
/* jshint forin: false, bitwise: false */
|
|
551
555
|
|
|
@@ -2654,7 +2658,7 @@ define(['./Matrix3-4f4df527', './AxisAlignedBoundingBox-bfb1234f', './Transforms
|
|
|
2654
2658
|
})();
|
|
2655
2659
|
} (LercDecode));
|
|
2656
2660
|
|
|
2657
|
-
var Lerc =
|
|
2661
|
+
var Lerc = LercDecodeExports;
|
|
2658
2662
|
|
|
2659
2663
|
function createVerticesFromHeightmap(parameters, transferableObjects) {
|
|
2660
2664
|
// LERC encoded buffers must be decoded, then we can process them like normal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-a4321399', './Matrix2-13178034', './Matrix3-315394f6', './defaultValue-0a909f67', './TerrainEncoding-06470d7f', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './Check-666ab1a0', './Transforms-26539bce', './WebMercatorProjection-13a90d41', './createTaskProcessorWorker', './RuntimeError-06c93819', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './combine-ca22a614'], (function (AxisAlignedBoundingBox, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Math$1, Check, Transforms, WebMercatorProjection, createTaskProcessorWorker, RuntimeError, AttributeCompression, ComponentDatatype, WebGLConstants, combine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Provides terrain or other geometry for the surface of an ellipsoid. The surface geometry is
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Transforms-26539bce', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './VertexFormat-6b480673', './WallGeometryLibrary-6167b0fc', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './arrayRemoveDuplicates-c2038105', './PolylinePipeline-d8e6bd9b', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, VertexFormat, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian3Position1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian3Position2 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Transforms-26539bce', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-0bfd05e8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './WallGeometryLibrary-6167b0fc', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './arrayRemoveDuplicates-c2038105', './PolylinePipeline-d8e6bd9b', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian3Position1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian3Position2 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./createTaskProcessorWorker', './defaultValue-0a909f67', './WebMercatorProjection-
|
|
1
|
+
define(['./createTaskProcessorWorker', './defaultValue-0a909f67', './WebMercatorProjection-13a90d41', './Matrix3-315394f6', './Math-2dbd6b93', './Check-666ab1a0'], (function (createTaskProcessorWorker, defaultValue, WebMercatorProjection, Matrix3, Math$1, Check) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/* global require */
|
|
4
4
|
|
package/Build/Workers/package.js
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.101
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
2
26
|
module.exports = { type: "commonjs" };
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.101
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
2
26
|
if (typeof self === "undefined") {
|
|
3
27
|
self = {};
|
|
4
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Transforms-26539bce', './Matrix2-13178034', './Matrix3-315394f6', './defaultValue-0a909f67', './TerrainEncoding-06470d7f', './IndexDatatype-a55ceaa1', './Check-666ab1a0', './Math-2dbd6b93', './OrientedBoundingBox-b450cb61', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './combine-ca22a614', './RuntimeError-06c93819', './EllipsoidTangentPlane-cfb50678', './AxisAlignedBoundingBox-a4321399', './IntersectionTests-a93d3de9', './Plane-900aa728'], (function (AttributeCompression, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Check, Math$1, OrientedBoundingBox, createTaskProcessorWorker, ComponentDatatype, WebGLConstants, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Contains functions for operating on 2D triangles.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import binarySearch from "./binarySearch.js";
|
|
2
|
+
import Check from "./Check.js";
|
|
2
3
|
import defaultValue from "./defaultValue.js";
|
|
3
4
|
import defined from "./defined.js";
|
|
4
5
|
import EarthOrientationParametersSample from "./EarthOrientationParametersSample.js";
|
|
@@ -14,15 +15,12 @@ import TimeStandard from "./TimeStandard.js";
|
|
|
14
15
|
* These Earth Orientation Parameters (EOP) are primarily used in the transformation from
|
|
15
16
|
* the International Celestial Reference Frame (ICRF) to the International Terrestrial
|
|
16
17
|
* Reference Frame (ITRF).
|
|
18
|
+
* This object is normally not instantiated directly, use {@link EarthOrientationParameters.fromUrl}.
|
|
17
19
|
*
|
|
18
20
|
* @alias EarthOrientationParameters
|
|
19
21
|
* @constructor
|
|
20
22
|
*
|
|
21
23
|
* @param {Object} [options] Object with the following properties:
|
|
22
|
-
* @param {Resource|String} [options.url] The URL from which to obtain EOP data. If neither this
|
|
23
|
-
* parameter nor options.data is specified, all EOP values are assumed
|
|
24
|
-
* to be 0.0. If options.data is specified, this parameter is
|
|
25
|
-
* ignored.
|
|
26
24
|
* @param {Object} [options.data] The actual EOP data. If neither this
|
|
27
25
|
* parameter nor options.data is specified, all EOP values are assumed
|
|
28
26
|
* to be 0.0.
|
|
@@ -32,22 +30,6 @@ import TimeStandard from "./TimeStandard.js";
|
|
|
32
30
|
* new leap seconds should be handled correctly in the context
|
|
33
31
|
* of the EOP data but otherwise ignored.
|
|
34
32
|
*
|
|
35
|
-
* @example
|
|
36
|
-
* // An example EOP data file, EOP.json:
|
|
37
|
-
* {
|
|
38
|
-
* "columnNames" : ["dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","ut1MinusUtcSeconds","lengthOfDayCorrectionSeconds","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","taiMinusUtcSeconds"],
|
|
39
|
-
* "samples" : [
|
|
40
|
-
* "2011-07-01T00:00:00Z",55743.0,2.117957047295119e-7,2.111518721609984e-6,-0.2908948,-2.956e-4,3.393695767766752e-11,3.3452143996557983e-10,34.0,
|
|
41
|
-
* "2011-07-02T00:00:00Z",55744.0,2.193297093339541e-7,2.115460256837405e-6,-0.29065,-1.824e-4,-8.241832578862112e-11,5.623838700870617e-10,34.0,
|
|
42
|
-
* "2011-07-03T00:00:00Z",55745.0,2.262286080161428e-7,2.1191157519929706e-6,-0.2905572,1.9e-6,-3.490658503988659e-10,6.981317007977318e-10,34.0
|
|
43
|
-
* ]
|
|
44
|
-
* }
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* // Loading the EOP data
|
|
48
|
-
* const eop = new Cesium.EarthOrientationParameters({ url : 'Data/EOP.json' });
|
|
49
|
-
* Cesium.Transforms.earthOrientationParameters = eop;
|
|
50
|
-
*
|
|
51
33
|
* @private
|
|
52
34
|
*/
|
|
53
35
|
function EarthOrientationParameters(options) {
|
|
@@ -67,27 +49,11 @@ function EarthOrientationParameters(options) {
|
|
|
67
49
|
this._columnCount = 0;
|
|
68
50
|
this._lastIndex = -1;
|
|
69
51
|
|
|
70
|
-
this._downloadPromise = undefined;
|
|
71
|
-
this._dataError = undefined;
|
|
72
|
-
|
|
73
52
|
this._addNewLeapSeconds = defaultValue(options.addNewLeapSeconds, true);
|
|
74
53
|
|
|
75
54
|
if (defined(options.data)) {
|
|
76
55
|
// Use supplied EOP data.
|
|
77
56
|
onDataReady(this, options.data);
|
|
78
|
-
} else if (defined(options.url)) {
|
|
79
|
-
const resource = Resource.createIfNeeded(options.url);
|
|
80
|
-
|
|
81
|
-
// Download EOP data.
|
|
82
|
-
const that = this;
|
|
83
|
-
this._downloadPromise = resource
|
|
84
|
-
.fetchJson()
|
|
85
|
-
.then(function (eopData) {
|
|
86
|
-
onDataReady(that, eopData);
|
|
87
|
-
})
|
|
88
|
-
.catch(function () {
|
|
89
|
-
that._dataError = `An error occurred while retrieving the EOP data from the URL ${resource.url}.`;
|
|
90
|
-
});
|
|
91
57
|
} else {
|
|
92
58
|
// Use all zeros for EOP data.
|
|
93
59
|
onDataReady(this, {
|
|
@@ -107,13 +73,64 @@ function EarthOrientationParameters(options) {
|
|
|
107
73
|
}
|
|
108
74
|
}
|
|
109
75
|
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param {Resource|String} [url] The URL from which to obtain EOP data. If neither this
|
|
79
|
+
* parameter nor options.data is specified, all EOP values are assumed
|
|
80
|
+
* to be 0.0. If options.data is specified, this parameter is
|
|
81
|
+
* ignored.
|
|
82
|
+
* @param {Object} [options] Object with the following properties:
|
|
83
|
+
* @param {Boolean} [options.addNewLeapSeconds=true] True if leap seconds that
|
|
84
|
+
* are specified in the EOP data but not in {@link JulianDate.leapSeconds}
|
|
85
|
+
* should be added to {@link JulianDate.leapSeconds}. False if
|
|
86
|
+
* new leap seconds should be handled correctly in the context
|
|
87
|
+
* of the EOP data but otherwise ignored.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* // An example EOP data file, EOP.json:
|
|
91
|
+
* {
|
|
92
|
+
* "columnNames" : ["dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","ut1MinusUtcSeconds","lengthOfDayCorrectionSeconds","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","taiMinusUtcSeconds"],
|
|
93
|
+
* "samples" : [
|
|
94
|
+
* "2011-07-01T00:00:00Z",55743.0,2.117957047295119e-7,2.111518721609984e-6,-0.2908948,-2.956e-4,3.393695767766752e-11,3.3452143996557983e-10,34.0,
|
|
95
|
+
* "2011-07-02T00:00:00Z",55744.0,2.193297093339541e-7,2.115460256837405e-6,-0.29065,-1.824e-4,-8.241832578862112e-11,5.623838700870617e-10,34.0,
|
|
96
|
+
* "2011-07-03T00:00:00Z",55745.0,2.262286080161428e-7,2.1191157519929706e-6,-0.2905572,1.9e-6,-3.490658503988659e-10,6.981317007977318e-10,34.0
|
|
97
|
+
* ]
|
|
98
|
+
* }
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* // Loading the EOP data
|
|
102
|
+
* const eop = await Cesium.EarthOrientationParameters.fromUrl('Data/EOP.json');
|
|
103
|
+
* Cesium.Transforms.earthOrientationParameters = eop;
|
|
104
|
+
*/
|
|
105
|
+
EarthOrientationParameters.fromUrl = async function (url, options) {
|
|
106
|
+
//>>includeStart('debug', pragmas.debug);
|
|
107
|
+
Check.defined("url", url);
|
|
108
|
+
//>>includeEnd('debug');
|
|
109
|
+
|
|
110
|
+
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
|
|
111
|
+
|
|
112
|
+
const resource = Resource.createIfNeeded(url);
|
|
113
|
+
|
|
114
|
+
// Download EOP data.
|
|
115
|
+
let eopData;
|
|
116
|
+
try {
|
|
117
|
+
eopData = await resource.fetchJson();
|
|
118
|
+
} catch (e) {
|
|
119
|
+
throw new RuntimeError(
|
|
120
|
+
`An error occurred while retrieving the EOP data from the URL ${resource.url}.`
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return new EarthOrientationParameters({
|
|
125
|
+
addNewLeapSeconds: options.addNewLeapSeconds,
|
|
126
|
+
data: eopData,
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
|
|
110
130
|
/**
|
|
111
131
|
* A default {@link EarthOrientationParameters} instance that returns zero for all EOP values.
|
|
112
132
|
*/
|
|
113
133
|
EarthOrientationParameters.NONE = Object.freeze({
|
|
114
|
-
getPromiseToLoad: function () {
|
|
115
|
-
return Promise.resolve();
|
|
116
|
-
},
|
|
117
134
|
compute: function (date, result) {
|
|
118
135
|
if (!defined(result)) {
|
|
119
136
|
result = new EarthOrientationParametersSample(0.0, 0.0, 0.0, 0.0, 0.0);
|
|
@@ -128,16 +145,6 @@ EarthOrientationParameters.NONE = Object.freeze({
|
|
|
128
145
|
},
|
|
129
146
|
});
|
|
130
147
|
|
|
131
|
-
/**
|
|
132
|
-
* Gets a promise that, when resolved, indicates that the EOP data has been loaded and is
|
|
133
|
-
* ready to use.
|
|
134
|
-
*
|
|
135
|
-
* @returns {Promise<void>} The promise.
|
|
136
|
-
*/
|
|
137
|
-
EarthOrientationParameters.prototype.getPromiseToLoad = function () {
|
|
138
|
-
return Promise.resolve(this._downloadPromise);
|
|
139
|
-
};
|
|
140
|
-
|
|
141
148
|
/**
|
|
142
149
|
* Computes the Earth Orientation Parameters (EOP) for a given date by interpolating.
|
|
143
150
|
* If the EOP data has not yet been download, this method returns undefined.
|
|
@@ -151,15 +158,11 @@ EarthOrientationParameters.prototype.getPromiseToLoad = function () {
|
|
|
151
158
|
*
|
|
152
159
|
* @exception {RuntimeError} The loaded EOP data has an error and cannot be used.
|
|
153
160
|
*
|
|
154
|
-
* @see EarthOrientationParameters#
|
|
161
|
+
* @see EarthOrientationParameters#fromUrl
|
|
155
162
|
*/
|
|
156
163
|
EarthOrientationParameters.prototype.compute = function (date, result) {
|
|
157
164
|
// We cannot compute until the samples are available.
|
|
158
165
|
if (!defined(this._samples)) {
|
|
159
|
-
if (defined(this._dataError)) {
|
|
160
|
-
throw new RuntimeError(this._dataError);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
166
|
return undefined;
|
|
164
167
|
}
|
|
165
168
|
|
|
@@ -237,15 +240,15 @@ function compareLeapSecondDates(leapSecond, dateToFind) {
|
|
|
237
240
|
|
|
238
241
|
function onDataReady(eop, eopData) {
|
|
239
242
|
if (!defined(eopData.columnNames)) {
|
|
240
|
-
|
|
241
|
-
"Error in loaded EOP data: The columnNames property is required."
|
|
242
|
-
|
|
243
|
+
throw new RuntimeError(
|
|
244
|
+
"Error in loaded EOP data: The columnNames property is required."
|
|
245
|
+
);
|
|
243
246
|
}
|
|
244
247
|
|
|
245
248
|
if (!defined(eopData.samples)) {
|
|
246
|
-
|
|
247
|
-
"Error in loaded EOP data: The samples property is required."
|
|
248
|
-
|
|
249
|
+
throw new RuntimeError(
|
|
250
|
+
"Error in loaded EOP data: The samples property is required."
|
|
251
|
+
);
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
const dateColumn = eopData.columnNames.indexOf("modifiedJulianDateUtc");
|
|
@@ -277,9 +280,9 @@ function onDataReady(eop, eopData) {
|
|
|
277
280
|
yCelestialPoleOffsetRadiansColumn < 0 ||
|
|
278
281
|
taiMinusUtcSecondsColumn < 0
|
|
279
282
|
) {
|
|
280
|
-
|
|
281
|
-
"Error in loaded EOP data: The columnNames property must include modifiedJulianDateUtc, xPoleWanderRadians, yPoleWanderRadians, ut1MinusUtcSeconds, xCelestialPoleOffsetRadians, yCelestialPoleOffsetRadians, and taiMinusUtcSeconds columns"
|
|
282
|
-
|
|
283
|
+
throw new RuntimeError(
|
|
284
|
+
"Error in loaded EOP data: The columnNames property must include modifiedJulianDateUtc, xPoleWanderRadians, yPoleWanderRadians, ut1MinusUtcSeconds, xCelestialPoleOffsetRadians, yCelestialPoleOffsetRadians, and taiMinusUtcSeconds columns"
|
|
285
|
+
);
|
|
283
286
|
}
|
|
284
287
|
|
|
285
288
|
const samples = (eop._samples = eopData.samples);
|
|
@@ -428,4 +431,5 @@ function interpolate(eop, dates, samples, date, before, after, result) {
|
|
|
428
431
|
);
|
|
429
432
|
return result;
|
|
430
433
|
}
|
|
434
|
+
|
|
431
435
|
export default EarthOrientationParameters;
|
package/Source/Core/Ion.js
CHANGED
|
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
|
|
|
4
4
|
|
|
5
5
|
let defaultTokenCredit;
|
|
6
6
|
const defaultAccessToken =
|
|
7
|
-
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
7
|
+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyZTlhMmUzMS1iZjI3LTRhMmQtYjFkZi02MDhlMDZjZDlmNDIiLCJpZCI6MjU5LCJpYXQiOjE2NzI2ODQyMDR9.GfS2oIjtP-hkhYm4g_Y6Vvpdp954z30qPWJnlNBF-co";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Default settings for accessing the Cesium ion API.
|