@mapgis/cesium 17.2.0 → 17.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Documentation/AlgorithmLib.html +29 -29
- package/Documentation/AngulationTool.html +5 -5
- package/Documentation/Animation.html +7 -7
- package/Documentation/AnimationTool.html +41 -41
- package/Documentation/AnimationViewModel.html +23 -23
- package/Documentation/Appearance.html +10 -10
- package/Documentation/ArcGISTiledElevationTerrainProvider.html +13 -13
- package/Documentation/ArcGisMapServerImageryProvider.html +33 -33
- package/Documentation/AssociativeArray.html +8 -8
- package/Documentation/AttributeSurfacePrimitive.html +7 -7
- package/Documentation/AxisAlignedBoundingBox.html +11 -11
- package/Documentation/BaiduImageryProvider.html +29 -29
- package/Documentation/BaiduMapImagerProvider.html +1 -1
- package/Documentation/BaiduProjection.html +7 -7
- package/Documentation/BaseLayerPicker.html +5 -5
- package/Documentation/BaseLayerPickerViewModel.html +10 -10
- package/Documentation/Billboard.html +31 -31
- package/Documentation/BillboardCollection.html +17 -17
- package/Documentation/BillboardGraphics.html +25 -25
- package/Documentation/BillboardVisualizer.html +4 -4
- package/Documentation/BingMapsGeocoderService.html +4 -4
- package/Documentation/BingMapsImageryProvider.html +35 -35
- package/Documentation/BlendingState.html +5 -5
- package/Documentation/BloomEffect.html +12 -12
- package/Documentation/BoundingRectangle.html +18 -18
- package/Documentation/BoundingSphere.html +34 -34
- package/Documentation/BoxEmitter.html +2 -2
- package/Documentation/BoxGeometry.html +7 -7
- package/Documentation/BoxGeometryUpdater.html +3 -3
- package/Documentation/BoxGraphics.html +15 -15
- package/Documentation/BoxOutlineGeometry.html +7 -7
- package/Documentation/CallbackProperty.html +7 -7
- package/Documentation/Camera.html +80 -80
- package/Documentation/CameraEventAggregator.html +13 -13
- package/Documentation/Cartesian2.html +44 -44
- package/Documentation/Cartesian3.html +54 -54
- package/Documentation/Cartesian4.html +46 -46
- package/Documentation/Cartographic.html +16 -16
- package/Documentation/CartographicGeocoderService.html +2 -2
- package/Documentation/CatmullRomSpline.html +9 -9
- package/Documentation/Cesium3DTile.html +12 -12
- package/Documentation/Cesium3DTileContent.html +14 -14
- package/Documentation/Cesium3DTileCustomContent.html +1 -1
- package/Documentation/Cesium3DTileFeature.html +10 -10
- package/Documentation/Cesium3DTilePointFeature.html +33 -33
- package/Documentation/Cesium3DTileStyle.html +31 -31
- package/Documentation/Cesium3DTilesInspector.html +5 -5
- package/Documentation/Cesium3DTilesInspectorViewModel.html +70 -70
- package/Documentation/Cesium3DTileset.html +91 -91
- package/Documentation/Cesium3DTilesetGraphics.html +8 -8
- package/Documentation/Cesium3DTilesetVisualizer.html +4 -4
- package/Documentation/CesiumHeatmap.html +3 -3
- package/Documentation/CesiumInspector.html +5 -5
- package/Documentation/CesiumInspectorViewModel.html +52 -52
- package/Documentation/CesiumNavigation.html +1 -1
- package/Documentation/CesiumTerrainProvider.html +17 -17
- package/Documentation/CesiumWidget.html +20 -20
- package/Documentation/CheckerboardMaterialProperty.html +9 -9
- package/Documentation/CircleEmitter.html +3 -3
- package/Documentation/CircleGeometry.html +5 -5
- package/Documentation/CircleOutlineGeometry.html +5 -5
- package/Documentation/CircleScanEffect.html +1 -1
- package/Documentation/CircleWaveMaterialProperty.html +1 -1
- package/Documentation/ClassificationPrimitive.html +21 -21
- package/Documentation/ClippingGeometry.html +4 -4
- package/Documentation/ClippingPlane.html +5 -5
- package/Documentation/ClippingPlaneCollection.html +17 -17
- package/Documentation/Clock.html +12 -12
- package/Documentation/ClockViewModel.html +14 -14
- package/Documentation/CollisionDetectionByRender.html +10 -10
- package/Documentation/Color.html +185 -185
- package/Documentation/ColorGeometryInstanceAttribute.html +8 -8
- package/Documentation/ColorMaterialProperty.html +7 -7
- package/Documentation/Command.html +4 -4
- package/Documentation/CompositeEntityCollection.html +21 -21
- package/Documentation/CompositeMaterialProperty.html +7 -7
- package/Documentation/CompositePositionProperty.html +8 -8
- package/Documentation/CompositeProperty.html +6 -6
- package/Documentation/CompressedTextureBuffer.html +8 -8
- package/Documentation/ConditionsExpression.html +4 -4
- package/Documentation/ConeEmitter.html +1 -1
- package/Documentation/ConstantPositionProperty.html +8 -8
- package/Documentation/ConstantProperty.html +8 -8
- package/Documentation/CoplanarPolygonGeometry.html +6 -6
- package/Documentation/CoplanarPolygonOutlineGeometry.html +6 -6
- package/Documentation/CorridorGeometry.html +6 -6
- package/Documentation/CorridorGeometryUpdater.html +3 -3
- package/Documentation/CorridorGraphics.html +23 -23
- package/Documentation/CorridorOutlineGeometry.html +5 -5
- package/Documentation/Credit.html +7 -7
- package/Documentation/CreditDisplay.html +11 -11
- package/Documentation/CubicRealPolynomial.html +3 -3
- package/Documentation/CullingVolume.html +4 -4
- package/Documentation/CustomDataSource.html +11 -11
- package/Documentation/CustomHeightmapTerrainProvider.html +15 -15
- package/Documentation/CustomProjection.html +5 -5
- package/Documentation/CustomShader.html +1 -1
- package/Documentation/CustomTilingScheme.html +12 -12
- package/Documentation/CutFillAnalysis.html +17 -17
- package/Documentation/CuttingTool.html +11 -11
- package/Documentation/CylinderGeometry.html +5 -5
- package/Documentation/CylinderGeometryUpdater.html +3 -3
- package/Documentation/CylinderGraphics.html +19 -19
- package/Documentation/CylinderOutlineGeometry.html +5 -5
- package/Documentation/CzmlDataSource.html +22 -22
- package/Documentation/DataSource.html +11 -11
- package/Documentation/DataSourceClock.html +12 -12
- package/Documentation/DataSourceCollection.html +18 -18
- package/Documentation/DataSourceDisplay.html +10 -10
- package/Documentation/DebugAppearance.html +12 -12
- package/Documentation/DebugCameraPrimitive.html +5 -5
- package/Documentation/DebugModelMatrixPrimitive.html +8 -8
- package/Documentation/DefaultProxy.html +2 -2
- package/Documentation/DeveloperError.html +4 -4
- package/Documentation/DirectionalLight.html +4 -4
- package/Documentation/DiscardEmptyTileImagePolicy.html +4 -4
- package/Documentation/DiscardMissingTileImagePolicy.html +3 -3
- package/Documentation/DistanceDisplayCondition.html +10 -10
- package/Documentation/DistanceDisplayConditionGeometryInstanceAttribute.html +7 -7
- package/Documentation/DrawElement.html +9 -9
- package/Documentation/DrawTool.html +4 -4
- package/Documentation/DynamicEntityVisualizer.html +1 -1
- package/Documentation/DynamicLightLineEffect.html +13 -13
- package/Documentation/EasingFunction.html +33 -33
- package/Documentation/EditTool.html +15 -15
- package/Documentation/EllipseGeometry.html +6 -6
- package/Documentation/EllipseGeometryUpdater.html +4 -4
- package/Documentation/EllipseGraphics.html +25 -25
- package/Documentation/EllipseOutlineGeometry.html +5 -5
- package/Documentation/Ellipsoid.html +34 -34
- package/Documentation/EllipsoidGeodesic.html +10 -10
- package/Documentation/EllipsoidGeometry.html +5 -5
- package/Documentation/EllipsoidGeometryUpdater.html +3 -3
- package/Documentation/EllipsoidGraphics.html +23 -23
- package/Documentation/EllipsoidOutlineGeometry.html +5 -5
- package/Documentation/EllipsoidRhumbLine.html +12 -12
- package/Documentation/EllipsoidSurfaceAppearance.html +15 -15
- package/Documentation/EllipsoidTangentPlane.html +14 -14
- package/Documentation/EllipsoidTerrainProvider.html +13 -13
- package/Documentation/Entity.html +40 -40
- package/Documentation/EntityCluster.html +11 -11
- package/Documentation/EntityCollection.html +17 -17
- package/Documentation/EntityView.html +7 -7
- package/Documentation/Event.html +6 -6
- package/Documentation/EventHelper.html +4 -4
- package/Documentation/Expression.html +4 -4
- package/Documentation/FeatureDetection.html +9 -9
- package/Documentation/FlattenTool.html +3 -3
- package/Documentation/FloodAnalysis.html +16 -16
- package/Documentation/FloodAnalysisReflection.html +9 -9
- package/Documentation/Fog.html +5 -5
- package/Documentation/FrameRateMonitor.html +16 -16
- package/Documentation/FrustumGeometry.html +5 -5
- package/Documentation/FrustumOutlineGeometry.html +5 -5
- package/Documentation/Fullscreen.html +9 -9
- package/Documentation/FullscreenButton.html +5 -5
- package/Documentation/FullscreenButtonViewModel.html +8 -8
- package/Documentation/GaodeImageryProvider.html +29 -29
- package/Documentation/GaodeProjection.html +7 -7
- package/Documentation/GeoJsonDataSource.html +27 -27
- package/Documentation/Geocoder.html +7 -7
- package/Documentation/GeocoderService.html +3 -3
- package/Documentation/GeocoderViewModel.html +14 -14
- package/Documentation/GeographicProjection.html +5 -5
- package/Documentation/GeographicTilingScheme.html +10 -10
- package/Documentation/Geometry.html +6 -6
- package/Documentation/GeometryAttribute.html +5 -5
- package/Documentation/GeometryAttributes.html +7 -7
- package/Documentation/GeometryFactory.html +2 -2
- package/Documentation/GeometryInstance.html +5 -5
- package/Documentation/GeometryInstanceAttribute.html +5 -5
- package/Documentation/GeometryPipeline.html +13 -13
- package/Documentation/GeometryUpdater.html +22 -22
- package/Documentation/GeometryVisualizer.html +4 -4
- package/Documentation/GetFeatureInfoFormat.html +1 -1
- package/Documentation/Globe.html +47 -47
- package/Documentation/GlobeEffect.html +8 -8
- package/Documentation/GlobeIndependentTranslucency.html +10 -10
- package/Documentation/GlobeTranslucency.html +7 -7
- package/Documentation/GoogleEarthEnterpriseImageryProvider.html +29 -29
- package/Documentation/GoogleEarthEnterpriseMapsProvider.html +34 -34
- package/Documentation/GoogleEarthEnterpriseMetadata.html +14 -14
- package/Documentation/GoogleEarthEnterpriseTerrainData.html +7 -7
- package/Documentation/GoogleEarthEnterpriseTerrainProvider.html +15 -15
- package/Documentation/GoogleMapImageryProvider.html +1 -1
- package/Documentation/Graphic.html +31 -31
- package/Documentation/GraphicTransformTool.html +7 -7
- package/Documentation/GraphicsLayer.html +27 -27
- package/Documentation/GregorianDate.html +9 -9
- package/Documentation/GridImageryProvider.html +30 -30
- package/Documentation/GridMaterialProperty.html +11 -11
- package/Documentation/GroundGeometryUpdater.html +3 -3
- package/Documentation/GroundPolylineGeometry.html +7 -7
- package/Documentation/GroundPolylinePrimitive.html +19 -19
- package/Documentation/GroundPrimitive.html +24 -24
- package/Documentation/GroundPrimitiveRectangleGenerater.html +3 -3
- package/Documentation/HashMap.html +12 -12
- package/Documentation/HeadingPitchRange.html +5 -5
- package/Documentation/HeadingPitchRoll.html +13 -13
- package/Documentation/HeightLimited.html +4 -4
- package/Documentation/HeightModelEffect.html +8 -8
- package/Documentation/HeightmapTerrainData.html +7 -7
- package/Documentation/HermitePolynomialApproximation.html +4 -4
- package/Documentation/HermiteSpline.html +12 -12
- package/Documentation/HilbertOrder.html +1 -1
- package/Documentation/HomeButton.html +5 -5
- package/Documentation/HomeButtonViewModel.html +5 -5
- package/Documentation/ImageMaterialProperty.html +10 -10
- package/Documentation/ImageryLayer.html +34 -34
- package/Documentation/ImageryLayerCollection.html +25 -25
- package/Documentation/ImageryLayerFeatureInfo.html +8 -8
- package/Documentation/ImageryProvider.html +29 -29
- package/Documentation/ImprovedNoise.html +1 -1
- package/Documentation/InfoBox.html +6 -6
- package/Documentation/InfoBoxViewModel.html +11 -11
- package/Documentation/IntersectionTests.html +11 -11
- package/Documentation/Intersections2D.html +4 -4
- package/Documentation/Interval.html +3 -3
- package/Documentation/Ion.html +3 -3
- package/Documentation/IonGeocoderService.html +2 -2
- package/Documentation/IonImageryProvider.html +28 -28
- package/Documentation/IonResource.html +39 -39
- package/Documentation/Iso8601.html +4 -4
- package/Documentation/JulianDate.html +31 -31
- package/Documentation/KeyboardCameraController.html +10 -10
- package/Documentation/KmlCamera.html +1 -1
- package/Documentation/KmlDataSource.html +20 -20
- package/Documentation/KmlFeatureData.html +9 -9
- package/Documentation/KmlLookAt.html +1 -1
- package/Documentation/KmlTour.html +12 -12
- package/Documentation/KmlTourFlyTo.html +5 -5
- package/Documentation/KmlTourWait.html +4 -4
- package/Documentation/Label.html +30 -30
- package/Documentation/LabelCollection.html +15 -15
- package/Documentation/LabelGraphics.html +26 -26
- package/Documentation/LabelVisualizer.html +4 -4
- package/Documentation/LagrangePolynomialApproximation.html +3 -3
- package/Documentation/Layers.html +56 -56
- package/Documentation/LeapSecond.html +3 -3
- package/Documentation/Light.html +3 -3
- package/Documentation/LineScanEffect.html +6 -6
- package/Documentation/LinearApproximation.html +3 -3
- package/Documentation/LinearSpline.html +7 -7
- package/Documentation/LonlatProjection.html +4 -4
- package/Documentation/M3DTree.html +11 -11
- package/Documentation/MapGIS3DTile.html +12 -12
- package/Documentation/MapGIS3DTileFeature.html +10 -10
- package/Documentation/MapGIS3DTileset.html +86 -86
- package/Documentation/MapGISCustomImageryProvider.html +29 -29
- package/Documentation/MapGISFeatureGeojsonProvider.html +9 -9
- package/Documentation/MapGISFeatureLayer.html +52 -52
- package/Documentation/MapGISFeatureProvider.html +9 -9
- package/Documentation/MapGISFeatureTilePrimitiveCollection.html +16 -16
- package/Documentation/MapGISGeojsonLayer.html +38 -38
- package/Documentation/MapGISGeojsonProvider.html +8 -8
- package/Documentation/MapGISGeojsonTilePrimitiveCollection.html +16 -16
- package/Documentation/MapGISLabelLayer.html +18 -18
- package/Documentation/MapGISM3D.html +13 -13
- package/Documentation/MapGISM3DSet.html +124 -124
- package/Documentation/MapGISM3DTileContent.html +3 -3
- package/Documentation/MapGISMapServerImageryProvider.html +4 -4
- package/Documentation/MapGISTerrainProvider.html +18 -18
- package/Documentation/MapGISTileAvailability.html +1098 -0
- package/Documentation/MapGISTileServerImageProvider.html +5 -5
- package/Documentation/MapGISVectorGeojsonProvider.html +9 -9
- package/Documentation/MapGISVectorLayer.html +50 -50
- package/Documentation/MapGISVectorProvider.html +9 -9
- package/Documentation/MapGISVectorTilePrimitiveCollection.html +16 -16
- package/Documentation/MapProjection.html +4 -4
- package/Documentation/MapboxImageryProvider.html +29 -29
- package/Documentation/MapboxStyleImageryProvider.html +29 -29
- package/Documentation/Material.html +44 -44
- package/Documentation/MaterialAppearance.MaterialSupport.html +4 -4
- package/Documentation/MaterialAppearance.html +15 -15
- package/Documentation/MaterialProperty.html +6 -6
- package/Documentation/Math.html +76 -76
- package/Documentation/Matrix2.html +41 -41
- package/Documentation/Matrix3.html +56 -56
- package/Documentation/Matrix4.html +76 -76
- package/Documentation/MeasureAreaTool.html +1 -1
- package/Documentation/MeasureLengthTool.html +7 -7
- package/Documentation/MeasureSlopeTool.html +5 -5
- package/Documentation/Model.html +51 -51
- package/Documentation/ModelAnimation.html +12 -12
- package/Documentation/ModelAnimationCollection.html +10 -10
- package/Documentation/ModelEditor.html +1 -1
- package/Documentation/ModelExplosion.html +15 -15
- package/Documentation/ModelFilterTool.html +5 -5
- package/Documentation/ModelGraphics.html +26 -26
- package/Documentation/ModelMaterial.html +5 -5
- package/Documentation/ModelMesh.html +4 -4
- package/Documentation/ModelNode.html +6 -6
- package/Documentation/ModelTransformTool.html +16 -16
- package/Documentation/ModelVisualizer.html +4 -4
- package/Documentation/Moon.html +7 -7
- package/Documentation/NavigationControl.html +1 -1
- package/Documentation/NavigationHelpButton.html +5 -5
- package/Documentation/NavigationHelpButtonViewModel.html +6 -6
- package/Documentation/NavigationTool.html +2 -2
- package/Documentation/NearFarScalar.html +12 -12
- package/Documentation/NeverTileDiscardPolicy.html +3 -3
- package/Documentation/NodeTransformationProperty.html +8 -8
- package/Documentation/Occluder.html +10 -10
- package/Documentation/OpenCageGeocoderService.html +4 -4
- package/Documentation/OpenStreetMapImageryProvider.html +34 -34
- package/Documentation/OpenWeatherImageryProvider.html +2 -2
- package/Documentation/OrientedBoundingBox.html +20 -20
- package/Documentation/OrthographicFrustum.html +14 -14
- package/Documentation/OrthographicOffCenterFrustum.html +13 -13
- package/Documentation/PackableForInterpolation.html +4 -4
- package/Documentation/Particle.html +13 -13
- package/Documentation/ParticleBurst.html +5 -5
- package/Documentation/ParticleEmitter.html +1 -1
- package/Documentation/ParticleSystem.html +29 -29
- package/Documentation/PathGraphics.html +12 -12
- package/Documentation/PathVisualizer.html +4 -4
- package/Documentation/PeliasGeocoderService.html +3 -3
- package/Documentation/PerInstanceColorAppearance.html +15 -15
- package/Documentation/PerformanceWatchdog.html +5 -5
- package/Documentation/PerformanceWatchdogViewModel.html +6 -6
- package/Documentation/PerspectiveFrustum.html +18 -18
- package/Documentation/PerspectiveOffCenterFrustum.html +14 -14
- package/Documentation/PinBuilder.html +5 -5
- package/Documentation/Plane.html +13 -13
- package/Documentation/PlaneGeometry.html +5 -5
- package/Documentation/PlaneGeometryUpdater.html +3 -3
- package/Documentation/PlaneGraphics.html +15 -15
- package/Documentation/PlaneOutlineGeometry.html +5 -5
- package/Documentation/PointCloudShading.html +11 -11
- package/Documentation/PointGraphics.html +15 -15
- package/Documentation/PointPrimitive.html +14 -14
- package/Documentation/PointPrimitiveCollection.html +15 -15
- package/Documentation/PointVisualizer.html +4 -4
- package/Documentation/PolygonGeometry.html +8 -8
- package/Documentation/PolygonGeometryUpdater.html +3 -3
- package/Documentation/PolygonGraphics.html +26 -26
- package/Documentation/PolygonHierarchy.html +3 -3
- package/Documentation/PolygonOutlineGeometry.html +6 -6
- package/Documentation/Polyline.html +8 -8
- package/Documentation/PolylineArrowMaterialProperty.html +7 -7
- package/Documentation/PolylineCollection.html +15 -15
- package/Documentation/PolylineColorAppearance.html +12 -12
- package/Documentation/PolylineDashMaterialProperty.html +10 -10
- package/Documentation/PolylineGeometry.html +5 -5
- package/Documentation/PolylineGeometryUpdater.html +25 -25
- package/Documentation/PolylineGlowMaterialProperty.html +9 -9
- package/Documentation/PolylineGraphics.html +17 -17
- package/Documentation/PolylineMaterialAppearance.html +12 -12
- package/Documentation/PolylineOutlineMaterialProperty.html +9 -9
- package/Documentation/PolylineTrailLinkMaterialProperty.html +1 -1
- package/Documentation/PolylineVisualizer.html +4 -4
- package/Documentation/PolylineVolumeAnimationGeometry.html +14 -14
- package/Documentation/PolylineVolumeGeometry.html +5 -5
- package/Documentation/PolylineVolumeGeometryUpdater.html +3 -3
- package/Documentation/PolylineVolumeGraphics.html +17 -17
- package/Documentation/PolylineVolumeOutlineGeometry.html +5 -5
- package/Documentation/PositionProperty.html +7 -7
- package/Documentation/PositionPropertyArray.html +8 -8
- package/Documentation/PostProcessStage.html +16 -16
- package/Documentation/PostProcessStageCollection.html +13 -13
- package/Documentation/PostProcessStageComposite.html +11 -11
- package/Documentation/PostProcessStageLibrary.html +15 -15
- package/Documentation/Primitive.html +22 -22
- package/Documentation/PrimitiveCollection.html +15 -15
- package/Documentation/ProjectionPicker.html +5 -5
- package/Documentation/ProjectionPickerViewModel.html +13 -13
- package/Documentation/Property.html +5 -5
- package/Documentation/PropertyArray.html +6 -6
- package/Documentation/PropertyBag.html +10 -10
- package/Documentation/ProviderViewModel.html +7 -7
- package/Documentation/Proxy.html +2 -2
- package/Documentation/QuadraticRealPolynomial.html +3 -3
- package/Documentation/QuantizedMeshTerrainData.html +7 -7
- package/Documentation/QuarticRealPolynomial.html +3 -3
- package/Documentation/Quaternion.html +45 -45
- package/Documentation/QuaternionSpline.html +7 -7
- package/Documentation/Queue.html +9 -9
- package/Documentation/RadarMaterialProperty.html +1 -1
- package/Documentation/RadarScanEffect.html +3 -3
- package/Documentation/Ray.html +5 -5
- package/Documentation/ReImg.html +2 -2
- package/Documentation/Rectangle.html +35 -35
- package/Documentation/RectangleGeometry.html +6 -6
- package/Documentation/RectangleGeometryUpdater.html +3 -3
- package/Documentation/RectangleGraphics.html +23 -23
- package/Documentation/RectangleOutlineGeometry.html +5 -5
- package/Documentation/ReferenceProperty.html +13 -13
- package/Documentation/Request.html +14 -14
- package/Documentation/RequestErrorEvent.html +5 -5
- package/Documentation/RequestScheduler.html +5 -5
- package/Documentation/ResetViewNavigationControl.html +7 -7
- package/Documentation/Resource.html +54 -54
- package/Documentation/RoamParticle.html +25 -25
- package/Documentation/RuntimeError.html +4 -4
- package/Documentation/SampleElevationTool.html +2 -2
- package/Documentation/SampledPositionProperty.html +20 -20
- package/Documentation/SampledProperty.html +19 -19
- package/Documentation/Scene.html +115 -115
- package/Documentation/SceneLayer.html +31 -31
- package/Documentation/SceneModePicker.html +5 -5
- package/Documentation/SceneModePickerViewModel.html +15 -15
- package/Documentation/SceneProjector.html +30 -30
- package/Documentation/SceneProjectorEx.html +19 -19
- package/Documentation/SceneTransforms.html +3 -3
- package/Documentation/ScreenSpaceCameraController.html +25 -25
- package/Documentation/ScreenSpaceEventHandler.html +8 -8
- package/Documentation/SearchlightEffect.html +4 -4
- package/Documentation/SelectTool.html +4 -4
- package/Documentation/SelectionIndicator.html +5 -5
- package/Documentation/SelectionIndicatorViewModel.html +12 -12
- package/Documentation/ShadowAnalysis.html +12 -12
- package/Documentation/ShadowMap.html +8 -8
- package/Documentation/ShadowRateAnalysis.html +14 -14
- package/Documentation/ShowGeometryInstanceAttribute.html +6 -6
- package/Documentation/Simon1994PlanetaryPositions.html +3 -3
- package/Documentation/SimplePolylineGeometry.html +5 -5
- package/Documentation/SingleTileImageryProvider.html +29 -29
- package/Documentation/SkyAtmosphere.html +9 -9
- package/Documentation/SkyBox.html +6 -6
- package/Documentation/SkyLineAnalysis.html +3 -3
- package/Documentation/SphereEmitter.html +2 -2
- package/Documentation/SphereGeometry.html +5 -5
- package/Documentation/SphereOutlineGeometry.html +5 -5
- package/Documentation/Spherical.html +13 -13
- package/Documentation/Spline.html +7 -7
- package/Documentation/StableParticle.html +28 -28
- package/Documentation/StripeMaterialProperty.html +11 -11
- package/Documentation/Style.html +26 -26
- package/Documentation/StyleExpression.html +3 -3
- package/Documentation/Sun.html +5 -5
- package/Documentation/SunLight.html +3 -3
- package/Documentation/SvgPathBindingHandler.html +2 -2
- package/Documentation/TaskProcessor.html +5 -5
- package/Documentation/TerrainAnalyse.html +14 -14
- package/Documentation/TerrainData.html +7 -7
- package/Documentation/TerrainProfile.html +4 -4
- package/Documentation/TerrainProvider.html +16 -16
- package/Documentation/Texture3D.html +1 -1
- package/Documentation/ThemeManager.html +14 -14
- package/Documentation/TiandituImageryProvider.html +4 -4
- package/Documentation/TileAvailability.html +6 -6
- package/Documentation/TileCoordinatesImageryProvider.html +28 -28
- package/Documentation/TileDiscardPolicy.html +3 -3
- package/Documentation/TileMapServiceImageryProvider.html +34 -34
- package/Documentation/TileProviderError.html +12 -12
- package/Documentation/TilingScheme.html +10 -10
- package/Documentation/TimeDynamicImagery.html +6 -6
- package/Documentation/TimeDynamicPointCloud.html +16 -16
- package/Documentation/TimeInterval.html +21 -21
- package/Documentation/TimeIntervalCollection.html +23 -23
- package/Documentation/TimeIntervalCollectionPositionProperty.html +8 -8
- package/Documentation/TimeIntervalCollectionProperty.html +6 -6
- package/Documentation/Timeline.html +6 -6
- package/Documentation/ToggleButtonViewModel.html +4 -4
- package/Documentation/Tooltip.html +5 -5
- package/Documentation/TransactionImplement.html +5 -5
- package/Documentation/Transforms.html +16 -16
- package/Documentation/TranslationRotationScale.html +5 -5
- package/Documentation/TriangulationTool.html +8 -8
- package/Documentation/TridiagonalSystemSolver.html +2 -2
- package/Documentation/TrustedServers.html +5 -5
- package/Documentation/UrlTemplateImageryProvider.html +34 -34
- package/Documentation/UserInterfaceControl.html +10 -10
- package/Documentation/VRButton.html +5 -5
- package/Documentation/VRButtonViewModel.html +8 -8
- package/Documentation/VRTheWorldTerrainProvider.html +13 -13
- package/Documentation/VelocityOrientationProperty.html +7 -7
- package/Documentation/VelocityVectorProperty.html +7 -7
- package/Documentation/VertexFormat.html +18 -18
- package/Documentation/VideoSynchronizer.html +7 -7
- package/Documentation/Viewer.html +56 -56
- package/Documentation/ViewportQuad.html +7 -7
- package/Documentation/ViewshedAnalysis.html +13 -13
- package/Documentation/VisiblityAnalysis.html +13 -13
- package/Documentation/VisualAnalysisManager.html +9 -9
- package/Documentation/Visualizer.html +4 -4
- package/Documentation/VoxelPrimitive.html +9 -9
- package/Documentation/WallGeometry.html +6 -6
- package/Documentation/WallGeometryUpdater.html +3 -3
- package/Documentation/WallGraphics.html +17 -17
- package/Documentation/WallOutlineGeometry.html +6 -6
- package/Documentation/WaterReflection.html +9 -9
- package/Documentation/WeatherEffect.html +8 -8
- package/Documentation/WebMapServiceImageryProvider.html +36 -36
- package/Documentation/WebMapTileServiceImageryProvider.html +33 -33
- package/Documentation/WebMercatorProjection.html +8 -8
- package/Documentation/WebMercatorTilingScheme.html +10 -10
- package/Documentation/WeightSpline.html +7 -7
- package/Documentation/WfsProvider.html +9 -9
- package/Documentation/Wind3D.html +13 -13
- package/Documentation/WindowLightEffect.html +4 -4
- package/Documentation/ZoomNavigationControl.html +5 -5
- package/Documentation/global.html +140 -140
- package/Documentation/global.html#ArcType +4 -4
- package/Documentation/global.html#Axis +11 -11
- package/Documentation/global.html#BaiduProject +19 -19
- package/Documentation/global.html#BingMapsStyle +11 -11
- package/Documentation/global.html#BlendEquation +6 -6
- package/Documentation/global.html#BlendFunction +16 -16
- package/Documentation/global.html#BlendOption +4 -4
- package/Documentation/global.html#CameraEventType +6 -6
- package/Documentation/global.html#Cesium3DTileColorBlendMode +4 -4
- package/Documentation/global.html#ClassificationType +4 -4
- package/Documentation/global.html#ClippingGeometryType +8 -8
- package/Documentation/global.html#ClockRange +4 -4
- package/Documentation/global.html#ClockStep +4 -4
- package/Documentation/global.html#ColorBlendMode +4 -4
- package/Documentation/global.html#ComponentDatatype +15 -15
- package/Documentation/global.html#CoordnateTransform +6 -6
- package/Documentation/global.html#CornerType +4 -4
- package/Documentation/global.html#CullFace +4 -4
- package/Documentation/global.html#DepthFunction +9 -9
- package/Documentation/global.html#ExtrapolationType +4 -4
- package/Documentation/global.html#GeocodeType +3 -3
- package/Documentation/global.html#HeightReference +4 -4
- package/Documentation/global.html#HeightmapEncoding +3 -3
- package/Documentation/global.html#HorizontalOrigin +4 -4
- package/Documentation/global.html#ImagerySplitDirection +4 -4
- package/Documentation/global.html#IndexDatatype +9 -9
- package/Documentation/global.html#InterceptorsUtil +1 -1
- package/Documentation/global.html#Intersect +4 -4
- package/Documentation/global.html#IonWorldImageryStyle +4 -4
- package/Documentation/global.html#KeyboardEventModifier +4 -4
- package/Documentation/global.html#LabelStyle +4 -4
- package/Documentation/global.html#LightingMode +3 -3
- package/Documentation/global.html#MapGISCustomTilingScheme +16 -16
- package/Documentation/global.html#MapMode2D +3 -3
- package/Documentation/global.html#ModelAnimationLoop +4 -4
- package/Documentation/global.html#ModelExplosionType +5 -5
- package/Documentation/global.html#OutlineRenderMode +4 -4
- package/Documentation/global.html#Pass +17 -17
- package/Documentation/global.html#PixelDatatype +10 -10
- package/Documentation/global.html#PixelFormat +21 -21
- package/Documentation/global.html#PointLight +1 -1
- package/Documentation/global.html#PostProcessStageSampleMode +3 -3
- package/Documentation/global.html#PrimitiveType +8 -8
- package/Documentation/global.html#ReferenceFrame +3 -3
- package/Documentation/global.html#RequestState +7 -7
- package/Documentation/global.html#RequestType +5 -5
- package/Documentation/global.html#SceneMode +6 -6
- package/Documentation/global.html#ScreenSpaceEventType +16 -16
- package/Documentation/global.html#SectionRender +1 -1
- package/Documentation/global.html#ShadowMode +5 -5
- package/Documentation/global.html#ShadowRateDrawCommand +3 -3
- package/Documentation/global.html#SpotLight +1 -1
- package/Documentation/global.html#Spyglass +1 -1
- package/Documentation/global.html#StencilFunction +9 -9
- package/Documentation/global.html#StencilOperation +9 -9
- package/Documentation/global.html#StripeOrientation +3 -3
- package/Documentation/global.html#SwipeModeType +7 -7
- package/Documentation/global.html#SwiperController +1 -1
- package/Documentation/global.html#TextureMagnificationFilter +3 -3
- package/Documentation/global.html#TextureMinificationFilter +7 -7
- package/Documentation/global.html#TimeStandard +3 -3
- package/Documentation/global.html#TopoJSONUtil +1 -1
- package/Documentation/global.html#UrlUtil +1 -1
- package/Documentation/global.html#VerticalOrigin +5 -5
- package/Documentation/global.html#Visibility +4 -4
- package/Documentation/global.html#WebGLConstants +583 -583
- package/Documentation/global.html#WindingOrder +3 -3
- package/Documentation/global.html#XmlUtil +2 -2
- package/Documentation/global.html#angle +1 -1
- package/Documentation/global.html#barycentricCoordinates +1 -1
- package/Documentation/global.html#binarySearch +1 -1
- package/Documentation/global.html#binarySearchComparator +1 -1
- package/Documentation/global.html#buildModuleUrl +3 -3
- package/Documentation/global.html#cancelAnimationFrame +1 -1
- package/Documentation/global.html#clippingFillImage +1 -1
- package/Documentation/global.html#clone +1 -1
- package/Documentation/global.html#color +3 -3
- package/Documentation/global.html#combine +1 -1
- package/Documentation/global.html#createCommand +1 -1
- package/Documentation/global.html#createElevationBandMaterial +1 -1
- package/Documentation/global.html#createElevationBandMaterialBand +1 -1
- package/Documentation/global.html#createElevationBandMaterialEntry +1 -1
- package/Documentation/global.html#createGuid +1 -1
- package/Documentation/global.html#createOsmBuildings +1 -1
- package/Documentation/global.html#createTangentSpaceDebugPrimitive +1 -1
- package/Documentation/global.html#createWorldImagery +1 -1
- package/Documentation/global.html#createWorldTerrain +1 -1
- package/Documentation/global.html#decay +2 -2
- package/Documentation/global.html#defaultValue +2 -2
- package/Documentation/global.html#defined +1 -1
- package/Documentation/global.html#destroyObject +1 -1
- package/Documentation/global.html#direction +2 -2
- package/Documentation/global.html#distance +2 -2
- package/Documentation/global.html#enableExplosion +1 -1
- package/Documentation/global.html#exportKml +1 -1
- package/Documentation/global.html#exportKmlModelCallback +1 -1
- package/Documentation/global.html#exportKmlResultKml +1 -1
- package/Documentation/global.html#exportKmlResultKmz +1 -1
- package/Documentation/global.html#formatError +1 -1
- package/Documentation/global.html#getAbsoluteUri +1 -1
- package/Documentation/global.html#getBaseUri +1 -1
- package/Documentation/global.html#getExtensionFromUri +1 -1
- package/Documentation/global.html#getFilenameFromUri +1 -1
- package/Documentation/global.html#getImagePixels +1 -1
- package/Documentation/global.html#getLayerToUse +150 -0
- package/Documentation/global.html#getTimestamp +1 -1
- package/Documentation/global.html#getViewModel +1 -1
- package/Documentation/global.html#hasText +1 -1
- package/Documentation/global.html#id +3 -3
- package/Documentation/global.html#intensity +3 -3
- package/Documentation/global.html#isLeapYear +1 -1
- package/Documentation/global.html#mergeSort +1 -1
- package/Documentation/global.html#mergeSortComparator +1 -1
- package/Documentation/global.html#objectToQuery +1 -1
- package/Documentation/global.html#penumbra +1 -1
- package/Documentation/global.html#pointInsideTriangle +1 -1
- package/Documentation/global.html#position +2 -2
- package/Documentation/global.html#queryToObject +1 -1
- package/Documentation/global.html#requestAnimationFrame +1 -1
- package/Documentation/global.html#requestAnimationFrameCallback +1 -1
- package/Documentation/global.html#sampleTerrain +1 -1
- package/Documentation/global.html#sampleTerrainMostDetailed +1 -1
- package/Documentation/global.html#show +1 -1
- package/Documentation/global.html#startTime +1 -1
- package/Documentation/global.html#subdivideArray +1 -1
- package/Documentation/global.html#terrainProvider +1 -1
- package/Documentation/global.html#viewerCesium3DTilesInspectorMixin +1 -1
- package/Documentation/global.html#viewerCesiumInspectorMixin +1 -1
- package/Documentation/global.html#viewerDragDropMixin +8 -8
- package/Documentation/global.html#viewerPerformanceWatchdogMixin +1 -1
- package/Documentation/global.html#writeTextToCanvas +1 -1
- package/README.md +17 -1
- package/dist/Cesium.js +3 -3
- package/dist/Workers/Color-ff1fdef4.js +1 -0
- package/dist/Workers/createPolylineGeometry.js +1 -1
- package/dist/Workers/createSimplePolylineGeometry.js +1 -1
- package/dist/Workers/createVectorTileGeometries.js +1 -1
- package/dist/Workers/createVectorTilePolygons.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
define(["exports","./RuntimeError-24b14c10","./when-ae2e0b60","./Transforms-ce414632","./ComponentDatatype-b7b5db18"],function(e,r,g,t,l){function f(e,r,t){return t<e?t=e:r<t&&(t=r),t}function o(e,r,t){var o,s;return"number"==typeof t?f(e,r,t):"string"==typeof t&&(o=new RegExp("^[0-9]+$"),s=new RegExp("^[0-9]+\\.?[0-9]+?$"),o.test(t)||s.test(t))?f(e,r,Number(t)):r}function C(e){return o(0,1,e)}function n(e){return o(0,255,e)}function a(e,r,t){return t<0&&(t+=1),1<t&&--t,6*t<1?e+6*(r-e)*t:2*t<1?r:3*t<2?e+(r-e)*(2/3-t)*6:e}function b(e,r,t,o){this.red=C(g.defaultValue(e,1)),this.green=C(g.defaultValue(r,1)),this.blue=C(g.defaultValue(t,1)),this.alpha=C(g.defaultValue(o,1))}b.fromCartesian4=function(e,r){return g.defined(r)?(r.red=C(e.x),r.green=C(e.y),r.blue=C(e.z),r.alpha=C(e.w),r):new b(e.x,e.y,e.z,e.w)},b.fromBytes=function(e,r,t,o,s){return e=b.byteToFloat(n(g.defaultValue(e,255))),r=b.byteToFloat(n(g.defaultValue(r,255))),t=b.byteToFloat(n(g.defaultValue(t,255))),o=b.byteToFloat(n(g.defaultValue(o,255))),g.defined(s)?(s.red=e,s.green=r,s.blue=t,s.alpha=o,s):new b(e,r,t,o)},b.fromAlpha=function(e,r,t){return g.defined(t)?(t.red=C(e.red),t.green=C(e.green),t.blue=C(e.blue),t.alpha=C(r),t):new b(e.red,e.green,e.blue,r)},t.FeatureDetection.supportsTypedArrays()&&(t=new ArrayBuffer(4),s=new Uint32Array(t),i=new Uint8Array(t)),b.fromRgba=function(e,r){return s[0]=e,b.fromBytes(i[0],i[1],i[2],i[3],r)},b.fromHsl=function(e,r,t,o,s){e=C(g.defaultValue(e,0)%1),r=C(g.defaultValue(r,0)),t=C(g.defaultValue(t,0)),o=C(g.defaultValue(o,1));var f=t,n=t,l=t;return 0!==r&&(f=a(r=2*t-(t=t<.5?t*(1+r):t+r-t*r),t,e+1/3),n=a(r,t,e),l=a(r,t,e-1/3)),g.defined(s)?(s.red=f,s.green=n,s.blue=l,s.alpha=o,s):new b(f,n,l,o)},b.fromRandom=function(e,r){var t,o=(e=g.defaultValue(e,g.defaultValue.EMPTY_OBJECT)).red,s=(g.defined(o)||(t=g.defaultValue(e.minimumRed,0),s=g.defaultValue(e.maximumRed,1),o=t+l.CesiumMath.nextRandomNumber()*(s-t)),e.green),f=(g.defined(s)||(t=g.defaultValue(e.minimumGreen,0),f=g.defaultValue(e.maximumGreen,1),s=t+l.CesiumMath.nextRandomNumber()*(f-t)),e.blue),n=(g.defined(f)||(t=g.defaultValue(e.minimumBlue,0),n=g.defaultValue(e.maximumBlue,1),f=t+l.CesiumMath.nextRandomNumber()*(n-t)),e.alpha);return g.defined(n)||(t=g.defaultValue(e.minimumAlpha,0),e=g.defaultValue(e.maximumAlpha,1),n=t+l.CesiumMath.nextRandomNumber()*(e-t)),g.defined(r)?(r.red=o,r.green=s,r.blue=f,r.alpha=n,r):new b(o,s,f,n)};var s,i,O=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,S=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,F=/^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i,c=/^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i;b.fromCssColorString=function(e,r){if(a=!1,"string"==typeof(i=(t=e).replace(/\s/g,""))?(C=new RegExp("^#[0-9A-Fa-f]{3}$"),E=new RegExp("^#[0-9A-Fa-f]{4}$"),u=new RegExp("^#[0-9A-Fa-f]{6}$"),o=new RegExp("^#[0-9A-Fa-f]{8}$"),s=new RegExp("^[rR][gG][Bb][(]([]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){2}[\\s]*(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)[\\s]*[)]{1}$"),f=new RegExp("^[rR][gG][Bb][Aa][(]([\\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\\s]*,){3}[\\s]*(1|1.0|0|0.[0-9]*)[\\s]*[)]{1}$"),n=new RegExp("^[hH][Ss][Ll][(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*)[)]$"),l=new RegExp("^[hH][Ss][Ll][Aa][(]([\\s]*(2[0-9][0-9]|360|3[0-5][0-9]|[01]?[0-9][0-9]?)[\\s]*,)([\\s]*((100|[0-9][0-9]?)%|0)[\\s]*,){2}([\\s]*(1|1.0|0|0.[0-9]*)[\\s]*)[)]$"),(a=C.test(i)||E.test(i)||u.test(i)||o.test(i)||s.test(i)||f.test(i)||n.test(i)||l.test(i))||(C=b[t.toUpperCase()],g.defined(C)&&(a=!0))):a=!1,!a)return r=new b(1,1,1);g.defined(r)||(r=new b);var t,o,s,f,n,l,C,a,i,E=b[(e=e.replace(/\s/g,"")).toUpperCase()];if(g.defined(E))b.clone(E,r);else{var u=O.exec(e);if(null!==u)r.red=parseInt(u[1],16)/15,r.green=parseInt(u[2],16)/15,r.blue=parseInt(u[3],16)/15,r.alpha=parseInt(g.defaultValue(u[4],"f"),16)/15;else if(null!==(u=S.exec(e)))r.red=parseInt(u[1],16)/255,r.green=parseInt(u[2],16)/255,r.blue=parseInt(u[3],16)/255,r.alpha=parseInt(g.defaultValue(u[4],"ff"),16)/255;else if(null!==(u=F.exec(e)))r.red=parseFloat(u[1])/("%"===u[1].substr(-1)?100:255),r.green=parseFloat(u[2])/("%"===u[2].substr(-1)?100:255),r.blue=parseFloat(u[3])/("%"===u[3].substr(-1)?100:255),r.alpha=parseFloat(g.defaultValue(u[4],"1.0"));else{if(null!==(u=c.exec(e)))return b.fromHsl(parseFloat(u[1])/360,parseFloat(u[2])/100,parseFloat(u[3])/100,parseFloat(g.defaultValue(u[4],"1.0")),r);r=void 0}}return r},b.packedLength=4,b.pack=function(e,r,t){return t=g.defaultValue(t,0),r[t++]=e.red,r[t++]=e.green,r[t++]=e.blue,r[t]=e.alpha,r},b.unpack=function(e,r,t){return r=g.defaultValue(r,0),(t=g.defined(t)?t:new b).red=e[r++],t.green=e[r++],t.blue=e[r++],t.alpha=e[r],t},b.byteToFloat=function(e){return e/255},b.floatToByte=function(e){return 1===e?255:256*e|0},b.clone=function(e,r){if(g.defined(e))return g.defined(r)?(r.red=e.red,r.green=e.green,r.blue=e.blue,r.alpha=e.alpha,r):new b(e.red,e.green,e.blue,e.alpha)},b.equals=function(e,r){return e===r||g.defined(e)&&g.defined(r)&&e.red===r.red&&e.green===r.green&&e.blue===r.blue&&e.alpha===r.alpha},b.equalsArray=function(e,r,t){return e.red===r[t]&&e.green===r[t+1]&&e.blue===r[t+2]&&e.alpha===r[t+3]},b.prototype.clone=function(e){return b.clone(this,e)},b.prototype.equals=function(e){return b.equals(this,e)},b.prototype.equalsEpsilon=function(e,r){return this===e||g.defined(e)&&Math.abs(this.red-e.red)<=r&&Math.abs(this.green-e.green)<=r&&Math.abs(this.blue-e.blue)<=r&&Math.abs(this.alpha-e.alpha)<=r},b.prototype.toString=function(){return"("+this.red+", "+this.green+", "+this.blue+", "+this.alpha+")"},b.prototype.toCssColorString=function(){var e=b.floatToByte(this.red),r=b.floatToByte(this.green),t=b.floatToByte(this.blue);return 1===this.alpha?"rgb("+e+","+r+","+t+")":"rgba("+e+","+r+","+t+","+this.alpha+")"},b.prototype.toCssColor=function(){return{red:b.floatToByte(this.red),green:b.floatToByte(this.green),blue:b.floatToByte(this.blue),alpha:this.alpha}},b.prototype.toCssHexString=function(){var e,r=b.floatToByte(this.red).toString(16),t=(r.length<2&&(r="0"+r),b.floatToByte(this.green).toString(16)),o=(t.length<2&&(t="0"+t),b.floatToByte(this.blue).toString(16));return o.length<2&&(o="0"+o),this.alpha<1?"#"+r+t+o+(e=(e=b.floatToByte(this.alpha).toString(16)).length<2?"0"+e:e):"#"+r+t+o},b.prototype.toBytes=function(e){var r=b.floatToByte(this.red),t=b.floatToByte(this.green),o=b.floatToByte(this.blue),s=b.floatToByte(this.alpha);return g.defined(e)?(e[0]=r,e[1]=t,e[2]=o,e[3]=s,e):[r,t,o,s]},b.prototype.toRgba=function(){return i[0]=b.floatToByte(this.red),i[1]=b.floatToByte(this.green),i[2]=b.floatToByte(this.blue),i[3]=b.floatToByte(this.alpha),s[0]},b.prototype.brighten=function(e,r){return r.red=1-(1-this.red)*(e=1-e),r.green=1-(1-this.green)*e,r.blue=1-(1-this.blue)*e,r.alpha=this.alpha,r},b.prototype.darken=function(e,r){return r.red=this.red*(e=1-e),r.green=this.green*e,r.blue=this.blue*e,r.alpha=this.alpha,r},b.prototype.withAlpha=function(e,r){return b.fromAlpha(this,e,r)},b.add=function(e,r,t){return t.red=e.red+r.red,t.green=e.green+r.green,t.blue=e.blue+r.blue,t.alpha=e.alpha+r.alpha,t},b.subtract=function(e,r,t){return t.red=e.red-r.red,t.green=e.green-r.green,t.blue=e.blue-r.blue,t.alpha=e.alpha-r.alpha,t},b.multiply=function(e,r,t){return t.red=e.red*r.red,t.green=e.green*r.green,t.blue=e.blue*r.blue,t.alpha=e.alpha*r.alpha,t},b.divide=function(e,r,t){return t.red=e.red/r.red,t.green=e.green/r.green,t.blue=e.blue/r.blue,t.alpha=e.alpha/r.alpha,t},b.mod=function(e,r,t){return t.red=e.red%r.red,t.green=e.green%r.green,t.blue=e.blue%r.blue,t.alpha=e.alpha%r.alpha,t},b.lerp=function(e,r,t,o){return o.red=l.CesiumMath.lerp(e.red,r.red,t),o.green=l.CesiumMath.lerp(e.green,r.green,t),o.blue=l.CesiumMath.lerp(e.blue,r.blue,t),o.alpha=l.CesiumMath.lerp(e.alpha,r.alpha,t),o},b.multiplyByScalar=function(e,r,t){return t.red=e.red*r,t.green=e.green*r,t.blue=e.blue*r,t.alpha=e.alpha*r,t},b.divideByScalar=function(e,r,t){return t.red=e.red/r,t.green=e.green/r,t.blue=e.blue/r,t.alpha=e.alpha/r,t},b.ALICEBLUE=Object.freeze(b.fromCssColorString("#F0F8FF")),b.ANTIQUEWHITE=Object.freeze(b.fromCssColorString("#FAEBD7")),b.AQUA=Object.freeze(b.fromCssColorString("#00FFFF")),b.AQUAMARINE=Object.freeze(b.fromCssColorString("#7FFFD4")),b.AZURE=Object.freeze(b.fromCssColorString("#F0FFFF")),b.BEIGE=Object.freeze(b.fromCssColorString("#F5F5DC")),b.BISQUE=Object.freeze(b.fromCssColorString("#FFE4C4")),b.BLACK=Object.freeze(b.fromCssColorString("#000000")),b.BLANCHEDALMOND=Object.freeze(b.fromCssColorString("#FFEBCD")),b.BLUE=Object.freeze(b.fromCssColorString("#0000FF")),b.BLUEVIOLET=Object.freeze(b.fromCssColorString("#8A2BE2")),b.BROWN=Object.freeze(b.fromCssColorString("#A52A2A")),b.BURLYWOOD=Object.freeze(b.fromCssColorString("#DEB887")),b.CADETBLUE=Object.freeze(b.fromCssColorString("#5F9EA0")),b.CHARTREUSE=Object.freeze(b.fromCssColorString("#7FFF00")),b.CHOCOLATE=Object.freeze(b.fromCssColorString("#D2691E")),b.CORAL=Object.freeze(b.fromCssColorString("#FF7F50")),b.CORNFLOWERBLUE=Object.freeze(b.fromCssColorString("#6495ED")),b.CORNSILK=Object.freeze(b.fromCssColorString("#FFF8DC")),b.CRIMSON=Object.freeze(b.fromCssColorString("#DC143C")),b.CYAN=Object.freeze(b.fromCssColorString("#00FFFF")),b.DARKBLUE=Object.freeze(b.fromCssColorString("#00008B")),b.DARKCYAN=Object.freeze(b.fromCssColorString("#008B8B")),b.DARKGOLDENROD=Object.freeze(b.fromCssColorString("#B8860B")),b.DARKGRAY=Object.freeze(b.fromCssColorString("#A9A9A9")),b.DARKGREEN=Object.freeze(b.fromCssColorString("#006400")),b.DARKGREY=b.DARKGRAY,b.DARKKHAKI=Object.freeze(b.fromCssColorString("#BDB76B")),b.DARKMAGENTA=Object.freeze(b.fromCssColorString("#8B008B")),b.DARKOLIVEGREEN=Object.freeze(b.fromCssColorString("#556B2F")),b.DARKORANGE=Object.freeze(b.fromCssColorString("#FF8C00")),b.DARKORCHID=Object.freeze(b.fromCssColorString("#9932CC")),b.DARKRED=Object.freeze(b.fromCssColorString("#8B0000")),b.DARKSALMON=Object.freeze(b.fromCssColorString("#E9967A")),b.DARKSEAGREEN=Object.freeze(b.fromCssColorString("#8FBC8F")),b.DARKSLATEBLUE=Object.freeze(b.fromCssColorString("#483D8B")),b.DARKSLATEGRAY=Object.freeze(b.fromCssColorString("#2F4F4F")),b.DARKSLATEGREY=b.DARKSLATEGRAY,b.DARKTURQUOISE=Object.freeze(b.fromCssColorString("#00CED1")),b.DARKVIOLET=Object.freeze(b.fromCssColorString("#9400D3")),b.DEEPPINK=Object.freeze(b.fromCssColorString("#FF1493")),b.DEEPSKYBLUE=Object.freeze(b.fromCssColorString("#00BFFF")),b.DIMGRAY=Object.freeze(b.fromCssColorString("#696969")),b.DIMGREY=b.DIMGRAY,b.DODGERBLUE=Object.freeze(b.fromCssColorString("#1E90FF")),b.FIREBRICK=Object.freeze(b.fromCssColorString("#B22222")),b.FLORALWHITE=Object.freeze(b.fromCssColorString("#FFFAF0")),b.FORESTGREEN=Object.freeze(b.fromCssColorString("#228B22")),b.FUCHSIA=Object.freeze(b.fromCssColorString("#FF00FF")),b.GAINSBORO=Object.freeze(b.fromCssColorString("#DCDCDC")),b.GHOSTWHITE=Object.freeze(b.fromCssColorString("#F8F8FF")),b.GOLD=Object.freeze(b.fromCssColorString("#FFD700")),b.GOLDENROD=Object.freeze(b.fromCssColorString("#DAA520")),b.GRAY=Object.freeze(b.fromCssColorString("#808080")),b.GREEN=Object.freeze(b.fromCssColorString("#008000")),b.GREENYELLOW=Object.freeze(b.fromCssColorString("#ADFF2F")),b.GREY=b.GRAY,b.HONEYDEW=Object.freeze(b.fromCssColorString("#F0FFF0")),b.HOTPINK=Object.freeze(b.fromCssColorString("#FF69B4")),b.INDIANRED=Object.freeze(b.fromCssColorString("#CD5C5C")),b.INDIGO=Object.freeze(b.fromCssColorString("#4B0082")),b.IVORY=Object.freeze(b.fromCssColorString("#FFFFF0")),b.KHAKI=Object.freeze(b.fromCssColorString("#F0E68C")),b.LAVENDER=Object.freeze(b.fromCssColorString("#E6E6FA")),b.LAVENDAR_BLUSH=Object.freeze(b.fromCssColorString("#FFF0F5")),b.LAWNGREEN=Object.freeze(b.fromCssColorString("#7CFC00")),b.LEMONCHIFFON=Object.freeze(b.fromCssColorString("#FFFACD")),b.LIGHTBLUE=Object.freeze(b.fromCssColorString("#ADD8E6")),b.LIGHTCORAL=Object.freeze(b.fromCssColorString("#F08080")),b.LIGHTCYAN=Object.freeze(b.fromCssColorString("#E0FFFF")),b.LIGHTGOLDENRODYELLOW=Object.freeze(b.fromCssColorString("#FAFAD2")),b.LIGHTGRAY=Object.freeze(b.fromCssColorString("#D3D3D3")),b.LIGHTGREEN=Object.freeze(b.fromCssColorString("#90EE90")),b.LIGHTGREY=b.LIGHTGRAY,b.LIGHTPINK=Object.freeze(b.fromCssColorString("#FFB6C1")),b.LIGHTSEAGREEN=Object.freeze(b.fromCssColorString("#20B2AA")),b.LIGHTSKYBLUE=Object.freeze(b.fromCssColorString("#87CEFA")),b.LIGHTSLATEGRAY=Object.freeze(b.fromCssColorString("#778899")),b.LIGHTSLATEGREY=b.LIGHTSLATEGRAY,b.LIGHTSTEELBLUE=Object.freeze(b.fromCssColorString("#B0C4DE")),b.LIGHTYELLOW=Object.freeze(b.fromCssColorString("#FFFFE0")),b.LIME=Object.freeze(b.fromCssColorString("#00FF00")),b.LIMEGREEN=Object.freeze(b.fromCssColorString("#32CD32")),b.LINEN=Object.freeze(b.fromCssColorString("#FAF0E6")),b.MAGENTA=Object.freeze(b.fromCssColorString("#FF00FF")),b.MAROON=Object.freeze(b.fromCssColorString("#800000")),b.MEDIUMAQUAMARINE=Object.freeze(b.fromCssColorString("#66CDAA")),b.MEDIUMBLUE=Object.freeze(b.fromCssColorString("#0000CD")),b.MEDIUMORCHID=Object.freeze(b.fromCssColorString("#BA55D3")),b.MEDIUMPURPLE=Object.freeze(b.fromCssColorString("#9370DB")),b.MEDIUMSEAGREEN=Object.freeze(b.fromCssColorString("#3CB371")),b.MEDIUMSLATEBLUE=Object.freeze(b.fromCssColorString("#7B68EE")),b.MEDIUMSPRINGGREEN=Object.freeze(b.fromCssColorString("#00FA9A")),b.MEDIUMTURQUOISE=Object.freeze(b.fromCssColorString("#48D1CC")),b.MEDIUMVIOLETRED=Object.freeze(b.fromCssColorString("#C71585")),b.MIDNIGHTBLUE=Object.freeze(b.fromCssColorString("#191970")),b.MINTCREAM=Object.freeze(b.fromCssColorString("#F5FFFA")),b.MISTYROSE=Object.freeze(b.fromCssColorString("#FFE4E1")),b.MOCCASIN=Object.freeze(b.fromCssColorString("#FFE4B5")),b.NAVAJOWHITE=Object.freeze(b.fromCssColorString("#FFDEAD")),b.NAVY=Object.freeze(b.fromCssColorString("#000080")),b.OLDLACE=Object.freeze(b.fromCssColorString("#FDF5E6")),b.OLIVE=Object.freeze(b.fromCssColorString("#808000")),b.OLIVEDRAB=Object.freeze(b.fromCssColorString("#6B8E23")),b.ORANGE=Object.freeze(b.fromCssColorString("#FFA500")),b.ORANGERED=Object.freeze(b.fromCssColorString("#FF4500")),b.ORCHID=Object.freeze(b.fromCssColorString("#DA70D6")),b.PALEGOLDENROD=Object.freeze(b.fromCssColorString("#EEE8AA")),b.PALEGREEN=Object.freeze(b.fromCssColorString("#98FB98")),b.PALETURQUOISE=Object.freeze(b.fromCssColorString("#AFEEEE")),b.PALEVIOLETRED=Object.freeze(b.fromCssColorString("#DB7093")),b.PAPAYAWHIP=Object.freeze(b.fromCssColorString("#FFEFD5")),b.PEACHPUFF=Object.freeze(b.fromCssColorString("#FFDAB9")),b.PERU=Object.freeze(b.fromCssColorString("#CD853F")),b.PINK=Object.freeze(b.fromCssColorString("#FFC0CB")),b.PLUM=Object.freeze(b.fromCssColorString("#DDA0DD")),b.POWDERBLUE=Object.freeze(b.fromCssColorString("#B0E0E6")),b.PURPLE=Object.freeze(b.fromCssColorString("#800080")),b.RED=Object.freeze(b.fromCssColorString("#FF0000")),b.ROSYBROWN=Object.freeze(b.fromCssColorString("#BC8F8F")),b.ROYALBLUE=Object.freeze(b.fromCssColorString("#4169E1")),b.SADDLEBROWN=Object.freeze(b.fromCssColorString("#8B4513")),b.SALMON=Object.freeze(b.fromCssColorString("#FA8072")),b.SANDYBROWN=Object.freeze(b.fromCssColorString("#F4A460")),b.SEAGREEN=Object.freeze(b.fromCssColorString("#2E8B57")),b.SEASHELL=Object.freeze(b.fromCssColorString("#FFF5EE")),b.SIENNA=Object.freeze(b.fromCssColorString("#A0522D")),b.SILVER=Object.freeze(b.fromCssColorString("#C0C0C0")),b.SKYBLUE=Object.freeze(b.fromCssColorString("#87CEEB")),b.SLATEBLUE=Object.freeze(b.fromCssColorString("#6A5ACD")),b.SLATEGRAY=Object.freeze(b.fromCssColorString("#708090")),b.SLATEGREY=b.SLATEGRAY,b.SNOW=Object.freeze(b.fromCssColorString("#FFFAFA")),b.SPRINGGREEN=Object.freeze(b.fromCssColorString("#00FF7F")),b.STEELBLUE=Object.freeze(b.fromCssColorString("#4682B4")),b.TAN=Object.freeze(b.fromCssColorString("#D2B48C")),b.TEAL=Object.freeze(b.fromCssColorString("#008080")),b.THISTLE=Object.freeze(b.fromCssColorString("#D8BFD8")),b.TOMATO=Object.freeze(b.fromCssColorString("#FF6347")),b.TURQUOISE=Object.freeze(b.fromCssColorString("#40E0D0")),b.VIOLET=Object.freeze(b.fromCssColorString("#EE82EE")),b.WHEAT=Object.freeze(b.fromCssColorString("#F5DEB3")),b.WHITE=Object.freeze(b.fromCssColorString("#FFFFFF")),b.WHITESMOKE=Object.freeze(b.fromCssColorString("#F5F5F5")),b.YELLOW=Object.freeze(b.fromCssColorString("#FFFF00")),b.YELLOWGREEN=Object.freeze(b.fromCssColorString("#9ACD32")),b.TRANSPARENT=Object.freeze(new b(0,0,0,0)),e.Color=b});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["./when-ae2e0b60","./Matrix2-59fd2efe","./ArcType-1275a14e","./arrayRemoveDuplicates-bce1b0dc","./Transforms-ce414632","./Color-
|
|
1
|
+
define(["./when-ae2e0b60","./Matrix2-59fd2efe","./ArcType-1275a14e","./arrayRemoveDuplicates-bce1b0dc","./Transforms-ce414632","./Color-ff1fdef4","./ComponentDatatype-b7b5db18","./RuntimeError-24b14c10","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolylinePipeline-7389d81d","./VertexFormat-1fc9746e","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd","./IntersectionTests-f71f97b3","./Plane-43337cee"],function(z,J,j,K,Q,X,Z,e,$,ee,te,re,y,t,r,o,a,n,i){var oe=[];function m(e){var t=(e=z.defaultValue(e,z.defaultValue.EMPTY_OBJECT)).positions,r=e.colors,o=z.defaultValue(e.width,1),a=z.defaultValue(e.colorsPerVertex,!1),o=(this._positions=t,this._colors=r,this._width=o,this._colorsPerVertex=a,this._vertexFormat=y.VertexFormat.clone(z.defaultValue(e.vertexFormat,y.VertexFormat.DEFAULT)),this._arcType=z.defaultValue(e.arcType,j.ArcType.GEODESIC),this._granularity=z.defaultValue(e.granularity,Z.CesiumMath.RADIANS_PER_DEGREE),this._ellipsoid=J.Ellipsoid.clone(z.defaultValue(e.ellipsoid,J.Ellipsoid.WGS84)),this._workerName="createPolylineGeometry",1+t.length*J.Cartesian3.packedLength);o+=z.defined(r)?1+r.length*X.Color.packedLength:1,this.packedLength=o+J.Ellipsoid.packedLength+y.VertexFormat.packedLength+4}m.pack=function(e,t,r){r=z.defaultValue(r,0);var o,a=e._positions,n=a.length;for(t[r++]=n,o=0;o<n;++o,r+=J.Cartesian3.packedLength)J.Cartesian3.pack(a[o],t,r);var i=e._colors,n=z.defined(i)?i.length:0;for(t[r++]=n,o=0;o<n;++o,r+=X.Color.packedLength)X.Color.pack(i[o],t,r);return J.Ellipsoid.pack(e._ellipsoid,t,r),r+=J.Ellipsoid.packedLength,y.VertexFormat.pack(e._vertexFormat,t,r),r+=y.VertexFormat.packedLength,t[r++]=e._width,t[r++]=e._colorsPerVertex?1:0,t[r++]=e._arcType,t[r]=e._granularity,t};var f=J.Ellipsoid.clone(J.Ellipsoid.UNIT_SPHERE),h=new y.VertexFormat,C={positions:void 0,colors:void 0,ellipsoid:f,vertexFormat:h,width:void 0,colorsPerVertex:void 0,arcType:void 0,granularity:void 0},ae=(m.unpack=function(e,t,r){t=z.defaultValue(t,0);for(var o=e[t++],a=new Array(o),n=0;n<o;++n,t+=J.Cartesian3.packedLength)a[n]=J.Cartesian3.unpack(e,t);var i=0<(o=e[t++])?new Array(o):void 0;for(n=0;n<o;++n,t+=X.Color.packedLength)i[n]=X.Color.unpack(e,t);var l=J.Ellipsoid.unpack(e,t,f),s=(t+=J.Ellipsoid.packedLength,y.VertexFormat.unpack(e,t,h)),p=(t+=y.VertexFormat.packedLength,e[t++]),d=1===e[t++],c=e[t++],u=e[t];return z.defined(r)?(r._positions=a,r._colors=i,r._ellipsoid=J.Ellipsoid.clone(l,r._ellipsoid),r._vertexFormat=y.VertexFormat.clone(s,r._vertexFormat),r._width=p,r._colorsPerVertex=d,r._arcType=c,r._granularity=u,r):(C.positions=a,C.colors=i,C.width=p,C.colorsPerVertex=d,C.arcType=c,C.granularity=u,new m(C))},new J.Cartesian3),ne=new J.Cartesian3,ie=new J.Cartesian3,le=new J.Cartesian3;return m.createGeometry=function(e){var r,o,t=e._width,a=e._vertexFormat,n=e._colors,i=e._colorsPerVertex,l=e._arcType,s=e._granularity,p=e._ellipsoid,d=[],c=K.arrayRemoveDuplicates(e._positions,J.Cartesian3.equalsEpsilon,!1,d),u=(z.defined(n)&&0<d.length&&(o=d[r=0],n=n.filter(function(e,t){return(i?t!==o&&(0!==t||1!==o):t+1!==o)||(o=d[++r],!1)})),c.length);if(!(u<2||t<=0)){if(l===j.ArcType.GEODESIC||l===j.ArcType.RHUMB){var y,m=l===j.ArcType.GEODESIC?(y=Z.CesiumMath.chordLength(s,p.maximumRadius),re.PolylinePipeline.numberOfPoints):(y=s,re.PolylinePipeline.numberOfPointsRhumbLine),e=re.PolylinePipeline.extractHeights(c,p);if(z.defined(n)){for(var f=1,h=0;h<u-1;++h)f+=m(c[h],c[h+1],y);var C=new Array(f),v=0;for(h=0;h<u-1;++h){var I=c[h],S=c[h+1],g=n[h],_=m(I,S,y);if(i&&h<f)for(var A=function(e,t,r){var o=oe,a=(o.length=r,e.red),n=e.green,i=e.blue,l=e.alpha,s=t.red,p=t.green,d=t.blue,c=t.alpha;if(X.Color.equals(e,t))for(h=0;h<r;h++)o[h]=X.Color.clone(e);else for(var u=(s-a)/r,y=(p-n)/r,m=(d-i)/r,f=(c-l)/r,h=0;h<r;h++)o[h]=new X.Color(a+h*u,n+h*y,i+h*m,l+h*f);return o}(g,n[h+1],_),B=A.length,E=0;E<B;++E)C[v++]=A[E];else for(E=0;E<_;++E)C[v++]=X.Color.clone(g)}C[v]=X.Color.clone(n[n.length-1]),n=C,oe.length=0}c=l===j.ArcType.GEODESIC?re.PolylinePipeline.generateCartesianArc({positions:c,minDistance:y,ellipsoid:p,height:e}):re.PolylinePipeline.generateCartesianRhumbArc({positions:c,granularity:y,ellipsoid:p,height:e})}var b,P,U,s=4*(u=c.length)-4,N=new Float64Array(3*s),M=new Float64Array(3*s),H=new Float64Array(3*s),w=new Float32Array(2*s),x=a.st?new Float32Array(2*s):void 0,T=z.defined(n)?new Uint8Array(4*s):void 0,D=0,k=0,W=0,V=0;for(E=0;E<u;++E){0===E?(J.Cartesian3.subtract(c[0],c[1],b=ae),J.Cartesian3.add(c[0],b,b)):b=c[E-1],J.Cartesian3.clone(b,ie),J.Cartesian3.clone(c[E],ne),E===u-1?(J.Cartesian3.subtract(c[u-1],c[u-2],b=ae),J.Cartesian3.add(c[u-1],b,b)):b=c[E+1],J.Cartesian3.clone(b,le),z.defined(T)&&(P=0===E||i?n[E]:n[E-1],E!==u-1)&&(U=n[E]);for(var Y=E===u-1?2:4,L=0===E?2:0;L<Y;++L){J.Cartesian3.pack(ne,N,D),J.Cartesian3.pack(ie,M,D),J.Cartesian3.pack(le,H,D),D+=3;var F=L-2<0?-1:1;w[k++]=L%2*2-1,w[k++]=F*t,a.st&&(x[W++]=E/(u-1),x[W++]=Math.max(w[k-2],0)),z.defined(T)&&(T[V++]=X.Color.floatToByte((F=L<2?P:U).red),T[V++]=X.Color.floatToByte(F.green),T[V++]=X.Color.floatToByte(F.blue),T[V++]=X.Color.floatToByte(F.alpha))}}var l=new ee.GeometryAttributes,G=(l.position=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:N}),l.prevPosition=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:M}),l.nextPosition=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:H}),l.expandAndWidth=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:w}),a.st&&(l.st=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:x})),z.defined(T)&&(l.color=new $.GeometryAttribute({componentDatatype:Z.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:T,normalize:!0})),te.IndexDatatype.createTypedArray(s,6*u-6)),O=0,R=0,q=u-1;for(E=0;E<q;++E)G[R++]=O,G[R++]=O+2,G[R++]=O+1,G[R++]=O+1,G[R++]=O+2,G[R++]=O+3,O+=4;return new $.Geometry({attributes:l,indices:G,primitiveType:$.PrimitiveType.TRIANGLES,boundingSphere:Q.BoundingSphere.fromPoints(c),geometryType:$.GeometryType.POLYLINES})}},function(e,t){return(e=z.defined(t)?m.unpack(e,t):e)._ellipsoid=J.Ellipsoid.clone(e._ellipsoid),m.createGeometry(e)}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["./when-ae2e0b60","./Matrix2-59fd2efe","./ArcType-1275a14e","./Transforms-ce414632","./Color-
|
|
1
|
+
define(["./when-ae2e0b60","./Matrix2-59fd2efe","./ArcType-1275a14e","./Transforms-ce414632","./Color-ff1fdef4","./ComponentDatatype-b7b5db18","./RuntimeError-24b14c10","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./IndexDatatype-6902a37d","./PolylinePipeline-7389d81d","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidGeodesic-640f147e","./EllipsoidRhumbLine-535d21cd","./IntersectionTests-f71f97b3","./Plane-43337cee"],function(D,L,V,x,S,I,e,R,O,M,U,o,t,r,a,l,i){function f(e){var o=(e=D.defaultValue(e,D.defaultValue.EMPTY_OBJECT)).positions,t=e.colors,r=D.defaultValue(e.colorsPerVertex,!1),r=(this._positions=o,this._colors=t,this._colorsPerVertex=r,this._arcType=D.defaultValue(e.arcType,V.ArcType.GEODESIC),this._granularity=D.defaultValue(e.granularity,I.CesiumMath.RADIANS_PER_DEGREE),this._ellipsoid=D.defaultValue(e.ellipsoid,L.Ellipsoid.WGS84),this._workerName="createSimplePolylineGeometry",1+o.length*L.Cartesian3.packedLength);r+=D.defined(t)?1+t.length*S.Color.packedLength:1,this.packedLength=r+L.Ellipsoid.packedLength+3}f.pack=function(e,o,t){t=D.defaultValue(t,0);var r,a=e._positions,l=a.length;for(o[t++]=l,r=0;r<l;++r,t+=L.Cartesian3.packedLength)L.Cartesian3.pack(a[r],o,t);var i=e._colors,l=D.defined(i)?i.length:0;for(o[t++]=l,r=0;r<l;++r,t+=S.Color.packedLength)S.Color.pack(i[r],o,t);return L.Ellipsoid.pack(e._ellipsoid,o,t),t+=L.Ellipsoid.packedLength,o[t++]=e._colorsPerVertex?1:0,o[t++]=e._arcType,o[t]=e._granularity,o},f.unpack=function(e,o,t){o=D.defaultValue(o,0);for(var r=e[o++],a=new Array(r),l=0;l<r;++l,o+=L.Cartesian3.packedLength)a[l]=L.Cartesian3.unpack(e,o);var i=0<(r=e[o++])?new Array(r):void 0;for(l=0;l<r;++l,o+=S.Color.packedLength)i[l]=S.Color.unpack(e,o);var n=L.Ellipsoid.unpack(e,o),s=(o+=L.Ellipsoid.packedLength,1===e[o++]),p=e[o++],d=e[o];return D.defined(t)?(t._positions=a,t._colors=i,t._ellipsoid=n,t._colorsPerVertex=s,t._arcType=p,t._granularity=d,t):new f({positions:a,colors:i,ellipsoid:n,colorsPerVertex:s,arcType:p,granularity:d})};var N=new Array(2),F=new Array(2),H={positions:N,height:F,ellipsoid:void 0,minDistance:void 0,granularity:void 0};return f.createGeometry=function(e){var o=e._positions,t=e._colors,r=e._colorsPerVertex,a=e._arcType,l=e._granularity,e=e._ellipsoid,i=I.CesiumMath.chordLength(l,e.maximumRadius),n=D.defined(t)&&!r,s=o.length,p=0;if(a===V.ArcType.GEODESIC||a===V.ArcType.RHUMB){var d,f,y=a===V.ArcType.GEODESIC?(d=I.CesiumMath.chordLength(l,e.maximumRadius),f=U.PolylinePipeline.numberOfPoints,U.PolylinePipeline.generateArc):(d=l,f=U.PolylinePipeline.numberOfPointsRhumbLine,U.PolylinePipeline.generateRhumbArc),c=U.PolylinePipeline.extractHeights(o,e),u=H;if(a===V.ArcType.GEODESIC?u.minDistance=i:u.granularity=l,u.ellipsoid=e,n){for(var h=0,C=0;C<s-1;C++)h+=f(o[C],o[C+1],d)+1;B=new Float64Array(3*h),A=new Uint8Array(4*h),u.positions=N,u.height=F;var T=0;for(C=0;C<s-1;++C){N[0]=o[C],N[1]=o[C+1],F[0]=c[C],F[1]=c[C+1];var g=y(u);if(D.defined(t))for(var m=g.length/3,P=t[C],_=0;_<m;++_)A[T++]=S.Color.floatToByte(P.red),A[T++]=S.Color.floatToByte(P.green),A[T++]=S.Color.floatToByte(P.blue),A[T++]=S.Color.floatToByte(P.alpha);B.set(g,p),p+=g.length}}else if(u.positions=o,u.height=c,B=new Float64Array(y(u)),D.defined(t)){for(A=new Uint8Array(B.length/3*4),C=0;C<s-1;++C)p=function(e,o,t,r,a,l,i){var n=U.PolylinePipeline.numberOfPoints(e,o,a),s=t.red,p=t.green,d=t.blue,f=t.alpha,e=r.red,o=r.green,a=r.blue,y=r.alpha;if(S.Color.equals(t,r)){for(g=0;g<n;g++)l[i++]=S.Color.floatToByte(s),l[i++]=S.Color.floatToByte(p),l[i++]=S.Color.floatToByte(d),l[i++]=S.Color.floatToByte(f);return i}for(var c=(e-s)/n,u=(o-p)/n,h=(a-d)/n,C=(y-f)/n,T=i,g=0;g<n;g++)l[T++]=S.Color.floatToByte(s+g*c),l[T++]=S.Color.floatToByte(p+g*u),l[T++]=S.Color.floatToByte(d+g*h),l[T++]=S.Color.floatToByte(f+g*C);return T}(o[C],o[C+1],t[C],t[C+1],i,A,p);r=t[s-1];A[p++]=S.Color.floatToByte(r.red),A[p++]=S.Color.floatToByte(r.green),A[p++]=S.Color.floatToByte(r.blue),A[p++]=S.Color.floatToByte(r.alpha)}}else{var b=n?2*s-2:s,B=new Float64Array(3*b),A=D.defined(t)?new Uint8Array(4*b):void 0,E=0,v=0;for(C=0;C<s;++C){var k=o[C];if(n&&0<C&&(L.Cartesian3.pack(k,B,E),E+=3,P=t[C-1],A[v++]=S.Color.floatToByte(P.red),A[v++]=S.Color.floatToByte(P.green),A[v++]=S.Color.floatToByte(P.blue),A[v++]=S.Color.floatToByte(P.alpha)),n&&C===s-1)break;L.Cartesian3.pack(k,B,E),E+=3,D.defined(t)&&(P=t[C],A[v++]=S.Color.floatToByte(P.red),A[v++]=S.Color.floatToByte(P.green),A[v++]=S.Color.floatToByte(P.blue),A[v++]=S.Color.floatToByte(P.alpha))}}var a=new O.GeometryAttributes,l=(a.position=new R.GeometryAttribute({componentDatatype:I.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:B}),D.defined(t)&&(a.color=new R.GeometryAttribute({componentDatatype:I.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:A,normalize:!0})),2*((b=B.length/3)-1)),G=M.IndexDatatype.createTypedArray(b,l),w=0;for(C=0;C<b-1;++C)G[w++]=C,G[w++]=C+1;return new R.Geometry({attributes:a,indices:G,primitiveType:R.PrimitiveType.LINES,boundingSphere:x.BoundingSphere.fromPoints(o)})},function(e,o){return(e=D.defined(o)?f.unpack(e,o):e)._ellipsoid=L.Ellipsoid.clone(e._ellipsoid),f.createGeometry(e)}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["./Transforms-ce414632","./BoxGeometry-ff79c7c4","./Matrix2-59fd2efe","./Color-
|
|
1
|
+
define(["./Transforms-ce414632","./BoxGeometry-ff79c7c4","./Matrix2-59fd2efe","./Color-ff1fdef4","./CylinderGeometry-f85e3294","./when-ae2e0b60","./EllipsoidGeometry-3210644c","./IndexDatatype-6902a37d","./createTaskProcessorWorker","./RuntimeError-24b14c10","./ComponentDatatype-b7b5db18","./WebGLConstants-35626ea2","./combine-276652d0","./GeometryOffsetAttribute-8c0bd3ce","./GeometryAttribute-5d30d102","./GeometryAttributes-5ce4955a","./VertexFormat-1fc9746e","./CylinderGeometryLibrary-7afd8cad"],function(S,k,T,V,M,F,B,w,e,t,n,r,a,i,o,d,s,c){function R(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var f=new T.Cartesian3,l=T.Matrix4.packedLength+T.Cartesian3.packedLength,u=T.Matrix4.packedLength+2,h=T.Matrix4.packedLength+T.Cartesian3.packedLength,p=T.Cartesian3.packedLength+1,b={modelMatrix:new T.Matrix4,boundingVolume:new S.BoundingSphere};function A(e,t){var t=t*l,n=T.Cartesian3.unpack(e,t,f),e=(t+=T.Cartesian3.packedLength,T.Matrix4.unpack(e,t,b.modelMatrix)),t=(T.Matrix4.multiplyByScale(e,n,e),b.boundingVolume);return T.Cartesian3.clone(T.Cartesian3.ZERO,t.center),t.radius=Math.sqrt(3),b}function O(e,t){var t=t*u,n=e[t++],r=e[t++],n=T.Cartesian3.fromElements(n,n,r,f),r=T.Matrix4.unpack(e,t,b.modelMatrix),e=(T.Matrix4.multiplyByScale(r,n,r),b.boundingVolume);return T.Cartesian3.clone(T.Cartesian3.ZERO,e.center),e.radius=Math.sqrt(2),b}function L(e,t){var t=t*h,n=T.Cartesian3.unpack(e,t,f),e=(t+=T.Cartesian3.packedLength,T.Matrix4.unpack(e,t,b.modelMatrix)),t=(T.Matrix4.multiplyByScale(e,n,e),b.boundingVolume);return T.Cartesian3.clone(T.Cartesian3.ZERO,t.center),t.radius=1,b}function E(e,t){var t=t*p,n=e[t++],e=T.Cartesian3.unpack(e,t,f),t=T.Matrix4.fromTranslation(e,b.modelMatrix),e=(T.Matrix4.multiplyByUniformScale(t,n,t),b.boundingVolume);return T.Cartesian3.clone(T.Cartesian3.ZERO,e.center),e.radius=1,b}var Z=new T.Cartesian3;function U(e,t,n,r,a){if(F.defined(t)){for(var i=n.length,o=r.attributes.position.values,d=r.indices,s=e.positions,c=e.vertexBatchIds,f=e.indices,l=e.batchIds,u=e.batchTableColors,h=e.batchedIndices,p=e.indexOffsets,b=e.indexCounts,y=e.boundingVolumes,x=e.modelMatrix,g=e.center,m=e.positionOffset,C=e.batchIdIndex,v=e.indexOffset,I=e.batchedIndicesOffset,k=0;k<i;++k){for(var M=a(t,k),B=M.modelMatrix,w=(T.Matrix4.multiply(x,B,B),n[k]),A=o.length,O=0;O<A;O+=3){var L=T.Cartesian3.unpack(o,O,Z);T.Matrix4.multiplyByPoint(B,L,L),T.Cartesian3.subtract(L,g,L),T.Cartesian3.pack(L,s,3*m+O),c[C++]=w}for(var E=d.length,U=0;U<E;++U)f[v+U]=d[U]+m;var G=k+I;h[G]=new R({offset:v,count:E,color:V.Color.fromRgba(u[w]),batchIds:[w]}),l[G]=w,p[G]=v,b[G]=E,y[G]=S.BoundingSphere.transform(M.boundingVolume,B),m+=A/3,v+=E}e.positionOffset=m,e.batchIdIndex=C,e.indexOffset=v,e.batchedIndicesOffset+=i}}var G=new T.Cartesian3,D=new T.Matrix4;function P(e,t,n){var r=n.length,a=2+r*S.BoundingSphere.packedLength+1+function(e){for(var t=e.length,n=0,r=0;r<t;++r)n+=V.Color.packedLength+3+e[r].batchIds.length;return n}(t),i=new Float64Array(a),o=0;i[o++]=e,i[o++]=r;for(var d=0;d<r;++d)S.BoundingSphere.pack(n[d],i,o),o+=S.BoundingSphere.packedLength;var s=t.length;i[o++]=s;for(var c=0;c<s;++c){var f=t[c],l=(V.Color.pack(f.color,i,o),o+=V.Color.packedLength,i[o++]=f.offset,i[o++]=f.count,f.batchIds),u=l.length;i[o++]=u;for(var h=0;h<u;++h)i[o++]=l[h]}return i}return e(function(e,t){var n=F.defined(e.boxes)?new Float32Array(e.boxes):void 0,r=F.defined(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,a=F.defined(e.cylinders)?new Float32Array(e.cylinders):void 0,i=F.defined(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,o=F.defined(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,d=F.defined(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,s=F.defined(e.spheres)?new Float32Array(e.spheres):void 0,c=F.defined(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,f=F.defined(n)?r.length:0,l=F.defined(a)?i.length:0,u=F.defined(o)?d.length:0,h=F.defined(s)?c.length:0,p=k.BoxGeometry.getUnitBox(),b=M.CylinderGeometry.getUnitCylinder(),y=B.EllipsoidGeometry.getUnitEllipsoid(),x=p.attributes.position.values,g=b.attributes.position.values,m=y.attributes.position.values,x=x.length*f,g=(x=(x+=g.length*l)+m.length*(u+h),p.indices),m=b.indices,g=g.length*f,m=(g=(g+=m.length*l)+y.indices.length*(u+h),new Float32Array(x)),C=new Uint16Array(x/3),x=w.IndexDatatype.createTypedArray(x/3,g),g=f+l+u+h,f=new Uint16Array(g),l=new Array(g),u=new Uint32Array(g),h=new Uint32Array(g),g=new Array(g);v=e.packedBuffer,v=new Float64Array(v),I=0,T.Cartesian3.unpack(v,0,G),I+=T.Cartesian3.packedLength,T.Matrix4.unpack(v,I,D);U(v={batchTableColors:new Uint32Array(e.batchTableColors),positions:m,vertexBatchIds:C,indices:x,batchIds:f,batchedIndices:l,indexOffsets:u,indexCounts:h,boundingVolumes:g,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:D,center:G},n,r,p,A),U(v,a,i,b,O),U(v,o,d,y,L),U(v,s,c,y,E);var v,I=P(x.BYTES_PER_ELEMENT,l,g);return t.push(m.buffer,C.buffer,x.buffer),t.push(f.buffer,u.buffer,h.buffer),t.push(I.buffer),{positions:m.buffer,vertexBatchIds:C.buffer,indices:x.buffer,indexOffsets:u.buffer,indexCounts:h.buffer,batchIds:f.buffer,packedBuffer:I.buffer}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["./AttributeCompression-2f7b45b7","./Matrix2-59fd2efe","./Color-
|
|
1
|
+
define(["./AttributeCompression-2f7b45b7","./Matrix2-59fd2efe","./Color-ff1fdef4","./when-ae2e0b60","./IndexDatatype-6902a37d","./ComponentDatatype-b7b5db18","./OrientedBoundingBox-f70d01fe","./createTaskProcessorWorker","./RuntimeError-24b14c10","./Transforms-ce414632","./combine-276652d0","./WebGLConstants-35626ea2","./EllipsoidTangentPlane-da721e0c","./AxisAlignedBoundingBox-35efa0e8","./IntersectionTests-f71f97b3","./Plane-43337cee"],function(ye,Ce,Ie,xe,we,ve,Ae,e,n,a,r,t,i,o,s,f){var Ee=new Ce.Cartesian3,Ne=new Ce.Ellipsoid,Te=new Ce.Rectangle,Be={min:void 0,max:void 0,indexBytesPerElement:void 0};function ke(e,n,a){var r=n.length,t=2+r*Ae.OrientedBoundingBox.packedLength+1+function(e){for(var n=e.length,a=0,r=0;r<n;++r)a+=Ie.Color.packedLength+3+e[r].batchIds.length;return a}(a),i=new Float64Array(t),o=0;i[o++]=e,i[o++]=r;for(var s=0;s<r;++s)Ae.OrientedBoundingBox.pack(n[s],i,o),o+=Ae.OrientedBoundingBox.packedLength;var f=a.length;i[o++]=f;for(var d=0;d<f;++d){var c=a[d],u=(Ie.Color.pack(c.color,i,o),o+=Ie.Color.packedLength,i[o++]=c.offset,i[o++]=c.count,c.batchIds),h=u.length;i[o++]=h;for(var l=0;l<h;++l)i[o++]=u[l]}return i}var Le=new Ce.Cartesian3,Oe=new Ce.Cartesian3,Ue=new Ce.Cartesian3,Pe=new Ce.Cartesian3,Fe=new Ce.Cartesian3,Se=new Ce.Cartographic,De=new Ce.Rectangle;return e(function(e,D){a=e.packedBuffer,a=new Float64Array(a),S=0,Be.indexBytesPerElement=a[S++],Be.min=a[S++],Be.max=a[S++],Ce.Cartesian3.unpack(a,3,Ee),S+=Ce.Cartesian3.packedLength,Ce.Ellipsoid.unpack(a,S,Ne),S+=Ce.Ellipsoid.packedLength,Ce.Rectangle.unpack(a,S,Te);for(var n=new(2===Be.indexBytesPerElement?Uint16Array:Uint32Array)(e.indices),a=new Uint16Array(e.positions),r=new Uint32Array(e.counts),t=new Uint32Array(e.indexCounts),R=new Uint32Array(e.batchIds),M=new Uint32Array(e.batchTableColors),_=new Array(r.length),G=Ee,i=Ne,o=Te,Y=Be.min,V=Be.max,s=e.minimumHeights,f=e.maximumHeights,d=(xe.defined(s)&&xe.defined(f)&&(s=new Float32Array(s),f=new Float32Array(f)),a.length/2),H=a.subarray(0,d),W=a.subarray(d,2*d),z=(ye.AttributeCompression.zigZagDeltaDecode(H,W),new Float64Array(3*d)),c=0;c<d;++c){var u=H[c],h=W[c],u=ve.CesiumMath.lerp(o.west,o.east,u/32767),h=ve.CesiumMath.lerp(o.south,o.north,h/32767),u=Ce.Cartographic.fromRadians(u,h,0,Se),h=i.cartographicToCartesian(u,Le);Ce.Cartesian3.pack(h,z,3*c)}var l=r.length,Z=new Array(l),g=new Array(l),j=0,q=0;for(c=0;c<l;++c)Z[c]=j,g[c]=q,j+=r[c],q+=t[c];var p=new Float32Array(3*d*2),b=new Uint16Array(2*d),m=new Uint32Array(g.length),y=new Uint32Array(t.length),C=[],I={};for(c=0;c<l;++c)w=M[c],xe.defined(I[w])?(I[w].positionLength+=r[c],I[w].indexLength+=t[c],I[w].batchIds.push(c)):I[w]={positionLength:r[c],indexLength:t[c],offset:0,indexOffset:0,batchIds:[c]};var J,K=0,Q=0;for(w in I)I.hasOwnProperty(w)&&((v=I[w]).offset=K,v.indexOffset=Q,K+=2*v.positionLength,Q+=J=2*v.indexLength+6*v.positionLength,v.indexLength=J);var x=[];for(w in I)I.hasOwnProperty(w)&&(v=I[w],x.push({color:Ie.Color.fromRgba(parseInt(w)),offset:v.indexOffset,count:v.indexLength,batchIds:v.batchIds}));for(c=0;c<l;++c){for(var w,v,A=(v=I[w=M[c]]).offset,E=3*A,N=A,T=Z[c],B=r[c],X=R[c],$=Y,ee=V,ne=(xe.defined(s)&&xe.defined(f)&&($=s[c],ee=f[c]),Number.POSITIVE_INFINITY),ae=Number.NEGATIVE_INFINITY,re=Number.POSITIVE_INFINITY,te=Number.NEGATIVE_INFINITY,k=0;k<B;++k){var L=Ce.Cartesian3.unpack(z,3*T+3*k,Le),O=(i.scaleToGeodeticSurface(L,L),i.cartesianToCartographic(L,Se)),U=O.latitude,O=O.longitude,ne=Math.min(U,ne),ae=Math.max(U,ae),re=Math.min(O,re),te=Math.max(O,te),U=i.geodeticSurfaceNormal(L,Oe),O=Ce.Cartesian3.multiplyByScalar(U,$,Ue),ie=Ce.Cartesian3.add(L,O,Pe),O=Ce.Cartesian3.multiplyByScalar(U,ee,O),U=Ce.Cartesian3.add(L,O,Fe);Ce.Cartesian3.subtract(U,G,U),Ce.Cartesian3.subtract(ie,G,ie),Ce.Cartesian3.pack(U,p,E),Ce.Cartesian3.pack(ie,p,E+3),b[N]=X,b[N+1]=X,E+=6,N+=2}(o=De).west=re,o.east=te,o.south=ne,o.north=ae,_[c]=Ae.OrientedBoundingBox.fromRectangle(o,Y,V,i);var P=v.indexOffset,oe=g[c],se=t[c];for(m[c]=P,k=0;k<se;k+=3){var fe=n[oe+k]-T,de=n[oe+k+1]-T,ce=n[oe+k+2]-T;C[P++]=2*fe+A,C[P++]=2*de+A,C[P++]=2*ce+A,C[P++]=2*ce+1+A,C[P++]=2*de+1+A,C[P++]=2*fe+1+A}for(k=0;k<B;++k){var ue=k,he=(k+1)%B;C[P++]=2*ue+1+A,C[P++]=2*he+A,C[P++]=2*ue+A,C[P++]=2*ue+1+A,C[P++]=2*he+1+A,C[P++]=2*he+A}v.offset+=2*B,v.indexOffset=P,y[c]=P-m[c]}for(var C=we.IndexDatatype.createTypedArray(p.length/3,C),le=x.length,F=0;F<le;++F){for(var ge=x[F].batchIds,pe=0,be=ge.length,me=0;me<be;++me)pe+=y[ge[me]];x[F].count=pe}var S=ke(2===C.BYTES_PER_ELEMENT?we.IndexDatatype.UNSIGNED_SHORT:we.IndexDatatype.UNSIGNED_INT,_,x);return D.push(p.buffer,C.buffer,m.buffer,y.buffer,b.buffer,S.buffer),{positions:p.buffer,indices:C.buffer,indexOffsets:m.buffer,indexCounts:y.buffer,batchIds:b.buffer,packedBuffer:S.buffer}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapgis/cesium",
|
|
3
|
-
"version":"17.2.
|
|
3
|
+
"version":"17.2.2",
|
|
4
4
|
"description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
|
|
5
5
|
"homepage": "http://cesium.com/cesiumjs/",
|
|
6
6
|
"license": "Apache-2.0",
|