cesium 0.21 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/Assets/Textures/moonSmall.jpg +0 -0
- data/app/assets/javascripts/Cesium.js +10 -1
- data/app/assets/javascripts/Core/Cartesian2.js +28 -0
- data/app/assets/javascripts/Core/Cartesian3.js +28 -0
- data/app/assets/javascripts/Core/Cartesian4.js +28 -0
- data/app/assets/javascripts/Core/CatmullRomSpline.js +3 -3
- data/app/assets/javascripts/Core/Clock.js +7 -7
- data/app/assets/javascripts/Core/Color.js +1 -1
- data/app/assets/javascripts/Core/ComponentDatatype.js +11 -7
- data/app/assets/javascripts/Core/CorridorGeometryLibrary.js +23 -29
- data/app/assets/javascripts/Core/Ellipsoid.js +6 -0
- data/app/assets/javascripts/Core/EllipsoidTangentPlane.js +5 -4
- data/app/assets/javascripts/Core/Event.js +2 -1
- data/app/assets/javascripts/Core/ExtentGeometry.js +1 -1
- data/app/assets/javascripts/Core/ExtentOutlineGeometry.js +1 -1
- data/app/assets/javascripts/Core/GeometryAttributes.js +1 -1
- data/app/assets/javascripts/Core/GeometryInstance.js +2 -2
- data/app/assets/javascripts/Core/GeometryPipeline.js +10 -7
- data/app/assets/javascripts/Core/HermiteSpline.js +1 -1
- data/app/assets/javascripts/Core/Iau2000Orientation.js +132 -0
- data/app/assets/javascripts/Core/IauOrientationAxes.js +98 -0
- data/app/assets/javascripts/Core/IauOrientationParameters.js +48 -0
- data/app/assets/javascripts/Core/IntersectionTests.js +5 -5
- data/app/assets/javascripts/Core/JulianDate.js +27 -5
- data/app/assets/javascripts/Core/Math.js +9 -0
- data/app/assets/javascripts/Core/Matrix2.js +1 -142
- data/app/assets/javascripts/Core/Matrix3.js +168 -153
- data/app/assets/javascripts/Core/Matrix4.js +0 -249
- data/app/assets/javascripts/Core/NearFarScalar.js +13 -0
- data/app/assets/javascripts/Core/PolygonGeometry.js +1 -1
- data/app/assets/javascripts/Core/PolygonOutlineGeometry.js +2 -2
- data/app/assets/javascripts/Core/PolygonPipeline.js +2 -2
- data/app/assets/javascripts/Core/PolylinePipeline.js +7 -3
- data/app/assets/javascripts/Core/PolylineVolumeGeometry.js +239 -0
- data/app/assets/javascripts/Core/PolylineVolumeGeometryLibrary.js +404 -0
- data/app/assets/javascripts/Core/PolylineVolumeOutlineGeometry.js +154 -0
- data/app/assets/javascripts/Core/Quaternion.js +37 -10
- data/app/assets/javascripts/Core/Shapes.js +26 -2
- data/app/assets/javascripts/Core/Simon1994PlanetaryPositions.js +3 -3
- data/app/assets/javascripts/Core/TimeInterval.js +28 -17
- data/app/assets/javascripts/Core/TimeIntervalCollection.js +30 -0
- data/app/assets/javascripts/Core/Transforms.js +5 -5
- data/app/assets/javascripts/Core/WallGeometryLibrary.js +2 -2
- data/app/assets/javascripts/Core/getFilenameFromUri.js +37 -0
- data/app/assets/javascripts/DynamicScene/ColorMaterialProperty.js +2 -2
- data/app/assets/javascripts/DynamicScene/CzmlDataSource.js +96 -18
- data/app/assets/javascripts/DynamicScene/DataSource.js +8 -0
- data/app/assets/javascripts/DynamicScene/DynamicBillboard.js +15 -3
- data/app/assets/javascripts/DynamicScene/DynamicBillboardVisualizer.js +6 -1
- data/app/assets/javascripts/DynamicScene/DynamicConeVisualizerUsingCustomSensor.js +1 -1
- data/app/assets/javascripts/DynamicScene/DynamicLabel.js +12 -1
- data/app/assets/javascripts/DynamicScene/DynamicLabelVisualizer.js +5 -0
- data/app/assets/javascripts/DynamicScene/DynamicObject.js +44 -17
- data/app/assets/javascripts/DynamicScene/DynamicObjectView.js +3 -3
- data/app/assets/javascripts/DynamicScene/DynamicPoint.js +12 -1
- data/app/assets/javascripts/DynamicScene/DynamicPointVisualizer.js +11 -2
- data/app/assets/javascripts/DynamicScene/DynamicPolyline.js +10 -30
- data/app/assets/javascripts/DynamicScene/DynamicPolylineVisualizer.js +5 -20
- data/app/assets/javascripts/DynamicScene/GeoJsonDataSource.js +26 -8
- data/app/assets/javascripts/DynamicScene/GridMaterialProperty.js +2 -2
- data/app/assets/javascripts/DynamicScene/ImageMaterialProperty.js +2 -2
- data/app/assets/javascripts/DynamicScene/PolylineOutlineMaterialProperty.js +66 -0
- data/app/assets/javascripts/DynamicScene/PositionProperty.js +3 -3
- data/app/assets/javascripts/DynamicScene/ReferenceProperty.js +1 -1
- data/app/assets/javascripts/DynamicScene/SampledProperty.js +14 -8
- data/app/assets/javascripts/Renderer/AutomaticUniforms.js +4 -3
- data/app/assets/javascripts/Renderer/Context.js +16 -2
- data/app/assets/javascripts/Renderer/UniformState.js +14 -14
- data/app/assets/javascripts/Scene/Billboard.js +102 -26
- data/app/assets/javascripts/Scene/BillboardCollection.js +69 -16
- data/app/assets/javascripts/Scene/Camera.js +7 -7
- data/app/assets/javascripts/Scene/CameraController.js +23 -12
- data/app/assets/javascripts/Scene/CameraFlightPath.js +11 -11
- data/app/assets/javascripts/Scene/CentralBodySurface.js +1 -1
- data/app/assets/javascripts/Scene/CustomSensorVolume.js +17 -2
- data/app/assets/javascripts/Scene/EllipsoidPrimitive.js +79 -24
- data/app/assets/javascripts/Scene/ExtentPrimitive.js +17 -1
- data/app/assets/javascripts/Scene/Label.js +94 -18
- data/app/assets/javascripts/Scene/LabelCollection.js +6 -2
- data/app/assets/javascripts/Scene/Moon.js +150 -0
- data/app/assets/javascripts/Scene/Polygon.js +18 -1
- data/app/assets/javascripts/Scene/Polyline.js +32 -13
- data/app/assets/javascripts/Scene/PolylineCollection.js +7 -6
- data/app/assets/javascripts/Scene/Primitive.js +2 -2
- data/app/assets/javascripts/Scene/RectangularPyramidSensorVolume.js +12 -0
- data/app/assets/javascripts/Scene/Scene.js +122 -14
- data/app/assets/javascripts/Scene/SceneTransforms.js +2 -2
- data/app/assets/javascripts/Scene/SceneTransitioner.js +4 -4
- data/app/assets/javascripts/Scene/ScreenSpaceCameraController.js +1 -1
- data/app/assets/javascripts/Scene/SkyBox.js +53 -48
- data/app/assets/javascripts/Scene/TileMapServiceImageryProvider.js +2 -2
- data/app/assets/javascripts/Shaders/BillboardCollectionVS.glsl +36 -14
- data/app/assets/javascripts/Shaders/BillboardCollectionVS.js +27 -9
- data/app/assets/javascripts/Shaders/Builtin/Functions/phong.glsl +13 -0
- data/app/assets/javascripts/Shaders/Builtin/Functions/phong.js +10 -0
- data/app/assets/javascripts/Shaders/EllipsoidFS.glsl +24 -0
- data/app/assets/javascripts/Shaders/EllipsoidFS.js +21 -1
- data/app/assets/javascripts/Widgets/CesiumWidget/CesiumWidget.js +30 -9
- data/app/assets/javascripts/Widgets/HomeButton/HomeButtonViewModel.js +6 -5
- data/app/assets/javascripts/Widgets/Viewer/Viewer.js +13 -0
- data/app/assets/javascripts/Widgets/Viewer/viewerDynamicObjectMixin.js +46 -4
- data/app/assets/javascripts/Workers/cesiumWorkerBootstrapper.js +16 -8
- data/app/assets/javascripts/Workers/createPolylineVolumeGeometry.js +23 -0
- data/app/assets/javascripts/Workers/createPolylineVolumeOutlineGeometry.js +23 -0
- data/lib/cesium/version.rb +1 -1
- metadata +15 -5
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad75d75d0e0481025fab72de17560c521ffdbaad
|
4
|
+
data.tar.gz: 46a2cb4739cea9ceb8b022396a16b9503d8f0366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69a64cbb380440a949fff1b98ba26f9427eec971c07b76f6e0ad2aaf55e35272cd832db44c17ae969693802d08ac70560f6222958e47b95349a6fc5ec5fe9767
|
7
|
+
data.tar.gz: 451e1349bf62606d56cc46e7ea5023ca09e4b7f3a71abbbe012b0a4f7b3824a42626e9c4e654b2b88520411d974dc939a454eaaef7f2472bd22ddaf216c346f9
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*global define*/
|
2
|
-
define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectangle', 'Core/BoundingSphere', 'Core/BoxGeometry', 'Core/BoxOutlineGeometry', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/Cartesian4', 'Core/Cartographic', 'Core/CatmullRomSpline', 'Core/CircleGeometry', 'Core/CircleOutlineGeometry', 'Core/Clock', 'Core/ClockRange', 'Core/ClockStep', 'Core/Color', 'Core/ColorGeometryInstanceAttribute', 'Core/ComponentDatatype', 'Core/CornerType', 'Core/CorridorGeometry', 'Core/CorridorGeometryLibrary', 'Core/CorridorOutlineGeometry', 'Core/CubicRealPolynomial', 'Core/CylinderGeometry', 'Core/CylinderGeometryLibrary', 'Core/CylinderOutlineGeometry', 'Core/DefaultProxy', 'Core/DeveloperError', 'Core/EarthOrientationParameters', 'Core/EarthOrientationParametersSample', 'Core/EllipseGeometry', 'Core/EllipseGeometryLibrary', 'Core/EllipseOutlineGeometry', 'Core/Ellipsoid', 'Core/EllipsoidGeodesic', 'Core/EllipsoidGeometry', 'Core/EllipsoidOutlineGeometry', 'Core/EllipsoidTangentPlane', 'Core/EllipsoidalOccluder', 'Core/EncodedCartesian3', 'Core/Enumeration', 'Core/Event', 'Core/EventHelper', 'Core/Extent', 'Core/ExtentGeometry', 'Core/ExtentOutlineGeometry', 'Core/FAR', 'Core/FeatureDetection', 'Core/Fullscreen', 'Core/GeographicProjection', 'Core/Geometry', 'Core/GeometryAttribute', 'Core/GeometryAttributes', 'Core/GeometryInstance', 'Core/GeometryInstanceAttribute', 'Core/GeometryPipeline', 'Core/HeightmapTessellator', 'Core/HermitePolynomialApproximation', 'Core/HermiteSpline', 'Core/Iau2006XysData', 'Core/Iau2006XysSample', 'Core/IndexDatatype', 'Core/InterpolationAlgorithm', 'Core/Intersect', 'Core/IntersectionTests', 'Core/Interval', 'Core/Iso8601', 'Core/JulianDate', 'Core/KeyboardEventModifier', 'Core/LagrangePolynomialApproximation', 'Core/LeapSecond', 'Core/LinearApproximation', 'Core/Math', 'Core/Matrix2', 'Core/Matrix3', 'Core/Matrix4', 'Core/NearFarScalar', 'Core/Occluder', 'Core/OrientationInterpolator', 'Core/Packable', 'Core/PackableForInterpolation', 'Core/Plane', 'Core/PolygonGeometry', 'Core/PolygonGeometryLibrary', 'Core/PolygonOutlineGeometry', 'Core/PolygonPipeline', 'Core/PolylineGeometry', 'Core/PolylinePipeline', 'Core/PrimitiveType', 'Core/QuadraticRealPolynomial', 'Core/QuarticRealPolynomial', 'Core/Quaternion', 'Core/Queue', 'Core/Ray', 'Core/ReferenceFrame', 'Core/RequestErrorEvent', 'Core/RuntimeError', 'Core/ScreenSpaceEventHandler', 'Core/ScreenSpaceEventType', 'Core/Shapes', 'Core/ShowGeometryInstanceAttribute', 'Core/Simon1994PlanetaryPositions', 'Core/SimplePolylineGeometry', 'Core/SphereGeometry', 'Core/SphereOutlineGeometry', 'Core/Spherical', 'Core/TaskProcessor', 'Core/TimeConstants', 'Core/TimeInterval', 'Core/TimeIntervalCollection', 'Core/TimeStandard', 'Core/Tipsify', 'Core/Transforms', 'Core/TridiagonalSystemSolver', 'Core/VertexFormat', 'Core/Visibility', 'Core/WallGeometry', 'Core/WallGeometryLibrary', 'Core/WallOutlineGeometry', 'Core/WebMercatorProjection', 'Core/WindingOrder', 'Core/barycentricCoordinates', 'Core/binarySearch', 'Core/buildModuleUrl', 'Core/cancelAnimationFrame', 'Core/clone', 'Core/combine', 'Core/createGuid', 'Core/defaultValue', 'Core/defineProperties', 'Core/defined', 'Core/destroyObject', 'Core/freezeObject', 'Core/getImagePixels', 'Core/isCrossOriginUrl', 'Core/isLeapYear', 'Core/jsonp', 'Core/loadArrayBuffer', 'Core/loadBlob', 'Core/loadImage', 'Core/loadImageViaBlob', 'Core/loadJson', 'Core/loadText', 'Core/loadWithXhr', 'Core/loadXML', 'Core/pointInsideTriangle', 'Core/requestAnimationFrame', 'Core/throttleRequestByServer', 'Core/wrapFunction', 'Core/writeTextToCanvas', 'DynamicScene/ColorMaterialProperty', 'DynamicScene/CompositeDynamicObjectCollection', 'DynamicScene/CompositeMaterialProperty', 'DynamicScene/CompositePositionProperty', 'DynamicScene/CompositeProperty', 'DynamicScene/ConstantPositionProperty', 'DynamicScene/ConstantProperty', 'DynamicScene/CzmlDataSource', 'DynamicScene/DataSource', 'DynamicScene/DataSourceCollection', 'DynamicScene/DataSourceDisplay', 'DynamicScene/DynamicBillboard', 'DynamicScene/DynamicBillboardVisualizer', 'DynamicScene/DynamicClock', 'DynamicScene/DynamicCone', 'DynamicScene/DynamicConeVisualizerUsingCustomSensor', 'DynamicScene/DynamicDirectionsProperty', 'DynamicScene/DynamicEllipse', 'DynamicScene/DynamicEllipsoid', 'DynamicScene/DynamicEllipsoidVisualizer', 'DynamicScene/DynamicLabel', 'DynamicScene/DynamicLabelVisualizer', 'DynamicScene/DynamicObject', 'DynamicScene/DynamicObjectCollection', 'DynamicScene/DynamicObjectView', 'DynamicScene/DynamicPath', 'DynamicScene/DynamicPathVisualizer', 'DynamicScene/DynamicPoint', 'DynamicScene/DynamicPointVisualizer', 'DynamicScene/DynamicPolygon', 'DynamicScene/DynamicPolygonVisualizer', 'DynamicScene/DynamicPolyline', 'DynamicScene/DynamicPolylineVisualizer', 'DynamicScene/DynamicPyramid', 'DynamicScene/DynamicPyramidVisualizer', 'DynamicScene/DynamicVector', 'DynamicScene/DynamicVectorVisualizer', 'DynamicScene/DynamicVertexPositionsProperty', 'DynamicScene/GeoJsonDataSource', 'DynamicScene/GridMaterialProperty', 'DynamicScene/ImageMaterialProperty', 'DynamicScene/MaterialProperty', 'DynamicScene/PositionProperty', 'DynamicScene/Property', 'DynamicScene/ReferenceProperty', 'DynamicScene/SampledPositionProperty', 'DynamicScene/SampledProperty', 'DynamicScene/TimeIntervalCollectionPositionProperty', 'DynamicScene/TimeIntervalCollectionProperty', 'DynamicScene/VisualizerCollection', 'DynamicScene/createDynamicPropertyDescriptor', 'Renderer/AutomaticUniforms', 'Renderer/BlendEquation', 'Renderer/BlendFunction', 'Renderer/BlendingState', 'Renderer/Buffer', 'Renderer/BufferUsage', 'Renderer/ClearCommand', 'Renderer/CommandLists', 'Renderer/Context', 'Renderer/CubeMap', 'Renderer/CubeMapFace', 'Renderer/CullFace', 'Renderer/DepthFunction', 'Renderer/DrawCommand', 'Renderer/Framebuffer', 'Renderer/MipmapHint', 'Renderer/PassState', 'Renderer/PickFramebuffer', 'Renderer/PixelDatatype', 'Renderer/PixelFormat', 'Renderer/RenderState', 'Renderer/Renderbuffer', 'Renderer/RenderbufferFormat', 'Renderer/ShaderCache', 'Renderer/ShaderProgram', 'Renderer/StencilFunction', 'Renderer/StencilOperation', 'Renderer/Texture', 'Renderer/TextureAtlas', 'Renderer/TextureAtlasBuilder', 'Renderer/TextureMagnificationFilter', 'Renderer/TextureMinificationFilter', 'Renderer/TextureWrap', 'Renderer/UniformDatatype', 'Renderer/UniformState', 'Renderer/VertexArray', 'Renderer/VertexArrayFacade', 'Renderer/VertexLayout', 'Renderer/createShaderSource', 'Renderer/loadCubeMap', 'Scene/AnimationCollection', 'Scene/Appearance', 'Scene/ArcGisImageServerTerrainProvider', 'Scene/ArcGisMapServerImageryProvider', 'Scene/Billboard', 'Scene/BillboardCollection', 'Scene/BingMapsImageryProvider', 'Scene/BingMapsStyle', 'Scene/Camera', 'Scene/CameraColumbusViewMode', 'Scene/CameraController', 'Scene/CameraEventAggregator', 'Scene/CameraEventType', 'Scene/CameraFlightPath', 'Scene/CentralBody', 'Scene/CentralBodySurface', 'Scene/CentralBodySurfaceShaderSet', 'Scene/CesiumTerrainProvider', 'Scene/CompositePrimitive', 'Scene/Credit', 'Scene/CreditDisplay', 'Scene/CullingVolume', 'Scene/CustomSensorVolume', 'Scene/DebugAppearance', 'Scene/DiscardMissingTileImagePolicy', 'Scene/EllipsoidPrimitive', 'Scene/EllipsoidSurfaceAppearance', 'Scene/EllipsoidTerrainProvider', 'Scene/ExtentPrimitive', 'Scene/FrameState', 'Scene/FrustumCommands', 'Scene/GeographicTilingScheme', 'Scene/GridImageryProvider', 'Scene/HeightmapTerrainData', 'Scene/HorizontalOrigin', 'Scene/Imagery', 'Scene/ImageryLayer', 'Scene/ImageryLayerCollection', 'Scene/ImageryProvider', 'Scene/ImageryState', 'Scene/Label', 'Scene/LabelCollection', 'Scene/LabelStyle', 'Scene/Material', 'Scene/MaterialAppearance', 'Scene/NeverTileDiscardPolicy', 'Scene/OpenStreetMapImageryProvider', 'Scene/OrthographicFrustum', 'Scene/PerInstanceColorAppearance', 'Scene/PerformanceDisplay', 'Scene/PerspectiveFrustum', 'Scene/PerspectiveOffCenterFrustum', 'Scene/Polygon', 'Scene/Polyline', 'Scene/PolylineCollection', 'Scene/PolylineColorAppearance', 'Scene/PolylineMaterialAppearance', 'Scene/Primitive', 'Scene/PrimitivePipeline', 'Scene/PrimitiveState', 'Scene/RectangularPyramidSensorVolume', 'Scene/Scene', 'Scene/SceneMode', 'Scene/SceneTransforms', 'Scene/SceneTransitioner', 'Scene/ScreenSpaceCameraController', 'Scene/SensorVolumeCollection', 'Scene/SingleTileImageryProvider', 'Scene/SkyAtmosphere', 'Scene/SkyBox', 'Scene/Sun', 'Scene/SunPostProcess', 'Scene/TerrainData', 'Scene/TerrainMesh', 'Scene/TerrainProvider', 'Scene/TerrainState', 'Scene/TexturePool', 'Scene/Tile', 'Scene/TileCoordinatesImageryProvider', 'Scene/TileDiscardPolicy', 'Scene/TileImagery', 'Scene/TileMapServiceImageryProvider', 'Scene/TileProviderError', 'Scene/TileReplacementQueue', 'Scene/TileState', 'Scene/TileTerrain', 'Scene/TilingScheme', 'Scene/VRTheWorldTerrainProvider', 'Scene/VerticalOrigin', 'Scene/ViewportQuad', 'Scene/WebMapServiceImageryProvider', 'Scene/WebMercatorTilingScheme', 'Scene/createTangentSpaceDebugPrimitive', 'Scene/sampleTerrain', 'Shaders/Appearances/AllMaterialAppearanceFS', 'Shaders/Appearances/AllMaterialAppearanceVS', 'Shaders/Appearances/BasicMaterialAppearanceFS', 'Shaders/Appearances/BasicMaterialAppearanceVS', 'Shaders/Appearances/EllipsoidSurfaceAppearanceFS', 'Shaders/Appearances/EllipsoidSurfaceAppearanceVS', 'Shaders/Appearances/PerInstanceColorAppearanceFS', 'Shaders/Appearances/PerInstanceColorAppearanceVS', 'Shaders/Appearances/PerInstanceFlatColorAppearanceFS', 'Shaders/Appearances/PerInstanceFlatColorAppearanceVS', 'Shaders/Appearances/PolylineColorAppearanceVS', 'Shaders/Appearances/PolylineMaterialAppearanceVS', 'Shaders/Appearances/TexturedMaterialAppearanceFS', 'Shaders/Appearances/TexturedMaterialAppearanceVS', 'Shaders/BillboardCollectionFS', 'Shaders/BillboardCollectionVS', 'Shaders/Builtin/Constants/degreesPerRadian', 'Shaders/Builtin/Constants/epsilon1', 'Shaders/Builtin/Constants/epsilon2', 'Shaders/Builtin/Constants/epsilon3', 'Shaders/Builtin/Constants/epsilon4', 'Shaders/Builtin/Constants/epsilon5', 'Shaders/Builtin/Constants/epsilon6', 'Shaders/Builtin/Constants/epsilon7', 'Shaders/Builtin/Constants/infinity', 'Shaders/Builtin/Constants/oneOverPi', 'Shaders/Builtin/Constants/oneOverTwoPi', 'Shaders/Builtin/Constants/pi', 'Shaders/Builtin/Constants/piOverFour', 'Shaders/Builtin/Constants/piOverSix', 'Shaders/Builtin/Constants/piOverThree', 'Shaders/Builtin/Constants/piOverTwo', 'Shaders/Builtin/Constants/radiansPerDegree', 'Shaders/Builtin/Constants/sceneMode2D', 'Shaders/Builtin/Constants/sceneMode3D', 'Shaders/Builtin/Constants/sceneModeColumbusView', 'Shaders/Builtin/Constants/sceneModeMorphing', 'Shaders/Builtin/Constants/solarRadius', 'Shaders/Builtin/Constants/threePiOver2', 'Shaders/Builtin/Constants/twoPi', 'Shaders/Builtin/Constants/webMercatorMaxLatitude', 'Shaders/Builtin/CzmBuiltins', 'Shaders/Builtin/Functions/RGBToXYZ', 'Shaders/Builtin/Functions/XYZToRGB', 'Shaders/Builtin/Functions/antialias', 'Shaders/Builtin/Functions/cellular', 'Shaders/Builtin/Functions/columbusViewMorph', 'Shaders/Builtin/Functions/computePosition', 'Shaders/Builtin/Functions/eastNorthUpToEyeCoordinates', 'Shaders/Builtin/Functions/ellipsoidContainsPoint', 'Shaders/Builtin/Functions/ellipsoidNew', 'Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates', 'Shaders/Builtin/Functions/equalsEpsilon', 'Shaders/Builtin/Functions/eyeOffset', 'Shaders/Builtin/Functions/eyeToWindowCoordinates', 'Shaders/Builtin/Functions/geodeticSurfaceNormal', 'Shaders/Builtin/Functions/getDefaultMaterial', 'Shaders/Builtin/Functions/getLambertDiffuse', 'Shaders/Builtin/Functions/getSpecular', 'Shaders/Builtin/Functions/getWaterNoise', 'Shaders/Builtin/Functions/getWgs84EllipsoidEC', 'Shaders/Builtin/Functions/hue', 'Shaders/Builtin/Functions/isEmpty', 'Shaders/Builtin/Functions/isFull', 'Shaders/Builtin/Functions/latitudeToWebMercatorFraction', 'Shaders/Builtin/Functions/luminance', 'Shaders/Builtin/Functions/modelToWindowCoordinates', 'Shaders/Builtin/Functions/multiplyWithColorBalance', 'Shaders/Builtin/Functions/phong', 'Shaders/Builtin/Functions/pointAlongRay', 'Shaders/Builtin/Functions/rayEllipsoidIntersectionInterval', 'Shaders/Builtin/Functions/saturation', 'Shaders/Builtin/Functions/snoise', 'Shaders/Builtin/Functions/tangentToEyeSpaceMatrix', 'Shaders/Builtin/Functions/translateRelativeToEye', 'Shaders/Builtin/Functions/transpose', 'Shaders/Builtin/Functions/windowToEyeCoordinates', 'Shaders/Builtin/Structs/ellipsoid', 'Shaders/Builtin/Structs/material', 'Shaders/Builtin/Structs/materialInput', 'Shaders/Builtin/Structs/ray', 'Shaders/Builtin/Structs/raySegment', 'Shaders/CentralBodyFS', 'Shaders/CentralBodyFSDepth', 'Shaders/CentralBodyFSPole', 'Shaders/CentralBodyVS', 'Shaders/CentralBodyVSDepth', 'Shaders/CentralBodyVSPole', 'Shaders/CustomSensorVolumeFS', 'Shaders/CustomSensorVolumeVS', 'Shaders/EllipsoidFS', 'Shaders/EllipsoidVS', 'Shaders/Materials/AsphaltMaterial', 'Shaders/Materials/BlobMaterial', 'Shaders/Materials/BrickMaterial', 'Shaders/Materials/BumpMapMaterial', 'Shaders/Materials/CementMaterial', 'Shaders/Materials/CheckerboardMaterial', 'Shaders/Materials/DotMaterial', 'Shaders/Materials/ErosionMaterial', 'Shaders/Materials/FacetMaterial', 'Shaders/Materials/FadeMaterial', 'Shaders/Materials/FresnelMaterial', 'Shaders/Materials/GrassMaterial', 'Shaders/Materials/GridMaterial', 'Shaders/Materials/NormalMapMaterial', 'Shaders/Materials/PolylineArrowMaterial', 'Shaders/Materials/PolylineGlowMaterial', 'Shaders/Materials/PolylineOutlineMaterial', 'Shaders/Materials/ReflectionMaterial', 'Shaders/Materials/RefractionMaterial', 'Shaders/Materials/RimLightingMaterial', 'Shaders/Materials/StripeMaterial', 'Shaders/Materials/TieDyeMaterial', 'Shaders/Materials/Water', 'Shaders/Materials/WoodMaterial', 'Shaders/PolylineCommon', 'Shaders/PolylineFS', 'Shaders/PolylineVS', 'Shaders/PostProcessFilters/AdditiveBlend', 'Shaders/PostProcessFilters/BrightPass', 'Shaders/PostProcessFilters/GaussianBlur1D', 'Shaders/PostProcessFilters/PassThrough', 'Shaders/ReprojectWebMercatorFS', 'Shaders/ReprojectWebMercatorVS', 'Shaders/SensorVolume', 'Shaders/SkyAtmosphereFS', 'Shaders/SkyAtmosphereVS', 'Shaders/SkyBoxFS', 'Shaders/SkyBoxVS', 'Shaders/SunFS', 'Shaders/SunTextureFS', 'Shaders/SunVS', 'Shaders/ViewportQuadFS', 'Shaders/ViewportQuadVS', 'ThirdParty/Tween', 'ThirdParty/Uri', 'ThirdParty/knockout-2.3.0', 'ThirdParty/knockout-es5', 'ThirdParty/knockout', 'ThirdParty/measureText', 'ThirdParty/mersenne-twister', 'ThirdParty/sprintf', 'ThirdParty/topojson', 'ThirdParty/weakmap', 'ThirdParty/when', 'Widgets/Animation/Animation', 'Widgets/Animation/AnimationViewModel', 'Widgets/BaseLayerPicker/BaseLayerPicker', 'Widgets/BaseLayerPicker/BaseLayerPickerViewModel', 'Widgets/BaseLayerPicker/ImageryProviderViewModel', 'Widgets/BaseLayerPicker/createDefaultBaseLayers', 'Widgets/CesiumWidget/CesiumWidget', 'Widgets/ClockViewModel', 'Widgets/Command', 'Widgets/FullscreenButton/FullscreenButton', 'Widgets/FullscreenButton/FullscreenButtonViewModel', 'Widgets/HomeButton/HomeButton', 'Widgets/HomeButton/HomeButtonViewModel', 'Widgets/Observable', 'Widgets/SceneModePicker/SceneModePicker', 'Widgets/SceneModePicker/SceneModePickerViewModel', 'Widgets/Timeline/Timeline', 'Widgets/Timeline/TimelineHighlightRange', 'Widgets/Timeline/TimelineTrack', 'Widgets/ToggleButtonViewModel', 'Widgets/Viewer/Viewer', 'Widgets/Viewer/viewerDragDropMixin', 'Widgets/Viewer/viewerDynamicObjectMixin', 'Widgets/checkForChromeFrame', 'Widgets/createCommand', 'Widgets/getElement'], function(Core_AxisAlignedBoundingBox, Core_BingMapsApi, Core_BoundingRectangle, Core_BoundingSphere, Core_BoxGeometry, Core_BoxOutlineGeometry, Core_Cartesian2, Core_Cartesian3, Core_Cartesian4, Core_Cartographic, Core_CatmullRomSpline, Core_CircleGeometry, Core_CircleOutlineGeometry, Core_Clock, Core_ClockRange, Core_ClockStep, Core_Color, Core_ColorGeometryInstanceAttribute, Core_ComponentDatatype, Core_CornerType, Core_CorridorGeometry, Core_CorridorGeometryLibrary, Core_CorridorOutlineGeometry, Core_CubicRealPolynomial, Core_CylinderGeometry, Core_CylinderGeometryLibrary, Core_CylinderOutlineGeometry, Core_DefaultProxy, Core_DeveloperError, Core_EarthOrientationParameters, Core_EarthOrientationParametersSample, Core_EllipseGeometry, Core_EllipseGeometryLibrary, Core_EllipseOutlineGeometry, Core_Ellipsoid, Core_EllipsoidGeodesic, Core_EllipsoidGeometry, Core_EllipsoidOutlineGeometry, Core_EllipsoidTangentPlane, Core_EllipsoidalOccluder, Core_EncodedCartesian3, Core_Enumeration, Core_Event, Core_EventHelper, Core_Extent, Core_ExtentGeometry, Core_ExtentOutlineGeometry, Core_FAR, Core_FeatureDetection, Core_Fullscreen, Core_GeographicProjection, Core_Geometry, Core_GeometryAttribute, Core_GeometryAttributes, Core_GeometryInstance, Core_GeometryInstanceAttribute, Core_GeometryPipeline, Core_HeightmapTessellator, Core_HermitePolynomialApproximation, Core_HermiteSpline, Core_Iau2006XysData, Core_Iau2006XysSample, Core_IndexDatatype, Core_InterpolationAlgorithm, Core_Intersect, Core_IntersectionTests, Core_Interval, Core_Iso8601, Core_JulianDate, Core_KeyboardEventModifier, Core_LagrangePolynomialApproximation, Core_LeapSecond, Core_LinearApproximation, Core_Math, Core_Matrix2, Core_Matrix3, Core_Matrix4, Core_NearFarScalar, Core_Occluder, Core_OrientationInterpolator, Core_Packable, Core_PackableForInterpolation, Core_Plane, Core_PolygonGeometry, Core_PolygonGeometryLibrary, Core_PolygonOutlineGeometry, Core_PolygonPipeline, Core_PolylineGeometry, Core_PolylinePipeline, Core_PrimitiveType, Core_QuadraticRealPolynomial, Core_QuarticRealPolynomial, Core_Quaternion, Core_Queue, Core_Ray, Core_ReferenceFrame, Core_RequestErrorEvent, Core_RuntimeError, Core_ScreenSpaceEventHandler, Core_ScreenSpaceEventType, Core_Shapes, Core_ShowGeometryInstanceAttribute, Core_Simon1994PlanetaryPositions, Core_SimplePolylineGeometry, Core_SphereGeometry, Core_SphereOutlineGeometry, Core_Spherical, Core_TaskProcessor, Core_TimeConstants, Core_TimeInterval, Core_TimeIntervalCollection, Core_TimeStandard, Core_Tipsify, Core_Transforms, Core_TridiagonalSystemSolver, Core_VertexFormat, Core_Visibility, Core_WallGeometry, Core_WallGeometryLibrary, Core_WallOutlineGeometry, Core_WebMercatorProjection, Core_WindingOrder, Core_barycentricCoordinates, Core_binarySearch, Core_buildModuleUrl, Core_cancelAnimationFrame, Core_clone, Core_combine, Core_createGuid, Core_defaultValue, Core_defineProperties, Core_defined, Core_destroyObject, Core_freezeObject, Core_getImagePixels, Core_isCrossOriginUrl, Core_isLeapYear, Core_jsonp, Core_loadArrayBuffer, Core_loadBlob, Core_loadImage, Core_loadImageViaBlob, Core_loadJson, Core_loadText, Core_loadWithXhr, Core_loadXML, Core_pointInsideTriangle, Core_requestAnimationFrame, Core_throttleRequestByServer, Core_wrapFunction, Core_writeTextToCanvas, DynamicScene_ColorMaterialProperty, DynamicScene_CompositeDynamicObjectCollection, DynamicScene_CompositeMaterialProperty, DynamicScene_CompositePositionProperty, DynamicScene_CompositeProperty, DynamicScene_ConstantPositionProperty, DynamicScene_ConstantProperty, DynamicScene_CzmlDataSource, DynamicScene_DataSource, DynamicScene_DataSourceCollection, DynamicScene_DataSourceDisplay, DynamicScene_DynamicBillboard, DynamicScene_DynamicBillboardVisualizer, DynamicScene_DynamicClock, DynamicScene_DynamicCone, DynamicScene_DynamicConeVisualizerUsingCustomSensor, DynamicScene_DynamicDirectionsProperty, DynamicScene_DynamicEllipse, DynamicScene_DynamicEllipsoid, DynamicScene_DynamicEllipsoidVisualizer, DynamicScene_DynamicLabel, DynamicScene_DynamicLabelVisualizer, DynamicScene_DynamicObject, DynamicScene_DynamicObjectCollection, DynamicScene_DynamicObjectView, DynamicScene_DynamicPath, DynamicScene_DynamicPathVisualizer, DynamicScene_DynamicPoint, DynamicScene_DynamicPointVisualizer, DynamicScene_DynamicPolygon, DynamicScene_DynamicPolygonVisualizer, DynamicScene_DynamicPolyline, DynamicScene_DynamicPolylineVisualizer, DynamicScene_DynamicPyramid, DynamicScene_DynamicPyramidVisualizer, DynamicScene_DynamicVector, DynamicScene_DynamicVectorVisualizer, DynamicScene_DynamicVertexPositionsProperty, DynamicScene_GeoJsonDataSource, DynamicScene_GridMaterialProperty, DynamicScene_ImageMaterialProperty, DynamicScene_MaterialProperty, DynamicScene_PositionProperty, DynamicScene_Property, DynamicScene_ReferenceProperty, DynamicScene_SampledPositionProperty, DynamicScene_SampledProperty, DynamicScene_TimeIntervalCollectionPositionProperty, DynamicScene_TimeIntervalCollectionProperty, DynamicScene_VisualizerCollection, DynamicScene_createDynamicPropertyDescriptor, Renderer_AutomaticUniforms, Renderer_BlendEquation, Renderer_BlendFunction, Renderer_BlendingState, Renderer_Buffer, Renderer_BufferUsage, Renderer_ClearCommand, Renderer_CommandLists, Renderer_Context, Renderer_CubeMap, Renderer_CubeMapFace, Renderer_CullFace, Renderer_DepthFunction, Renderer_DrawCommand, Renderer_Framebuffer, Renderer_MipmapHint, Renderer_PassState, Renderer_PickFramebuffer, Renderer_PixelDatatype, Renderer_PixelFormat, Renderer_RenderState, Renderer_Renderbuffer, Renderer_RenderbufferFormat, Renderer_ShaderCache, Renderer_ShaderProgram, Renderer_StencilFunction, Renderer_StencilOperation, Renderer_Texture, Renderer_TextureAtlas, Renderer_TextureAtlasBuilder, Renderer_TextureMagnificationFilter, Renderer_TextureMinificationFilter, Renderer_TextureWrap, Renderer_UniformDatatype, Renderer_UniformState, Renderer_VertexArray, Renderer_VertexArrayFacade, Renderer_VertexLayout, Renderer_createShaderSource, Renderer_loadCubeMap, Scene_AnimationCollection, Scene_Appearance, Scene_ArcGisImageServerTerrainProvider, Scene_ArcGisMapServerImageryProvider, Scene_Billboard, Scene_BillboardCollection, Scene_BingMapsImageryProvider, Scene_BingMapsStyle, Scene_Camera, Scene_CameraColumbusViewMode, Scene_CameraController, Scene_CameraEventAggregator, Scene_CameraEventType, Scene_CameraFlightPath, Scene_CentralBody, Scene_CentralBodySurface, Scene_CentralBodySurfaceShaderSet, Scene_CesiumTerrainProvider, Scene_CompositePrimitive, Scene_Credit, Scene_CreditDisplay, Scene_CullingVolume, Scene_CustomSensorVolume, Scene_DebugAppearance, Scene_DiscardMissingTileImagePolicy, Scene_EllipsoidPrimitive, Scene_EllipsoidSurfaceAppearance, Scene_EllipsoidTerrainProvider, Scene_ExtentPrimitive, Scene_FrameState, Scene_FrustumCommands, Scene_GeographicTilingScheme, Scene_GridImageryProvider, Scene_HeightmapTerrainData, Scene_HorizontalOrigin, Scene_Imagery, Scene_ImageryLayer, Scene_ImageryLayerCollection, Scene_ImageryProvider, Scene_ImageryState, Scene_Label, Scene_LabelCollection, Scene_LabelStyle, Scene_Material, Scene_MaterialAppearance, Scene_NeverTileDiscardPolicy, Scene_OpenStreetMapImageryProvider, Scene_OrthographicFrustum, Scene_PerInstanceColorAppearance, Scene_PerformanceDisplay, Scene_PerspectiveFrustum, Scene_PerspectiveOffCenterFrustum, Scene_Polygon, Scene_Polyline, Scene_PolylineCollection, Scene_PolylineColorAppearance, Scene_PolylineMaterialAppearance, Scene_Primitive, Scene_PrimitivePipeline, Scene_PrimitiveState, Scene_RectangularPyramidSensorVolume, Scene_Scene, Scene_SceneMode, Scene_SceneTransforms, Scene_SceneTransitioner, Scene_ScreenSpaceCameraController, Scene_SensorVolumeCollection, Scene_SingleTileImageryProvider, Scene_SkyAtmosphere, Scene_SkyBox, Scene_Sun, Scene_SunPostProcess, Scene_TerrainData, Scene_TerrainMesh, Scene_TerrainProvider, Scene_TerrainState, Scene_TexturePool, Scene_Tile, Scene_TileCoordinatesImageryProvider, Scene_TileDiscardPolicy, Scene_TileImagery, Scene_TileMapServiceImageryProvider, Scene_TileProviderError, Scene_TileReplacementQueue, Scene_TileState, Scene_TileTerrain, Scene_TilingScheme, Scene_VRTheWorldTerrainProvider, Scene_VerticalOrigin, Scene_ViewportQuad, Scene_WebMapServiceImageryProvider, Scene_WebMercatorTilingScheme, Scene_createTangentSpaceDebugPrimitive, Scene_sampleTerrain, Shaders_Appearances_AllMaterialAppearanceFS, Shaders_Appearances_AllMaterialAppearanceVS, Shaders_Appearances_BasicMaterialAppearanceFS, Shaders_Appearances_BasicMaterialAppearanceVS, Shaders_Appearances_EllipsoidSurfaceAppearanceFS, Shaders_Appearances_EllipsoidSurfaceAppearanceVS, Shaders_Appearances_PerInstanceColorAppearanceFS, Shaders_Appearances_PerInstanceColorAppearanceVS, Shaders_Appearances_PerInstanceFlatColorAppearanceFS, Shaders_Appearances_PerInstanceFlatColorAppearanceVS, Shaders_Appearances_PolylineColorAppearanceVS, Shaders_Appearances_PolylineMaterialAppearanceVS, Shaders_Appearances_TexturedMaterialAppearanceFS, Shaders_Appearances_TexturedMaterialAppearanceVS, Shaders_BillboardCollectionFS, Shaders_BillboardCollectionVS, Shaders_Builtin_Constants_degreesPerRadian, Shaders_Builtin_Constants_epsilon1, Shaders_Builtin_Constants_epsilon2, Shaders_Builtin_Constants_epsilon3, Shaders_Builtin_Constants_epsilon4, Shaders_Builtin_Constants_epsilon5, Shaders_Builtin_Constants_epsilon6, Shaders_Builtin_Constants_epsilon7, Shaders_Builtin_Constants_infinity, Shaders_Builtin_Constants_oneOverPi, Shaders_Builtin_Constants_oneOverTwoPi, Shaders_Builtin_Constants_pi, Shaders_Builtin_Constants_piOverFour, Shaders_Builtin_Constants_piOverSix, Shaders_Builtin_Constants_piOverThree, Shaders_Builtin_Constants_piOverTwo, Shaders_Builtin_Constants_radiansPerDegree, Shaders_Builtin_Constants_sceneMode2D, Shaders_Builtin_Constants_sceneMode3D, Shaders_Builtin_Constants_sceneModeColumbusView, Shaders_Builtin_Constants_sceneModeMorphing, Shaders_Builtin_Constants_solarRadius, Shaders_Builtin_Constants_threePiOver2, Shaders_Builtin_Constants_twoPi, Shaders_Builtin_Constants_webMercatorMaxLatitude, Shaders_Builtin_CzmBuiltins, Shaders_Builtin_Functions_RGBToXYZ, Shaders_Builtin_Functions_XYZToRGB, Shaders_Builtin_Functions_antialias, Shaders_Builtin_Functions_cellular, Shaders_Builtin_Functions_columbusViewMorph, Shaders_Builtin_Functions_computePosition, Shaders_Builtin_Functions_eastNorthUpToEyeCoordinates, Shaders_Builtin_Functions_ellipsoidContainsPoint, Shaders_Builtin_Functions_ellipsoidNew, Shaders_Builtin_Functions_ellipsoidWgs84TextureCoordinates, Shaders_Builtin_Functions_equalsEpsilon, Shaders_Builtin_Functions_eyeOffset, Shaders_Builtin_Functions_eyeToWindowCoordinates, Shaders_Builtin_Functions_geodeticSurfaceNormal, Shaders_Builtin_Functions_getDefaultMaterial, Shaders_Builtin_Functions_getLambertDiffuse, Shaders_Builtin_Functions_getSpecular, Shaders_Builtin_Functions_getWaterNoise, Shaders_Builtin_Functions_getWgs84EllipsoidEC, Shaders_Builtin_Functions_hue, Shaders_Builtin_Functions_isEmpty, Shaders_Builtin_Functions_isFull, Shaders_Builtin_Functions_latitudeToWebMercatorFraction, Shaders_Builtin_Functions_luminance, Shaders_Builtin_Functions_modelToWindowCoordinates, Shaders_Builtin_Functions_multiplyWithColorBalance, Shaders_Builtin_Functions_phong, Shaders_Builtin_Functions_pointAlongRay, Shaders_Builtin_Functions_rayEllipsoidIntersectionInterval, Shaders_Builtin_Functions_saturation, Shaders_Builtin_Functions_snoise, Shaders_Builtin_Functions_tangentToEyeSpaceMatrix, Shaders_Builtin_Functions_translateRelativeToEye, Shaders_Builtin_Functions_transpose, Shaders_Builtin_Functions_windowToEyeCoordinates, Shaders_Builtin_Structs_ellipsoid, Shaders_Builtin_Structs_material, Shaders_Builtin_Structs_materialInput, Shaders_Builtin_Structs_ray, Shaders_Builtin_Structs_raySegment, Shaders_CentralBodyFS, Shaders_CentralBodyFSDepth, Shaders_CentralBodyFSPole, Shaders_CentralBodyVS, Shaders_CentralBodyVSDepth, Shaders_CentralBodyVSPole, Shaders_CustomSensorVolumeFS, Shaders_CustomSensorVolumeVS, Shaders_EllipsoidFS, Shaders_EllipsoidVS, Shaders_Materials_AsphaltMaterial, Shaders_Materials_BlobMaterial, Shaders_Materials_BrickMaterial, Shaders_Materials_BumpMapMaterial, Shaders_Materials_CementMaterial, Shaders_Materials_CheckerboardMaterial, Shaders_Materials_DotMaterial, Shaders_Materials_ErosionMaterial, Shaders_Materials_FacetMaterial, Shaders_Materials_FadeMaterial, Shaders_Materials_FresnelMaterial, Shaders_Materials_GrassMaterial, Shaders_Materials_GridMaterial, Shaders_Materials_NormalMapMaterial, Shaders_Materials_PolylineArrowMaterial, Shaders_Materials_PolylineGlowMaterial, Shaders_Materials_PolylineOutlineMaterial, Shaders_Materials_ReflectionMaterial, Shaders_Materials_RefractionMaterial, Shaders_Materials_RimLightingMaterial, Shaders_Materials_StripeMaterial, Shaders_Materials_TieDyeMaterial, Shaders_Materials_Water, Shaders_Materials_WoodMaterial, Shaders_PolylineCommon, Shaders_PolylineFS, Shaders_PolylineVS, Shaders_PostProcessFilters_AdditiveBlend, Shaders_PostProcessFilters_BrightPass, Shaders_PostProcessFilters_GaussianBlur1D, Shaders_PostProcessFilters_PassThrough, Shaders_ReprojectWebMercatorFS, Shaders_ReprojectWebMercatorVS, Shaders_SensorVolume, Shaders_SkyAtmosphereFS, Shaders_SkyAtmosphereVS, Shaders_SkyBoxFS, Shaders_SkyBoxVS, Shaders_SunFS, Shaders_SunTextureFS, Shaders_SunVS, Shaders_ViewportQuadFS, Shaders_ViewportQuadVS, ThirdParty_Tween, ThirdParty_Uri, ThirdParty_knockout_2_3_0, ThirdParty_knockout_es5, ThirdParty_knockout, ThirdParty_measureText, ThirdParty_mersenne_twister, ThirdParty_sprintf, ThirdParty_topojson, ThirdParty_weakmap, ThirdParty_when, Widgets_Animation_Animation, Widgets_Animation_AnimationViewModel, Widgets_BaseLayerPicker_BaseLayerPicker, Widgets_BaseLayerPicker_BaseLayerPickerViewModel, Widgets_BaseLayerPicker_ImageryProviderViewModel, Widgets_BaseLayerPicker_createDefaultBaseLayers, Widgets_CesiumWidget_CesiumWidget, Widgets_ClockViewModel, Widgets_Command, Widgets_FullscreenButton_FullscreenButton, Widgets_FullscreenButton_FullscreenButtonViewModel, Widgets_HomeButton_HomeButton, Widgets_HomeButton_HomeButtonViewModel, Widgets_Observable, Widgets_SceneModePicker_SceneModePicker, Widgets_SceneModePicker_SceneModePickerViewModel, Widgets_Timeline_Timeline, Widgets_Timeline_TimelineHighlightRange, Widgets_Timeline_TimelineTrack, Widgets_ToggleButtonViewModel, Widgets_Viewer_Viewer, Widgets_Viewer_viewerDragDropMixin, Widgets_Viewer_viewerDynamicObjectMixin, Widgets_checkForChromeFrame, Widgets_createCommand, Widgets_getElement) {
|
2
|
+
define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectangle', 'Core/BoundingSphere', 'Core/BoxGeometry', 'Core/BoxOutlineGeometry', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/Cartesian4', 'Core/Cartographic', 'Core/CatmullRomSpline', 'Core/CircleGeometry', 'Core/CircleOutlineGeometry', 'Core/Clock', 'Core/ClockRange', 'Core/ClockStep', 'Core/Color', 'Core/ColorGeometryInstanceAttribute', 'Core/ComponentDatatype', 'Core/CornerType', 'Core/CorridorGeometry', 'Core/CorridorGeometryLibrary', 'Core/CorridorOutlineGeometry', 'Core/CubicRealPolynomial', 'Core/CylinderGeometry', 'Core/CylinderGeometryLibrary', 'Core/CylinderOutlineGeometry', 'Core/DefaultProxy', 'Core/DeveloperError', 'Core/EarthOrientationParameters', 'Core/EarthOrientationParametersSample', 'Core/EllipseGeometry', 'Core/EllipseGeometryLibrary', 'Core/EllipseOutlineGeometry', 'Core/Ellipsoid', 'Core/EllipsoidGeodesic', 'Core/EllipsoidGeometry', 'Core/EllipsoidOutlineGeometry', 'Core/EllipsoidTangentPlane', 'Core/EllipsoidalOccluder', 'Core/EncodedCartesian3', 'Core/Enumeration', 'Core/Event', 'Core/EventHelper', 'Core/Extent', 'Core/ExtentGeometry', 'Core/ExtentOutlineGeometry', 'Core/FAR', 'Core/FeatureDetection', 'Core/Fullscreen', 'Core/GeographicProjection', 'Core/Geometry', 'Core/GeometryAttribute', 'Core/GeometryAttributes', 'Core/GeometryInstance', 'Core/GeometryInstanceAttribute', 'Core/GeometryPipeline', 'Core/HeightmapTessellator', 'Core/HermitePolynomialApproximation', 'Core/HermiteSpline', 'Core/Iau2000Orientation', 'Core/Iau2006XysData', 'Core/Iau2006XysSample', 'Core/IauOrientationAxes', 'Core/IauOrientationParameters', 'Core/IndexDatatype', 'Core/InterpolationAlgorithm', 'Core/Intersect', 'Core/IntersectionTests', 'Core/Interval', 'Core/Iso8601', 'Core/JulianDate', 'Core/KeyboardEventModifier', 'Core/LagrangePolynomialApproximation', 'Core/LeapSecond', 'Core/LinearApproximation', 'Core/Math', 'Core/Matrix2', 'Core/Matrix3', 'Core/Matrix4', 'Core/NearFarScalar', 'Core/Occluder', 'Core/OrientationInterpolator', 'Core/Packable', 'Core/PackableForInterpolation', 'Core/Plane', 'Core/PolygonGeometry', 'Core/PolygonGeometryLibrary', 'Core/PolygonOutlineGeometry', 'Core/PolygonPipeline', 'Core/PolylineGeometry', 'Core/PolylinePipeline', 'Core/PolylineVolumeGeometry', 'Core/PolylineVolumeGeometryLibrary', 'Core/PolylineVolumeOutlineGeometry', 'Core/PrimitiveType', 'Core/QuadraticRealPolynomial', 'Core/QuarticRealPolynomial', 'Core/Quaternion', 'Core/Queue', 'Core/Ray', 'Core/ReferenceFrame', 'Core/RequestErrorEvent', 'Core/RuntimeError', 'Core/ScreenSpaceEventHandler', 'Core/ScreenSpaceEventType', 'Core/Shapes', 'Core/ShowGeometryInstanceAttribute', 'Core/Simon1994PlanetaryPositions', 'Core/SimplePolylineGeometry', 'Core/SphereGeometry', 'Core/SphereOutlineGeometry', 'Core/Spherical', 'Core/TaskProcessor', 'Core/TimeConstants', 'Core/TimeInterval', 'Core/TimeIntervalCollection', 'Core/TimeStandard', 'Core/Tipsify', 'Core/Transforms', 'Core/TridiagonalSystemSolver', 'Core/VertexFormat', 'Core/Visibility', 'Core/WallGeometry', 'Core/WallGeometryLibrary', 'Core/WallOutlineGeometry', 'Core/WebMercatorProjection', 'Core/WindingOrder', 'Core/barycentricCoordinates', 'Core/binarySearch', 'Core/buildModuleUrl', 'Core/cancelAnimationFrame', 'Core/clone', 'Core/combine', 'Core/createGuid', 'Core/defaultValue', 'Core/defineProperties', 'Core/defined', 'Core/destroyObject', 'Core/freezeObject', 'Core/getFilenameFromUri', 'Core/getImagePixels', 'Core/isCrossOriginUrl', 'Core/isLeapYear', 'Core/jsonp', 'Core/loadArrayBuffer', 'Core/loadBlob', 'Core/loadImage', 'Core/loadImageViaBlob', 'Core/loadJson', 'Core/loadText', 'Core/loadWithXhr', 'Core/loadXML', 'Core/pointInsideTriangle', 'Core/requestAnimationFrame', 'Core/throttleRequestByServer', 'Core/wrapFunction', 'Core/writeTextToCanvas', 'DynamicScene/ColorMaterialProperty', 'DynamicScene/CompositeDynamicObjectCollection', 'DynamicScene/CompositeMaterialProperty', 'DynamicScene/CompositePositionProperty', 'DynamicScene/CompositeProperty', 'DynamicScene/ConstantPositionProperty', 'DynamicScene/ConstantProperty', 'DynamicScene/CzmlDataSource', 'DynamicScene/DataSource', 'DynamicScene/DataSourceCollection', 'DynamicScene/DataSourceDisplay', 'DynamicScene/DynamicBillboard', 'DynamicScene/DynamicBillboardVisualizer', 'DynamicScene/DynamicClock', 'DynamicScene/DynamicCone', 'DynamicScene/DynamicConeVisualizerUsingCustomSensor', 'DynamicScene/DynamicDirectionsProperty', 'DynamicScene/DynamicEllipse', 'DynamicScene/DynamicEllipsoid', 'DynamicScene/DynamicEllipsoidVisualizer', 'DynamicScene/DynamicLabel', 'DynamicScene/DynamicLabelVisualizer', 'DynamicScene/DynamicObject', 'DynamicScene/DynamicObjectCollection', 'DynamicScene/DynamicObjectView', 'DynamicScene/DynamicPath', 'DynamicScene/DynamicPathVisualizer', 'DynamicScene/DynamicPoint', 'DynamicScene/DynamicPointVisualizer', 'DynamicScene/DynamicPolygon', 'DynamicScene/DynamicPolygonVisualizer', 'DynamicScene/DynamicPolyline', 'DynamicScene/DynamicPolylineVisualizer', 'DynamicScene/DynamicPyramid', 'DynamicScene/DynamicPyramidVisualizer', 'DynamicScene/DynamicVector', 'DynamicScene/DynamicVectorVisualizer', 'DynamicScene/DynamicVertexPositionsProperty', 'DynamicScene/GeoJsonDataSource', 'DynamicScene/GridMaterialProperty', 'DynamicScene/ImageMaterialProperty', 'DynamicScene/MaterialProperty', 'DynamicScene/PolylineOutlineMaterialProperty', 'DynamicScene/PositionProperty', 'DynamicScene/Property', 'DynamicScene/ReferenceProperty', 'DynamicScene/SampledPositionProperty', 'DynamicScene/SampledProperty', 'DynamicScene/TimeIntervalCollectionPositionProperty', 'DynamicScene/TimeIntervalCollectionProperty', 'DynamicScene/VisualizerCollection', 'DynamicScene/createDynamicPropertyDescriptor', 'Renderer/AutomaticUniforms', 'Renderer/BlendEquation', 'Renderer/BlendFunction', 'Renderer/BlendingState', 'Renderer/Buffer', 'Renderer/BufferUsage', 'Renderer/ClearCommand', 'Renderer/CommandLists', 'Renderer/Context', 'Renderer/CubeMap', 'Renderer/CubeMapFace', 'Renderer/CullFace', 'Renderer/DepthFunction', 'Renderer/DrawCommand', 'Renderer/Framebuffer', 'Renderer/MipmapHint', 'Renderer/PassState', 'Renderer/PickFramebuffer', 'Renderer/PixelDatatype', 'Renderer/PixelFormat', 'Renderer/RenderState', 'Renderer/Renderbuffer', 'Renderer/RenderbufferFormat', 'Renderer/ShaderCache', 'Renderer/ShaderProgram', 'Renderer/StencilFunction', 'Renderer/StencilOperation', 'Renderer/Texture', 'Renderer/TextureAtlas', 'Renderer/TextureAtlasBuilder', 'Renderer/TextureMagnificationFilter', 'Renderer/TextureMinificationFilter', 'Renderer/TextureWrap', 'Renderer/UniformDatatype', 'Renderer/UniformState', 'Renderer/VertexArray', 'Renderer/VertexArrayFacade', 'Renderer/VertexLayout', 'Renderer/createShaderSource', 'Renderer/loadCubeMap', 'Scene/AnimationCollection', 'Scene/Appearance', 'Scene/ArcGisImageServerTerrainProvider', 'Scene/ArcGisMapServerImageryProvider', 'Scene/Billboard', 'Scene/BillboardCollection', 'Scene/BingMapsImageryProvider', 'Scene/BingMapsStyle', 'Scene/Camera', 'Scene/CameraColumbusViewMode', 'Scene/CameraController', 'Scene/CameraEventAggregator', 'Scene/CameraEventType', 'Scene/CameraFlightPath', 'Scene/CentralBody', 'Scene/CentralBodySurface', 'Scene/CentralBodySurfaceShaderSet', 'Scene/CesiumTerrainProvider', 'Scene/CompositePrimitive', 'Scene/Credit', 'Scene/CreditDisplay', 'Scene/CullingVolume', 'Scene/CustomSensorVolume', 'Scene/DebugAppearance', 'Scene/DiscardMissingTileImagePolicy', 'Scene/EllipsoidPrimitive', 'Scene/EllipsoidSurfaceAppearance', 'Scene/EllipsoidTerrainProvider', 'Scene/ExtentPrimitive', 'Scene/FrameState', 'Scene/FrustumCommands', 'Scene/GeographicTilingScheme', 'Scene/GridImageryProvider', 'Scene/HeightmapTerrainData', 'Scene/HorizontalOrigin', 'Scene/Imagery', 'Scene/ImageryLayer', 'Scene/ImageryLayerCollection', 'Scene/ImageryProvider', 'Scene/ImageryState', 'Scene/Label', 'Scene/LabelCollection', 'Scene/LabelStyle', 'Scene/Material', 'Scene/MaterialAppearance', 'Scene/Moon', 'Scene/NeverTileDiscardPolicy', 'Scene/OpenStreetMapImageryProvider', 'Scene/OrthographicFrustum', 'Scene/PerInstanceColorAppearance', 'Scene/PerformanceDisplay', 'Scene/PerspectiveFrustum', 'Scene/PerspectiveOffCenterFrustum', 'Scene/Polygon', 'Scene/Polyline', 'Scene/PolylineCollection', 'Scene/PolylineColorAppearance', 'Scene/PolylineMaterialAppearance', 'Scene/Primitive', 'Scene/PrimitivePipeline', 'Scene/PrimitiveState', 'Scene/RectangularPyramidSensorVolume', 'Scene/Scene', 'Scene/SceneMode', 'Scene/SceneTransforms', 'Scene/SceneTransitioner', 'Scene/ScreenSpaceCameraController', 'Scene/SensorVolumeCollection', 'Scene/SingleTileImageryProvider', 'Scene/SkyAtmosphere', 'Scene/SkyBox', 'Scene/Sun', 'Scene/SunPostProcess', 'Scene/TerrainData', 'Scene/TerrainMesh', 'Scene/TerrainProvider', 'Scene/TerrainState', 'Scene/TexturePool', 'Scene/Tile', 'Scene/TileCoordinatesImageryProvider', 'Scene/TileDiscardPolicy', 'Scene/TileImagery', 'Scene/TileMapServiceImageryProvider', 'Scene/TileProviderError', 'Scene/TileReplacementQueue', 'Scene/TileState', 'Scene/TileTerrain', 'Scene/TilingScheme', 'Scene/VRTheWorldTerrainProvider', 'Scene/VerticalOrigin', 'Scene/ViewportQuad', 'Scene/WebMapServiceImageryProvider', 'Scene/WebMercatorTilingScheme', 'Scene/createTangentSpaceDebugPrimitive', 'Scene/sampleTerrain', 'Shaders/Appearances/AllMaterialAppearanceFS', 'Shaders/Appearances/AllMaterialAppearanceVS', 'Shaders/Appearances/BasicMaterialAppearanceFS', 'Shaders/Appearances/BasicMaterialAppearanceVS', 'Shaders/Appearances/EllipsoidSurfaceAppearanceFS', 'Shaders/Appearances/EllipsoidSurfaceAppearanceVS', 'Shaders/Appearances/PerInstanceColorAppearanceFS', 'Shaders/Appearances/PerInstanceColorAppearanceVS', 'Shaders/Appearances/PerInstanceFlatColorAppearanceFS', 'Shaders/Appearances/PerInstanceFlatColorAppearanceVS', 'Shaders/Appearances/PolylineColorAppearanceVS', 'Shaders/Appearances/PolylineMaterialAppearanceVS', 'Shaders/Appearances/TexturedMaterialAppearanceFS', 'Shaders/Appearances/TexturedMaterialAppearanceVS', 'Shaders/BillboardCollectionFS', 'Shaders/BillboardCollectionVS', 'Shaders/Builtin/Constants/degreesPerRadian', 'Shaders/Builtin/Constants/epsilon1', 'Shaders/Builtin/Constants/epsilon2', 'Shaders/Builtin/Constants/epsilon3', 'Shaders/Builtin/Constants/epsilon4', 'Shaders/Builtin/Constants/epsilon5', 'Shaders/Builtin/Constants/epsilon6', 'Shaders/Builtin/Constants/epsilon7', 'Shaders/Builtin/Constants/infinity', 'Shaders/Builtin/Constants/oneOverPi', 'Shaders/Builtin/Constants/oneOverTwoPi', 'Shaders/Builtin/Constants/pi', 'Shaders/Builtin/Constants/piOverFour', 'Shaders/Builtin/Constants/piOverSix', 'Shaders/Builtin/Constants/piOverThree', 'Shaders/Builtin/Constants/piOverTwo', 'Shaders/Builtin/Constants/radiansPerDegree', 'Shaders/Builtin/Constants/sceneMode2D', 'Shaders/Builtin/Constants/sceneMode3D', 'Shaders/Builtin/Constants/sceneModeColumbusView', 'Shaders/Builtin/Constants/sceneModeMorphing', 'Shaders/Builtin/Constants/solarRadius', 'Shaders/Builtin/Constants/threePiOver2', 'Shaders/Builtin/Constants/twoPi', 'Shaders/Builtin/Constants/webMercatorMaxLatitude', 'Shaders/Builtin/CzmBuiltins', 'Shaders/Builtin/Functions/RGBToXYZ', 'Shaders/Builtin/Functions/XYZToRGB', 'Shaders/Builtin/Functions/antialias', 'Shaders/Builtin/Functions/cellular', 'Shaders/Builtin/Functions/columbusViewMorph', 'Shaders/Builtin/Functions/computePosition', 'Shaders/Builtin/Functions/eastNorthUpToEyeCoordinates', 'Shaders/Builtin/Functions/ellipsoidContainsPoint', 'Shaders/Builtin/Functions/ellipsoidNew', 'Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates', 'Shaders/Builtin/Functions/equalsEpsilon', 'Shaders/Builtin/Functions/eyeOffset', 'Shaders/Builtin/Functions/eyeToWindowCoordinates', 'Shaders/Builtin/Functions/geodeticSurfaceNormal', 'Shaders/Builtin/Functions/getDefaultMaterial', 'Shaders/Builtin/Functions/getLambertDiffuse', 'Shaders/Builtin/Functions/getSpecular', 'Shaders/Builtin/Functions/getWaterNoise', 'Shaders/Builtin/Functions/getWgs84EllipsoidEC', 'Shaders/Builtin/Functions/hue', 'Shaders/Builtin/Functions/isEmpty', 'Shaders/Builtin/Functions/isFull', 'Shaders/Builtin/Functions/latitudeToWebMercatorFraction', 'Shaders/Builtin/Functions/luminance', 'Shaders/Builtin/Functions/modelToWindowCoordinates', 'Shaders/Builtin/Functions/multiplyWithColorBalance', 'Shaders/Builtin/Functions/phong', 'Shaders/Builtin/Functions/pointAlongRay', 'Shaders/Builtin/Functions/rayEllipsoidIntersectionInterval', 'Shaders/Builtin/Functions/saturation', 'Shaders/Builtin/Functions/snoise', 'Shaders/Builtin/Functions/tangentToEyeSpaceMatrix', 'Shaders/Builtin/Functions/translateRelativeToEye', 'Shaders/Builtin/Functions/transpose', 'Shaders/Builtin/Functions/windowToEyeCoordinates', 'Shaders/Builtin/Structs/ellipsoid', 'Shaders/Builtin/Structs/material', 'Shaders/Builtin/Structs/materialInput', 'Shaders/Builtin/Structs/ray', 'Shaders/Builtin/Structs/raySegment', 'Shaders/CentralBodyFS', 'Shaders/CentralBodyFSDepth', 'Shaders/CentralBodyFSPole', 'Shaders/CentralBodyVS', 'Shaders/CentralBodyVSDepth', 'Shaders/CentralBodyVSPole', 'Shaders/CustomSensorVolumeFS', 'Shaders/CustomSensorVolumeVS', 'Shaders/EllipsoidFS', 'Shaders/EllipsoidVS', 'Shaders/Materials/AsphaltMaterial', 'Shaders/Materials/BlobMaterial', 'Shaders/Materials/BrickMaterial', 'Shaders/Materials/BumpMapMaterial', 'Shaders/Materials/CementMaterial', 'Shaders/Materials/CheckerboardMaterial', 'Shaders/Materials/DotMaterial', 'Shaders/Materials/ErosionMaterial', 'Shaders/Materials/FacetMaterial', 'Shaders/Materials/FadeMaterial', 'Shaders/Materials/FresnelMaterial', 'Shaders/Materials/GrassMaterial', 'Shaders/Materials/GridMaterial', 'Shaders/Materials/NormalMapMaterial', 'Shaders/Materials/PolylineArrowMaterial', 'Shaders/Materials/PolylineGlowMaterial', 'Shaders/Materials/PolylineOutlineMaterial', 'Shaders/Materials/ReflectionMaterial', 'Shaders/Materials/RefractionMaterial', 'Shaders/Materials/RimLightingMaterial', 'Shaders/Materials/StripeMaterial', 'Shaders/Materials/TieDyeMaterial', 'Shaders/Materials/Water', 'Shaders/Materials/WoodMaterial', 'Shaders/PolylineCommon', 'Shaders/PolylineFS', 'Shaders/PolylineVS', 'Shaders/PostProcessFilters/AdditiveBlend', 'Shaders/PostProcessFilters/BrightPass', 'Shaders/PostProcessFilters/GaussianBlur1D', 'Shaders/PostProcessFilters/PassThrough', 'Shaders/ReprojectWebMercatorFS', 'Shaders/ReprojectWebMercatorVS', 'Shaders/SensorVolume', 'Shaders/SkyAtmosphereFS', 'Shaders/SkyAtmosphereVS', 'Shaders/SkyBoxFS', 'Shaders/SkyBoxVS', 'Shaders/SunFS', 'Shaders/SunTextureFS', 'Shaders/SunVS', 'Shaders/ViewportQuadFS', 'Shaders/ViewportQuadVS', 'ThirdParty/Tween', 'ThirdParty/Uri', 'ThirdParty/knockout-2.3.0', 'ThirdParty/knockout-es5', 'ThirdParty/knockout', 'ThirdParty/measureText', 'ThirdParty/mersenne-twister', 'ThirdParty/sprintf', 'ThirdParty/topojson', 'ThirdParty/weakmap', 'ThirdParty/when', 'Widgets/Animation/Animation', 'Widgets/Animation/AnimationViewModel', 'Widgets/BaseLayerPicker/BaseLayerPicker', 'Widgets/BaseLayerPicker/BaseLayerPickerViewModel', 'Widgets/BaseLayerPicker/ImageryProviderViewModel', 'Widgets/BaseLayerPicker/createDefaultBaseLayers', 'Widgets/CesiumWidget/CesiumWidget', 'Widgets/ClockViewModel', 'Widgets/Command', 'Widgets/FullscreenButton/FullscreenButton', 'Widgets/FullscreenButton/FullscreenButtonViewModel', 'Widgets/HomeButton/HomeButton', 'Widgets/HomeButton/HomeButtonViewModel', 'Widgets/Observable', 'Widgets/SceneModePicker/SceneModePicker', 'Widgets/SceneModePicker/SceneModePickerViewModel', 'Widgets/Timeline/Timeline', 'Widgets/Timeline/TimelineHighlightRange', 'Widgets/Timeline/TimelineTrack', 'Widgets/ToggleButtonViewModel', 'Widgets/Viewer/Viewer', 'Widgets/Viewer/viewerDragDropMixin', 'Widgets/Viewer/viewerDynamicObjectMixin', 'Widgets/checkForChromeFrame', 'Widgets/createCommand', 'Widgets/getElement'], function(Core_AxisAlignedBoundingBox, Core_BingMapsApi, Core_BoundingRectangle, Core_BoundingSphere, Core_BoxGeometry, Core_BoxOutlineGeometry, Core_Cartesian2, Core_Cartesian3, Core_Cartesian4, Core_Cartographic, Core_CatmullRomSpline, Core_CircleGeometry, Core_CircleOutlineGeometry, Core_Clock, Core_ClockRange, Core_ClockStep, Core_Color, Core_ColorGeometryInstanceAttribute, Core_ComponentDatatype, Core_CornerType, Core_CorridorGeometry, Core_CorridorGeometryLibrary, Core_CorridorOutlineGeometry, Core_CubicRealPolynomial, Core_CylinderGeometry, Core_CylinderGeometryLibrary, Core_CylinderOutlineGeometry, Core_DefaultProxy, Core_DeveloperError, Core_EarthOrientationParameters, Core_EarthOrientationParametersSample, Core_EllipseGeometry, Core_EllipseGeometryLibrary, Core_EllipseOutlineGeometry, Core_Ellipsoid, Core_EllipsoidGeodesic, Core_EllipsoidGeometry, Core_EllipsoidOutlineGeometry, Core_EllipsoidTangentPlane, Core_EllipsoidalOccluder, Core_EncodedCartesian3, Core_Enumeration, Core_Event, Core_EventHelper, Core_Extent, Core_ExtentGeometry, Core_ExtentOutlineGeometry, Core_FAR, Core_FeatureDetection, Core_Fullscreen, Core_GeographicProjection, Core_Geometry, Core_GeometryAttribute, Core_GeometryAttributes, Core_GeometryInstance, Core_GeometryInstanceAttribute, Core_GeometryPipeline, Core_HeightmapTessellator, Core_HermitePolynomialApproximation, Core_HermiteSpline, Core_Iau2000Orientation, Core_Iau2006XysData, Core_Iau2006XysSample, Core_IauOrientationAxes, Core_IauOrientationParameters, Core_IndexDatatype, Core_InterpolationAlgorithm, Core_Intersect, Core_IntersectionTests, Core_Interval, Core_Iso8601, Core_JulianDate, Core_KeyboardEventModifier, Core_LagrangePolynomialApproximation, Core_LeapSecond, Core_LinearApproximation, Core_Math, Core_Matrix2, Core_Matrix3, Core_Matrix4, Core_NearFarScalar, Core_Occluder, Core_OrientationInterpolator, Core_Packable, Core_PackableForInterpolation, Core_Plane, Core_PolygonGeometry, Core_PolygonGeometryLibrary, Core_PolygonOutlineGeometry, Core_PolygonPipeline, Core_PolylineGeometry, Core_PolylinePipeline, Core_PolylineVolumeGeometry, Core_PolylineVolumeGeometryLibrary, Core_PolylineVolumeOutlineGeometry, Core_PrimitiveType, Core_QuadraticRealPolynomial, Core_QuarticRealPolynomial, Core_Quaternion, Core_Queue, Core_Ray, Core_ReferenceFrame, Core_RequestErrorEvent, Core_RuntimeError, Core_ScreenSpaceEventHandler, Core_ScreenSpaceEventType, Core_Shapes, Core_ShowGeometryInstanceAttribute, Core_Simon1994PlanetaryPositions, Core_SimplePolylineGeometry, Core_SphereGeometry, Core_SphereOutlineGeometry, Core_Spherical, Core_TaskProcessor, Core_TimeConstants, Core_TimeInterval, Core_TimeIntervalCollection, Core_TimeStandard, Core_Tipsify, Core_Transforms, Core_TridiagonalSystemSolver, Core_VertexFormat, Core_Visibility, Core_WallGeometry, Core_WallGeometryLibrary, Core_WallOutlineGeometry, Core_WebMercatorProjection, Core_WindingOrder, Core_barycentricCoordinates, Core_binarySearch, Core_buildModuleUrl, Core_cancelAnimationFrame, Core_clone, Core_combine, Core_createGuid, Core_defaultValue, Core_defineProperties, Core_defined, Core_destroyObject, Core_freezeObject, Core_getFilenameFromUri, Core_getImagePixels, Core_isCrossOriginUrl, Core_isLeapYear, Core_jsonp, Core_loadArrayBuffer, Core_loadBlob, Core_loadImage, Core_loadImageViaBlob, Core_loadJson, Core_loadText, Core_loadWithXhr, Core_loadXML, Core_pointInsideTriangle, Core_requestAnimationFrame, Core_throttleRequestByServer, Core_wrapFunction, Core_writeTextToCanvas, DynamicScene_ColorMaterialProperty, DynamicScene_CompositeDynamicObjectCollection, DynamicScene_CompositeMaterialProperty, DynamicScene_CompositePositionProperty, DynamicScene_CompositeProperty, DynamicScene_ConstantPositionProperty, DynamicScene_ConstantProperty, DynamicScene_CzmlDataSource, DynamicScene_DataSource, DynamicScene_DataSourceCollection, DynamicScene_DataSourceDisplay, DynamicScene_DynamicBillboard, DynamicScene_DynamicBillboardVisualizer, DynamicScene_DynamicClock, DynamicScene_DynamicCone, DynamicScene_DynamicConeVisualizerUsingCustomSensor, DynamicScene_DynamicDirectionsProperty, DynamicScene_DynamicEllipse, DynamicScene_DynamicEllipsoid, DynamicScene_DynamicEllipsoidVisualizer, DynamicScene_DynamicLabel, DynamicScene_DynamicLabelVisualizer, DynamicScene_DynamicObject, DynamicScene_DynamicObjectCollection, DynamicScene_DynamicObjectView, DynamicScene_DynamicPath, DynamicScene_DynamicPathVisualizer, DynamicScene_DynamicPoint, DynamicScene_DynamicPointVisualizer, DynamicScene_DynamicPolygon, DynamicScene_DynamicPolygonVisualizer, DynamicScene_DynamicPolyline, DynamicScene_DynamicPolylineVisualizer, DynamicScene_DynamicPyramid, DynamicScene_DynamicPyramidVisualizer, DynamicScene_DynamicVector, DynamicScene_DynamicVectorVisualizer, DynamicScene_DynamicVertexPositionsProperty, DynamicScene_GeoJsonDataSource, DynamicScene_GridMaterialProperty, DynamicScene_ImageMaterialProperty, DynamicScene_MaterialProperty, DynamicScene_PolylineOutlineMaterialProperty, DynamicScene_PositionProperty, DynamicScene_Property, DynamicScene_ReferenceProperty, DynamicScene_SampledPositionProperty, DynamicScene_SampledProperty, DynamicScene_TimeIntervalCollectionPositionProperty, DynamicScene_TimeIntervalCollectionProperty, DynamicScene_VisualizerCollection, DynamicScene_createDynamicPropertyDescriptor, Renderer_AutomaticUniforms, Renderer_BlendEquation, Renderer_BlendFunction, Renderer_BlendingState, Renderer_Buffer, Renderer_BufferUsage, Renderer_ClearCommand, Renderer_CommandLists, Renderer_Context, Renderer_CubeMap, Renderer_CubeMapFace, Renderer_CullFace, Renderer_DepthFunction, Renderer_DrawCommand, Renderer_Framebuffer, Renderer_MipmapHint, Renderer_PassState, Renderer_PickFramebuffer, Renderer_PixelDatatype, Renderer_PixelFormat, Renderer_RenderState, Renderer_Renderbuffer, Renderer_RenderbufferFormat, Renderer_ShaderCache, Renderer_ShaderProgram, Renderer_StencilFunction, Renderer_StencilOperation, Renderer_Texture, Renderer_TextureAtlas, Renderer_TextureAtlasBuilder, Renderer_TextureMagnificationFilter, Renderer_TextureMinificationFilter, Renderer_TextureWrap, Renderer_UniformDatatype, Renderer_UniformState, Renderer_VertexArray, Renderer_VertexArrayFacade, Renderer_VertexLayout, Renderer_createShaderSource, Renderer_loadCubeMap, Scene_AnimationCollection, Scene_Appearance, Scene_ArcGisImageServerTerrainProvider, Scene_ArcGisMapServerImageryProvider, Scene_Billboard, Scene_BillboardCollection, Scene_BingMapsImageryProvider, Scene_BingMapsStyle, Scene_Camera, Scene_CameraColumbusViewMode, Scene_CameraController, Scene_CameraEventAggregator, Scene_CameraEventType, Scene_CameraFlightPath, Scene_CentralBody, Scene_CentralBodySurface, Scene_CentralBodySurfaceShaderSet, Scene_CesiumTerrainProvider, Scene_CompositePrimitive, Scene_Credit, Scene_CreditDisplay, Scene_CullingVolume, Scene_CustomSensorVolume, Scene_DebugAppearance, Scene_DiscardMissingTileImagePolicy, Scene_EllipsoidPrimitive, Scene_EllipsoidSurfaceAppearance, Scene_EllipsoidTerrainProvider, Scene_ExtentPrimitive, Scene_FrameState, Scene_FrustumCommands, Scene_GeographicTilingScheme, Scene_GridImageryProvider, Scene_HeightmapTerrainData, Scene_HorizontalOrigin, Scene_Imagery, Scene_ImageryLayer, Scene_ImageryLayerCollection, Scene_ImageryProvider, Scene_ImageryState, Scene_Label, Scene_LabelCollection, Scene_LabelStyle, Scene_Material, Scene_MaterialAppearance, Scene_Moon, Scene_NeverTileDiscardPolicy, Scene_OpenStreetMapImageryProvider, Scene_OrthographicFrustum, Scene_PerInstanceColorAppearance, Scene_PerformanceDisplay, Scene_PerspectiveFrustum, Scene_PerspectiveOffCenterFrustum, Scene_Polygon, Scene_Polyline, Scene_PolylineCollection, Scene_PolylineColorAppearance, Scene_PolylineMaterialAppearance, Scene_Primitive, Scene_PrimitivePipeline, Scene_PrimitiveState, Scene_RectangularPyramidSensorVolume, Scene_Scene, Scene_SceneMode, Scene_SceneTransforms, Scene_SceneTransitioner, Scene_ScreenSpaceCameraController, Scene_SensorVolumeCollection, Scene_SingleTileImageryProvider, Scene_SkyAtmosphere, Scene_SkyBox, Scene_Sun, Scene_SunPostProcess, Scene_TerrainData, Scene_TerrainMesh, Scene_TerrainProvider, Scene_TerrainState, Scene_TexturePool, Scene_Tile, Scene_TileCoordinatesImageryProvider, Scene_TileDiscardPolicy, Scene_TileImagery, Scene_TileMapServiceImageryProvider, Scene_TileProviderError, Scene_TileReplacementQueue, Scene_TileState, Scene_TileTerrain, Scene_TilingScheme, Scene_VRTheWorldTerrainProvider, Scene_VerticalOrigin, Scene_ViewportQuad, Scene_WebMapServiceImageryProvider, Scene_WebMercatorTilingScheme, Scene_createTangentSpaceDebugPrimitive, Scene_sampleTerrain, Shaders_Appearances_AllMaterialAppearanceFS, Shaders_Appearances_AllMaterialAppearanceVS, Shaders_Appearances_BasicMaterialAppearanceFS, Shaders_Appearances_BasicMaterialAppearanceVS, Shaders_Appearances_EllipsoidSurfaceAppearanceFS, Shaders_Appearances_EllipsoidSurfaceAppearanceVS, Shaders_Appearances_PerInstanceColorAppearanceFS, Shaders_Appearances_PerInstanceColorAppearanceVS, Shaders_Appearances_PerInstanceFlatColorAppearanceFS, Shaders_Appearances_PerInstanceFlatColorAppearanceVS, Shaders_Appearances_PolylineColorAppearanceVS, Shaders_Appearances_PolylineMaterialAppearanceVS, Shaders_Appearances_TexturedMaterialAppearanceFS, Shaders_Appearances_TexturedMaterialAppearanceVS, Shaders_BillboardCollectionFS, Shaders_BillboardCollectionVS, Shaders_Builtin_Constants_degreesPerRadian, Shaders_Builtin_Constants_epsilon1, Shaders_Builtin_Constants_epsilon2, Shaders_Builtin_Constants_epsilon3, Shaders_Builtin_Constants_epsilon4, Shaders_Builtin_Constants_epsilon5, Shaders_Builtin_Constants_epsilon6, Shaders_Builtin_Constants_epsilon7, Shaders_Builtin_Constants_infinity, Shaders_Builtin_Constants_oneOverPi, Shaders_Builtin_Constants_oneOverTwoPi, Shaders_Builtin_Constants_pi, Shaders_Builtin_Constants_piOverFour, Shaders_Builtin_Constants_piOverSix, Shaders_Builtin_Constants_piOverThree, Shaders_Builtin_Constants_piOverTwo, Shaders_Builtin_Constants_radiansPerDegree, Shaders_Builtin_Constants_sceneMode2D, Shaders_Builtin_Constants_sceneMode3D, Shaders_Builtin_Constants_sceneModeColumbusView, Shaders_Builtin_Constants_sceneModeMorphing, Shaders_Builtin_Constants_solarRadius, Shaders_Builtin_Constants_threePiOver2, Shaders_Builtin_Constants_twoPi, Shaders_Builtin_Constants_webMercatorMaxLatitude, Shaders_Builtin_CzmBuiltins, Shaders_Builtin_Functions_RGBToXYZ, Shaders_Builtin_Functions_XYZToRGB, Shaders_Builtin_Functions_antialias, Shaders_Builtin_Functions_cellular, Shaders_Builtin_Functions_columbusViewMorph, Shaders_Builtin_Functions_computePosition, Shaders_Builtin_Functions_eastNorthUpToEyeCoordinates, Shaders_Builtin_Functions_ellipsoidContainsPoint, Shaders_Builtin_Functions_ellipsoidNew, Shaders_Builtin_Functions_ellipsoidWgs84TextureCoordinates, Shaders_Builtin_Functions_equalsEpsilon, Shaders_Builtin_Functions_eyeOffset, Shaders_Builtin_Functions_eyeToWindowCoordinates, Shaders_Builtin_Functions_geodeticSurfaceNormal, Shaders_Builtin_Functions_getDefaultMaterial, Shaders_Builtin_Functions_getLambertDiffuse, Shaders_Builtin_Functions_getSpecular, Shaders_Builtin_Functions_getWaterNoise, Shaders_Builtin_Functions_getWgs84EllipsoidEC, Shaders_Builtin_Functions_hue, Shaders_Builtin_Functions_isEmpty, Shaders_Builtin_Functions_isFull, Shaders_Builtin_Functions_latitudeToWebMercatorFraction, Shaders_Builtin_Functions_luminance, Shaders_Builtin_Functions_modelToWindowCoordinates, Shaders_Builtin_Functions_multiplyWithColorBalance, Shaders_Builtin_Functions_phong, Shaders_Builtin_Functions_pointAlongRay, Shaders_Builtin_Functions_rayEllipsoidIntersectionInterval, Shaders_Builtin_Functions_saturation, Shaders_Builtin_Functions_snoise, Shaders_Builtin_Functions_tangentToEyeSpaceMatrix, Shaders_Builtin_Functions_translateRelativeToEye, Shaders_Builtin_Functions_transpose, Shaders_Builtin_Functions_windowToEyeCoordinates, Shaders_Builtin_Structs_ellipsoid, Shaders_Builtin_Structs_material, Shaders_Builtin_Structs_materialInput, Shaders_Builtin_Structs_ray, Shaders_Builtin_Structs_raySegment, Shaders_CentralBodyFS, Shaders_CentralBodyFSDepth, Shaders_CentralBodyFSPole, Shaders_CentralBodyVS, Shaders_CentralBodyVSDepth, Shaders_CentralBodyVSPole, Shaders_CustomSensorVolumeFS, Shaders_CustomSensorVolumeVS, Shaders_EllipsoidFS, Shaders_EllipsoidVS, Shaders_Materials_AsphaltMaterial, Shaders_Materials_BlobMaterial, Shaders_Materials_BrickMaterial, Shaders_Materials_BumpMapMaterial, Shaders_Materials_CementMaterial, Shaders_Materials_CheckerboardMaterial, Shaders_Materials_DotMaterial, Shaders_Materials_ErosionMaterial, Shaders_Materials_FacetMaterial, Shaders_Materials_FadeMaterial, Shaders_Materials_FresnelMaterial, Shaders_Materials_GrassMaterial, Shaders_Materials_GridMaterial, Shaders_Materials_NormalMapMaterial, Shaders_Materials_PolylineArrowMaterial, Shaders_Materials_PolylineGlowMaterial, Shaders_Materials_PolylineOutlineMaterial, Shaders_Materials_ReflectionMaterial, Shaders_Materials_RefractionMaterial, Shaders_Materials_RimLightingMaterial, Shaders_Materials_StripeMaterial, Shaders_Materials_TieDyeMaterial, Shaders_Materials_Water, Shaders_Materials_WoodMaterial, Shaders_PolylineCommon, Shaders_PolylineFS, Shaders_PolylineVS, Shaders_PostProcessFilters_AdditiveBlend, Shaders_PostProcessFilters_BrightPass, Shaders_PostProcessFilters_GaussianBlur1D, Shaders_PostProcessFilters_PassThrough, Shaders_ReprojectWebMercatorFS, Shaders_ReprojectWebMercatorVS, Shaders_SensorVolume, Shaders_SkyAtmosphereFS, Shaders_SkyAtmosphereVS, Shaders_SkyBoxFS, Shaders_SkyBoxVS, Shaders_SunFS, Shaders_SunTextureFS, Shaders_SunVS, Shaders_ViewportQuadFS, Shaders_ViewportQuadVS, ThirdParty_Tween, ThirdParty_Uri, ThirdParty_knockout_2_3_0, ThirdParty_knockout_es5, ThirdParty_knockout, ThirdParty_measureText, ThirdParty_mersenne_twister, ThirdParty_sprintf, ThirdParty_topojson, ThirdParty_weakmap, ThirdParty_when, Widgets_Animation_Animation, Widgets_Animation_AnimationViewModel, Widgets_BaseLayerPicker_BaseLayerPicker, Widgets_BaseLayerPicker_BaseLayerPickerViewModel, Widgets_BaseLayerPicker_ImageryProviderViewModel, Widgets_BaseLayerPicker_createDefaultBaseLayers, Widgets_CesiumWidget_CesiumWidget, Widgets_ClockViewModel, Widgets_Command, Widgets_FullscreenButton_FullscreenButton, Widgets_FullscreenButton_FullscreenButtonViewModel, Widgets_HomeButton_HomeButton, Widgets_HomeButton_HomeButtonViewModel, Widgets_Observable, Widgets_SceneModePicker_SceneModePicker, Widgets_SceneModePicker_SceneModePickerViewModel, Widgets_Timeline_Timeline, Widgets_Timeline_TimelineHighlightRange, Widgets_Timeline_TimelineTrack, Widgets_ToggleButtonViewModel, Widgets_Viewer_Viewer, Widgets_Viewer_viewerDragDropMixin, Widgets_Viewer_viewerDynamicObjectMixin, Widgets_checkForChromeFrame, Widgets_createCommand, Widgets_getElement) {
|
3
3
|
"use strict";
|
4
4
|
var Cesium = {
|
5
5
|
_shaders : {}
|
@@ -64,8 +64,11 @@ define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectang
|
|
64
64
|
Cesium.HeightmapTessellator = Core_HeightmapTessellator;
|
65
65
|
Cesium.HermitePolynomialApproximation = Core_HermitePolynomialApproximation;
|
66
66
|
Cesium.HermiteSpline = Core_HermiteSpline;
|
67
|
+
Cesium.Iau2000Orientation = Core_Iau2000Orientation;
|
67
68
|
Cesium.Iau2006XysData = Core_Iau2006XysData;
|
68
69
|
Cesium.Iau2006XysSample = Core_Iau2006XysSample;
|
70
|
+
Cesium.IauOrientationAxes = Core_IauOrientationAxes;
|
71
|
+
Cesium.IauOrientationParameters = Core_IauOrientationParameters;
|
69
72
|
Cesium.IndexDatatype = Core_IndexDatatype;
|
70
73
|
Cesium.InterpolationAlgorithm = Core_InterpolationAlgorithm;
|
71
74
|
Cesium.Intersect = Core_Intersect;
|
@@ -93,6 +96,9 @@ define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectang
|
|
93
96
|
Cesium.PolygonPipeline = Core_PolygonPipeline;
|
94
97
|
Cesium.PolylineGeometry = Core_PolylineGeometry;
|
95
98
|
Cesium.PolylinePipeline = Core_PolylinePipeline;
|
99
|
+
Cesium.PolylineVolumeGeometry = Core_PolylineVolumeGeometry;
|
100
|
+
Cesium.PolylineVolumeGeometryLibrary = Core_PolylineVolumeGeometryLibrary;
|
101
|
+
Cesium.PolylineVolumeOutlineGeometry = Core_PolylineVolumeOutlineGeometry;
|
96
102
|
Cesium.PrimitiveType = Core_PrimitiveType;
|
97
103
|
Cesium.QuadraticRealPolynomial = Core_QuadraticRealPolynomial;
|
98
104
|
Cesium.QuarticRealPolynomial = Core_QuarticRealPolynomial;
|
@@ -138,6 +144,7 @@ define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectang
|
|
138
144
|
Cesium.defined = Core_defined;
|
139
145
|
Cesium.destroyObject = Core_destroyObject;
|
140
146
|
Cesium.freezeObject = Core_freezeObject;
|
147
|
+
Cesium.getFilenameFromUri = Core_getFilenameFromUri;
|
141
148
|
Cesium.getImagePixels = Core_getImagePixels;
|
142
149
|
Cesium.isCrossOriginUrl = Core_isCrossOriginUrl;
|
143
150
|
Cesium.isLeapYear = Core_isLeapYear;
|
@@ -197,6 +204,7 @@ define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectang
|
|
197
204
|
Cesium.GridMaterialProperty = DynamicScene_GridMaterialProperty;
|
198
205
|
Cesium.ImageMaterialProperty = DynamicScene_ImageMaterialProperty;
|
199
206
|
Cesium.MaterialProperty = DynamicScene_MaterialProperty;
|
207
|
+
Cesium.PolylineOutlineMaterialProperty = DynamicScene_PolylineOutlineMaterialProperty;
|
200
208
|
Cesium.PositionProperty = DynamicScene_PositionProperty;
|
201
209
|
Cesium.Property = DynamicScene_Property;
|
202
210
|
Cesium.ReferenceProperty = DynamicScene_ReferenceProperty;
|
@@ -291,6 +299,7 @@ define(['Core/AxisAlignedBoundingBox', 'Core/BingMapsApi', 'Core/BoundingRectang
|
|
291
299
|
Cesium.LabelStyle = Scene_LabelStyle;
|
292
300
|
Cesium.Material = Scene_Material;
|
293
301
|
Cesium.MaterialAppearance = Scene_MaterialAppearance;
|
302
|
+
Cesium.Moon = Scene_Moon;
|
294
303
|
Cesium.NeverTileDiscardPolicy = Scene_NeverTileDiscardPolicy;
|
295
304
|
Cesium.OpenStreetMapImageryProvider = Scene_OpenStreetMapImageryProvider;
|
296
305
|
Cesium.OrthographicFrustum = Scene_OrthographicFrustum;
|
@@ -645,6 +645,34 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/freeze
|
|
645
645
|
return Cartesian2.clone(this, result);
|
646
646
|
};
|
647
647
|
|
648
|
+
/**
|
649
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
650
|
+
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
651
|
+
* @memberof Cartesian2
|
652
|
+
*
|
653
|
+
* @param {Cartesian2} [right] The right hand side Cartesian.
|
654
|
+
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
655
|
+
*/
|
656
|
+
Cartesian2.prototype.equals = function(right) {
|
657
|
+
return Cartesian2.equals(this, right);
|
658
|
+
};
|
659
|
+
|
660
|
+
/**
|
661
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
662
|
+
* <code>true</code> if they are within the provided epsilon,
|
663
|
+
* <code>false</code> otherwise.
|
664
|
+
* @memberof Cartesian2
|
665
|
+
*
|
666
|
+
* @param {Cartesian2} [right] The right hand side Cartesian.
|
667
|
+
* @param {Number} epsilon The epsilon to use for equality testing.
|
668
|
+
* @returns {Boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
669
|
+
*
|
670
|
+
* @exception {DeveloperError} epsilon is required and must be a number.
|
671
|
+
*/
|
672
|
+
Cartesian2.prototype.equalsEpsilon = function(right, epsilon) {
|
673
|
+
return Cartesian2.equalsEpsilon(this, right, epsilon);
|
674
|
+
};
|
675
|
+
|
648
676
|
/**
|
649
677
|
* Creates a string representing this Cartesian in the format '(x, y)'.
|
650
678
|
* @memberof Cartesian2
|
@@ -737,6 +737,34 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/freeze
|
|
737
737
|
return Cartesian3.clone(this, result);
|
738
738
|
};
|
739
739
|
|
740
|
+
/**
|
741
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
742
|
+
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
743
|
+
* @memberof Cartesian3
|
744
|
+
*
|
745
|
+
* @param {Cartesian3} [right] The right hand side Cartesian.
|
746
|
+
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
747
|
+
*/
|
748
|
+
Cartesian3.prototype.equals = function(right) {
|
749
|
+
return Cartesian3.equals(this, right);
|
750
|
+
};
|
751
|
+
|
752
|
+
/**
|
753
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
754
|
+
* <code>true</code> if they are within the provided epsilon,
|
755
|
+
* <code>false</code> otherwise.
|
756
|
+
* @memberof Cartesian3
|
757
|
+
*
|
758
|
+
* @param {Cartesian3} [right] The right hand side Cartesian.
|
759
|
+
* @param {Number} epsilon The epsilon to use for equality testing.
|
760
|
+
* @returns {Boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
761
|
+
*
|
762
|
+
* @exception {DeveloperError} epsilon is required and must be a number.
|
763
|
+
*/
|
764
|
+
Cartesian3.prototype.equalsEpsilon = function(right, epsilon) {
|
765
|
+
return Cartesian3.equalsEpsilon(this, right, epsilon);
|
766
|
+
};
|
767
|
+
|
740
768
|
/**
|
741
769
|
* Creates a string representing this Cartesian in the format '(x, y, z)'.
|
742
770
|
* @memberof Cartesian3
|
@@ -672,6 +672,34 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/freeze
|
|
672
672
|
return Cartesian4.clone(this, result);
|
673
673
|
};
|
674
674
|
|
675
|
+
/**
|
676
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
677
|
+
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
678
|
+
* @memberof Cartesian4
|
679
|
+
*
|
680
|
+
* @param {Cartesian4} [right] The right hand side Cartesian.
|
681
|
+
* @returns {Boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
682
|
+
*/
|
683
|
+
Cartesian4.prototype.equals = function(right) {
|
684
|
+
return Cartesian4.equals(this, right);
|
685
|
+
};
|
686
|
+
|
687
|
+
/**
|
688
|
+
* Compares this Cartesian against the provided Cartesian componentwise and returns
|
689
|
+
* <code>true</code> if they are within the provided epsilon,
|
690
|
+
* <code>false</code> otherwise.
|
691
|
+
* @memberof Cartesian4
|
692
|
+
*
|
693
|
+
* @param {Cartesian4} [right] The right hand side Cartesian.
|
694
|
+
* @param {Number} epsilon The epsilon to use for equality testing.
|
695
|
+
* @returns {Boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
696
|
+
*
|
697
|
+
* @exception {DeveloperError} epsilon is required and must be a number.
|
698
|
+
*/
|
699
|
+
Cartesian4.prototype.equalsEpsilon = function(right, epsilon) {
|
700
|
+
return Cartesian4.equalsEpsilon(this, right, epsilon);
|
701
|
+
};
|
702
|
+
|
675
703
|
/**
|
676
704
|
* Creates a string representing this Cartesian in the format '(x, y)'.
|
677
705
|
* @memberof Cartesian4
|
@@ -201,19 +201,19 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/Matrix
|
|
201
201
|
p1 = this._points[1].point;
|
202
202
|
p2 = this._ti;
|
203
203
|
p3 = Cartesian3.multiplyByScalar(Cartesian3.subtract(this._points[2].point, p0), 0.5);
|
204
|
-
coefs = HermiteSpline.hermiteCoefficientMatrix
|
204
|
+
coefs = Matrix4.multiplyByPoint(HermiteSpline.hermiteCoefficientMatrix, timeVec);
|
205
205
|
} else if (i === this._points.length - 2) {
|
206
206
|
p0 = this._points[i].point;
|
207
207
|
p1 = this._points[i + 1].point;
|
208
208
|
p2 = Cartesian3.multiplyByScalar(Cartesian3.subtract(p1, this._points[i - 1].point), 0.5);
|
209
209
|
p3 = this._to;
|
210
|
-
coefs = HermiteSpline.hermiteCoefficientMatrix
|
210
|
+
coefs = Matrix4.multiplyByPoint(HermiteSpline.hermiteCoefficientMatrix, timeVec);
|
211
211
|
} else {
|
212
212
|
p0 = this._points[i - 1].point;
|
213
213
|
p1 = this._points[i].point;
|
214
214
|
p2 = this._points[i + 1].point;
|
215
215
|
p3 = this._points[i + 2].point;
|
216
|
-
coefs = CatmullRomSpline.catmullRomCoefficientMatrix
|
216
|
+
coefs = Matrix4.multiplyByPoint(CatmullRomSpline.catmullRomCoefficientMatrix, timeVec);
|
217
217
|
}
|
218
218
|
p0 = Cartesian3.multiplyByScalar(p0, coefs.x);
|
219
219
|
p1 = Cartesian3.multiplyByScalar(p1, coefs.y);
|
@@ -53,23 +53,23 @@ define(['Core/defined', 'Core/DeveloperError', 'Core/JulianDate', 'Core/ClockSte
|
|
53
53
|
|
54
54
|
if (startTimeUndefined && stopTimeUndefined && currentTimeUndefined) {
|
55
55
|
currentTime = new JulianDate();
|
56
|
-
startTime =
|
56
|
+
startTime = JulianDate.clone(currentTime);
|
57
57
|
stopTime = currentTime.addDays(1.0);
|
58
58
|
} else if (startTimeUndefined && stopTimeUndefined) {
|
59
|
-
startTime =
|
59
|
+
startTime = JulianDate.clone(currentTime);
|
60
60
|
stopTime = currentTime.addDays(1.0);
|
61
61
|
} else if (startTimeUndefined && currentTimeUndefined) {
|
62
62
|
startTime = stopTime.addDays(-1.0);
|
63
|
-
currentTime =
|
63
|
+
currentTime = JulianDate.clone(startTime);
|
64
64
|
} else if (currentTimeUndefined && stopTimeUndefined) {
|
65
|
-
currentTime =
|
65
|
+
currentTime = JulianDate.clone(startTime);
|
66
66
|
stopTime = startTime.addDays(1.0);
|
67
67
|
} else if (currentTimeUndefined) {
|
68
|
-
currentTime =
|
68
|
+
currentTime = JulianDate.clone(startTime);
|
69
69
|
} else if (stopTimeUndefined) {
|
70
70
|
stopTime = currentTime.addDays(1.0);
|
71
71
|
} else if (startTimeUndefined) {
|
72
|
-
startTime =
|
72
|
+
startTime = JulianDate.clone(currentTime);
|
73
73
|
}
|
74
74
|
|
75
75
|
if (startTime.greaterThan(stopTime)) {
|
@@ -167,7 +167,7 @@ define(['Core/defined', 'Core/DeveloperError', 'Core/JulianDate', 'Core/ClockSte
|
|
167
167
|
}
|
168
168
|
} else if (this.clockRange === ClockRange.LOOP_STOP) {
|
169
169
|
if (currentTime.lessThan(startTime)) {
|
170
|
-
currentTime =
|
170
|
+
currentTime = JulianDate.clone(startTime);
|
171
171
|
}
|
172
172
|
while (currentTime.greaterThan(stopTime)) {
|
173
173
|
currentTime = startTime.addSeconds(stopTime.getSecondsDifference(currentTime));
|
@@ -289,7 +289,7 @@ define(['Core/defaultValue', 'Core/defined', 'Core/freezeObject', 'Core/Develope
|
|
289
289
|
|
290
290
|
var namedColor = Color[color.toUpperCase()];
|
291
291
|
if (defined(namedColor)) {
|
292
|
-
return
|
292
|
+
return Color.clone(namedColor);
|
293
293
|
}
|
294
294
|
|
295
295
|
var matches = rgbMatcher.exec(color);
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/*global define*/
|
2
|
-
define(['Core/defined', 'Core/DeveloperError', 'Core/FeatureDetection', 'Core/Enumeration'], function(
|
2
|
+
define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/FeatureDetection', 'Core/Enumeration'], function(
|
3
|
+
defaultValue,
|
3
4
|
defined,
|
4
5
|
DeveloperError,
|
5
6
|
FeatureDetection,
|
@@ -186,19 +187,22 @@ define(['Core/defined', 'Core/DeveloperError', 'Core/FeatureDetection', 'Core/En
|
|
186
187
|
throw new DeveloperError('buffer is required.');
|
187
188
|
}
|
188
189
|
|
190
|
+
byteOffset = defaultValue(byteOffset, 0);
|
191
|
+
length = defaultValue(length, (buffer.byteLength - byteOffset) / componentDatatype.sizeInBytes);
|
192
|
+
|
189
193
|
switch (componentDatatype.value) {
|
190
194
|
case ComponentDatatype.BYTE.value:
|
191
|
-
return new Int8Array(buffer, byteOffset);
|
195
|
+
return new Int8Array(buffer, byteOffset, length);
|
192
196
|
case ComponentDatatype.UNSIGNED_BYTE.value:
|
193
|
-
return new Uint8Array(buffer, byteOffset);
|
197
|
+
return new Uint8Array(buffer, byteOffset, length);
|
194
198
|
case ComponentDatatype.SHORT.value:
|
195
|
-
return new Int16Array(buffer, byteOffset);
|
199
|
+
return new Int16Array(buffer, byteOffset, length);
|
196
200
|
case ComponentDatatype.UNSIGNED_SHORT.value:
|
197
|
-
return new Uint16Array(buffer, byteOffset);
|
201
|
+
return new Uint16Array(buffer, byteOffset, length);
|
198
202
|
case ComponentDatatype.FLOAT.value:
|
199
|
-
return new Float32Array(buffer, byteOffset);
|
203
|
+
return new Float32Array(buffer, byteOffset, length);
|
200
204
|
case ComponentDatatype.DOUBLE.value:
|
201
|
-
return new Float64Array(buffer, byteOffset);
|
205
|
+
return new Float64Array(buffer, byteOffset, length);
|
202
206
|
default:
|
203
207
|
throw new DeveloperError('componentDatatype is not a valid enumeration value.');
|
204
208
|
}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
/*global define*/
|
2
|
-
define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType', 'Core/EllipsoidTangentPlane', 'Core/PolylinePipeline', 'Core/Matrix3', 'Core/Quaternion', 'Core/Math'], function(
|
2
|
+
define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType', 'Core/EllipsoidTangentPlane', 'Core/PolylinePipeline', 'Core/PolylineVolumeGeometryLibrary', 'Core/Matrix3', 'Core/Quaternion', 'Core/Math'], function(
|
3
3
|
defined,
|
4
4
|
Cartesian2,
|
5
5
|
Cartesian3,
|
6
6
|
CornerType,
|
7
7
|
EllipsoidTangentPlane,
|
8
8
|
PolylinePipeline,
|
9
|
+
PolylineVolumeGeometryLibrary,
|
9
10
|
Matrix3,
|
10
11
|
Quaternion,
|
11
12
|
CesiumMath) {
|
@@ -34,24 +35,9 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
34
35
|
var cartesian9 = new Cartesian3();
|
35
36
|
var cartesian10 = new Cartesian3();
|
36
37
|
|
37
|
-
var originScratch = new Cartesian3();
|
38
|
-
var nextScratch = new Cartesian3();
|
39
|
-
var prevScratch = new Cartesian3();
|
40
|
-
function angleIsGreaterThanPi (forward, backward, position, ellipsoid) {
|
41
|
-
var tangentPlane = new EllipsoidTangentPlane(position, ellipsoid);
|
42
|
-
var origin = tangentPlane.projectPointOntoPlane(position, originScratch);
|
43
|
-
var next = tangentPlane.projectPointOntoPlane(Cartesian3.add(position, forward, nextScratch), nextScratch);
|
44
|
-
var prev = tangentPlane.projectPointOntoPlane(Cartesian3.add(position, backward, prevScratch), prevScratch);
|
45
|
-
|
46
|
-
prev = Cartesian2.subtract(prev, origin, prev);
|
47
|
-
next = Cartesian2.subtract(next, origin, next);
|
48
|
-
|
49
|
-
return ((prev.x * next.y) - (prev.y * next.x)) >= 0.0;
|
50
|
-
}
|
51
|
-
|
52
38
|
var quaterion = new Quaternion();
|
53
39
|
var rotMatrix = new Matrix3();
|
54
|
-
function computeRoundCorner (cornerPoint, startPoint, endPoint, cornerType, leftIsOutside
|
40
|
+
function computeRoundCorner (cornerPoint, startPoint, endPoint, cornerType, leftIsOutside) {
|
55
41
|
var angle = Cartesian3.angleBetween(Cartesian3.subtract(startPoint, cornerPoint, scratch1), Cartesian3.subtract(endPoint, cornerPoint, scratch2));
|
56
42
|
var granularity = (cornerType.value === CornerType.BEVELED.value) ? 1 : Math.ceil(angle / CesiumMath.toRadians(5)) + 1;
|
57
43
|
|
@@ -64,15 +50,15 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
64
50
|
|
65
51
|
var m;
|
66
52
|
if (leftIsOutside) {
|
67
|
-
m = Matrix3.fromQuaternion(Quaternion.fromAxisAngle(cornerPoint, angle / granularity, quaterion), rotMatrix);
|
68
|
-
} else {
|
69
53
|
m = Matrix3.fromQuaternion(Quaternion.fromAxisAngle(Cartesian3.negate(cornerPoint, scratch1), angle / granularity, quaterion), rotMatrix);
|
54
|
+
} else {
|
55
|
+
m = Matrix3.fromQuaternion(Quaternion.fromAxisAngle(cornerPoint, angle / granularity, quaterion), rotMatrix);
|
70
56
|
}
|
71
57
|
|
72
58
|
var index = 0;
|
73
59
|
startPoint = Cartesian3.clone(startPoint, scratch1);
|
74
60
|
for ( var i = 0; i < granularity; i++) {
|
75
|
-
startPoint =
|
61
|
+
startPoint = Matrix3.multiplyByVector(m, startPoint, startPoint);
|
76
62
|
array[index++] = startPoint.x;
|
77
63
|
array[index++] = startPoint.y;
|
78
64
|
array[index++] = startPoint.z;
|
@@ -90,7 +76,7 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
90
76
|
startPoint = Cartesian3.fromArray(calculatedPositions[1], leftEdge.length - 3, startPoint);
|
91
77
|
endPoint = Cartesian3.fromArray(calculatedPositions[0], 0, endPoint);
|
92
78
|
cornerPoint = Cartesian3.multiplyByScalar(Cartesian3.add(startPoint, endPoint, cornerPoint), 0.5, cornerPoint);
|
93
|
-
var firstEndCap = computeRoundCorner(cornerPoint, startPoint, endPoint, CornerType.ROUNDED, false
|
79
|
+
var firstEndCap = computeRoundCorner(cornerPoint, startPoint, endPoint, CornerType.ROUNDED, false);
|
94
80
|
|
95
81
|
var length = calculatedPositions.length - 1;
|
96
82
|
var rightEdge = calculatedPositions[length - 1];
|
@@ -98,12 +84,12 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
98
84
|
startPoint = Cartesian3.fromArray(rightEdge, rightEdge.length - 3, startPoint);
|
99
85
|
endPoint = Cartesian3.fromArray(leftEdge, 0, endPoint);
|
100
86
|
cornerPoint = Cartesian3.multiplyByScalar(Cartesian3.add(startPoint, endPoint, cornerPoint), 0.5, cornerPoint);
|
101
|
-
var lastEndCap = computeRoundCorner(cornerPoint, startPoint, endPoint, CornerType.ROUNDED, false
|
87
|
+
var lastEndCap = computeRoundCorner(cornerPoint, startPoint, endPoint, CornerType.ROUNDED, false);
|
102
88
|
|
103
89
|
return [firstEndCap, lastEndCap];
|
104
90
|
}
|
105
91
|
|
106
|
-
function computeMiteredCorner (position,
|
92
|
+
function computeMiteredCorner (position, leftCornerDirection, lastPoint, leftIsOutside) {
|
107
93
|
var cornerPoint = scratch1;
|
108
94
|
if (leftIsOutside) {
|
109
95
|
cornerPoint = Cartesian3.add(position, leftCornerDirection, cornerPoint);
|
@@ -158,14 +144,22 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
158
144
|
}
|
159
145
|
};
|
160
146
|
|
147
|
+
function scaleToSurface(positions, ellipsoid) {
|
148
|
+
for(var i = 0; i < positions.length; i++) {
|
149
|
+
positions[i] = ellipsoid.scaleToGeodeticSurface(positions[i], positions[i]);
|
150
|
+
}
|
151
|
+
return positions;
|
152
|
+
}
|
153
|
+
|
161
154
|
/**
|
162
155
|
* @private
|
163
156
|
*/
|
164
157
|
CorridorGeometryLibrary.computePositions = function (params) {
|
165
158
|
var granularity = params.granularity;
|
166
159
|
var positions = params.positions;
|
167
|
-
var width = params.width / 2;
|
168
160
|
var ellipsoid = params.ellipsoid;
|
161
|
+
positions = scaleToSurface(positions, ellipsoid);
|
162
|
+
var width = params.width / 2;
|
169
163
|
var cornerType = params.cornerType;
|
170
164
|
var saveAttributes = params.saveAttributes;
|
171
165
|
var normal = cartesian1;
|
@@ -209,7 +203,7 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
209
203
|
cornerDirection = Cartesian3.cross(cornerDirection, normal, cornerDirection);
|
210
204
|
cornerDirection = Cartesian3.cross(normal, cornerDirection, cornerDirection);
|
211
205
|
var scalar = width / Math.max(0.25, Cartesian3.magnitude(Cartesian3.cross(cornerDirection, backward, scratch1)));
|
212
|
-
var leftIsOutside = angleIsGreaterThanPi(forward, backward, position, ellipsoid);
|
206
|
+
var leftIsOutside = PolylineVolumeGeometryLibrary.angleIsGreaterThanPi(forward, backward, position, ellipsoid);
|
213
207
|
cornerDirection = Cartesian3.multiplyByScalar(cornerDirection, scalar, cornerDirection);
|
214
208
|
if (leftIsOutside) {
|
215
209
|
rightPos = Cartesian3.add(position, cornerDirection, rightPos);
|
@@ -228,9 +222,9 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
228
222
|
leftPos = Cartesian3.add(rightPos, Cartesian3.multiplyByScalar(left, width * 2, leftPos), leftPos);
|
229
223
|
previousPos = Cartesian3.add(rightPos, Cartesian3.multiplyByScalar(left, width, previousPos), previousPos);
|
230
224
|
if (cornerType.value === CornerType.ROUNDED.value || cornerType.value === CornerType.BEVELED.value) {
|
231
|
-
corners.push({leftPositions : computeRoundCorner(rightPos, startPoint, leftPos, cornerType, leftIsOutside
|
225
|
+
corners.push({leftPositions : computeRoundCorner(rightPos, startPoint, leftPos, cornerType, leftIsOutside)});
|
232
226
|
} else {
|
233
|
-
corners.push({leftPositions : computeMiteredCorner(position,
|
227
|
+
corners.push({leftPositions : computeMiteredCorner(position, Cartesian3.negate(cornerDirection, cornerDirection), leftPos, leftIsOutside)});
|
234
228
|
}
|
235
229
|
} else {
|
236
230
|
leftPos = Cartesian3.add(position, cornerDirection, leftPos);
|
@@ -249,9 +243,9 @@ define(['Core/defined', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/CornerType',
|
|
249
243
|
rightPos = Cartesian3.add(leftPos, Cartesian3.negate(Cartesian3.multiplyByScalar(left, width * 2, rightPos), rightPos), rightPos);
|
250
244
|
previousPos = Cartesian3.add(leftPos, Cartesian3.negate(Cartesian3.multiplyByScalar(left, width, previousPos), previousPos), previousPos);
|
251
245
|
if (cornerType.value === CornerType.ROUNDED.value || cornerType.value === CornerType.BEVELED.value) {
|
252
|
-
corners.push({rightPositions : computeRoundCorner(leftPos, startPoint, rightPos, cornerType, leftIsOutside
|
246
|
+
corners.push({rightPositions : computeRoundCorner(leftPos, startPoint, rightPos, cornerType, leftIsOutside)});
|
253
247
|
} else {
|
254
|
-
corners.push({rightPositions : computeMiteredCorner(position,
|
248
|
+
corners.push({rightPositions : computeMiteredCorner(position, cornerDirection, rightPos, leftIsOutside)});
|
255
249
|
}
|
256
250
|
}
|
257
251
|
backward = Cartesian3.negate(forward, backward);
|
@@ -128,6 +128,12 @@ define(['Core/freezeObject', 'Core/defaultValue', 'Core/defined', 'Core/Develope
|
|
128
128
|
*/
|
129
129
|
Ellipsoid.UNIT_SPHERE = freezeObject(new Ellipsoid(1.0, 1.0, 1.0));
|
130
130
|
|
131
|
+
/**
|
132
|
+
* An Ellipsoid instance initialized to a sphere with the lunar radius.
|
133
|
+
* @memberof Ellipsoid
|
134
|
+
*/
|
135
|
+
Ellipsoid.MOON = freezeObject(new Ellipsoid(CesiumMath.LUNAR_RADIUS, CesiumMath.LUNAR_RADIUS, CesiumMath.LUNAR_RADIUS));
|
136
|
+
|
131
137
|
/**
|
132
138
|
* @memberof Ellipsoid
|
133
139
|
* @returns {Cartesian3} The radii of the ellipsoid.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*global define*/
|
2
|
-
define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/Transforms', 'Core/AxisAlignedBoundingBox', 'Core/IntersectionTests', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/Ellipsoid', 'Core/Ray', 'Core/Plane'], function(
|
2
|
+
define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/Transforms', 'Core/AxisAlignedBoundingBox', 'Core/IntersectionTests', 'Core/Cartesian2', 'Core/Cartesian3', 'Core/Ellipsoid', 'Core/Matrix4', 'Core/Ray', 'Core/Plane'], function(
|
3
3
|
defaultValue,
|
4
4
|
defined,
|
5
5
|
DeveloperError,
|
@@ -9,6 +9,7 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/Transf
|
|
9
9
|
Cartesian2,
|
10
10
|
Cartesian3,
|
11
11
|
Ellipsoid,
|
12
|
+
Matrix4,
|
12
13
|
Ray,
|
13
14
|
Plane) {
|
14
15
|
"use strict";
|
@@ -40,10 +41,10 @@ define(['Core/defaultValue', 'Core/defined', 'Core/DeveloperError', 'Core/Transf
|
|
40
41
|
var eastNorthUp = Transforms.eastNorthUpToFixedFrame(origin, ellipsoid);
|
41
42
|
this._ellipsoid = ellipsoid;
|
42
43
|
this._origin = Cartesian3.clone(origin);
|
43
|
-
this._xAxis = Cartesian3.fromCartesian4(
|
44
|
-
this._yAxis = Cartesian3.fromCartesian4(
|
44
|
+
this._xAxis = Cartesian3.fromCartesian4(Matrix4.getColumn(eastNorthUp, 0));
|
45
|
+
this._yAxis = Cartesian3.fromCartesian4(Matrix4.getColumn(eastNorthUp, 1));
|
45
46
|
|
46
|
-
var normal = Cartesian3.fromCartesian4(
|
47
|
+
var normal = Cartesian3.fromCartesian4(Matrix4.getColumn(eastNorthUp, 2));
|
47
48
|
this._plane = Plane.fromPointNormal(origin, normal);
|
48
49
|
};
|
49
50
|
|