@mapgis/webclient-cesium-plugin 17.2.6 → 17.2.7
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 +8 -0
- package/dist/es5/webclient-cesium-plugin.min.js +1 -1
- package/dist/es5/webclient-common.min.js +2 -2
- package/dist/webclient-cesium-plugin-es6.min.js +1 -1
- package/documention/AlgorithmLib.html +410 -1282
- package/documention/AngulationTool.html +244 -194
- package/documention/AnimationTool.html +398 -1376
- package/documention/CesiumHeatmap.html +307 -560
- package/documention/CesiumTerrainProvider.html +226 -8
- package/documention/CircleWaveMaterialProperty.html +231 -38
- package/documention/CollisionDetectionByRender.html +263 -422
- package/documention/CuttingTool.html +292 -461
- package/documention/Deferred.html +226 -8
- package/documention/DrawElement.html +252 -190
- package/documention/DrawTool.html +253 -191
- package/documention/EditTool.html +247 -249
- package/documention/FloodAnalysisReflection.html +243 -229
- package/documention/GlobeIndependentTranslucency.html +236 -246
- package/documention/Graphic.html +300 -939
- package/documention/GraphicsLayer.html +332 -832
- package/documention/HeightLimited.html +237 -134
- package/documention/ISSceneLayerUtil.html +246 -149
- package/documention/KeyboardCameraController.html +244 -285
- package/documention/MeasureAreaTool.html +256 -188
- package/documention/MeasureLengthTool.html +278 -421
- package/documention/MeasureSlopeTool.html +246 -206
- package/documention/ModelEditor.html +232 -44
- package/documention/ModelFilterTool.html +242 -130
- package/documention/ModelTransformTool.html +310 -504
- package/documention/PolylineTrailLinkMaterialProperty.html +233 -50
- package/documention/PostProcessStageLibrary.html +255 -218
- package/documention/Promise.html +246 -173
- package/documention/RadarMaterialProperty.html +229 -26
- package/documention/ReImg.html +230 -58
- package/documention/RiverGeometry.html +287 -462
- package/documention/RoamParticle.html +276 -746
- package/documention/S3MTileset.html +229 -26
- package/documention/SelectTool.html +238 -101
- package/documention/ShadowRateAnalysis.html +250 -366
- package/documention/ShadowRateDrawCommand.html +241 -178
- package/documention/SkyLineAnalysis.html +232 -96
- package/documention/StableParticle.html +278 -812
- package/documention/Style.html +525 -2037
- package/documention/TerrainAnalyse.html +287 -415
- package/documention/TerrainProfile.html +246 -156
- package/documention/Tooltip.html +240 -113
- package/documention/TriangulationTool.html +257 -308
- package/documention/VisiblityAnalysis.html +257 -411
- package/documention/WaterReflection.html +250 -310
- package/documention/Wind3D.html +255 -345
- package/package.json +1 -1
|
@@ -1,10 +1,190 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title> CollisionDetectionByRender</title>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body class="layout small-header">
|
|
22
|
+
<div id="stickyNavbarOverlay"></div>
|
|
5
23
|
|
|
6
|
-
</header>
|
|
7
24
|
|
|
25
|
+
<div class="top-nav">
|
|
26
|
+
<div class="inner">
|
|
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
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a
|
|
51
|
+
class="link user-link "
|
|
52
|
+
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
+
>
|
|
54
|
+
Cesium-Plugin
|
|
55
|
+
</a>
|
|
56
|
+
|
|
57
|
+
<a
|
|
58
|
+
class="link user-link "
|
|
59
|
+
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
|
|
60
|
+
>
|
|
61
|
+
MapboxGL-Plugin
|
|
62
|
+
</a>
|
|
63
|
+
|
|
64
|
+
<a
|
|
65
|
+
class="link user-link "
|
|
66
|
+
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
|
|
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
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="main">
|
|
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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="AnimationTool" AnimationTool.html>AnimationTool</a><span style="display: none;"><p>场景漫游工具</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISMapServerImageryProvider" ArcGISMapServerImageryProvider.html>ArcGISMapServerImageryProvider</a><span style="display: none;"><p>ArcGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISTileServerImageryProvider" ArcGISTileServerImageryProvider.html>ArcGISTileServerImageryProvider</a><span style="display: none;"><p>ArcGIS瓦片图层</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISVectorTileImageryProvider" ArcGISVectorTileImageryProvider.html>ArcGISVectorTileImageryProvider</a><span style="display: none;"><p>通过ArcGIS矢量瓦片服务的url获取VectorTileImageryProvider对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="CesiumHeatmap" CesiumHeatmap.html>CesiumHeatmap</a><span style="display: none;"><p>热力图</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="CustomTilingScheme" CustomTilingScheme.html>CustomTilingScheme</a><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
|
|
108
|
+
<ol>
|
|
109
|
+
<li>裁图原点必须在地图范围的左上角区域;</li>
|
|
110
|
+
<li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
|
|
111
|
+
</ol></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="FloodAnalysisReflection" FloodAnalysisReflection.html>FloodAnalysisReflection</a><span style="display: none;"><p>创建反射水面淹没分析的实例化对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GlobeIndependentTranslucency" GlobeIndependentTranslucency.html>GlobeIndependentTranslucency</a><span style="display: none;"><p>单独控制地表透明度和影像图层的透明度,能够在开启地表透明后使部分影像图层不受地表透明的影响。</p>
|
|
112
|
+
<p>实例化该类的对象同时也能够使用原生的地表透明参数,能够直接在实例化对象上修改 <code>GlobeTranslucency</code> 的参数(原生的
|
|
113
|
+
viewer.scene.globe.translucency依然能够使用,但两者同时使用时会造成相互干扰,推荐仅使用GlobeIndependentTranslucency来实现地表透明),
|
|
114
|
+
使用原生的地表透明方式还是该类的地表透明方式由 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 数组是否为空来区分。</p>
|
|
115
|
+
<p>1. 当 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 不为空数组时,使用该类的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
116
|
+
<ul>
|
|
117
|
+
<li><code>globeFaceAlpha</code>:地表的透明度,若设置该参数则<code>globeFaceAlphaByDistance</code>不生效;</li>
|
|
118
|
+
<li><code>globeFaceAlphaByDistance</code>:地表的透明度根据视点距离的变化范围,当<code>globeFaceAlpha</code>为<code>undefined</code>时生效;</li>
|
|
119
|
+
</ul>
|
|
120
|
+
<p>2. 当 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 为空数组时,使用原生的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
121
|
+
<ul>
|
|
122
|
+
<li><code>frontFaceAlpha</code>:地表正面的透明度;</li>
|
|
123
|
+
<li><code>frontFaceAlphaByDistance </code>:地表正面的透明度根据视点距离的变化范围;</li>
|
|
124
|
+
<li><code>backFaceAlpha</code>:地表背面的透明度;</li>
|
|
125
|
+
<li><code>backFaceAlphaByDistance</code>:地表背面的透明度根据视点距离的变化范围;</li>
|
|
126
|
+
<li><code>rectangle</code>:将地表透明的区域限制在一个矩形范围内。</li>
|
|
127
|
+
</ul></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="HeightLimited" HeightLimited.html>HeightLimited</a><span style="display: none;"><p>限高分析</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="KeyboardCameraController" KeyboardCameraController.html>KeyboardCameraController</a><span style="display: none;"><p>场景相机漫游工具,可以实现沉浸式的鼠标键盘漫游功能,具体操作方法如下:</p>
|
|
128
|
+
<p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
|
|
129
|
+
<ul>
|
|
130
|
+
<li><code>W</code>:相机位置向前移动</li>
|
|
131
|
+
<li><code>S</code>:相机位置向后移动</li>
|
|
132
|
+
<li><code>A</code>:相机位置向左移动</li>
|
|
133
|
+
<li><code>D</code>:相机位置向右移动</li>
|
|
134
|
+
<li><code>Q</code>:相机位置升高</li>
|
|
135
|
+
<li><code>E</code>:相机位置降低</li>
|
|
136
|
+
</ul>
|
|
137
|
+
<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>
|
|
138
|
+
<ul>
|
|
139
|
+
<li><code>I</code>:相机视角靠近屏幕中心点</li>
|
|
140
|
+
<li><code>K</code>:相机视角远离屏幕中心点</li>
|
|
141
|
+
<li><code>J</code>:绕屏幕中心点向左旋转</li>
|
|
142
|
+
<li><code>L</code>:绕屏幕中心点向右旋转</li>
|
|
143
|
+
<li><code>U</code>:绕屏幕中心点向上旋转</li>
|
|
144
|
+
<li><code>O</code>:绕屏幕中心点向下旋转</li>
|
|
145
|
+
</ul>
|
|
146
|
+
<p>3. 相机自身操作,这类操作不会改变相机的位置,只会改变相机的朝向(在全屏状态下可使用鼠标调整相机视角):</p>
|
|
147
|
+
<ul>
|
|
148
|
+
<li><code>↑</code>:向上抬高视角</li>
|
|
149
|
+
<li><code>↓</code>:向下降低视角</li>
|
|
150
|
+
<li><code>←</code>:向左移动视角</li>
|
|
151
|
+
<li><code>→</code>:向右移动视角</li>
|
|
152
|
+
</ul>
|
|
153
|
+
<p>4. 鼠标操作:</p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li>开启鼠标操作功能后,页面将进入全屏模式,此时相机视角可通过鼠标移动进行操作</li>
|
|
156
|
+
</ul>
|
|
157
|
+
<p>5. 辅助操作:</p>
|
|
158
|
+
<ul>
|
|
159
|
+
<li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
|
|
160
|
+
<li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
|
|
161
|
+
</ul></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISMapServerImageryProvider" MapGISMapServerImageryProvider.html>MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a><span style="display: none;">undefined</span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTileServerImageryProvider" MapGISTileServerImageryProvider.html>MapGISTileServerImageryProvider</a><span style="display: none;"><p>MapGIS瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISVectorTileImageryProvider" MapGISVectorTileImageryProvider.html>MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ModelFilterTool" ModelFilterTool.html>ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="PostProcessStageLibrary" PostProcessStageLibrary.html>PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="S3MTileset" S3MTileset.html>S3MTileset</a><span style="display: none;"><p>S3MTileSet类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="UrlTemplateImageryProvider" UrlTemplateImageryProvider.html>UrlTemplateImageryProvider</a><span style="display: none;"><p>UrlTemplateImageryProvider对象,详细API参考Cesium的UrlTemplateImageryProvider的API文档</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WaterReflection" WaterReflection.html>WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapServiceImageryProvider" WebMapServiceImageryProvider.html>WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS地图图层,具体API请参考Cesium的WebMapServiceImageryProvider</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapTileServiceImageryProvider" WebMapTileServiceImageryProvider.html>WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS地图图层,具体API请参考Cesium的WebMapTileServiceImageryProvider</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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GeoJSONLayerUtil" GeoJSONLayerUtil.html>GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GraphicsLayerUtil" GraphicsLayerUtil.html>GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="IGSFeatureLayerUtil" IGSFeatureLayerUtil.html>IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WFSLayerUtil" 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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ISSceneLayerUtil" ISSceneLayerUtil.html>ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" Popup.html>Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
162
|
+
参考示例:
|
|
163
|
+
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
164
|
+
<br>[ES5引入方式]:<br/>
|
|
165
|
+
zondy.cesium.SceneView() <br/>
|
|
166
|
+
[ES6引入方式]:<br/>
|
|
167
|
+
import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
|
|
168
|
+
自定义样式说明:<br/>
|
|
169
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
170
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
171
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
172
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
173
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SceneViewCesium" SceneViewCesium.html>SceneViewCesium</a><span style="display: none;"><p>视图类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" 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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorCesium" SketchEditorCesium.html>SketchEditorCesium</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
174
|
+
<br>[ES5引入方式]:<br/>
|
|
175
|
+
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
176
|
+
[ES6引入方式]:<br/>
|
|
177
|
+
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul></div>
|
|
178
|
+
|
|
179
|
+
</nav>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="core" id="main-content-wrapper">
|
|
182
|
+
<div class="content">
|
|
183
|
+
<header id="page-title" class="page-title">
|
|
184
|
+
<span class="page-title-main">类名</span>
|
|
185
|
+
<span class="page-title-sub">CollisionDetectionByRender</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="CollisionDetectionByRender">
|
|
26
206
|
<a class="href-link" href="#CollisionDetectionByRender">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new CollisionDetectionByRender<span class="signature">(viewer, collider, options<span class="signature-attributes">opt</span>)</span>
|
|
31
211
|
|
|
@@ -43,7 +223,7 @@
|
|
|
43
223
|
|
|
44
224
|
|
|
45
225
|
|
|
46
|
-
<h4
|
|
226
|
+
<h4>参数:</h4>
|
|
47
227
|
|
|
48
228
|
<div class="table-container">
|
|
49
229
|
<table class="params table">
|
|
@@ -75,12 +255,7 @@
|
|
|
75
255
|
<td class="type">
|
|
76
256
|
|
|
77
257
|
|
|
78
|
-
<span class="param-type">
|
|
79
|
-
|
|
80
|
-
Viewer
|
|
81
|
-
|
|
82
|
-
</span>
|
|
83
|
-
|
|
258
|
+
<span class="param-type">Viewer</span>
|
|
84
259
|
|
|
85
260
|
|
|
86
261
|
|
|
@@ -108,26 +283,13 @@
|
|
|
108
283
|
<td class="type">
|
|
109
284
|
|
|
110
285
|
|
|
111
|
-
<span class="param-type">
|
|
112
|
-
|
|
113
|
-
Cesium.Camera
|
|
114
|
-
|
|
115
|
-
</span>
|
|
286
|
+
<span class="param-type">Cesium.Camera</span>
|
|
116
287
|
|
|
|
117
288
|
|
|
118
|
-
<span class="param-type">
|
|
119
|
-
|
|
120
|
-
Cesium.MapGISM3D
|
|
121
|
-
|
|
122
|
-
</span>
|
|
289
|
+
<span class="param-type">Cesium.MapGISM3D</span>
|
|
123
290
|
|
|
|
124
291
|
|
|
125
|
-
<span class="param-type">
|
|
126
|
-
|
|
127
|
-
Cesium.Entity
|
|
128
|
-
|
|
129
|
-
</span>
|
|
130
|
-
|
|
292
|
+
<span class="param-type">Cesium.Entity</span>
|
|
131
293
|
|
|
132
294
|
|
|
133
295
|
|
|
@@ -155,12 +317,7 @@
|
|
|
155
317
|
<td class="type">
|
|
156
318
|
|
|
157
319
|
|
|
158
|
-
<span class="param-type">
|
|
159
|
-
|
|
160
|
-
Object
|
|
161
|
-
|
|
162
|
-
</span>
|
|
163
|
-
|
|
320
|
+
<span class="param-type">Object</span>
|
|
164
321
|
|
|
165
322
|
|
|
166
323
|
|
|
@@ -186,12 +343,7 @@
|
|
|
186
343
|
<td class="type">
|
|
187
344
|
|
|
188
345
|
|
|
189
|
-
<span class="param-type">
|
|
190
|
-
|
|
191
|
-
Number
|
|
192
|
-
|
|
193
|
-
</span>
|
|
194
|
-
|
|
346
|
+
<span class="param-type">Number</span>
|
|
195
347
|
|
|
196
348
|
|
|
197
349
|
|
|
@@ -219,12 +371,7 @@
|
|
|
219
371
|
<td class="type">
|
|
220
372
|
|
|
221
373
|
|
|
222
|
-
<span class="param-type">
|
|
223
|
-
|
|
224
|
-
Number
|
|
225
|
-
|
|
226
|
-
</span>
|
|
227
|
-
|
|
374
|
+
<span class="param-type">Number</span>
|
|
228
375
|
|
|
229
376
|
|
|
230
377
|
|
|
@@ -252,12 +399,7 @@
|
|
|
252
399
|
<td class="type">
|
|
253
400
|
|
|
254
401
|
|
|
255
|
-
<span class="param-type">
|
|
256
|
-
|
|
257
|
-
Number
|
|
258
|
-
|
|
259
|
-
</span>
|
|
260
|
-
|
|
402
|
+
<span class="param-type">Number</span>
|
|
261
403
|
|
|
262
404
|
|
|
263
405
|
|
|
@@ -288,12 +430,7 @@
|
|
|
288
430
|
<td class="type">
|
|
289
431
|
|
|
290
432
|
|
|
291
|
-
<span class="param-type">
|
|
292
|
-
|
|
293
|
-
Cesium.Cartesian3
|
|
294
|
-
|
|
295
|
-
</span>
|
|
296
|
-
|
|
433
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
297
434
|
|
|
298
435
|
|
|
299
436
|
|
|
@@ -321,12 +458,7 @@
|
|
|
321
458
|
<td class="type">
|
|
322
459
|
|
|
323
460
|
|
|
324
|
-
<span class="param-type">
|
|
325
|
-
|
|
326
|
-
Number
|
|
327
|
-
|
|
328
|
-
</span>
|
|
329
|
-
|
|
461
|
+
<span class="param-type">Number</span>
|
|
330
462
|
|
|
331
463
|
|
|
332
464
|
|
|
@@ -354,12 +486,7 @@
|
|
|
354
486
|
<td class="type">
|
|
355
487
|
|
|
356
488
|
|
|
357
|
-
<span class="param-type">
|
|
358
|
-
|
|
359
|
-
Boolean
|
|
360
|
-
|
|
361
|
-
</span>
|
|
362
|
-
|
|
489
|
+
<span class="param-type">Boolean</span>
|
|
363
490
|
|
|
364
491
|
|
|
365
492
|
|
|
@@ -389,12 +516,7 @@
|
|
|
389
516
|
<td class="type">
|
|
390
517
|
|
|
391
518
|
|
|
392
|
-
<span class="param-type">
|
|
393
|
-
|
|
394
|
-
Boolean
|
|
395
|
-
|
|
396
|
-
</span>
|
|
397
|
-
|
|
519
|
+
<span class="param-type">Boolean</span>
|
|
398
520
|
|
|
399
521
|
|
|
400
522
|
|
|
@@ -422,12 +544,7 @@
|
|
|
422
544
|
<td class="type">
|
|
423
545
|
|
|
424
546
|
|
|
425
|
-
<span class="param-type">
|
|
426
|
-
|
|
427
|
-
Boolean
|
|
428
|
-
|
|
429
|
-
</span>
|
|
430
|
-
|
|
547
|
+
<span class="param-type">Boolean</span>
|
|
431
548
|
|
|
432
549
|
|
|
433
550
|
|
|
@@ -550,177 +667,6 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
550
667
|
|
|
551
668
|
<div class='vertical-section'>
|
|
552
669
|
<h3 id='member'>成员变量</h3>
|
|
553
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
554
|
-
<div class="table-container">
|
|
555
|
-
<table class="params table">
|
|
556
|
-
<thead>
|
|
557
|
-
<tr>
|
|
558
|
-
<th>名称</th>
|
|
559
|
-
<th>类型</th>
|
|
560
|
-
<th>描述</th>
|
|
561
|
-
</tr>
|
|
562
|
-
</thead>
|
|
563
|
-
<tbody>
|
|
564
|
-
|
|
565
|
-
<tr class="deep-level-0">
|
|
566
|
-
<td class="name"><code><a href="#collider">collider</a></code></td>
|
|
567
|
-
<td class="name">
|
|
568
|
-
<code>
|
|
569
|
-
|
|
570
|
-
<span class="param-type">
|
|
571
|
-
|
|
572
|
-
Cesium.Camera
|
|
573
|
-
|
|
574
|
-
</span>
|
|
575
|
-
|
|
|
576
|
-
|
|
577
|
-
<span class="param-type">
|
|
578
|
-
|
|
579
|
-
Cesium.MapGISM3D
|
|
580
|
-
|
|
581
|
-
</span>
|
|
582
|
-
|
|
|
583
|
-
|
|
584
|
-
<span class="param-type">
|
|
585
|
-
|
|
586
|
-
Cesium.Entity
|
|
587
|
-
|
|
588
|
-
</span>
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
</code>
|
|
593
|
-
</td>
|
|
594
|
-
<td class="name"><code><p>碰撞检测对象</p></code></td>
|
|
595
|
-
</tr>
|
|
596
|
-
|
|
597
|
-
<tr class="deep-level-0">
|
|
598
|
-
<td class="name"><code><a href="#colliderHeight">colliderHeight</a></code></td>
|
|
599
|
-
<td class="name">
|
|
600
|
-
<code>
|
|
601
|
-
|
|
602
|
-
<span class="param-type">
|
|
603
|
-
|
|
604
|
-
Number
|
|
605
|
-
|
|
606
|
-
</span>
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
</code>
|
|
611
|
-
</td>
|
|
612
|
-
<td class="name"><code><p>碰撞盒高</p></code></td>
|
|
613
|
-
</tr>
|
|
614
|
-
|
|
615
|
-
<tr class="deep-level-0">
|
|
616
|
-
<td class="name"><code><a href="#colliderLength">colliderLength</a></code></td>
|
|
617
|
-
<td class="name">
|
|
618
|
-
<code>
|
|
619
|
-
|
|
620
|
-
<span class="param-type">
|
|
621
|
-
|
|
622
|
-
Number
|
|
623
|
-
|
|
624
|
-
</span>
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
</code>
|
|
629
|
-
</td>
|
|
630
|
-
<td class="name"><code><p>碰撞盒长</p></code></td>
|
|
631
|
-
</tr>
|
|
632
|
-
|
|
633
|
-
<tr class="deep-level-0">
|
|
634
|
-
<td class="name"><code><a href="#colliderPositionOffset">colliderPositionOffset</a></code></td>
|
|
635
|
-
<td class="name">
|
|
636
|
-
<code>
|
|
637
|
-
|
|
638
|
-
<span class="param-type">
|
|
639
|
-
|
|
640
|
-
Cesium.Cartesian3
|
|
641
|
-
|
|
642
|
-
</span>
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
</code>
|
|
647
|
-
</td>
|
|
648
|
-
<td class="name"><code><p>碰撞盒位置偏移</p></code></td>
|
|
649
|
-
</tr>
|
|
650
|
-
|
|
651
|
-
<tr class="deep-level-0">
|
|
652
|
-
<td class="name"><code><a href="#colliderWidth">colliderWidth</a></code></td>
|
|
653
|
-
<td class="name">
|
|
654
|
-
<code>
|
|
655
|
-
|
|
656
|
-
<span class="param-type">
|
|
657
|
-
|
|
658
|
-
Number
|
|
659
|
-
|
|
660
|
-
</span>
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
</code>
|
|
665
|
-
</td>
|
|
666
|
-
<td class="name"><code><p>碰撞盒宽</p></code></td>
|
|
667
|
-
</tr>
|
|
668
|
-
|
|
669
|
-
<tr class="deep-level-0">
|
|
670
|
-
<td class="name"><code><a href="#highPrecision">highPrecision</a></code></td>
|
|
671
|
-
<td class="name">
|
|
672
|
-
<code>
|
|
673
|
-
|
|
674
|
-
<span class="param-type">
|
|
675
|
-
|
|
676
|
-
Boolean
|
|
677
|
-
|
|
678
|
-
</span>
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
</code>
|
|
683
|
-
</td>
|
|
684
|
-
<td class="name"><code><p>是否开启高精度模式
|
|
685
|
-
<br/></p>
|
|
686
|
-
<table>
|
|
687
|
-
<tr>
|
|
688
|
-
<td>
|
|
689
|
-
<img src="Images/defaultPrecision.jpg" alt="defaultPrecision" />
|
|
690
|
-
<br />
|
|
691
|
-
默认模式下只检测碰撞盒的边框部分
|
|
692
|
-
</td>
|
|
693
|
-
<td>
|
|
694
|
-
<img src="Images/highPrecision.jpg" alt="highPrecision" />
|
|
695
|
-
<br />
|
|
696
|
-
高精度模式下对整个碰撞盒做检测
|
|
697
|
-
</td>
|
|
698
|
-
</tr>
|
|
699
|
-
</table></code></td>
|
|
700
|
-
</tr>
|
|
701
|
-
|
|
702
|
-
<tr class="deep-level-0">
|
|
703
|
-
<td class="name"><code><a href="#maxPassableHeight">maxPassableHeight</a></code></td>
|
|
704
|
-
<td class="name">
|
|
705
|
-
<code>
|
|
706
|
-
|
|
707
|
-
<span class="param-type">
|
|
708
|
-
|
|
709
|
-
Number
|
|
710
|
-
|
|
711
|
-
</span>
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
</code>
|
|
716
|
-
</td>
|
|
717
|
-
<td class="name"><code><p>最大可通过高度</p></code></td>
|
|
718
|
-
</tr>
|
|
719
|
-
|
|
720
|
-
</tbody>
|
|
721
|
-
</table>
|
|
722
|
-
</div>
|
|
723
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
724
670
|
<div class="members">
|
|
725
671
|
|
|
726
672
|
<div class="member">
|
|
@@ -728,26 +674,13 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
728
674
|
<span class="method-parameter is-pulled-right">
|
|
729
675
|
<label>类型:</label>
|
|
730
676
|
|
|
731
|
-
<span class="param-type">
|
|
732
|
-
|
|
733
|
-
Cesium.Camera
|
|
734
|
-
|
|
735
|
-
</span>
|
|
677
|
+
<span class="param-type">Cesium.Camera</span>
|
|
736
678
|
|
|
|
737
679
|
|
|
738
|
-
<span class="param-type">
|
|
739
|
-
|
|
740
|
-
Cesium.MapGISM3D
|
|
741
|
-
|
|
742
|
-
</span>
|
|
680
|
+
<span class="param-type">Cesium.MapGISM3D</span>
|
|
743
681
|
|
|
|
744
682
|
|
|
745
|
-
<span class="param-type">
|
|
746
|
-
|
|
747
|
-
Cesium.Entity
|
|
748
|
-
|
|
749
|
-
</span>
|
|
750
|
-
|
|
683
|
+
<span class="param-type">Cesium.Entity</span>
|
|
751
684
|
|
|
752
685
|
|
|
753
686
|
</span>
|
|
@@ -821,12 +754,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
821
754
|
<span class="method-parameter is-pulled-right">
|
|
822
755
|
<label>类型:</label>
|
|
823
756
|
|
|
824
|
-
<span class="param-type">
|
|
825
|
-
|
|
826
|
-
Number
|
|
827
|
-
|
|
828
|
-
</span>
|
|
829
|
-
|
|
757
|
+
<span class="param-type">Number</span>
|
|
830
758
|
|
|
831
759
|
|
|
832
760
|
</span>
|
|
@@ -896,12 +824,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
896
824
|
<span class="method-parameter is-pulled-right">
|
|
897
825
|
<label>类型:</label>
|
|
898
826
|
|
|
899
|
-
<span class="param-type">
|
|
900
|
-
|
|
901
|
-
Number
|
|
902
|
-
|
|
903
|
-
</span>
|
|
904
|
-
|
|
827
|
+
<span class="param-type">Number</span>
|
|
905
828
|
|
|
906
829
|
|
|
907
830
|
</span>
|
|
@@ -971,12 +894,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
971
894
|
<span class="method-parameter is-pulled-right">
|
|
972
895
|
<label>类型:</label>
|
|
973
896
|
|
|
974
|
-
<span class="param-type">
|
|
975
|
-
|
|
976
|
-
Cesium.Cartesian3
|
|
977
|
-
|
|
978
|
-
</span>
|
|
979
|
-
|
|
897
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
980
898
|
|
|
981
899
|
|
|
982
900
|
</span>
|
|
@@ -1046,12 +964,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1046
964
|
<span class="method-parameter is-pulled-right">
|
|
1047
965
|
<label>类型:</label>
|
|
1048
966
|
|
|
1049
|
-
<span class="param-type">
|
|
1050
|
-
|
|
1051
|
-
Number
|
|
1052
|
-
|
|
1053
|
-
</span>
|
|
1054
|
-
|
|
967
|
+
<span class="param-type">Number</span>
|
|
1055
968
|
|
|
1056
969
|
|
|
1057
970
|
</span>
|
|
@@ -1121,12 +1034,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1121
1034
|
<span class="method-parameter is-pulled-right">
|
|
1122
1035
|
<label>类型:</label>
|
|
1123
1036
|
|
|
1124
|
-
<span class="param-type">
|
|
1125
|
-
|
|
1126
|
-
Boolean
|
|
1127
|
-
|
|
1128
|
-
</span>
|
|
1129
|
-
|
|
1037
|
+
<span class="param-type">Boolean</span>
|
|
1130
1038
|
|
|
1131
1039
|
|
|
1132
1040
|
</span>
|
|
@@ -1211,12 +1119,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1211
1119
|
<span class="method-parameter is-pulled-right">
|
|
1212
1120
|
<label>类型:</label>
|
|
1213
1121
|
|
|
1214
|
-
<span class="param-type">
|
|
1215
|
-
|
|
1216
|
-
Number
|
|
1217
|
-
|
|
1218
|
-
</span>
|
|
1219
|
-
|
|
1122
|
+
<span class="param-type">Number</span>
|
|
1220
1123
|
|
|
1221
1124
|
|
|
1222
1125
|
</span>
|
|
@@ -1288,53 +1191,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1288
1191
|
|
|
1289
1192
|
<div class='vertical-section'>
|
|
1290
1193
|
<h3 id='function'>方法</h3>
|
|
1291
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
1292
1194
|
<div class="members">
|
|
1293
|
-
<div class="table-container">
|
|
1294
|
-
<table class="params table">
|
|
1295
|
-
<thead>
|
|
1296
|
-
<tr>
|
|
1297
|
-
<th>名称</th>
|
|
1298
|
-
<th>返回值类型</th>
|
|
1299
|
-
<th>描述</th>
|
|
1300
|
-
</tr>
|
|
1301
|
-
</thead>
|
|
1302
|
-
<tbody>
|
|
1303
|
-
|
|
1304
|
-
<tr class="deep-level-0">
|
|
1305
|
-
<td class="name"><code><a href="#checkCollision">checkCollision</a></code></td>
|
|
1306
|
-
<td class="name">
|
|
1307
|
-
<code>
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
<span class="param-type">
|
|
1311
|
-
|
|
1312
|
-
Object
|
|
1313
|
-
|
|
1314
|
-
</span>
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
</code>
|
|
1320
|
-
</td>
|
|
1321
|
-
<td class="name"><code><p>检测目标位置是否会碰撞,需要在场景渲染完成后即postRender事件中做检查。</p></code></td>
|
|
1322
|
-
</tr>
|
|
1323
|
-
|
|
1324
|
-
<tr class="deep-level-0">
|
|
1325
|
-
<td class="name"><code><a href="#destory">destory</a></code></td>
|
|
1326
|
-
<td class="name">
|
|
1327
|
-
<code>
|
|
1328
|
-
|
|
1329
|
-
</code>
|
|
1330
|
-
</td>
|
|
1331
|
-
<td class="name"><code><p>销毁碰撞检测</p></code></td>
|
|
1332
|
-
</tr>
|
|
1333
|
-
|
|
1334
|
-
</tbody>
|
|
1335
|
-
</table>
|
|
1336
|
-
</div>
|
|
1337
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
1338
1195
|
|
|
1339
1196
|
<div class="member">
|
|
1340
1197
|
|
|
@@ -1343,7 +1200,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1343
1200
|
<h4 class="name" id="checkCollision">
|
|
1344
1201
|
<a class="href-link" href="#checkCollision">#</a>
|
|
1345
1202
|
|
|
1346
|
-
<span class="code-name"
|
|
1203
|
+
<span class="code-name" style="font-size:30px">
|
|
1347
1204
|
|
|
1348
1205
|
checkCollision<span class="signature">(targetPosition, heading, options<span class="signature-attributes">opt</span>)</span>
|
|
1349
1206
|
|
|
@@ -1365,7 +1222,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1365
1222
|
|
|
1366
1223
|
|
|
1367
1224
|
|
|
1368
|
-
<h4
|
|
1225
|
+
<h4>参数:</h4>
|
|
1369
1226
|
|
|
1370
1227
|
<div class="table-container">
|
|
1371
1228
|
<table class="params table">
|
|
@@ -1397,12 +1254,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1397
1254
|
<td class="type">
|
|
1398
1255
|
|
|
1399
1256
|
|
|
1400
|
-
<span class="param-type">
|
|
1401
|
-
|
|
1402
|
-
Cesium.Cartesian3
|
|
1403
|
-
|
|
1404
|
-
</span>
|
|
1405
|
-
|
|
1257
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1406
1258
|
|
|
1407
1259
|
|
|
1408
1260
|
|
|
@@ -1430,19 +1282,10 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1430
1282
|
<td class="type">
|
|
1431
1283
|
|
|
1432
1284
|
|
|
1433
|
-
<span class="param-type">
|
|
1434
|
-
|
|
1435
|
-
Number
|
|
1436
|
-
|
|
1437
|
-
</span>
|
|
1285
|
+
<span class="param-type">Number</span>
|
|
1438
1286
|
|
|
|
1439
1287
|
|
|
1440
|
-
<span class="param-type">
|
|
1441
|
-
|
|
1442
|
-
undefined
|
|
1443
|
-
|
|
1444
|
-
</span>
|
|
1445
|
-
|
|
1288
|
+
<span class="param-type">undefined</span>
|
|
1446
1289
|
|
|
1447
1290
|
|
|
1448
1291
|
|
|
@@ -1472,12 +1315,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1472
1315
|
<td class="type">
|
|
1473
1316
|
|
|
1474
1317
|
|
|
1475
|
-
<span class="param-type">
|
|
1476
|
-
|
|
1477
|
-
Object
|
|
1478
|
-
|
|
1479
|
-
</span>
|
|
1480
|
-
|
|
1318
|
+
<span class="param-type">Object</span>
|
|
1481
1319
|
|
|
1482
1320
|
|
|
1483
1321
|
|
|
@@ -1505,12 +1343,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1505
1343
|
<td class="type">
|
|
1506
1344
|
|
|
1507
1345
|
|
|
1508
|
-
<span class="param-type">
|
|
1509
|
-
|
|
1510
|
-
Number
|
|
1511
|
-
|
|
1512
|
-
</span>
|
|
1513
|
-
|
|
1346
|
+
<span class="param-type">Number</span>
|
|
1514
1347
|
|
|
1515
1348
|
|
|
1516
1349
|
|
|
@@ -1536,12 +1369,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1536
1369
|
<td class="type">
|
|
1537
1370
|
|
|
1538
1371
|
|
|
1539
|
-
<span class="param-type">
|
|
1540
|
-
|
|
1541
|
-
Number
|
|
1542
|
-
|
|
1543
|
-
</span>
|
|
1544
|
-
|
|
1372
|
+
<span class="param-type">Number</span>
|
|
1545
1373
|
|
|
1546
1374
|
|
|
1547
1375
|
|
|
@@ -1567,12 +1395,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1567
1395
|
<td class="type">
|
|
1568
1396
|
|
|
1569
1397
|
|
|
1570
|
-
<span class="param-type">
|
|
1571
|
-
|
|
1572
|
-
Number
|
|
1573
|
-
|
|
1574
|
-
</span>
|
|
1575
|
-
|
|
1398
|
+
<span class="param-type">Number</span>
|
|
1576
1399
|
|
|
1577
1400
|
|
|
1578
1401
|
|
|
@@ -1598,12 +1421,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1598
1421
|
<td class="type">
|
|
1599
1422
|
|
|
1600
1423
|
|
|
1601
|
-
<span class="param-type">
|
|
1602
|
-
|
|
1603
|
-
Cesium.Cartesian3
|
|
1604
|
-
|
|
1605
|
-
</span>
|
|
1606
|
-
|
|
1424
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1607
1425
|
|
|
1608
1426
|
|
|
1609
1427
|
|
|
@@ -1631,12 +1449,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1631
1449
|
<td class="type">
|
|
1632
1450
|
|
|
1633
1451
|
|
|
1634
|
-
<span class="param-type">
|
|
1635
|
-
|
|
1636
|
-
Number
|
|
1637
|
-
|
|
1638
|
-
</span>
|
|
1639
|
-
|
|
1452
|
+
<span class="param-type">Number</span>
|
|
1640
1453
|
|
|
1641
1454
|
|
|
1642
1455
|
|
|
@@ -1662,12 +1475,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1662
1475
|
<td class="type">
|
|
1663
1476
|
|
|
1664
1477
|
|
|
1665
|
-
<span class="param-type">
|
|
1666
|
-
|
|
1667
|
-
Boolean
|
|
1668
|
-
|
|
1669
|
-
</span>
|
|
1670
|
-
|
|
1478
|
+
<span class="param-type">Boolean</span>
|
|
1671
1479
|
|
|
1672
1480
|
|
|
1673
1481
|
|
|
@@ -1751,7 +1559,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1751
1559
|
|
|
1752
1560
|
|
|
1753
1561
|
<div class='columns method-parameter'>
|
|
1754
|
-
<div class="column is-2"><label
|
|
1562
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1755
1563
|
<div class="column is-10">
|
|
1756
1564
|
|
|
1757
1565
|
|
|
@@ -1778,12 +1586,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1778
1586
|
<div class='column is-5 has-text-left'>
|
|
1779
1587
|
<label>类型: </label>
|
|
1780
1588
|
|
|
1781
|
-
<span class="param-type">
|
|
1782
|
-
|
|
1783
|
-
Object
|
|
1784
|
-
|
|
1785
|
-
</span>
|
|
1786
|
-
|
|
1589
|
+
<span class="param-type">Object</span>
|
|
1787
1590
|
|
|
1788
1591
|
|
|
1789
1592
|
</div>
|
|
@@ -1808,7 +1611,7 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1808
1611
|
<h4 class="name" id="destory">
|
|
1809
1612
|
<a class="href-link" href="#destory">#</a>
|
|
1810
1613
|
|
|
1811
|
-
<span class="code-name"
|
|
1614
|
+
<span class="code-name" style="font-size:30px">
|
|
1812
1615
|
|
|
1813
1616
|
destory<span class="signature">()</span>
|
|
1814
1617
|
|
|
@@ -1901,4 +1704,42 @@ debug模式生成的碰撞盒所使用的位置是上一帧的碰撞检测结果
|
|
|
1901
1704
|
|
|
1902
1705
|
</article>
|
|
1903
1706
|
|
|
1904
|
-
</section>
|
|
1707
|
+
</section>
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
</div>
|
|
1713
|
+
|
|
1714
|
+
<footer class="footer">
|
|
1715
|
+
<div class="content has-text-centered">
|
|
1716
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
1717
|
+
<p class="sidebar-created-by">
|
|
1718
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
1719
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
1720
|
+
</p>
|
|
1721
|
+
</div>
|
|
1722
|
+
</footer>
|
|
1723
|
+
|
|
1724
|
+
</div>
|
|
1725
|
+
<div id="side-nav" class="side-nav">
|
|
1726
|
+
<div style="margin-bottom: 10px;">
|
|
1727
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
1728
|
+
</div>
|
|
1729
|
+
<div style="margin-bottom: 10px;">
|
|
1730
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
1731
|
+
</div>
|
|
1732
|
+
<div style="margin-bottom: 10px;">
|
|
1733
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
1734
|
+
</div>
|
|
1735
|
+
<div>
|
|
1736
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
1737
|
+
</div>
|
|
1738
|
+
</div>
|
|
1739
|
+
</div>
|
|
1740
|
+
<script src="scripts/linenumber.js"> </script>
|
|
1741
|
+
|
|
1742
|
+
<script src="scripts/search.js"> </script>
|
|
1743
|
+
|
|
1744
|
+
</body>
|
|
1745
|
+
</html>
|