@cesium/engine 2.1.0 → 2.2.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/{AxisAlignedBoundingBox-a6f9f0e5.js → AxisAlignedBoundingBox-379015ef.js} +1 -1
- package/Build/Workers/{BoundingRectangle-b0a68595.js → BoundingRectangle-57f2b24f.js} +1 -1
- package/Build/Workers/{BoxGeometry-baedd794.js → BoxGeometry-ecabfc78.js} +1 -1
- package/Build/Workers/{Color-f85df1be.js → Color-14d1a36d.js} +1 -1
- package/Build/Workers/{CoplanarPolygonGeometryLibrary-30516950.js → CoplanarPolygonGeometryLibrary-048c3c14.js} +1 -1
- package/Build/Workers/{CorridorGeometryLibrary-5d5d3b3a.js → CorridorGeometryLibrary-520c8619.js} +1 -1
- package/Build/Workers/{CylinderGeometry-d899ae26.js → CylinderGeometry-119068b8.js} +1 -1
- package/Build/Workers/{EllipseGeometry-a49f8449.js → EllipseGeometry-2dfc3523.js} +1 -1
- package/Build/Workers/{EllipseGeometryLibrary-cba7edde.js → EllipseGeometryLibrary-0a1e0170.js} +1 -1
- package/Build/Workers/{EllipseOutlineGeometry-8095c8cb.js → EllipseOutlineGeometry-c5251669.js} +1 -1
- package/Build/Workers/{EllipsoidGeometry-ed93f571.js → EllipsoidGeometry-d10a5221.js} +1 -1
- package/Build/Workers/{EllipsoidOutlineGeometry-e4854854.js → EllipsoidOutlineGeometry-7039a0ae.js} +1 -1
- package/Build/Workers/{EllipsoidTangentPlane-7ae1aa9a.js → EllipsoidTangentPlane-857186be.js} +1 -1
- package/Build/Workers/{FrustumGeometry-b62db3e3.js → FrustumGeometry-400fa1b7.js} +2 -2
- package/Build/Workers/{GeometryAttribute-780af4fa.js → GeometryAttribute-7a2de5c6.js} +1 -1
- package/Build/Workers/{GeometryPipeline-36b61c99.js → GeometryPipeline-916636fa.js} +1 -1
- package/Build/Workers/{IntersectionTests-e889fcf0.js → IntersectionTests-b4d02d4d.js} +1 -1
- package/Build/Workers/{OrientedBoundingBox-43478ac8.js → OrientedBoundingBox-96fe1752.js} +5 -3
- package/Build/Workers/{PolygonGeometryLibrary-38a98276.js → PolygonGeometryLibrary-931f1ec6.js} +1 -1
- package/Build/Workers/{PolygonPipeline-d31ff61c.js → PolygonPipeline-32fc92cc.js} +1 -1
- package/Build/Workers/{PolylinePipeline-30e4cec9.js → PolylinePipeline-6d5c63e5.js} +1 -1
- package/Build/Workers/{PolylineVolumeGeometryLibrary-90551d26.js → PolylineVolumeGeometryLibrary-f068c1fb.js} +1 -1
- package/Build/Workers/{PrimitivePipeline-558d9cb0.js → PrimitivePipeline-879f996a.js} +1 -1
- package/Build/Workers/{RectangleGeometryLibrary-815c68df.js → RectangleGeometryLibrary-2d6f36f3.js} +1 -1
- package/Build/Workers/{TerrainEncoding-341ead52.js → TerrainEncoding-82882059.js} +1 -1
- package/Build/Workers/{Transforms-9e9df299.js → Transforms-9052372a.js} +6 -5
- package/Build/Workers/{WallGeometryLibrary-ccf90976.js → WallGeometryLibrary-db7a64fb.js} +1 -1
- package/Build/Workers/cesiumWorkerBootstrapper.js +1 -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/createVectorTileGeometries.js +1 -1
- package/Build/Workers/createVectorTilePolygons.js +1 -1
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/Build/Workers/createVerticesFromHeightmap.js +1 -1
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +10 -15
- package/Build/Workers/createWallGeometry.js +1 -1
- package/Build/Workers/createWallOutlineGeometry.js +1 -1
- package/Build/Workers/package.js +1 -1
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +291 -191
- package/Source/Core/CesiumTerrainProvider.js +571 -434
- package/Source/Core/CustomHeightmapTerrainProvider.js +12 -0
- package/Source/Core/EllipsoidTerrainProvider.js +17 -10
- package/Source/Core/FrustumGeometry.js +1 -1
- package/Source/Core/GoogleEarthEnterpriseMetadata.js +86 -34
- package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +119 -82
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/IonResource.js +14 -3
- package/Source/Core/OrientedBoundingBox.js +4 -2
- package/Source/Core/RequestScheduler.js +1 -1
- package/Source/Core/Resource.js +2 -2
- package/Source/Core/TerrainProvider.js +9 -14
- package/Source/Core/TileProviderError.js +8 -8
- package/Source/Core/VRTheWorldTerrainProvider.js +193 -124
- package/Source/Core/buildModuleUrl.js +4 -3
- package/Source/Core/createWorldTerrain.js +20 -2
- package/Source/Core/createWorldTerrainAsync.js +48 -0
- package/Source/Core/sampleTerrain.js +9 -10
- package/Source/Core/sampleTerrainMostDetailed.js +66 -72
- package/Source/DataSources/Cesium3DTilesetVisualizer.js +37 -26
- package/Source/DataSources/Entity.js +6 -1
- package/Source/DataSources/ModelVisualizer.js +99 -31
- package/Source/DataSources/PolygonGraphics.js +1 -1
- package/Source/Scene/ArcGisMapServerImageryProvider.js +552 -376
- package/Source/Scene/BingMapsImageryProvider.js +511 -305
- package/Source/Scene/BufferLoader.js +29 -34
- package/Source/Scene/Cesium3DTile.js +388 -251
- package/Source/Scene/Cesium3DTileBatchTable.js +2 -2
- package/Source/Scene/Cesium3DTileContent.js +16 -0
- package/Source/Scene/Cesium3DTileContentFactory.js +4 -4
- package/Source/Scene/Cesium3DTilePass.js +8 -11
- package/Source/Scene/Cesium3DTileStyleEngine.js +1 -1
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +225 -117
- package/Source/Scene/Cesium3DTileset.js +755 -481
- package/Source/Scene/Cesium3DTilesetBaseTraversal.js +301 -0
- package/Source/Scene/Cesium3DTilesetMostDetailedTraversal.js +33 -46
- package/Source/Scene/Cesium3DTilesetSkipTraversal.js +421 -0
- package/Source/Scene/Cesium3DTilesetTraversal.js +219 -671
- package/Source/Scene/ClassificationPrimitive.js +7 -0
- package/Source/Scene/Composite3DTileContent.js +69 -26
- package/Source/Scene/CreditDisplay.js +20 -4
- package/Source/Scene/DepthPlane.js +1 -1
- package/Source/Scene/Empty3DTileContent.js +31 -1
- package/Source/Scene/Geometry3DTileContent.js +47 -7
- package/Source/Scene/Globe.js +5 -1
- package/Source/Scene/GlobeSurfaceTile.js +2 -1
- package/Source/Scene/GlobeSurfaceTileProvider.js +50 -27
- package/Source/Scene/GltfBufferViewLoader.js +47 -91
- package/Source/Scene/GltfDracoLoader.js +110 -112
- package/Source/Scene/GltfImageLoader.js +71 -78
- package/Source/Scene/GltfIndexBufferLoader.js +108 -121
- package/Source/Scene/GltfJsonLoader.js +75 -74
- package/Source/Scene/GltfLoader.js +392 -280
- package/Source/Scene/GltfStructuralMetadataLoader.js +109 -110
- package/Source/Scene/GltfTextureLoader.js +97 -96
- package/Source/Scene/GltfVertexBufferLoader.js +128 -133
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +353 -225
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +491 -331
- package/Source/Scene/GridImageryProvider.js +267 -104
- package/Source/Scene/GroundPolylinePrimitive.js +12 -1
- package/Source/Scene/GroundPrimitive.js +8 -1
- package/Source/Scene/I3SDataProvider.js +214 -113
- package/Source/Scene/I3SFeature.js +7 -6
- package/Source/Scene/I3SLayer.js +26 -37
- package/Source/Scene/I3SNode.js +59 -66
- package/Source/Scene/Imagery.js +6 -1
- package/Source/Scene/ImageryLayer.js +299 -48
- package/Source/Scene/ImageryLayerCollection.js +26 -0
- package/Source/Scene/ImageryProvider.js +129 -111
- package/Source/Scene/Implicit3DTileContent.js +72 -23
- package/Source/Scene/ImplicitSubtree.js +66 -45
- package/Source/Scene/IonImageryProvider.js +471 -264
- package/Source/Scene/MapboxImageryProvider.js +272 -112
- package/Source/Scene/MapboxStyleImageryProvider.js +270 -111
- package/Source/Scene/MetadataSchemaLoader.js +26 -36
- package/Source/Scene/Model/B3dmLoader.js +42 -46
- package/Source/Scene/Model/GeoJsonLoader.js +8 -32
- package/Source/Scene/Model/I3dmLoader.js +48 -74
- package/Source/Scene/Model/Model.js +470 -132
- package/Source/Scene/Model/Model3DTileContent.js +83 -31
- package/Source/Scene/Model/ModelAnimationCollection.js +3 -3
- package/Source/Scene/Model/ModelDrawCommand.js +15 -26
- package/Source/Scene/Model/ModelUtility.js +16 -16
- package/Source/Scene/Model/PntsLoader.js +27 -32
- package/Source/Scene/Multiple3DTileContent.js +134 -115
- package/Source/Scene/PointCloud.js +11 -19
- package/Source/Scene/Primitive.js +20 -0
- package/Source/Scene/QuadtreePrimitive.js +2 -0
- package/Source/Scene/QuadtreeTileProvider.js +4 -8
- package/Source/Scene/ResourceCache.js +47 -105
- package/Source/Scene/ResourceCacheStatistics.js +24 -58
- package/Source/Scene/ResourceLoader.js +5 -17
- package/Source/Scene/ResourceLoaderState.js +12 -4
- package/Source/Scene/Scene.js +65 -0
- package/Source/Scene/ScreenSpaceCameraController.js +1 -1
- package/Source/Scene/SingleTileImageryProvider.js +382 -209
- package/Source/Scene/Terrain.js +196 -0
- package/Source/Scene/TileCoordinatesImageryProvider.js +267 -104
- package/Source/Scene/TileMapServiceImageryProvider.js +177 -85
- package/Source/Scene/Tileset3DTileContent.js +47 -5
- package/Source/Scene/TimeDynamicPointCloud.js +15 -2
- package/Source/Scene/UrlTemplateImageryProvider.js +343 -215
- package/Source/Scene/Vector3DTileClampedPolylines.js +96 -84
- package/Source/Scene/Vector3DTileContent.js +47 -22
- package/Source/Scene/Vector3DTileGeometry.js +57 -52
- package/Source/Scene/Vector3DTilePoints.js +72 -68
- package/Source/Scene/Vector3DTilePolygons.js +118 -117
- package/Source/Scene/Vector3DTilePolylines.js +86 -82
- package/Source/Scene/Vector3DTilePrimitive.js +0 -1
- package/Source/Scene/VoxelContent.js +61 -63
- package/Source/Scene/VoxelPrimitive.js +39 -91
- package/Source/Scene/VoxelProvider.js +2 -2
- package/Source/Scene/WebMapServiceImageryProvider.js +272 -111
- package/Source/Scene/WebMapTileServiceImageryProvider.js +270 -107
- package/Source/Scene/computeFlyToLocationForRectangle.js +33 -37
- package/Source/Scene/createOsmBuildings.js +6 -0
- package/Source/Scene/createOsmBuildingsAsync.js +82 -0
- package/Source/Scene/createWorldImagery.js +14 -5
- package/Source/Scene/createWorldImageryAsync.js +39 -0
- package/Source/Widget/CesiumWidget.js +55 -27
- package/index.d.ts +2158 -1395
- package/index.js +58 -51
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './ArcType-2d9abbbc', './arrayRemoveDuplicates-fac118a8', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './ArcType-2d9abbbc', './arrayRemoveDuplicates-fac118a8', './Transforms-9052372a', './Color-14d1a36d', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolylinePipeline-6d5c63e5', './VertexFormat-030f11ff', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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-fe22d8c0', './Matrix3-fa806b97', './arrayRemoveDuplicates-fac118a8', './BoundingRectangle-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './arrayRemoveDuplicates-fac118a8', './BoundingRectangle-57f2b24f', './Transforms-9052372a', './Matrix2-1e403d0e', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-f068c1fb', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryPipeline-916636fa', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolygonPipeline-32fc92cc', './VertexFormat-030f11ff', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-857186be', './AxisAlignedBoundingBox-379015ef', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6', './PolylinePipeline-6d5c63e5', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507', './AttributeCompression-8a5a065e', './EncodedCartesian3-e8bbca36'], (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-fe22d8c0', './Matrix3-fa806b97', './arrayRemoveDuplicates-fac118a8', './BoundingRectangle-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './arrayRemoveDuplicates-fac118a8', './BoundingRectangle-57f2b24f', './Transforms-9052372a', './Matrix2-1e403d0e', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-f068c1fb', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolygonPipeline-32fc92cc', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-857186be', './AxisAlignedBoundingBox-379015ef', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6', './PolylinePipeline-6d5c63e5', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507'], (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-fe22d8c0', './Matrix3-fa806b97', './Matrix2-1e403d0e', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Matrix2-1e403d0e', './Transforms-9052372a', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryInstance-3fb607b7', './GeometryOffsetAttribute-9ad0019c', './GeometryPipeline-916636fa', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolygonPipeline-32fc92cc', './RectangleGeometryLibrary-2d6f36f3', './VertexFormat-030f11ff', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './AttributeCompression-8a5a065e', './EncodedCartesian3-e8bbca36', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6', './EllipsoidRhumbLine-b672d507'], (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-fe22d8c0', './Matrix3-fa806b97', './Matrix2-1e403d0e', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Matrix2-1e403d0e', './Transforms-9052372a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolygonPipeline-32fc92cc', './RectangleGeometryLibrary-2d6f36f3', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidRhumbLine-b672d507'], (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-fe22d8c0', './Matrix3-fa806b97', './ArcType-2d9abbbc', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './ArcType-2d9abbbc', './Transforms-9052372a', './Color-14d1a36d', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './PolylinePipeline-6d5c63e5', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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-fe22d8c0', './Matrix3-fa806b97', './Check-6ede7e26', './EllipsoidGeometry-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Check-6ede7e26', './EllipsoidGeometry-d10a5221', './VertexFormat-030f11ff', './Math-dad82b4d', './Transforms-9052372a', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-b8f3e09d'], (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-fe22d8c0', './Matrix3-fa806b97', './Check-6ede7e26', './EllipsoidOutlineGeometry-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Check-6ede7e26', './EllipsoidOutlineGeometry-7039a0ae', './Math-dad82b4d', './Transforms-9052372a', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-b8f3e09d'], (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(['./Transforms-
|
|
1
|
+
define(['./Transforms-9052372a', './BoxGeometry-ecabfc78', './Matrix3-fa806b97', './Color-14d1a36d', './CylinderGeometry-119068b8', './defaultValue-fe22d8c0', './EllipsoidGeometry-d10a5221', './IndexDatatype-b8f3e09d', './Matrix2-1e403d0e', './createTaskProcessorWorker', './Check-6ede7e26', './Math-dad82b4d', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './VertexFormat-030f11ff', './CylinderGeometryLibrary-135b0858'], (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-8a5a065e', './Matrix3-fa806b97', './Color-
|
|
1
|
+
define(['./AttributeCompression-8a5a065e', './Matrix3-fa806b97', './Color-14d1a36d', './defaultValue-fe22d8c0', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './OrientedBoundingBox-96fe1752', './Matrix2-1e403d0e', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './Transforms-9052372a', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-857186be', './AxisAlignedBoundingBox-379015ef', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-379015ef', './Transforms-9052372a', './Matrix2-1e403d0e', './Matrix3-fa806b97', './defaultValue-fe22d8c0', './TerrainEncoding-82882059', './Math-dad82b4d', './OrientedBoundingBox-96fe1752', './RuntimeError-ef395448', './WebMercatorProjection-76a3fcc0', './createTaskProcessorWorker', './Check-6ede7e26', './combine-d9581036', './AttributeCompression-8a5a065e', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-857186be', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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-fa806b97', './AxisAlignedBoundingBox-
|
|
1
|
+
define(['./Matrix3-fa806b97', './AxisAlignedBoundingBox-379015ef', './Transforms-9052372a', './Matrix2-1e403d0e', './defaultValue-fe22d8c0', './Check-6ede7e26', './TerrainEncoding-82882059', './Math-dad82b4d', './OrientedBoundingBox-96fe1752', './WebMercatorProjection-76a3fcc0', './RuntimeError-ef395448', './createTaskProcessorWorker', './combine-d9581036', './AttributeCompression-8a5a065e', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-857186be', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-379015ef', './Matrix2-1e403d0e', './Matrix3-fa806b97', './defaultValue-fe22d8c0', './TerrainEncoding-82882059', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './Check-6ede7e26', './Transforms-9052372a', './WebMercatorProjection-76a3fcc0', './createTaskProcessorWorker', './RuntimeError-ef395448', './AttributeCompression-8a5a065e', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036'], (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
|
|
@@ -19,7 +19,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperties(TerrainProvider.prototype, {
|
|
21
21
|
/**
|
|
22
|
-
* Gets an event that is raised when the terrain provider encounters an asynchronous error
|
|
22
|
+
* Gets an event that is raised when the terrain provider encounters an asynchronous error. By subscribing
|
|
23
23
|
* to the event, you will be notified of the error and can potentially recover from it. Event listeners
|
|
24
24
|
* are passed an instance of {@link TileProviderError}.
|
|
25
25
|
* @memberof TerrainProvider.prototype
|
|
@@ -32,8 +32,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Gets the credit to display when this terrain provider is active. Typically this is used to credit
|
|
35
|
-
* the source of the terrain.
|
|
36
|
-
* not be called before {@link TerrainProvider#ready} returns true.
|
|
35
|
+
* the source of the terrain.
|
|
37
36
|
* @memberof TerrainProvider.prototype
|
|
38
37
|
* @type {Credit}
|
|
39
38
|
* @readonly
|
|
@@ -43,8 +42,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
43
42
|
},
|
|
44
43
|
|
|
45
44
|
/**
|
|
46
|
-
* Gets the tiling scheme used by the provider.
|
|
47
|
-
* not be called before {@link TerrainProvider#ready} returns true.
|
|
45
|
+
* Gets the tiling scheme used by the provider.
|
|
48
46
|
* @memberof TerrainProvider.prototype
|
|
49
47
|
* @type {TilingScheme}
|
|
50
48
|
* @readonly
|
|
@@ -58,6 +56,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
58
56
|
* @memberof TerrainProvider.prototype
|
|
59
57
|
* @type {boolean}
|
|
60
58
|
* @readonly
|
|
59
|
+
* @deprecated
|
|
61
60
|
*/
|
|
62
61
|
ready: {
|
|
63
62
|
get: Check.DeveloperError.throwInstantiationError,
|
|
@@ -68,6 +67,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
68
67
|
* @memberof TerrainProvider.prototype
|
|
69
68
|
* @type {Promise<boolean>}
|
|
70
69
|
* @readonly
|
|
70
|
+
* @deprecated
|
|
71
71
|
*/
|
|
72
72
|
readyPromise: {
|
|
73
73
|
get: Check.DeveloperError.throwInstantiationError,
|
|
@@ -76,8 +76,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
76
76
|
/**
|
|
77
77
|
* Gets a value indicating whether or not the provider includes a water mask. The water mask
|
|
78
78
|
* indicates which areas of the globe are water rather than land, so they can be rendered
|
|
79
|
-
* as a reflective surface with animated waves.
|
|
80
|
-
* called before {@link TerrainProvider#ready} returns true.
|
|
79
|
+
* as a reflective surface with animated waves.
|
|
81
80
|
* @memberof TerrainProvider.prototype
|
|
82
81
|
* @type {boolean}
|
|
83
82
|
* @readonly
|
|
@@ -88,7 +87,6 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
88
87
|
|
|
89
88
|
/**
|
|
90
89
|
* Gets a value indicating whether or not the requested tiles include vertex normals.
|
|
91
|
-
* This function should not be called before {@link TerrainProvider#ready} returns true.
|
|
92
90
|
* @memberof TerrainProvider.prototype
|
|
93
91
|
* @type {boolean}
|
|
94
92
|
* @readonly
|
|
@@ -99,8 +97,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
99
97
|
|
|
100
98
|
/**
|
|
101
99
|
* Gets an object that can be used to determine availability of terrain from this provider, such as
|
|
102
|
-
* at points and in rectangles.
|
|
103
|
-
* {@link TerrainProvider#ready} returns true. This property may be undefined if availability
|
|
100
|
+
* at points and in rectangles. This property may be undefined if availability
|
|
104
101
|
* information is not available.
|
|
105
102
|
* @memberof TerrainProvider.prototype
|
|
106
103
|
* @type {TileAvailability}
|
|
@@ -396,8 +393,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
396
393
|
};
|
|
397
394
|
|
|
398
395
|
/**
|
|
399
|
-
* Requests the geometry for a given tile.
|
|
400
|
-
* {@link TerrainProvider#ready} returns true. The result must include terrain data and
|
|
396
|
+
* Requests the geometry for a given tile. The result must include terrain data and
|
|
401
397
|
* may optionally include a water mask and an indication of which child tiles are available.
|
|
402
398
|
* @function
|
|
403
399
|
*
|
|
@@ -414,8 +410,7 @@ define(['./AxisAlignedBoundingBox-a6f9f0e5', './Matrix2-1e403d0e', './Matrix3-fa
|
|
|
414
410
|
Check.DeveloperError.throwInstantiationError;
|
|
415
411
|
|
|
416
412
|
/**
|
|
417
|
-
* Gets the maximum geometric error allowed in a tile at a given level.
|
|
418
|
-
* called before {@link TerrainProvider#ready} returns true.
|
|
413
|
+
* Gets the maximum geometric error allowed in a tile at a given level.
|
|
419
414
|
* @function
|
|
420
415
|
*
|
|
421
416
|
* @param {number} level The tile level for which to get the maximum geometric error.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Transforms-9052372a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './VertexFormat-030f11ff', './WallGeometryLibrary-db7a64fb', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-fac118a8', './PolylinePipeline-6d5c63e5', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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-fe22d8c0', './Matrix3-fa806b97', './Transforms-
|
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-fa806b97', './Transforms-9052372a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-7a2de5c6', './GeometryAttributes-ad136444', './IndexDatatype-b8f3e09d', './Math-dad82b4d', './WallGeometryLibrary-db7a64fb', './Matrix2-1e403d0e', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-fac118a8', './PolylinePipeline-6d5c63e5', './EllipsoidGeodesic-dcff5cbd', './EllipsoidRhumbLine-b672d507', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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();
|
package/Build/Workers/package.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-8a5a065e', './Transforms-
|
|
1
|
+
define(['./AttributeCompression-8a5a065e', './Transforms-9052372a', './Matrix2-1e403d0e', './Matrix3-fa806b97', './defaultValue-fe22d8c0', './TerrainEncoding-82882059', './IndexDatatype-b8f3e09d', './Check-6ede7e26', './Math-dad82b4d', './OrientedBoundingBox-96fe1752', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-857186be', './AxisAlignedBoundingBox-379015ef', './IntersectionTests-b4d02d4d', './Plane-c27e1ac6'], (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.
|