@mapgis/webclient-cesium-plugin 17.6.21 → 17.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/es5/webclient-cesium-plugin.min.js +9 -9
- package/dist/es5/webclient-common.min.js +11 -11
- package/dist/webclient-cesium-plugin-es6.min.js +9 -9
- package/dist/webclient-cesium-plugin-resource/assets/images/volume-cloud-noise.png +0 -0
- package/documention/AlgorithmLib.html +3626 -4554
- package/documention/AngulationTool.html +838 -1052
- package/documention/AnimationTool.html +2849 -3671
- package/documention/ArcGISMapServerImageryProvider.html +802 -915
- package/documention/ArcGISMapServerSingleImageryProvider.html +752 -875
- package/documention/ArcGISTileServerImageryProvider.html +599 -818
- package/documention/ArcGISVectorTileImageryProvider.html +855 -1002
- package/documention/BaseImageryProvider.html +862 -1351
- package/documention/Cesium.Material.html +135 -407
- package/documention/Cesium.Viewer.html +602 -924
- package/documention/Cesium3DTileset.html +247 -547
- package/documention/CesiumHeatmap.html +654 -865
- package/documention/CesiumNavigation.html +151 -428
- package/documention/CesiumTerrainProvider.html +235 -536
- package/documention/CircleWaveMaterialProperty.html +282 -509
- package/documention/CollisionDetectionByRender.html +1064 -1399
- package/documention/CompatibleFunc.html +425 -752
- package/documention/CustomPrimitive.html +115 -388
- package/documention/CustomProjection.html +557 -913
- package/documention/CustomTilingScheme.html +1339 -1724
- package/documention/CutFillAnalysis.html +896 -1427
- package/documention/CuttingTool.html +2144 -2342
- package/documention/Deferred.html +115 -388
- package/documention/DrawElement.html +918 -1267
- package/documention/DrawTool.html +998 -1173
- package/documention/DynamicEntityVisualizer.html +227 -486
- package/documention/EditTool.html +785 -1385
- package/documention/FirstPersonPerspective.html +476 -737
- package/documention/FloodAnalysis.html +850 -1427
- package/documention/FloodAnalysisReflection.html +623 -1026
- package/documention/FlowParticle.html +473 -818
- package/documention/Fluid.html +1500 -1983
- package/documention/FluidFoam.html +473 -818
- package/documention/FluidReflection.html +416 -744
- package/documention/FluidShadow.html +416 -744
- package/documention/FluidSourceCollection.html +627 -1034
- package/documention/FluidSpecular.html +416 -744
- package/documention/FollowPerspective.html +355 -664
- package/documention/GeoJSONLayerUtil.html +217 -516
- package/documention/GlobeIndependentTranslucency.html +374 -893
- package/documention/GodPerspective.html +301 -593
- package/documention/Graphic.html +1828 -2747
- package/documention/GraphicTransformTool.html +535 -897
- package/documention/GraphicsLayer.html +2749 -3368
- package/documention/GraphicsLayerUtil.html +217 -516
- package/documention/HashMap.html +2332 -3415
- package/documention/HeightLimited.html +533 -798
- package/documention/IGSFeatureLayerUtil.html +407 -750
- package/documention/ISSceneLayerUtil.html +286 -549
- package/documention/KeyboardCameraController.html +655 -1086
- package/documention/MapGISDynamicLabelCollection.html +983 -1272
- package/documention/MapGISFeatureGridCollection.html +903 -1207
- package/documention/MapGISImageServerImageryProvider.html +1172 -1538
- package/documention/MapGISImageServerSingleImageryProvider.html +1534 -0
- package/documention/MapGISM3DSet.html +254 -553
- package/documention/MapGISMapServerImageryProvider.html +1350 -1590
- package/documention/MapGISMapServerSingleImageryProvider.html +949 -1024
- package/documention/MapGISTerrainProvider.html +1725 -2588
- package/documention/MapGISTerrainService.html +831 -1295
- package/documention/MapGISTileAvailability.html +771 -1157
- package/documention/MapGISTileServerImageryProvider.html +824 -1093
- package/documention/MapGISVectorTileImageryProvider.html +1281 -1858
- package/documention/MeasureAreaTool.html +1332 -1426
- package/documention/MeasureLengthTool.html +1801 -1877
- package/documention/MeasureSlopeTool.html +934 -1185
- package/documention/ModelEditor.html +250 -531
- package/documention/ModelFilterTool.html +693 -968
- package/documention/ModelTransformTool.html +2318 -2607
- package/documention/NavigationControl.html +153 -432
- package/documention/NavigationTool.html +252 -546
- package/documention/NormalPerspective.html +355 -664
- package/documention/OpenWeatherImageryProvider.html +397 -605
- package/documention/PointFluidSource.html +360 -671
- package/documention/PolylineTrailLinkMaterialProperty.html +335 -548
- package/documention/Popup.html +610 -1011
- package/documention/PostProcessStageLibrary.html +3331 -1135
- package/documention/Promise.html +540 -866
- package/documention/ProviderBaseUrlRegExp.html +248 -572
- package/documention/Puddle.html +698 -1109
- package/documention/RadarMaterialProperty.html +230 -469
- package/documention/ReImg.html +218 -516
- package/documention/RenderUtil.html +249 -549
- package/documention/ResetViewNavigationControl.html +300 -736
- package/documention/RiverGeometry.html +1865 -1992
- package/documention/RoamParticle.html +1388 -2086
- package/documention/RouteAnimationControl.html +482 -850
- package/documention/RouteAnimationLabel.html +345 -560
- package/documention/RouteAnimationModel.html +725 -1046
- package/documention/RouteAnimationPath.html +673 -1086
- package/documention/RouteAnimationPerspective.html +158 -428
- package/documention/RouteAnimationTool.html +678 -1120
- package/documention/S3MTileset.html +244 -489
- package/documention/SSR.html +552 -879
- package/documention/SceneView.html +3180 -3628
- package/documention/Screenshot.html +455 -819
- package/documention/SelectTool.html +475 -779
- package/documention/ShadowRateAnalysis.html +844 -1347
- package/documention/ShadowRateDrawCommand.html +453 -826
- package/documention/SingleImageryProvider.html +959 -1223
- package/documention/SketchEditor.html +914 -1278
- package/documention/StableParticle.html +1421 -2187
- package/documention/Style.html +8336 -10785
- package/documention/TerrainAnalyse.html +1783 -2226
- package/documention/TerrainExcavateTool.html +718 -1204
- package/documention/TerrainProfile.html +858 -1067
- package/documention/ThemeManager.html +1145 -1623
- package/documention/Tooltip.html +497 -844
- package/documention/TriangulationTool.html +1071 -1229
- package/documention/Underwater.html +707 -0
- package/documention/UrlTemplateImageryProvider.html +808 -918
- package/documention/UserInterfaceControl.html +365 -876
- package/documention/VisiblityAnalysis.html +960 -1425
- package/documention/VolumeCloud.html +763 -970
- package/documention/VolumeFluidSource.html +255 -532
- package/documention/WFSLayerUtil.html +217 -516
- package/documention/WaterReflection.html +808 -1168
- package/documention/WebMapServiceImageryProvider.html +965 -1086
- package/documention/WebMapServiceSingleImageryProvider.html +740 -876
- package/documention/WebMapTileServiceImageryProvider.html +935 -1064
- package/documention/Wind3D.html +856 -1339
- package/documention/ZoomNavigationControl.html +277 -664
- package/documention/createColorTexture.html +269 -508
- package/documention/fonts/fontawesome-webfont.woff2 +0 -0
- package/documention/fonts/glyphicons-halflings-regular.eot +0 -0
- package/documention/fonts/glyphicons-halflings-regular.svg +288 -0
- package/documention/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/documention/fonts/glyphicons-halflings-regular.woff +0 -0
- package/documention/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/documention/global.html +9352 -10298
- package/documention/index.html +94 -421
- package/documention/initializeOptions.html +190 -464
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +344 -723
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +931 -1347
- package/documention/module.exports_module.exports.html +327 -558
- package/documention/nav.html +3877 -0
- package/documention/scripts/adminlte/app.min.js +472 -0
- package/documention/scripts/bootstrap.min.js +7 -0
- package/documention/scripts/jquery.min.js +4 -0
- package/documention/scripts/jquery.min.map +1 -0
- package/documention/scripts/linenumber.js +22 -19
- package/documention/scripts/main.js +95 -0
- package/documention/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/documention/scripts/prettify/lang-css.js +2 -0
- package/documention/scripts/prettify/prettify.js +28 -0
- package/documention/scripts/underscore-min.js +6 -0
- package/documention/scripts/underscore-min.map +1 -0
- package/documention/styles/adminlte/AdminLTE.min.css +7 -0
- package/documention/styles/adminlte/font-awesome.min.css +4 -0
- package/documention/styles/adminlte/skin-blue.min.css +1 -0
- package/documention/styles/bootstrap.min.css +6 -0
- package/documention/styles/common.css +175 -0
- package/documention/styles/examples.css +116 -0
- package/documention/styles/font-awesome.css +2337 -0
- package/documention/styles/header.css +556 -0
- package/documention/styles/jaguar.css +553 -0
- package/documention/styles/prettify-tomorrow.css +1 -1
- package/documention/styles/style.customize.css +631 -0
- package/package.json +2 -2
|
@@ -1,394 +1,167 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html
|
|
3
|
-
|
|
2
|
+
<html>
|
|
4
3
|
<head>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
6
|
+
<script src="scripts/prettify/prettify.js"></script>
|
|
7
|
+
<script src="scripts/prettify/lang-css.js"></script>
|
|
8
|
+
<title> MapGIS Client for JavaScript API </title>
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
|
|
11
|
+
</script>
|
|
12
|
+
<!--[if lt IE 9]>
|
|
13
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
14
|
+
<![endif]-->
|
|
15
|
+
<script src="scripts/jquery.min.js"></script>
|
|
16
|
+
<script src="scripts/adminlte/app.min.js"></script>
|
|
17
|
+
<link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
|
|
18
|
+
<link type="text/css" rel="stylesheet" href="styles/adminlte/AdminLTE.min.css">
|
|
19
|
+
<link type="text/css" rel="stylesheet" href="styles/adminlte/skin-blue.min.css">
|
|
20
|
+
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
21
|
+
<link type="text/css" rel="stylesheet" href="styles/common.css">
|
|
22
|
+
<link type="text/css" rel="stylesheet" href="styles/header.css">
|
|
23
|
+
<link type="text/css" rel="stylesheet" href="styles/examples.css">
|
|
24
|
+
<link type="text/css" rel="stylesheet" href="styles/style.customize.css">
|
|
25
|
+
<link type="text/css" rel="stylesheet" href="styles/font-awesome.css">
|
|
26
|
+
<link type="text/css" rel="stylesheet" href="styles/jaguar.css">
|
|
27
|
+
<script src="scripts/bootstrap.min.js"></script>
|
|
17
28
|
</head>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<div class="
|
|
26
|
-
|
|
27
|
-
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
28
|
-
<span aria-hidden="true"></span>
|
|
29
|
-
<span aria-hidden="true"></span>
|
|
30
|
-
<span aria-hidden="true"></span>
|
|
31
|
-
</a>
|
|
32
|
-
<div class="logo">
|
|
33
|
-
|
|
34
|
-
<h1> MapGIS Client for JavaScript API</h1>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
<div class="menu">
|
|
39
|
-
|
|
40
|
-
<div class="navigation">
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<a
|
|
44
|
-
class="link user-link "
|
|
45
|
-
href="/static/modules/common/api/common-mapgis/index.html"
|
|
46
|
-
>
|
|
47
|
-
Common
|
|
29
|
+
<body class='sidebar-mini'>
|
|
30
|
+
|
|
31
|
+
<div id="wrap" class="clearfix">
|
|
32
|
+
<header class="header-wrapper main-header mapgis-header">
|
|
33
|
+
<nav class="navbar navbar-static-top lite">
|
|
34
|
+
<div class="nav-header">
|
|
35
|
+
<div class="navbar-header">
|
|
36
|
+
<div class="navbar-title" style="display: flex;align-items: center; ">
|
|
37
|
+
<a href="index.html">
|
|
38
|
+
<img class="mapgis-webclient-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR42u2de3gb5Z3vv+/Yjp2rFF8Sx5atsRMgpbRWC7Q9tF2rfbYtpZQYKBRoS4aWpeFWD3DKluW0Hvd2oGnppKHAlpsMIaSwgF3ucHaR95xuT7cPi10O5ZLYluI4duxcJDuJE8ea3/ljXlmyLMm6jG72/J5nHtuSZjwz72d+9/cVIyKYYkquRDBvgSkmgKaYAJpiigmgKSaApphiAlhAYnt94grba+NW806kJ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eM1zs+vLwW8cD/l5itZxiWreKRPAjIpw9TOivsaMtknnT599pj1+qennmQBm8eZ94+krQPQe7by8x7wbJoCmFKI1MW+BKSaAppgAmmKKCaApJoCmmJJN+f8yRATGNXIUUAAAAABJRU5ErkJggg==">
|
|
48
39
|
</a>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class="link user-link "
|
|
52
|
-
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
-
>
|
|
54
|
-
Cesium-Plugin
|
|
40
|
+
<a class="navbar-brand">
|
|
41
|
+
<span class="mapgis-webclient-text"> MapGIS Client for JavaScript(Cesium) </span>
|
|
55
42
|
</a>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Leaflet-Plugin
|
|
69
|
-
</a>
|
|
70
|
-
|
|
71
|
-
<a
|
|
72
|
-
class="link user-link "
|
|
73
|
-
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
|
|
74
|
-
>
|
|
75
|
-
OpenLayers-Plugin
|
|
76
|
-
</a>
|
|
77
|
-
|
|
78
|
-
<a
|
|
79
|
-
class="link user-link "
|
|
80
|
-
href="/static/modules/video/api/video-mapgis/index.html"
|
|
81
|
-
>
|
|
82
|
-
Video-Plugin
|
|
83
|
-
</a>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
43
|
+
<div id="suffix-title">for MapboxGL</div>
|
|
44
|
+
</div>
|
|
45
|
+
<button
|
|
46
|
+
type="button"
|
|
47
|
+
class="navbar-toggle collapsed"
|
|
48
|
+
data-toggle="collapse"
|
|
49
|
+
data-target="#navbar-collapse"
|
|
50
|
+
aria-expanded="false"
|
|
51
|
+
>
|
|
52
|
+
<i class="fa fa-bars"></i>
|
|
53
|
+
</button>
|
|
54
|
+
</div>
|
|
87
55
|
</div>
|
|
88
|
-
</
|
|
56
|
+
</nav>
|
|
57
|
+
</header>
|
|
58
|
+
<div class="navigationDiv">
|
|
89
59
|
</div>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<div
|
|
94
|
-
class="sidebar "
|
|
95
|
-
id="sidebarNav"
|
|
96
|
-
>
|
|
97
|
-
<div>
|
|
98
|
-
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
<div class="search-wrapper">
|
|
102
|
-
<input id="search" type="text" placeholder="搜索文档..." class="input">
|
|
103
|
-
</div>
|
|
104
|
-
|
|
105
|
-
<nav>
|
|
106
|
-
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AlgorithmLib"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AlgorithmLib.html">AlgorithmLib</a><span style="display: none;"><p>通用算法工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AngulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AngulationTool.html">AngulationTool</a><span style="display: none;"><p>角度测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AnimationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AnimationTool.html">AnimationTool</a><span style="display: none;"><p>场景漫游工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapServerImageryProvider.html">ArcGISMapServerImageryProvider</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapServerSingleImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapServerSingleImageryProvider.html">ArcGISMapServerSingleImageryProvider</a><span style="display: none;"><p>ArcGIS地图服务一张图出图接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileServerImageryProvider.html">ArcGISTileServerImageryProvider</a><span style="display: none;"><p>ArcGIS瓦片服务接入类,现已不支持通过构造函数(new ArcGISTileServerImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISVectorTileImageryProvider.html">ArcGISVectorTileImageryProvider</a><span style="display: none;"><p>ArcGIS矢量瓦片服务接入类,现已不支持通过构造函数(new ArcGISVectorTileImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="BaseImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="BaseImageryProvider.html">BaseImageryProvider</a><span style="display: none;"><p>基础影像服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium3DTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium3DTileset.html">Cesium3DTileset</a><span style="display: none;"><p>Cesium3DTileset对象,现已不支持通过构造函数(new Cesium3DTileset())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Material"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Material.html">Material</a><span style="display: none;"><p>新增了部分Cesium材质<br>
|
|
108
|
-
《PolylineTrailLink材质》<br>
|
|
109
|
-
参考示例:
|
|
110
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-polyline'>《线示例》</a>
|
|
111
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-wall'>《墙示例》</a><br>
|
|
112
|
-
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
113
|
-
image: 材质使用的图片,Cesium.Material.PolylineTrailLinkImage<br>
|
|
114
|
-
duration: 持续时间,100.0<br>
|
|
115
|
-
direction: 方向,1.0<br>
|
|
116
|
-
repeat: 重复次数,new Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
117
|
-
《CircleWaveMaterial材质》<br>
|
|
118
|
-
参考示例:
|
|
119
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a>
|
|
120
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circular'>《圆锥示例》</a><br>
|
|
121
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
122
|
-
duration: 持续时间,100.0<br>
|
|
123
|
-
count: 方向,1.0<br>
|
|
124
|
-
gradient: 渐变因子,0.1<br><br>
|
|
125
|
-
《RadarMaterial材质》<br>
|
|
126
|
-
参考示例:
|
|
127
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
128
|
-
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
129
|
-
speed: 速度,1<br><br>
|
|
130
|
-
《AspectArrow材质》
|
|
131
|
-
AspectArrowMap: 箭头图片,Cesium.Material.DefaultImageId<br>
|
|
132
|
-
repeat: 箭头重复次数,Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
133
|
-
《TextImage材质》<br>
|
|
134
|
-
image: 文字图片,Cesium.Material.DefaultImageId<br>
|
|
135
|
-
repeat: 图片重复次数,Cesium.Cartesian2(1.0, 1.0)<br>
|
|
136
|
-
breathingLight: 是否开启呼吸灯,false<br>
|
|
137
|
-
duration: 运行周期,1000<br><br>
|
|
138
|
-
《LineFlickerMaterialType材质》<br>
|
|
139
|
-
参考示例:
|
|
140
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
141
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
142
|
-
speed: 速度,5<br><br>
|
|
143
|
-
《CircleScanMaterialType材质》<br>
|
|
144
|
-
参考示例:
|
|
145
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
146
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
147
|
-
speed: 速度,10<br><br>
|
|
148
|
-
《CirclePulseMaterialType材质》<br>
|
|
149
|
-
参考示例:
|
|
150
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
151
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
152
|
-
speed: 速度,10<br><br>
|
|
153
|
-
《CircleDiffuseMaterialType材质》<br>
|
|
154
|
-
参考示例:
|
|
155
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
156
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
157
|
-
speed: 速度,10<br><br>
|
|
158
|
-
《ScanlineType材质》<br>
|
|
159
|
-
参考示例:
|
|
160
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
161
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
162
|
-
speed: 速度,10<br><br>
|
|
163
|
-
《CircleFadeMaterialType材质》<br>
|
|
164
|
-
参考示例:
|
|
165
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
166
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
167
|
-
speed: 速度,10<br><br>
|
|
168
|
-
《CircleColorfulMaterialType材质》<br>
|
|
169
|
-
参考示例:
|
|
170
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
171
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
172
|
-
speed: 速度,10<br><br>
|
|
173
|
-
《CircleSpiralMaterialType材质》<br>
|
|
174
|
-
参考示例:
|
|
175
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
176
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
177
|
-
speed: 速度,10<br><br>
|
|
178
|
-
《CircleBlurMaterialType材质》<br>
|
|
179
|
-
参考示例:
|
|
180
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
181
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
182
|
-
speed: 速度,10<br><br>
|
|
183
|
-
《RadarScanMaterialType材质》<br>
|
|
184
|
-
参考示例:
|
|
185
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
186
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
187
|
-
speed: 速度,10<br><br>
|
|
188
|
-
《RadarLineMaterialType材质》<br>
|
|
189
|
-
参考示例:
|
|
190
|
-
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
191
|
-
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
192
|
-
speed: 速度,10<br><br>
|
|
193
|
-
《RiverCoveringMaterial材质》<br>
|
|
194
|
-
color: 材质颜色,Cesium.Color(1, 1, 1, 0.7)<br>
|
|
195
|
-
animationSpeed: 播放速度,0.01<br>
|
|
196
|
-
image: 材质图片,CustomMaterial.DefaultImageId<br>
|
|
197
|
-
repeat: 重复次数,2.0<br><br></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Viewer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Viewer.html">Viewer</a><span style="display: none;"><p>重写Cesium.Viewer的方法</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumHeatmap"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumHeatmap.html">CesiumHeatmap</a><span style="display: none;"><p>热力图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumTerrainProvider.html">CesiumTerrainProvider</a><span style="display: none;"><p>Cesium地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CircleWaveMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CircleWaveMaterialProperty.html">CircleWaveMaterialProperty</a><span style="display: none;"><p>动态圆波纹材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollisionDetectionByRender"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollisionDetectionByRender.html">CollisionDetectionByRender</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CompatibleFunc"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CompatibleFunc.html">CompatibleFunc</a><span style="display: none;"><p>适配不同版本Cesium接口方法类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="createColorTexture"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="createColorTexture.html">createColorTexture</a><span style="display: none;"><p>天际线分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomProjection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomProjection.html">CustomProjection</a><span style="display: none;"><p>实现自定义投影坐标系与地理坐标系经纬度(弧度表示)之间的投影变换</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomTilingScheme"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomTilingScheme.html">CustomTilingScheme</a><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
|
|
198
|
-
<ol>
|
|
199
|
-
<li>裁图原点必须在地图范围的左上角区域;</li>
|
|
200
|
-
<li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
|
|
201
|
-
</ol></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CutFillAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CutFillAnalysis.html">CutFillAnalysis</a><span style="display: none;"><p>填挖方分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CuttingTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CuttingTool.html">CuttingTool</a><span style="display: none;"><p>三维场景裁剪工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawElement"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawElement.html">DrawElement</a><span style="display: none;"><p>几何绘制类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawTool.html">DrawTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DynamicEntityVisualizer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DynamicEntityVisualizer.html">DynamicEntityVisualizer</a><span style="display: none;"><p>动态实体视图类封装
|
|
202
|
-
1、支持BillBoard、Label、GroundPrimitive等动态显示,处理覆盖问题
|
|
203
|
-
2、动态显隐效果
|
|
204
|
-
3、视窗内性能优化</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EditTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EditTool.html">EditTool</a><span style="display: none;"><p>标绘编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysis.html">FloodAnalysis</a><span style="display: none;"><p>洪水淹没分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysisReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysisReflection.html">FloodAnalysisReflection</a><span style="display: none;"><p>创建反射水面淹没分析的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FlowParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FlowParticle.html">FlowParticle</a><span style="display: none;"><p>流体粒子对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Fluid"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Fluid.html">Fluid</a><span style="display: none;"><p>流体模拟对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FluidFoam"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FluidFoam.html">FluidFoam</a><span style="display: none;"><p>流体白浪对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FluidReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FluidReflection.html">FluidReflection</a><span style="display: none;"><p>流体反射对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FluidShadow"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FluidShadow.html">FluidShadow</a><span style="display: none;"><p>流体阴影对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FluidSourceCollection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FluidSourceCollection.html">FluidSourceCollection</a><span style="display: none;"><p>流体源集合对象(该对象会在Fluid内部进行实例化,不需要额外手动实例化)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FluidSpecular"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FluidSpecular.html">FluidSpecular</a><span style="display: none;"><p>流体高光对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GlobeIndependentTranslucency"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GlobeIndependentTranslucency.html">GlobeIndependentTranslucency</a><span style="display: none;"><p>单独控制地表透明度和影像图层的透明度,能够在开启地表透明后使部分影像图层不受地表透明的影响。</p>
|
|
205
|
-
<p>实例化该类的对象同时也能够使用原生的地表透明参数,能够直接在实例化对象上修改 <code>GlobeTranslucency</code> 的参数(原生的
|
|
206
|
-
viewer.scene.globe.translucency依然能够使用,但两者同时使用时会造成相互干扰,推荐仅使用GlobeIndependentTranslucency来实现地表透明),
|
|
207
|
-
使用原生的地表透明方式还是该类的地表透明方式由 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 数组是否为空来区分。</p>
|
|
208
|
-
<p>1. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 不为空数组时,使用该类的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
209
|
-
<ul>
|
|
210
|
-
<li><code>globeFaceAlpha</code>:地表的透明度,若设置该参数则<code>globeFaceAlphaByDistance</code>不生效;</li>
|
|
211
|
-
<li><code>globeFaceAlphaByDistance</code>:地表的透明度根据视点距离的变化范围,当<code>globeFaceAlpha</code>为<code>undefined</code>时生效;</li>
|
|
212
|
-
</ul>
|
|
213
|
-
<p>2. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 为空数组时,使用原生的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
214
|
-
<ul>
|
|
215
|
-
<li><code>frontFaceAlpha</code>:地表正面的透明度;</li>
|
|
216
|
-
<li><code>frontFaceAlphaByDistance </code>:地表正面的透明度根据视点距离的变化范围;</li>
|
|
217
|
-
<li><code>backFaceAlpha</code>:地表背面的透明度;</li>
|
|
218
|
-
<li><code>backFaceAlphaByDistance</code>:地表背面的透明度根据视点距离的变化范围;</li>
|
|
219
|
-
<li><code>rectangle</code>:将地表透明的区域限制在一个矩形范围内。</li>
|
|
220
|
-
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Graphic"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Graphic.html">Graphic</a><span style="display: none;"><p>标绘图元对象<br>
|
|
221
|
-
请参考以下示例:<br>
|
|
222
|
-
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
223
|
-
<a href='#example2'>2、添加一个多边形图元</a><br>
|
|
224
|
-
<a href='#example3'>3、新增一个类型为div的标绘对象</a><br>
|
|
225
|
-
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>4、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayer.html">GraphicsLayer</a><span style="display: none;"><p>标绘图层<br>
|
|
226
|
-
请参考以下示例:<br>
|
|
227
|
-
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
228
|
-
<a href='#example2'>2、重写提示框对象</a><br>
|
|
229
|
-
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>3、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicTransformTool.html">GraphicTransformTool</a><span style="display: none;"><p>基础标绘变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="HeightLimited"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="HeightLimited.html">HeightLimited</a><span style="display: none;"><p>限高分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>构建实例化对象的配置参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="isCounterClockwise"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="isCounterClockwise.html">isCounterClockwise</a><span style="display: none;"><p>地形剖切工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="KeyboardCameraController"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="KeyboardCameraController.html">KeyboardCameraController</a><span style="display: none;"><p>场景相机漫游工具,可以实现沉浸式的鼠标键盘漫游功能,具体操作方法如下:</p>
|
|
230
|
-
<p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
|
|
231
|
-
<ul>
|
|
232
|
-
<li><code>W</code>:相机位置向前移动</li>
|
|
233
|
-
<li><code>S</code>:相机位置向后移动</li>
|
|
234
|
-
<li><code>A</code>:相机位置向左移动</li>
|
|
235
|
-
<li><code>D</code>:相机位置向右移动</li>
|
|
236
|
-
<li><code>Q</code>:相机位置升高</li>
|
|
237
|
-
<li><code>E</code>:相机位置降低</li>
|
|
238
|
-
</ul>
|
|
239
|
-
<p>2. 相对于相机视点操作,其中<code>U</code>,<code>O</code>,<code>J</code>,<code>L</code>操作会改变相机的位置,也会改变相机的朝向,而<code>I</code>,<code>K</code>操作只会改变相机相较视点的距离(在执行<code>U</code>,<code>O</code>,<code>J</code>,<code>L</code>操作时请勿同时执行其他按键操作):</p>
|
|
240
|
-
<ul>
|
|
241
|
-
<li><code>I</code>:相机视角靠近屏幕中心点</li>
|
|
242
|
-
<li><code>K</code>:相机视角远离屏幕中心点</li>
|
|
243
|
-
<li><code>J</code>:绕屏幕中心点向左旋转</li>
|
|
244
|
-
<li><code>L</code>:绕屏幕中心点向右旋转</li>
|
|
245
|
-
<li><code>U</code>:绕屏幕中心点向上旋转</li>
|
|
246
|
-
<li><code>O</code>:绕屏幕中心点向下旋转</li>
|
|
247
|
-
</ul>
|
|
248
|
-
<p>3. 相机自身操作,这类操作不会改变相机的位置,只会改变相机的朝向(在全屏状态下可使用鼠标调整相机视角):</p>
|
|
249
|
-
<ul>
|
|
250
|
-
<li><code>↑</code>:向上抬高视角</li>
|
|
251
|
-
<li><code>↓</code>:向下降低视角</li>
|
|
252
|
-
<li><code>←</code>:向左移动视角</li>
|
|
253
|
-
<li><code>→</code>:向右移动视角</li>
|
|
254
|
-
</ul>
|
|
255
|
-
<p>4. 鼠标操作:</p>
|
|
256
|
-
<ul>
|
|
257
|
-
<li>开启鼠标操作功能后,页面将进入全屏模式,此时相机视角可通过鼠标移动进行操作</li>
|
|
258
|
-
</ul>
|
|
259
|
-
<p>5. 辅助操作:</p>
|
|
260
|
-
<ul>
|
|
261
|
-
<li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
|
|
262
|
-
<li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
|
|
263
|
-
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISDynamicLabelCollection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISDynamicLabelCollection.html">MapGISDynamicLabelCollection</a><span style="display: none;"><p>动态注记容器</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISFeatureGridCollection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISFeatureGridCollection.html">MapGISFeatureGridCollection</a><span style="display: none;"><p>网格要素容器</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISImageServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISImageServerImageryProvider.html">MapGISImageServerImageryProvider</a><span style="display: none;"><p>IGS影像服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISM3DSet"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISM3DSet.html">MapGISM3DSet</a><span style="display: none;"><p>MapGISM3DSet对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISMapServerImageryProvider.html">MapGISMapServerImageryProvider</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISMapServerSingleImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISMapServerSingleImageryProvider.html">MapGISMapServerSingleImageryProvider</a><span style="display: none;"><p>IGS地图服务一张图出图接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTerrainProvider.html">MapGISTerrainProvider</a><span style="display: none;"><p>MapGIS地形服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTerrainService"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTerrainService.html">MapGISTerrainService</a><span style="display: none;"><p>MapGIS地形服务对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileAvailability"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileAvailability.html">MapGISTileAvailability</a><span style="display: none;"><p>MapGIS的TileAvailability类,重写了Cesium.TileAvailability的所有方法,支持在内部自动筛选要使用的地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileServerImageryProvider.html">MapGISTileServerImageryProvider</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureAreaTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureAreaTool.html">MeasureAreaTool</a><span style="display: none;"><p>面积测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureLengthTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureLengthTool.html">MeasureLengthTool</a><span style="display: none;"><p>距离测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureSlopeTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureSlopeTool.html">MeasureSlopeTool</a><span style="display: none;"><p>坡度测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelEditor.html">ModelEditor</a><span style="display: none;"><p>模型矩阵编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelFilterTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelFilterTool.html">ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelTransformTool.html">ModelTransformTool</a><span style="display: none;"><p>模型变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="NavigationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="NavigationTool.html">NavigationTool</a><span style="display: none;"><p>A mixin which adds the Compass/Navigation widget to the Viewer widget.
|
|
264
|
-
Rather than being called directly, this function is normally passed as
|
|
265
|
-
a parameter to <code>Viewer#extend</code>, as shown in the example below.</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="OpenWeatherImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="OpenWeatherImageryProvider.html">OpenWeatherImageryProvider</a><span style="display: none;"><p>OpenWeatherMap服务服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PointFluidSource"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PointFluidSource.html">PointFluidSource</a><span style="display: none;"><p>点流体源对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PolylineTrailLinkMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PolylineTrailLinkMaterialProperty.html">PolylineTrailLinkMaterialProperty</a><span style="display: none;"><p>流动纹理线材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PostProcessStageLibrary"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PostProcessStageLibrary.html">PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RadarMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RadarMaterialProperty.html">RadarMaterialProperty</a><span style="display: none;"><p>雷达扫描材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ReImg"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ReImg.html">ReImg</a><span style="display: none;"><p>截图(保存图片)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RoamParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RoamParticle.html">RoamParticle</a><span style="display: none;"><p>跟随模型移动粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="S3MTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="S3MTileset.html">S3MTileset</a><span style="display: none;"><p>S3MTileset类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SelectTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SelectTool.html">SelectTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ShadowRateAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ShadowRateAnalysis.html">ShadowRateAnalysis</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SingleImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SingleImageryProvider.html">SingleImageryProvider</a><span style="display: none;"><p>一张图出图的服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="StableParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="StableParticle.html">StableParticle</a><span style="display: none;"><p>固定位置粒子特效,可通过更改image与附加参数来实现火焰、喷泉、烟雾等粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Style"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Style.html">Style</a><span style="display: none;"><p>标绘图元样式</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainAnalyse"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainAnalyse.html">TerrainAnalyse</a><span style="display: none;"><p>地形分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainProfile"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainProfile.html">TerrainProfile</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ThemeManager"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ThemeManager.html">ThemeManager</a><span style="display: none;"><p>统计图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TriangulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TriangulationTool.html">TriangulationTool</a><span style="display: none;"><p>三角测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UrlTemplateImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UrlTemplateImageryProvider.html">UrlTemplateImageryProvider</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VisiblityAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VisiblityAnalysis.html">VisiblityAnalysis</a><span style="display: none;"><p>通视分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VolumeFluidSource"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VolumeFluidSource.html">VolumeFluidSource</a><span style="display: none;"><p>全域流体源对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WaterReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WaterReflection.html">WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceImageryProvider.html">WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS服务接入类,现已不支持通过构造函数(new WebMapServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceSingleImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceSingleImageryProvider.html">WebMapServiceSingleImageryProvider</a><span style="display: none;"><p>WMS服务一张图出图接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceImageryProvider.html">WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS服务接入类,现已不支持通过构造函数(new WebMapTileServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Wind3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Wind3D.html">Wind3D</a><span style="display: none;"><p>风场系统</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">辅助函数模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GeoJSONLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GeoJSONLayerUtil.html">GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayerUtil.html">GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSFeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSFeatureLayerUtil.html">IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WFSLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WFSLayerUtil.html">WFSLayerUtil</a><span style="display: none;"><p>WFS图层的工具类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ISSceneLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ISSceneLayerUtil.html">ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
266
|
-
参考示例:
|
|
267
|
-
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
268
|
-
<br>[ES5引入方式]:<br/>
|
|
269
|
-
zondy.cesium.SceneView() <br/>
|
|
270
|
-
[ES6引入方式]:<br/>
|
|
271
|
-
import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
|
|
272
|
-
自定义样式说明:<br/>
|
|
273
|
-
zondy-popup__container 弹窗容器样式<br/>
|
|
274
|
-
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
275
|
-
zondy-popup__header 弹窗头部样式<br/>
|
|
276
|
-
zondy-popup__content 弹窗主体样式<br/>
|
|
277
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SceneView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SceneView.html">SceneView</a><span style="display: none;"><p>场景视图类<br/>
|
|
278
|
-
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SceneView.html' target='_blank'>zondy.SceneView</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">服务模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ProviderBaseUrlRegExp"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ProviderBaseUrlRegExp.html">ProviderBaseUrlRegExp</a><span style="display: none;"><p>服务基地址匹配正则表达式</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
279
|
-
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor3D.html' target='_blank'>zondy.SketchEditor3D</a><br/>
|
|
280
|
-
<br>[ES5引入方式]:<br/>
|
|
281
|
-
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
282
|
-
[ES6引入方式]:<br/>
|
|
283
|
-
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul></div>
|
|
284
|
-
|
|
285
|
-
</nav>
|
|
286
|
-
</div>
|
|
287
|
-
<div class="core" id="main-content-wrapper">
|
|
288
|
-
<div class="content">
|
|
289
|
-
<header id="page-title" class="page-title">
|
|
290
|
-
<span class="page-title-main">类名</span>
|
|
291
|
-
<span class="page-title-sub">CollisionDetectionByRender</span>
|
|
292
|
-
</header>
|
|
293
|
-
|
|
294
|
-
|
|
60
|
+
<div class="main content-wrapper examples-container">
|
|
61
|
+
<h1 class="page-title" data-filename="CollisionDetectionByRender.html">Class: CollisionDetectionByRender</h1>
|
|
62
|
+
|
|
295
63
|
|
|
296
64
|
|
|
297
65
|
|
|
298
66
|
<section>
|
|
67
|
+
|
|
68
|
+
<header>
|
|
69
|
+
<h2></span>CollisionDetectionByRender
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
</h2>
|
|
73
|
+
|
|
74
|
+
<div class="class-description"><p>CollisionDetectionByRender</p></div>
|
|
75
|
+
|
|
76
|
+
</header>
|
|
299
77
|
|
|
300
78
|
<article>
|
|
301
79
|
<div class="container-overview">
|
|
302
80
|
|
|
303
|
-
|
|
304
|
-
<div class='vertical-section'>
|
|
305
|
-
<div class="members">
|
|
306
|
-
<div class="member">
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
81
|
|
|
311
|
-
|
|
312
|
-
<a class="href-link" href="#CollisionDetectionByRender">#</a>
|
|
82
|
+
|
|
313
83
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
84
|
+
<dt>
|
|
85
|
+
<div class="nameContainer">
|
|
86
|
+
<h4 class="name" id="CollisionDetectionByRender">
|
|
317
87
|
|
|
318
|
-
|
|
319
|
-
|
|
88
|
+
new CollisionDetectionByRender<span class="signature">(viewer, collider, <span class="optional">options</span>)</span>
|
|
89
|
+
</h4>
|
|
320
90
|
|
|
91
|
+
|
|
92
|
+
<div class="tag-source">
|
|
93
|
+
engineExtensions/analysis/CollisionDetectionByRender.js, line 132
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
</div>
|
|
321
97
|
|
|
322
98
|
|
|
99
|
+
</dt>
|
|
100
|
+
<dd>
|
|
101
|
+
|
|
102
|
+
|
|
323
103
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
<h4>参数:</h4>
|
|
333
104
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<table class="params">
|
|
112
|
+
<thead>
|
|
113
|
+
<tr>
|
|
114
|
+
|
|
115
|
+
<th>Name</th>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
<th>Type</th>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<th class="last">Description</th>
|
|
123
|
+
</tr>
|
|
124
|
+
</thead>
|
|
125
|
+
|
|
126
|
+
<tbody>
|
|
127
|
+
|
|
128
|
+
|
|
337
129
|
<tr>
|
|
338
130
|
|
|
339
|
-
|
|
131
|
+
<td class="name"><code>viewer</code></td>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<td class="type">
|
|
340
135
|
|
|
136
|
+
|
|
137
|
+
<span class="param-type">Viewer</span>
|
|
341
138
|
|
|
342
|
-
<th>类型</th>
|
|
343
139
|
|
|
344
140
|
|
|
345
|
-
|
|
141
|
+
</td>
|
|
346
142
|
|
|
347
|
-
|
|
348
|
-
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<td class="description last">
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<p>场景视图</p></td>
|
|
349
153
|
</tr>
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
<tr>
|
|
355
158
|
|
|
356
|
-
<
|
|
357
|
-
|
|
358
|
-
<td class="name"><code>viewer</code></td>
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
<td class="type">
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
<span class="param-type">Viewer</span>
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
</td>
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
<td class="default">
|
|
372
|
-
|
|
373
|
-
</td>
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
<td class="description last"><p>场景视图</p></td>
|
|
377
|
-
</tr>
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
159
|
+
<td class="name"><code>collider</code></td>
|
|
383
160
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
<td class="type">
|
|
390
|
-
|
|
391
|
-
|
|
161
|
+
|
|
162
|
+
<td class="type">
|
|
163
|
+
|
|
164
|
+
|
|
392
165
|
<span class="param-type">Cesium.Camera</span>
|
|
393
166
|
|
|
|
394
167
|
|
|
@@ -398,767 +171,679 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
398
171
|
<span class="param-type">Cesium.Entity</span>
|
|
399
172
|
|
|
400
173
|
|
|
401
|
-
|
|
402
|
-
</td>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
<td class="default">
|
|
406
|
-
|
|
407
|
-
</td>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<td class="description last"><p>做碰撞检测的对象</p></td>
|
|
411
|
-
</tr>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
174
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
175
|
+
</td>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<td class="description last">
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<p>做碰撞检测的对象</p></td>
|
|
187
|
+
</tr>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<tr>
|
|
192
|
+
|
|
193
|
+
<td class="name"><code>options</code></td>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<td class="type">
|
|
197
|
+
|
|
198
|
+
|
|
426
199
|
<span class="param-type">Object</span>
|
|
427
200
|
|
|
428
201
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
<td class="name"><code>colliderLength</code></td>
|
|
447
|
-
|
|
202
|
+
|
|
203
|
+
</td>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
<td class="description last">
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<span class="optional"> 可选</span>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<p>可选参数</p>
|
|
217
|
+
|
|
448
218
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
219
|
+
<table class="params">
|
|
220
|
+
<thead>
|
|
221
|
+
<tr>
|
|
222
|
+
|
|
223
|
+
<th>Name</th>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
<th>Type</th>
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
<th>Default</th>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
<th class="last">Description</th>
|
|
233
|
+
</tr>
|
|
234
|
+
</thead>
|
|
235
|
+
|
|
236
|
+
<tbody>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<tr>
|
|
240
|
+
|
|
241
|
+
<td class="name"><code>colliderLength</code></td>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<td class="type">
|
|
245
|
+
|
|
246
|
+
|
|
452
247
|
<span class="param-type">Number</span>
|
|
453
248
|
|
|
454
249
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
250
|
+
|
|
251
|
+
</td>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<td class="default">
|
|
255
|
+
|
|
256
|
+
0.4
|
|
257
|
+
|
|
258
|
+
</td>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<td class="description last">
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
<span class="optional"> 可选</span>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<p>碰撞盒的长(单位米)</p></td>
|
|
271
|
+
</tr>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<tr>
|
|
276
|
+
|
|
277
|
+
<td class="name"><code>colliderWidth</code></td>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
<td class="type">
|
|
281
|
+
|
|
282
|
+
|
|
480
283
|
<span class="param-type">Number</span>
|
|
481
284
|
|
|
482
285
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
286
|
+
|
|
287
|
+
</td>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<td class="default">
|
|
291
|
+
|
|
292
|
+
0.4
|
|
293
|
+
|
|
294
|
+
</td>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<td class="description last">
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
<span class="optional"> 可选</span>
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<p>碰撞盒的宽(单位米)</p></td>
|
|
307
|
+
</tr>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
<tr>
|
|
312
|
+
|
|
313
|
+
<td class="name"><code>colliderHeight</code></td>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
<td class="type">
|
|
317
|
+
|
|
318
|
+
|
|
508
319
|
<span class="param-type">Number</span>
|
|
509
320
|
|
|
510
321
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
322
|
+
|
|
323
|
+
</td>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<td class="default">
|
|
327
|
+
|
|
328
|
+
1.7
|
|
329
|
+
|
|
330
|
+
</td>
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
<td class="description last">
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
<span class="optional"> 可选</span>
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<p>碰撞盒的高(单位米)
|
|
523
343
|
<br/><br/>
|
|
524
344
|
原点高度属性用于通知碰撞检测实例碰撞对象的坐标原点所在的高度,如单体模型的坐标原点有的在其底部,有的在其中间。<br/>
|
|
525
345
|
默认值设为1.7是因为默认的碰撞对象是相机。</p></td>
|
|
526
|
-
</tr>
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
346
|
+
</tr>
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
<tr>
|
|
351
|
+
|
|
352
|
+
<td class="name"><code>colliderPositionOffset</code></td>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
<td class="type">
|
|
356
|
+
|
|
357
|
+
|
|
539
358
|
<span class="param-type">Cesium.Cartesian3</span>
|
|
540
359
|
|
|
541
360
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
361
|
+
|
|
362
|
+
</td>
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
<td class="default">
|
|
366
|
+
|
|
367
|
+
(0,0,0)
|
|
368
|
+
|
|
369
|
+
</td>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
<td class="description last">
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
<span class="optional"> 可选</span>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<p>碰撞盒的位置偏移(单位米)</p></td>
|
|
382
|
+
</tr>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
<tr>
|
|
387
|
+
|
|
388
|
+
<td class="name"><code>maxPassableHeight</code></td>
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
<td class="type">
|
|
392
|
+
|
|
393
|
+
|
|
567
394
|
<span class="param-type">Number</span>
|
|
568
395
|
|
|
569
396
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
397
|
+
|
|
398
|
+
</td>
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
<td class="default">
|
|
402
|
+
|
|
403
|
+
0.5
|
|
404
|
+
|
|
405
|
+
</td>
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<td class="description last">
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<span class="optional"> 可选</span>
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
<p>最大可通过高度(单位米)</p></td>
|
|
418
|
+
</tr>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<tr>
|
|
423
|
+
|
|
424
|
+
<td class="name"><code>highPrecision</code></td>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<td class="type">
|
|
428
|
+
|
|
429
|
+
|
|
595
430
|
<span class="param-type">Boolean</span>
|
|
596
431
|
|
|
597
432
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
433
|
+
|
|
434
|
+
</td>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
<td class="default">
|
|
438
|
+
|
|
439
|
+
false
|
|
440
|
+
|
|
441
|
+
</td>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<td class="description last">
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<span class="optional"> 可选</span>
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
<p>是否开启高精度碰撞检测
|
|
610
454
|
<br/><br/>
|
|
611
455
|
基于性能考虑默认不开启高精度碰撞检测。非高精度状态下只检测碰撞盒的边框所覆盖的区域,高精度状态下对碰撞盒覆盖的整个区域做检测。</p></td>
|
|
612
|
-
</tr>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
456
|
+
</tr>
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
<tr>
|
|
461
|
+
|
|
462
|
+
<td class="name"><code>debugShowDepthMap</code></td>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<td class="type">
|
|
466
|
+
|
|
467
|
+
|
|
625
468
|
<span class="param-type">Boolean</span>
|
|
626
469
|
|
|
627
470
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
471
|
+
|
|
472
|
+
</td>
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
<td class="default">
|
|
476
|
+
|
|
477
|
+
false
|
|
478
|
+
|
|
479
|
+
</td>
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
<td class="description last">
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
<span class="optional"> 可选</span>
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
<p>检查深度图(debug模式)</p></td>
|
|
492
|
+
</tr>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
<tr>
|
|
497
|
+
|
|
498
|
+
<td class="name"><code>debugShowCollider</code></td>
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
<td class="type">
|
|
502
|
+
|
|
503
|
+
|
|
653
504
|
<span class="param-type">Boolean</span>
|
|
654
505
|
|
|
655
506
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
507
|
+
|
|
508
|
+
</td>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
<td class="default">
|
|
512
|
+
|
|
513
|
+
false
|
|
514
|
+
|
|
515
|
+
</td>
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
<td class="description last">
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
<span class="optional"> 可选</span>
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
<p>检查碰撞盒(debug模式)
|
|
668
528
|
<br/><br/>
|
|
669
529
|
debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果,所以并不能精确的表示碰撞盒与场景的碰撞关系。<br/>
|
|
670
530
|
深度图中可查看到较为精确的碰撞关系。<br/>
|
|
671
531
|
开启碰撞盒检查主要是为了方便调整碰撞盒与模型相匹配。<br/>
|
|
672
532
|
相机做为碰撞对象时,开启碰撞盒检查,相机会被碰撞盒包在里面。</p></td>
|
|
673
|
-
</tr>
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
</
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
533
|
+
</tr>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
</tbody>
|
|
537
|
+
</table>
|
|
538
|
+
</td>
|
|
539
|
+
</tr>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
</tbody>
|
|
543
|
+
</table>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
690
547
|
<dl class="details">
|
|
691
|
-
|
|
692
548
|
|
|
693
|
-
|
|
549
|
+
|
|
694
550
|
|
|
695
|
-
|
|
696
551
|
|
|
697
|
-
|
|
698
552
|
|
|
699
553
|
|
|
700
554
|
|
|
701
|
-
|
|
702
555
|
|
|
703
|
-
|
|
704
556
|
|
|
705
|
-
|
|
706
557
|
|
|
707
|
-
|
|
708
558
|
|
|
709
|
-
|
|
710
559
|
|
|
711
|
-
|
|
712
560
|
|
|
713
|
-
|
|
714
561
|
|
|
715
562
|
|
|
716
|
-
|
|
717
563
|
|
|
718
|
-
|
|
719
564
|
|
|
720
|
-
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
721
568
|
|
|
722
569
|
</dl>
|
|
723
570
|
|
|
571
|
+
|
|
572
|
+
|
|
724
573
|
|
|
574
|
+
|
|
725
575
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
<h5>示例</h5>
|
|
747
576
|
|
|
748
577
|
|
|
749
|
-
<pre class="prettyprint"><code>const { CollisionDetectionByRender } = zondy.cesium
|
|
750
578
|
camera.setView({
|
|
751
579
|
destination: result.computedPosition,
|
|
752
580
|
orientation: {
|
|
753
581
|
heading: camera.heading,
|
|
754
582
|
pitch: camera.pitch,
|
|
755
583
|
roll: 0.0
|
|
756
584
|
}
|
|
757
585
|
});
|
|
758
586
|
maximumScreenSpaceError: 0,
|
|
759
587
|
autoReset: false,
|
|
760
588
|
loaded: function(layer) {
|
|
761
589
|
m3d = layer;
|
|
762
590
|
collisionDetection = new CollisionDetectionByRender(viewer, layer._root, {
|
|
763
591
|
colliderLength: 0.8, // 设置碰撞盒长
|
|
764
592
|
colliderWidth: 0.6, // 设置碰撞盒宽
|
|
765
593
|
colliderHeight: 1, // 设置碰撞盒高
|
|
766
594
|
colliderPositionOffset: new Cesium.Cartesian3(0, 0, 0.5), // 设置碰撞盒偏移
|
|
767
595
|
debugShowCollider: true, // 打开debug模式,碰撞盒检查
|
|
768
596
|
debugShowDepthMap: true // 打开debug模式,深度图检查
|
|
769
597
|
});
|
|
770
598
|
}
|
|
771
599
|
// 获取模型变换矩阵
|
|
772
600
|
let modelMatrix = m3d.tileset.modelMatrix;
|
|
773
601
|
// 求模型变换矩阵的逆
|
|
774
602
|
Cesium.Matrix4.inverse(modelMatrix, invModelMat);
|
|
775
603
|
// 未碰撞移动到该位置
|
|
776
604
|
Cesium.Matrix4.setTranslation(transform, result.computedPosition, newTransform);
|
|
777
605
|
// 乘上模型变换矩阵的逆矩阵
|
|
778
606
|
Cesium.Matrix4.multiply(invModelMat, newTransform, newTransform);
|
|
779
607
|
// 设置新的变换矩阵
|
|
780
608
|
m3d.transform = Cesium.Matrix4.clone(newTransform);
|
|
781
609
|
name: url,
|
|
782
610
|
position: position,
|
|
783
611
|
orientation: orientation,
|
|
784
612
|
model: {
|
|
785
613
|
uri: url,
|
|
786
614
|
minimumPixelSize: 32,
|
|
787
615
|
maximumScale: 20000,
|
|
788
616
|
},
|
|
789
617
|
colliderLength: 2,
|
|
790
618
|
colliderWidth: 0.6,
|
|
791
619
|
colliderHeight: 0.6,
|
|
792
620
|
colliderPositionOffset: new Cesium.Cartesian3(0, 0, 0.6)
|
|
793
621
|
entity.position = result.computedPosition;
|
|
794
622
|
debugShowCollider: false, // 相机做为碰撞检测对象时不打开碰撞盒检查
|
|
795
623
|
debugShowDepthMap: true, // 打开debug模式,深度图检查
|
|
796
624
|
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
<h5>Example</h5>
|
|
630
|
+
|
|
797
631
|
|
|
632
|
+
|
|
633
|
+
<pre class="prettyprint"><code>const { CollisionDetectionByRender } = zondy.cesium
|
|
798
634
|
camera.setView({
|
|
799
635
|
destination: result.computedPosition,
|
|
800
636
|
orientation: {
|
|
801
637
|
heading: camera.heading,
|
|
802
638
|
pitch: camera.pitch,
|
|
803
639
|
roll: 0.0
|
|
804
640
|
}
|
|
805
641
|
});
|
|
806
642
|
maximumScreenSpaceError: 0,
|
|
807
643
|
autoReset: false,
|
|
808
644
|
loaded: function(layer) {
|
|
809
645
|
m3d = layer;
|
|
810
646
|
collisionDetection = new CollisionDetectionByRender(viewer, layer._root, {
|
|
811
647
|
colliderLength: 0.8, // 设置碰撞盒长
|
|
812
648
|
colliderWidth: 0.6, // 设置碰撞盒宽
|
|
813
649
|
colliderHeight: 1, // 设置碰撞盒高
|
|
814
650
|
colliderPositionOffset: new Cesium.Cartesian3(0, 0, 0.5), // 设置碰撞盒偏移
|
|
815
651
|
debugShowCollider: true, // 打开debug模式,碰撞盒检查
|
|
816
652
|
debugShowDepthMap: true // 打开debug模式,深度图检查
|
|
817
653
|
});
|
|
818
654
|
}
|
|
819
655
|
// 获取模型变换矩阵
|
|
820
656
|
let modelMatrix = m3d.tileset.modelMatrix;
|
|
821
657
|
// 求模型变换矩阵的逆
|
|
822
658
|
Cesium.Matrix4.inverse(modelMatrix, invModelMat);
|
|
823
659
|
// 未碰撞移动到该位置
|
|
824
660
|
Cesium.Matrix4.setTranslation(transform, result.computedPosition, newTransform);
|
|
825
661
|
// 乘上模型变换矩阵的逆矩阵
|
|
826
662
|
Cesium.Matrix4.multiply(invModelMat, newTransform, newTransform);
|
|
827
663
|
// 设置新的变换矩阵
|
|
828
664
|
m3d.transform = Cesium.Matrix4.clone(newTransform);
|
|
829
665
|
name: url,
|
|
830
666
|
position: position,
|
|
831
667
|
orientation: orientation,
|
|
832
668
|
model: {
|
|
833
669
|
uri: url,
|
|
834
670
|
minimumPixelSize: 32,
|
|
835
671
|
maximumScale: 20000,
|
|
836
672
|
},
|
|
837
673
|
colliderLength: 2,
|
|
838
674
|
colliderWidth: 0.6,
|
|
839
675
|
colliderHeight: 0.6,
|
|
840
676
|
colliderPositionOffset: new Cesium.Cartesian3(0, 0, 0.6)
|
|
841
677
|
entity.position = result.computedPosition;
|
|
842
678
|
debugShowCollider: false, // 相机做为碰撞检测对象时不打开碰撞盒检查
|
|
843
679
|
debugShowDepthMap: true, // 打开debug模式,深度图检查
|
|
680
|
+
|
|
844
681
|
|
|
682
|
+
|
|
683
|
+
</dd>
|
|
845
684
|
|
|
846
|
-
</div>
|
|
847
|
-
</div>
|
|
848
|
-
</div>
|
|
849
|
-
|
|
850
685
|
|
|
851
686
|
</div>
|
|
852
687
|
|
|
853
688
|
|
|
854
689
|
|
|
855
690
|
|
|
856
|
-
|
|
857
691
|
|
|
858
|
-
|
|
859
692
|
|
|
860
|
-
|
|
861
693
|
|
|
862
|
-
|
|
863
694
|
|
|
864
|
-
|
|
865
695
|
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
<div class="member">
|
|
871
|
-
|
|
872
|
-
<span class="method-parameter is-pulled-right">
|
|
873
|
-
<label>类型:</label>
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
<h3 class="subsection-title">Members</h3>
|
|
874
700
|
|
|
875
|
-
<
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
<
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
<
|
|
887
|
-
|
|
701
|
+
<dl>
|
|
702
|
+
|
|
703
|
+
<dt>
|
|
704
|
+
<div class="nameContainer">
|
|
705
|
+
<h4 class="name" id="collider">collider<span class="type-signature type cesium.camera">Cesium.Camera</span> <span class="type-signature type cesium.mapgism3d">Cesium.MapGISM3D</span> <span class="type-signature type cesium.entity">Cesium.Entity</span> </h4>
|
|
706
|
+
</div>
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
</dt>
|
|
710
|
+
<dd>
|
|
711
|
+
|
|
712
|
+
<div class="description">
|
|
713
|
+
<p>碰撞检测对象</p>
|
|
714
|
+
</div>
|
|
888
715
|
|
|
889
|
-
|
|
890
|
-
<span class='tag'>readonly</span>
|
|
891
|
-
|
|
892
716
|
|
|
893
|
-
<span class="code-name">
|
|
894
|
-
collider
|
|
895
|
-
</span>
|
|
896
717
|
|
|
897
|
-
</h4>
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
<div class="description">
|
|
903
|
-
<p>碰撞检测对象</p>
|
|
904
|
-
</div>
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
718
|
<dl class="details">
|
|
911
|
-
|
|
912
719
|
|
|
913
|
-
|
|
720
|
+
|
|
914
721
|
|
|
915
|
-
|
|
916
722
|
|
|
917
|
-
|
|
918
723
|
|
|
919
724
|
|
|
920
725
|
|
|
921
|
-
|
|
922
726
|
|
|
923
|
-
|
|
924
727
|
|
|
925
|
-
|
|
926
728
|
|
|
927
|
-
|
|
928
729
|
|
|
929
|
-
|
|
930
730
|
|
|
931
|
-
|
|
932
731
|
|
|
933
|
-
|
|
934
732
|
|
|
935
733
|
|
|
936
|
-
|
|
937
734
|
|
|
938
|
-
|
|
939
735
|
|
|
940
|
-
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
941
739
|
|
|
942
740
|
</dl>
|
|
943
741
|
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
</dd>
|
|
944
745
|
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
</div>
|
|
949
|
-
|
|
950
|
-
<div class="member">
|
|
951
|
-
|
|
952
|
-
<span class="method-parameter is-pulled-right">
|
|
953
|
-
<label>类型:</label>
|
|
954
746
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
747
|
+
|
|
748
|
+
<dt>
|
|
749
|
+
<div class="nameContainer">
|
|
750
|
+
<h4 class="name" id="colliderHeight">colliderHeight<span class="type-signature type number">Number</span> </h4>
|
|
751
|
+
</div>
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
</dt>
|
|
755
|
+
<dd>
|
|
756
|
+
|
|
757
|
+
<div class="description">
|
|
758
|
+
<p>碰撞盒高</p>
|
|
759
|
+
</div>
|
|
760
|
+
|
|
962
761
|
|
|
963
|
-
<span class="code-name">
|
|
964
|
-
colliderHeight
|
|
965
|
-
</span>
|
|
966
762
|
|
|
967
|
-
</h4>
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
<div class="description">
|
|
973
|
-
<p>碰撞盒高</p>
|
|
974
|
-
</div>
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
763
|
<dl class="details">
|
|
981
|
-
|
|
982
764
|
|
|
983
|
-
|
|
765
|
+
|
|
984
766
|
|
|
985
|
-
|
|
986
767
|
|
|
987
|
-
|
|
988
768
|
|
|
989
769
|
|
|
990
770
|
|
|
991
|
-
|
|
992
771
|
|
|
993
|
-
|
|
994
772
|
|
|
995
|
-
|
|
996
773
|
|
|
997
|
-
|
|
998
774
|
|
|
999
|
-
|
|
1000
775
|
|
|
1001
|
-
|
|
1002
776
|
|
|
1003
|
-
|
|
1004
777
|
|
|
1005
778
|
|
|
1006
|
-
|
|
1007
779
|
|
|
1008
|
-
|
|
1009
780
|
|
|
1010
|
-
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
1011
784
|
|
|
1012
785
|
</dl>
|
|
1013
786
|
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
</dd>
|
|
1014
790
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
</div>
|
|
1019
|
-
|
|
1020
|
-
<div class="member">
|
|
1021
|
-
|
|
1022
|
-
<span class="method-parameter is-pulled-right">
|
|
1023
|
-
<label>类型:</label>
|
|
1024
791
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
792
|
+
|
|
793
|
+
<dt>
|
|
794
|
+
<div class="nameContainer">
|
|
795
|
+
<h4 class="name" id="colliderLength">colliderLength<span class="type-signature type number">Number</span> </h4>
|
|
796
|
+
</div>
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
</dt>
|
|
800
|
+
<dd>
|
|
801
|
+
|
|
802
|
+
<div class="description">
|
|
803
|
+
<p>碰撞盒长</p>
|
|
804
|
+
</div>
|
|
805
|
+
|
|
1032
806
|
|
|
1033
|
-
<span class="code-name">
|
|
1034
|
-
colliderLength
|
|
1035
|
-
</span>
|
|
1036
807
|
|
|
1037
|
-
</h4>
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
<div class="description">
|
|
1043
|
-
<p>碰撞盒长</p>
|
|
1044
|
-
</div>
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
808
|
<dl class="details">
|
|
1051
|
-
|
|
1052
809
|
|
|
1053
|
-
|
|
810
|
+
|
|
1054
811
|
|
|
1055
|
-
|
|
1056
812
|
|
|
1057
|
-
|
|
1058
813
|
|
|
1059
814
|
|
|
1060
815
|
|
|
1061
|
-
|
|
1062
816
|
|
|
1063
|
-
|
|
1064
817
|
|
|
1065
|
-
|
|
1066
818
|
|
|
1067
|
-
|
|
1068
819
|
|
|
1069
|
-
|
|
1070
820
|
|
|
1071
|
-
|
|
1072
821
|
|
|
1073
|
-
|
|
1074
822
|
|
|
1075
823
|
|
|
1076
|
-
|
|
1077
824
|
|
|
1078
|
-
|
|
1079
825
|
|
|
1080
|
-
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
1081
829
|
|
|
1082
830
|
</dl>
|
|
1083
831
|
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
</dd>
|
|
1084
835
|
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
</div>
|
|
1089
|
-
|
|
1090
|
-
<div class="member">
|
|
1091
|
-
|
|
1092
|
-
<span class="method-parameter is-pulled-right">
|
|
1093
|
-
<label>类型:</label>
|
|
1094
836
|
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
837
|
+
|
|
838
|
+
<dt>
|
|
839
|
+
<div class="nameContainer">
|
|
840
|
+
<h4 class="name" id="colliderPositionOffset">colliderPositionOffset<span class="type-signature type cesium.cartesian3">Cesium.Cartesian3</span> </h4>
|
|
841
|
+
</div>
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
</dt>
|
|
845
|
+
<dd>
|
|
846
|
+
|
|
847
|
+
<div class="description">
|
|
848
|
+
<p>碰撞盒位置偏移</p>
|
|
849
|
+
</div>
|
|
850
|
+
|
|
1102
851
|
|
|
1103
|
-
<span class="code-name">
|
|
1104
|
-
colliderPositionOffset
|
|
1105
|
-
</span>
|
|
1106
852
|
|
|
1107
|
-
</h4>
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
<div class="description">
|
|
1113
|
-
<p>碰撞盒位置偏移</p>
|
|
1114
|
-
</div>
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
853
|
<dl class="details">
|
|
1121
|
-
|
|
1122
854
|
|
|
1123
|
-
|
|
855
|
+
|
|
1124
856
|
|
|
1125
|
-
|
|
1126
857
|
|
|
1127
|
-
|
|
1128
858
|
|
|
1129
859
|
|
|
1130
860
|
|
|
1131
|
-
|
|
1132
861
|
|
|
1133
|
-
|
|
1134
862
|
|
|
1135
|
-
|
|
1136
863
|
|
|
1137
|
-
|
|
1138
864
|
|
|
1139
|
-
|
|
1140
865
|
|
|
1141
|
-
|
|
1142
866
|
|
|
1143
|
-
|
|
1144
867
|
|
|
1145
868
|
|
|
1146
|
-
|
|
1147
869
|
|
|
1148
|
-
|
|
1149
870
|
|
|
1150
|
-
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
1151
874
|
|
|
1152
875
|
</dl>
|
|
1153
876
|
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
</dd>
|
|
1154
880
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
</div>
|
|
1159
|
-
|
|
1160
|
-
<div class="member">
|
|
1161
|
-
|
|
1162
|
-
<span class="method-parameter is-pulled-right">
|
|
1163
|
-
<label>类型:</label>
|
|
1164
881
|
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
882
|
+
|
|
883
|
+
<dt>
|
|
884
|
+
<div class="nameContainer">
|
|
885
|
+
<h4 class="name" id="colliderWidth">colliderWidth<span class="type-signature type number">Number</span> </h4>
|
|
886
|
+
</div>
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
</dt>
|
|
890
|
+
<dd>
|
|
891
|
+
|
|
892
|
+
<div class="description">
|
|
893
|
+
<p>碰撞盒宽</p>
|
|
894
|
+
</div>
|
|
895
|
+
|
|
1172
896
|
|
|
1173
|
-
<span class="code-name">
|
|
1174
|
-
colliderWidth
|
|
1175
|
-
</span>
|
|
1176
897
|
|
|
1177
|
-
</h4>
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
<div class="description">
|
|
1183
|
-
<p>碰撞盒宽</p>
|
|
1184
|
-
</div>
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
898
|
<dl class="details">
|
|
1191
|
-
|
|
1192
899
|
|
|
1193
|
-
|
|
900
|
+
|
|
1194
901
|
|
|
1195
|
-
|
|
1196
902
|
|
|
1197
|
-
|
|
1198
903
|
|
|
1199
904
|
|
|
1200
905
|
|
|
1201
|
-
|
|
1202
906
|
|
|
1203
|
-
|
|
1204
907
|
|
|
1205
|
-
|
|
1206
908
|
|
|
1207
|
-
|
|
1208
909
|
|
|
1209
|
-
|
|
1210
910
|
|
|
1211
|
-
|
|
1212
911
|
|
|
1213
|
-
|
|
1214
912
|
|
|
1215
913
|
|
|
1216
|
-
|
|
1217
914
|
|
|
1218
|
-
|
|
1219
915
|
|
|
1220
|
-
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
1221
919
|
|
|
1222
920
|
</dl>
|
|
1223
921
|
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
</dd>
|
|
1224
925
|
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
</div>
|
|
1229
|
-
|
|
1230
|
-
<div class="member">
|
|
1231
|
-
|
|
1232
|
-
<span class="method-parameter is-pulled-right">
|
|
1233
|
-
<label>类型:</label>
|
|
1234
926
|
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
<h4 class="name" id="highPrecision">
|
|
1241
|
-
<a class="href-link" href="#highPrecision">#</a>
|
|
927
|
+
|
|
928
|
+
<dt>
|
|
929
|
+
<div class="nameContainer">
|
|
930
|
+
<h4 class="name" id="highPrecision">highPrecision<span class="type-signature type boolean">Boolean</span> </h4>
|
|
931
|
+
</div>
|
|
1242
932
|
|
|
1243
|
-
<span class="code-name">
|
|
1244
|
-
highPrecision
|
|
1245
|
-
</span>
|
|
1246
933
|
|
|
1247
|
-
</
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
<div class="description">
|
|
1253
|
-
<p>是否开启高精度模式
|
|
934
|
+
</dt>
|
|
935
|
+
<dd>
|
|
936
|
+
|
|
937
|
+
<div class="description">
|
|
938
|
+
<p>是否开启高精度模式
|
|
1254
939
|
<br/></p>
|
|
1255
940
|
<table>
|
|
1256
941
|
<tr>
|
|
@@ -1174,505 +859,542 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1174
859
|
</td>
|
|
1175
860
|
</tr>
|
|
1176
861
|
</table>
|
|
1177
|
-
</div>
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
862
|
+
</div>
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
1183
866
|
<dl class="details">
|
|
1184
|
-
|
|
1185
867
|
|
|
1186
|
-
|
|
868
|
+
|
|
1187
869
|
|
|
1188
|
-
|
|
1189
870
|
|
|
1190
|
-
|
|
1191
871
|
|
|
1192
872
|
|
|
1193
873
|
|
|
1194
|
-
|
|
1195
874
|
|
|
1196
|
-
|
|
1197
875
|
|
|
1198
|
-
|
|
1199
876
|
|
|
1200
|
-
|
|
1201
877
|
|
|
1202
|
-
|
|
1203
878
|
|
|
1204
|
-
|
|
1205
879
|
|
|
1206
|
-
|
|
1207
880
|
|
|
1208
881
|
|
|
1209
|
-
|
|
1210
882
|
|
|
1211
|
-
|
|
1212
883
|
|
|
1213
|
-
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
1214
887
|
|
|
1215
888
|
</dl>
|
|
1216
889
|
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
</dd>
|
|
1217
893
|
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
</div>
|
|
1222
|
-
|
|
1223
|
-
<div class="member">
|
|
1224
|
-
|
|
1225
|
-
<span class="method-parameter is-pulled-right">
|
|
1226
|
-
<label>类型:</label>
|
|
1227
894
|
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
895
|
+
|
|
896
|
+
<dt>
|
|
897
|
+
<div class="nameContainer">
|
|
898
|
+
<h4 class="name" id="maxPassableHeight">maxPassableHeight<span class="type-signature type number">Number</span> </h4>
|
|
899
|
+
</div>
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
</dt>
|
|
903
|
+
<dd>
|
|
904
|
+
|
|
905
|
+
<div class="description">
|
|
906
|
+
<p>最大可通过高度</p>
|
|
907
|
+
</div>
|
|
908
|
+
|
|
1235
909
|
|
|
1236
|
-
<span class="code-name">
|
|
1237
|
-
maxPassableHeight
|
|
1238
|
-
</span>
|
|
1239
910
|
|
|
1240
|
-
</h4>
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
<div class="description">
|
|
1246
|
-
<p>最大可通过高度</p>
|
|
1247
|
-
</div>
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
911
|
<dl class="details">
|
|
1254
|
-
|
|
1255
912
|
|
|
1256
|
-
|
|
913
|
+
|
|
1257
914
|
|
|
1258
|
-
|
|
1259
915
|
|
|
1260
|
-
|
|
1261
916
|
|
|
1262
917
|
|
|
1263
918
|
|
|
1264
|
-
|
|
1265
919
|
|
|
1266
|
-
|
|
1267
920
|
|
|
1268
|
-
|
|
1269
921
|
|
|
1270
|
-
|
|
1271
922
|
|
|
1272
|
-
|
|
1273
923
|
|
|
1274
|
-
|
|
1275
924
|
|
|
1276
|
-
|
|
1277
925
|
|
|
1278
926
|
|
|
1279
|
-
|
|
1280
927
|
|
|
1281
|
-
|
|
1282
928
|
|
|
1283
|
-
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
1284
932
|
|
|
1285
933
|
</dl>
|
|
1286
934
|
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
</div>
|
|
1292
|
-
|
|
1293
|
-
</div>
|
|
1294
|
-
</div>
|
|
1295
935
|
|
|
936
|
+
|
|
937
|
+
</dd>
|
|
1296
938
|
|
|
939
|
+
</dl>
|
|
1297
940
|
|
|
1298
|
-
<div class='vertical-section'>
|
|
1299
|
-
<h3 id='function'>方法</h3>
|
|
1300
|
-
<div class="members">
|
|
1301
|
-
|
|
1302
|
-
<div class="member">
|
|
1303
941
|
|
|
942
|
+
|
|
1304
943
|
|
|
1305
944
|
|
|
1306
|
-
|
|
1307
|
-
<a class="href-link" href="#checkCollision">#</a>
|
|
945
|
+
<h3 class="subsection-title">Methods</h3>
|
|
1308
946
|
|
|
1309
|
-
<
|
|
947
|
+
<dl>
|
|
1310
948
|
|
|
1311
|
-
|
|
949
|
+
<dt>
|
|
950
|
+
<div class="nameContainer">
|
|
951
|
+
<h4 class="name" id="checkCollision">
|
|
1312
952
|
|
|
1313
|
-
|
|
1314
|
-
|
|
953
|
+
checkCollision<span class="signature">(targetPosition, heading, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
954
|
+
</h4>
|
|
1315
955
|
|
|
956
|
+
|
|
957
|
+
<div class="tag-source">
|
|
958
|
+
engineExtensions/analysis/CollisionDetectionByRender.js, line 1129
|
|
959
|
+
</div>
|
|
960
|
+
|
|
961
|
+
</div>
|
|
1316
962
|
|
|
1317
963
|
|
|
964
|
+
</dt>
|
|
965
|
+
<dd>
|
|
966
|
+
|
|
967
|
+
|
|
1318
968
|
<div class="description">
|
|
1319
969
|
<p>检测目标位置是否会碰撞,需要在场景渲染完成后即postRender事件中做检查。</p>
|
|
1320
970
|
</div>
|
|
1321
971
|
|
|
1322
972
|
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
<h4>参数:</h4>
|
|
1332
973
|
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
<table class="params">
|
|
981
|
+
<thead>
|
|
982
|
+
<tr>
|
|
983
|
+
|
|
984
|
+
<th>Name</th>
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
<th>Type</th>
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
<th>Default</th>
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
<th class="last">Description</th>
|
|
994
|
+
</tr>
|
|
995
|
+
</thead>
|
|
996
|
+
|
|
997
|
+
<tbody>
|
|
998
|
+
|
|
999
|
+
|
|
1336
1000
|
<tr>
|
|
1337
1001
|
|
|
1338
|
-
|
|
1002
|
+
<td class="name"><code>targetPosition</code></td>
|
|
1339
1003
|
|
|
1004
|
+
|
|
1005
|
+
<td class="type">
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1340
1009
|
|
|
1341
|
-
<th>类型</th>
|
|
1342
1010
|
|
|
1343
1011
|
|
|
1344
|
-
|
|
1012
|
+
</td>
|
|
1345
1013
|
|
|
1346
|
-
|
|
1347
|
-
|
|
1014
|
+
|
|
1015
|
+
<td class="default">
|
|
1016
|
+
|
|
1017
|
+
</td>
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
<td class="description last">
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
<p>目标位置</p></td>
|
|
1348
1028
|
</tr>
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
<tr>
|
|
1354
1033
|
|
|
1355
|
-
<
|
|
1356
|
-
|
|
1357
|
-
<td class="name"><code>targetPosition</code></td>
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
<td class="type">
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
<span class="param-type">Cesium.Cartesian3</span>
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
</td>
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
<td class="default">
|
|
1371
|
-
|
|
1372
|
-
</td>
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
<td class="description last"><p>目标位置</p></td>
|
|
1376
|
-
</tr>
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1034
|
+
<td class="name"><code>heading</code></td>
|
|
1382
1035
|
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
<td class="type">
|
|
1389
|
-
|
|
1390
|
-
|
|
1036
|
+
|
|
1037
|
+
<td class="type">
|
|
1038
|
+
|
|
1039
|
+
|
|
1391
1040
|
<span class="param-type">Number</span>
|
|
1392
1041
|
|
|
|
1393
1042
|
|
|
1394
1043
|
<span class="param-type">undefined</span>
|
|
1395
1044
|
|
|
1396
1045
|
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1046
|
+
|
|
1047
|
+
</td>
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
<td class="default">
|
|
1051
|
+
|
|
1052
|
+
</td>
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
<td class="description last">
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
<p>碰撞体航向
|
|
1407
1063
|
<br/><br/>
|
|
1408
1064
|
置空时只做俯视图的检查。<br/></p></td>
|
|
1409
|
-
</tr>
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1065
|
+
</tr>
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
<tr>
|
|
1415
1070
|
|
|
1416
|
-
<
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1071
|
+
<td class="name"><code>options</code></td>
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
<td class="type">
|
|
1075
|
+
|
|
1076
|
+
|
|
1424
1077
|
<span class="param-type">Object</span>
|
|
1425
1078
|
|
|
1426
1079
|
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1080
|
+
|
|
1081
|
+
</td>
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
<td class="default">
|
|
1085
|
+
|
|
1086
|
+
{}
|
|
1087
|
+
|
|
1088
|
+
</td>
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
<td class="description last">
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
<span class="optional"> 可选</span>
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
<p>可选参数</p>
|
|
1101
|
+
|
|
1448
1102
|
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1103
|
+
<table class="params">
|
|
1104
|
+
<thead>
|
|
1105
|
+
<tr>
|
|
1106
|
+
|
|
1107
|
+
<th>Name</th>
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
<th>Type</th>
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
<th>Default</th>
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
<th class="last">Description</th>
|
|
1117
|
+
</tr>
|
|
1118
|
+
</thead>
|
|
1119
|
+
|
|
1120
|
+
<tbody>
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
<tr>
|
|
1124
|
+
|
|
1125
|
+
<td class="name"><code>colliderLength</code></td>
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
<td class="type">
|
|
1129
|
+
|
|
1130
|
+
|
|
1452
1131
|
<span class="param-type">Number</span>
|
|
1453
1132
|
|
|
1454
1133
|
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1134
|
+
|
|
1135
|
+
</td>
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
<td class="default">
|
|
1139
|
+
|
|
1140
|
+
</td>
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
<td class="description last">
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
<span class="optional"> 可选</span>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
<p>碰撞盒长,默认值取实例的同名属性值</p></td>
|
|
1153
|
+
</tr>
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
<tr>
|
|
1158
|
+
|
|
1159
|
+
<td class="name"><code>colliderWidth</code></td>
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
<td class="type">
|
|
1163
|
+
|
|
1164
|
+
|
|
1478
1165
|
<span class="param-type">Number</span>
|
|
1479
1166
|
|
|
1480
1167
|
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1168
|
+
|
|
1169
|
+
</td>
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
<td class="default">
|
|
1173
|
+
|
|
1174
|
+
</td>
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
<td class="description last">
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
<span class="optional"> 可选</span>
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
<p>碰撞盒宽,默认值取实例的同名属性值</p></td>
|
|
1187
|
+
</tr>
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
<tr>
|
|
1192
|
+
|
|
1193
|
+
<td class="name"><code>colliderHeight</code></td>
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
<td class="type">
|
|
1197
|
+
|
|
1198
|
+
|
|
1504
1199
|
<span class="param-type">Number</span>
|
|
1505
1200
|
|
|
1506
1201
|
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1202
|
+
|
|
1203
|
+
</td>
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
<td class="default">
|
|
1207
|
+
|
|
1208
|
+
</td>
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
<td class="description last">
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
<span class="optional"> 可选</span>
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
<p>碰撞盒高,默认值取实例的同名属性值</p></td>
|
|
1221
|
+
</tr>
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
<tr>
|
|
1226
|
+
|
|
1227
|
+
<td class="name"><code>colliderPositionOffset</code></td>
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
<td class="type">
|
|
1231
|
+
|
|
1232
|
+
|
|
1530
1233
|
<span class="param-type">Cesium.Cartesian3</span>
|
|
1531
1234
|
|
|
1532
1235
|
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1236
|
+
|
|
1237
|
+
</td>
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
<td class="default">
|
|
1241
|
+
|
|
1242
|
+
(0,0,0)
|
|
1243
|
+
|
|
1244
|
+
</td>
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
<td class="description last">
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
<span class="optional"> 可选</span>
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
<p>碰撞盒的位置偏移,默认值取实例的同名属性值</p></td>
|
|
1257
|
+
</tr>
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
<tr>
|
|
1262
|
+
|
|
1263
|
+
<td class="name"><code>maxPassableHeight</code></td>
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
<td class="type">
|
|
1267
|
+
|
|
1268
|
+
|
|
1558
1269
|
<span class="param-type">Number</span>
|
|
1559
1270
|
|
|
1560
1271
|
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1272
|
+
|
|
1273
|
+
</td>
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
<td class="default">
|
|
1277
|
+
|
|
1278
|
+
</td>
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
<td class="description last">
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
<span class="optional"> 可选</span>
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
<p>最大可通过高度,默认值取实例的同名属性值</p></td>
|
|
1291
|
+
</tr>
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
<tr>
|
|
1296
|
+
|
|
1297
|
+
<td class="name"><code>highPrecision</code></td>
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
<td class="type">
|
|
1301
|
+
|
|
1302
|
+
|
|
1584
1303
|
<span class="param-type">Boolean</span>
|
|
1585
1304
|
|
|
1586
1305
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1306
|
+
|
|
1307
|
+
</td>
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
<td class="default">
|
|
1311
|
+
|
|
1312
|
+
false
|
|
1313
|
+
|
|
1314
|
+
</td>
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
<td class="description last">
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
<span class="optional"> 可选</span>
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
<p>是否开启高精度碰撞检测,默认值取实例的同名属性值</p></td>
|
|
1327
|
+
</tr>
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
</tbody>
|
|
1331
|
+
</table>
|
|
1332
|
+
</td>
|
|
1333
|
+
</tr>
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
</tbody>
|
|
1337
|
+
</table>
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1616
1341
|
<dl class="details">
|
|
1617
|
-
|
|
1618
1342
|
|
|
1619
|
-
|
|
1343
|
+
|
|
1620
1344
|
|
|
1621
|
-
|
|
1622
1345
|
|
|
1623
|
-
|
|
1624
1346
|
|
|
1625
1347
|
|
|
1626
1348
|
|
|
1627
|
-
|
|
1628
1349
|
|
|
1629
|
-
|
|
1630
1350
|
|
|
1631
|
-
|
|
1632
1351
|
|
|
1633
|
-
|
|
1634
1352
|
|
|
1635
|
-
|
|
1636
1353
|
|
|
1637
|
-
|
|
1638
1354
|
|
|
1639
|
-
|
|
1640
1355
|
|
|
1641
1356
|
|
|
1642
|
-
|
|
1643
1357
|
|
|
1644
|
-
|
|
1645
1358
|
|
|
1646
|
-
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1647
1362
|
|
|
1648
1363
|
</dl>
|
|
1649
1364
|
|
|
1365
|
+
|
|
1366
|
+
|
|
1650
1367
|
|
|
1368
|
+
|
|
1651
1369
|
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
<h5>Returns:</h5>
|
|
1376
|
+
|
|
1652
1377
|
|
|
1653
1378
|
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
<div class='columns method-parameter'>
|
|
1668
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
1669
|
-
<div class="column is-10">
|
|
1379
|
+
<table class="params">
|
|
1380
|
+
<thead>
|
|
1381
|
+
<tr>
|
|
1382
|
+
|
|
1383
|
+
<th>Type</th>
|
|
1384
|
+
<th class="last">Description</th>
|
|
1385
|
+
</tr>
|
|
1386
|
+
</thead>
|
|
1387
|
+
<tbody>
|
|
1388
|
+
|
|
1389
|
+
<tr>
|
|
1670
1390
|
|
|
1391
|
+
<td class="type">
|
|
1392
|
+
|
|
1393
|
+
Object
|
|
1394
|
+
|
|
1671
1395
|
|
|
1672
|
-
|
|
1673
|
-
<
|
|
1674
|
-
|
|
1675
|
-
<div class='param-desc column is-7'><p>碰撞检测结果数据结构说明:</p>
|
|
1396
|
+
</td>
|
|
1397
|
+
<td class="description last">碰撞检测结果数据结构说明:
|
|
1676
1398
|
<table>
|
|
1677
1399
|
<tr>
|
|
1678
1400
|
<td>result</td> <td>computedPosition</td> <td></td>
|
|
@@ -1686,166 +1408,109 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1686
1408
|
<tr>
|
|
1687
1409
|
<td>'passable'</td> <td>碰撞后抬高的位置</td> <td>发生了碰撞但可以通过,计算新的位置。</td>
|
|
1688
1410
|
</tr>
|
|
1689
|
-
</table></
|
|
1690
|
-
|
|
1411
|
+
</table></td>
|
|
1412
|
+
</tr>
|
|
1691
1413
|
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
<span class="param-type">Object</span>
|
|
1696
|
-
|
|
1414
|
+
</tbody>
|
|
1415
|
+
</table>
|
|
1697
1416
|
|
|
1698
|
-
</div>
|
|
1699
1417
|
|
|
1700
|
-
</div>
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
</div>
|
|
1704
|
-
</div>
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
</div>
|
|
1712
|
-
|
|
1713
|
-
<div class="member">
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
1418
|
|
|
1717
|
-
|
|
1718
|
-
|
|
1419
|
+
|
|
1420
|
+
</dd>
|
|
1421
|
+
|
|
1719
1422
|
|
|
1720
|
-
<span class="code-name" style="font-size:30px">
|
|
1721
1423
|
|
|
1722
|
-
|
|
1424
|
+
<dt>
|
|
1425
|
+
<div class="nameContainer">
|
|
1426
|
+
<h4 class="name" id="destory">
|
|
1723
1427
|
|
|
1724
|
-
|
|
1725
|
-
|
|
1428
|
+
destory<span class="signature">()</span>
|
|
1429
|
+
</h4>
|
|
1726
1430
|
|
|
1431
|
+
|
|
1432
|
+
<div class="tag-source">
|
|
1433
|
+
engineExtensions/analysis/CollisionDetectionByRender.js, line 672
|
|
1434
|
+
</div>
|
|
1435
|
+
|
|
1436
|
+
</div>
|
|
1727
1437
|
|
|
1728
1438
|
|
|
1439
|
+
</dt>
|
|
1440
|
+
<dd>
|
|
1441
|
+
|
|
1442
|
+
|
|
1729
1443
|
<div class="description">
|
|
1730
1444
|
<p>销毁碰撞检测</p>
|
|
1731
1445
|
</div>
|
|
1732
1446
|
|
|
1733
1447
|
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
|
|
1746
1455
|
<dl class="details">
|
|
1747
|
-
|
|
1748
1456
|
|
|
1749
|
-
|
|
1457
|
+
|
|
1750
1458
|
|
|
1751
|
-
|
|
1752
1459
|
|
|
1753
|
-
|
|
1754
1460
|
|
|
1755
1461
|
|
|
1756
1462
|
|
|
1757
|
-
|
|
1758
1463
|
|
|
1759
|
-
|
|
1760
1464
|
|
|
1761
|
-
|
|
1762
1465
|
|
|
1763
|
-
|
|
1764
1466
|
|
|
1765
|
-
|
|
1766
1467
|
|
|
1767
|
-
|
|
1768
1468
|
|
|
1769
|
-
|
|
1770
1469
|
|
|
1771
1470
|
|
|
1772
|
-
|
|
1773
1471
|
|
|
1774
|
-
|
|
1775
1472
|
|
|
1776
|
-
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
|
|
1777
1476
|
|
|
1778
1477
|
</dl>
|
|
1779
1478
|
|
|
1479
|
+
|
|
1480
|
+
|
|
1780
1481
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
</div>
|
|
1803
|
-
|
|
1804
|
-
</div>
|
|
1805
|
-
</div>
|
|
1806
1482
|
|
|
1807
1483
|
|
|
1808
1484
|
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
</dd>
|
|
1809
1492
|
|
|
1493
|
+
</dl>
|
|
1810
1494
|
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1811
1498
|
</article>
|
|
1812
1499
|
|
|
1813
|
-
</section>
|
|
1500
|
+
</section>
|
|
1814
1501
|
|
|
1815
1502
|
|
|
1816
1503
|
|
|
1817
1504
|
|
|
1818
|
-
</div>
|
|
1819
|
-
|
|
1820
|
-
<footer class="footer">
|
|
1821
|
-
<div class="content has-text-centered">
|
|
1822
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
1823
|
-
<p class="sidebar-created-by">
|
|
1824
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
1825
|
-
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
1826
|
-
</p>
|
|
1827
|
-
</div>
|
|
1828
|
-
</footer>
|
|
1829
|
-
|
|
1830
|
-
</div>
|
|
1831
|
-
<div id="side-nav" class="side-nav">
|
|
1832
|
-
<div style="margin-bottom: 10px;">
|
|
1833
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
1834
|
-
</div>
|
|
1835
|
-
<div style="margin-bottom: 10px;">
|
|
1836
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
1837
|
-
</div>
|
|
1838
|
-
<div style="margin-bottom: 10px;">
|
|
1839
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
1840
|
-
</div>
|
|
1841
|
-
<div>
|
|
1842
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
1843
|
-
</div>
|
|
1844
|
-
</div>
|
|
1845
|
-
</div>
|
|
1846
|
-
<script src="scripts/linenumber.js"> </script>
|
|
1847
1505
|
|
|
1848
|
-
<
|
|
1506
|
+
<footer>
|
|
1507
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Wed Feb 04 2026 18:31:34 GMT+0800 (中国标准时间)
|
|
1508
|
+
</footer>
|
|
1509
|
+
</div>
|
|
1510
|
+
</div>
|
|
1849
1511
|
|
|
1512
|
+
<script>prettyPrint();</script>
|
|
1513
|
+
<script src="scripts/linenumber.js"></script>
|
|
1514
|
+
<script src="scripts/main.js"></script>
|
|
1850
1515
|
</body>
|
|
1851
1516
|
</html>
|