@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> CuttingTool</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">CuttingTool</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="CuttingTool">
|
|
26
206
|
<a class="href-link" href="#CuttingTool">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new CuttingTool<span class="signature">(viewer, layers, 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">
|
|
@@ -73,12 +253,7 @@
|
|
|
73
253
|
<td class="type">
|
|
74
254
|
|
|
75
255
|
|
|
76
|
-
<span class="param-type">
|
|
77
|
-
|
|
78
|
-
Viewer
|
|
79
|
-
|
|
80
|
-
</span>
|
|
81
|
-
|
|
256
|
+
<span class="param-type">Viewer</span>
|
|
82
257
|
|
|
83
258
|
|
|
84
259
|
|
|
@@ -102,12 +277,7 @@
|
|
|
102
277
|
<td class="type">
|
|
103
278
|
|
|
104
279
|
|
|
105
|
-
<span class="param-type">
|
|
106
|
-
|
|
107
|
-
Array.<<a onclick="getTypeHTML(event)" link="MapGISM3DSet.html">MapGISM3DSet</a>>
|
|
108
|
-
|
|
109
|
-
</span>
|
|
110
|
-
|
|
280
|
+
<span class="param-type">Array.<<a href="MapGISM3DSet.html">MapGISM3DSet</a>></span>
|
|
111
281
|
|
|
112
282
|
|
|
113
283
|
|
|
@@ -131,12 +301,7 @@
|
|
|
131
301
|
<td class="type">
|
|
132
302
|
|
|
133
303
|
|
|
134
|
-
<span class="param-type">
|
|
135
|
-
|
|
136
|
-
Object
|
|
137
|
-
|
|
138
|
-
</span>
|
|
139
|
-
|
|
304
|
+
<span class="param-type">Object</span>
|
|
140
305
|
|
|
141
306
|
|
|
142
307
|
|
|
@@ -158,12 +323,7 @@
|
|
|
158
323
|
<td class="type">
|
|
159
324
|
|
|
160
325
|
|
|
161
|
-
<span class="param-type">
|
|
162
|
-
|
|
163
|
-
function
|
|
164
|
-
|
|
165
|
-
</span>
|
|
166
|
-
|
|
326
|
+
<span class="param-type">function</span>
|
|
167
327
|
|
|
168
328
|
|
|
169
329
|
|
|
@@ -268,41 +428,6 @@
|
|
|
268
428
|
|
|
269
429
|
<div class='vertical-section'>
|
|
270
430
|
<h3 id='member'>成员变量</h3>
|
|
271
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
272
|
-
<div class="table-container">
|
|
273
|
-
<table class="params table">
|
|
274
|
-
<thead>
|
|
275
|
-
<tr>
|
|
276
|
-
<th>名称</th>
|
|
277
|
-
<th>类型</th>
|
|
278
|
-
<th>描述</th>
|
|
279
|
-
</tr>
|
|
280
|
-
</thead>
|
|
281
|
-
<tbody>
|
|
282
|
-
|
|
283
|
-
<tr class="deep-level-0">
|
|
284
|
-
<td class="name"><code><a href="#isCuttingTerrain">isCuttingTerrain</a></code></td>
|
|
285
|
-
<td class="name">
|
|
286
|
-
<code>
|
|
287
|
-
|
|
288
|
-
<span class="param-type">
|
|
289
|
-
|
|
290
|
-
Boolean
|
|
291
|
-
|
|
292
|
-
</span>
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
</code>
|
|
297
|
-
</td>
|
|
298
|
-
<td class="name"><code><p>是否支持开挖地形 打开后通过<a class="mapgis-link-name" title="CuttingTool#createModelCuttingVolume" CuttingTool.html#createModelCuttingVolume><code>CuttingTool#createModelCuttingVolume</code></a> 和 <a class="mapgis-link-name" title="CuttingTool#createModelCuttingPlaneFromPolyline" CuttingTool.html#createModelCuttingPlaneFromPolyline><code>CuttingTool#createModelCuttingPlaneFromPolyline</code></a> 创建的裁剪体会同时对地形做裁剪。
|
|
299
|
-
<a class="mapgis-link-name" title="CuttingTool#createModelCuttingPlaneFromPolyline" CuttingTool.html#createModelCuttingPlaneFromPolyline><code>CuttingTool#createModelCuttingPlaneFromPolyline</code></a> 添加地形支持时由于缺少高度所以不会开启剖切面封边</p></code></td>
|
|
300
|
-
</tr>
|
|
301
|
-
|
|
302
|
-
</tbody>
|
|
303
|
-
</table>
|
|
304
|
-
</div>
|
|
305
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
306
431
|
<div class="members">
|
|
307
432
|
|
|
308
433
|
<div class="member">
|
|
@@ -310,12 +435,7 @@
|
|
|
310
435
|
<span class="method-parameter is-pulled-right">
|
|
311
436
|
<label>类型:</label>
|
|
312
437
|
|
|
313
|
-
<span class="param-type">
|
|
314
|
-
|
|
315
|
-
Boolean
|
|
316
|
-
|
|
317
|
-
</span>
|
|
318
|
-
|
|
438
|
+
<span class="param-type">Boolean</span>
|
|
319
439
|
|
|
320
440
|
|
|
321
441
|
</span>
|
|
@@ -393,124 +513,7 @@
|
|
|
393
513
|
|
|
394
514
|
<div class='vertical-section'>
|
|
395
515
|
<h3 id='function'>方法</h3>
|
|
396
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
397
516
|
<div class="members">
|
|
398
|
-
<div class="table-container">
|
|
399
|
-
<table class="params table">
|
|
400
|
-
<thead>
|
|
401
|
-
<tr>
|
|
402
|
-
<th>名称</th>
|
|
403
|
-
<th>返回值类型</th>
|
|
404
|
-
<th>描述</th>
|
|
405
|
-
</tr>
|
|
406
|
-
</thead>
|
|
407
|
-
<tbody>
|
|
408
|
-
|
|
409
|
-
<tr class="deep-level-0">
|
|
410
|
-
<td class="name"><code><a href="#_createVolumeCuttingPlanes">_createVolumeCuttingPlanes</a></code></td>
|
|
411
|
-
<td class="name">
|
|
412
|
-
<code>
|
|
413
|
-
|
|
414
|
-
</code>
|
|
415
|
-
</td>
|
|
416
|
-
<td class="name"><code><p>通过包围面,创建裁剪体</p></code></td>
|
|
417
|
-
</tr>
|
|
418
|
-
|
|
419
|
-
<tr class="deep-level-0">
|
|
420
|
-
<td class="name"><code><a href="#changePlaneColor">changePlaneColor</a></code></td>
|
|
421
|
-
<td class="name">
|
|
422
|
-
<code>
|
|
423
|
-
|
|
424
|
-
</code>
|
|
425
|
-
</td>
|
|
426
|
-
<td class="name"><code><p>修改辅助剖切面颜色</p></code></td>
|
|
427
|
-
</tr>
|
|
428
|
-
|
|
429
|
-
<tr class="deep-level-0">
|
|
430
|
-
<td class="name"><code><a href="#createModelCuttingPlane">createModelCuttingPlane</a></code></td>
|
|
431
|
-
<td class="name">
|
|
432
|
-
<code>
|
|
433
|
-
|
|
434
|
-
</code>
|
|
435
|
-
</td>
|
|
436
|
-
<td class="name"><code><p>创建模型裁剪面</p></code></td>
|
|
437
|
-
</tr>
|
|
438
|
-
|
|
439
|
-
<tr class="deep-level-0">
|
|
440
|
-
<td class="name"><code><a href="#createModelCuttingPlaneFromLine">createModelCuttingPlaneFromLine</a></code></td>
|
|
441
|
-
<td class="name">
|
|
442
|
-
<code>
|
|
443
|
-
|
|
444
|
-
</code>
|
|
445
|
-
</td>
|
|
446
|
-
<td class="name"><code><p>通过直线,绘制模型裁剪面</p></code></td>
|
|
447
|
-
</tr>
|
|
448
|
-
|
|
449
|
-
<tr class="deep-level-0">
|
|
450
|
-
<td class="name"><code><a href="#createModelCuttingPlaneFromPolyline">createModelCuttingPlaneFromPolyline</a></code></td>
|
|
451
|
-
<td class="name">
|
|
452
|
-
<code>
|
|
453
|
-
|
|
454
|
-
</code>
|
|
455
|
-
</td>
|
|
456
|
-
<td class="name"><code><p>通过折线,绘制模型裁剪面,请提两个以上的点,否则不执行剖切分析。</p></code></td>
|
|
457
|
-
</tr>
|
|
458
|
-
|
|
459
|
-
<tr class="deep-level-0">
|
|
460
|
-
<td class="name"><code><a href="#createModelCuttingPolygon">createModelCuttingPolygon</a></code></td>
|
|
461
|
-
<td class="name">
|
|
462
|
-
<code>
|
|
463
|
-
|
|
464
|
-
</code>
|
|
465
|
-
</td>
|
|
466
|
-
<td class="name"><code><p>多边形几何裁剪<br/>
|
|
467
|
-
通过边界区域,以及高程,构建裁剪几何体。支持凹多边形裁剪,但对封边效果支持不好</p></code></td>
|
|
468
|
-
</tr>
|
|
469
|
-
|
|
470
|
-
<tr class="deep-level-0">
|
|
471
|
-
<td class="name"><code><a href="#createModelCuttingVolume">createModelCuttingVolume</a></code></td>
|
|
472
|
-
<td class="name">
|
|
473
|
-
<code>
|
|
474
|
-
|
|
475
|
-
</code>
|
|
476
|
-
</td>
|
|
477
|
-
<td class="name"><code><p>通过边界区域,以及最小最大高程,构建裁剪体</p></code></td>
|
|
478
|
-
</tr>
|
|
479
|
-
|
|
480
|
-
<tr class="deep-level-0">
|
|
481
|
-
<td class="name"><code><a href="#enabled">enabled</a></code></td>
|
|
482
|
-
<td class="name">
|
|
483
|
-
<code>
|
|
484
|
-
|
|
485
|
-
</code>
|
|
486
|
-
</td>
|
|
487
|
-
<td class="name"><code><p>开关当前被CuttingTool管理的裁剪体</p></code></td>
|
|
488
|
-
</tr>
|
|
489
|
-
|
|
490
|
-
<tr class="deep-level-0">
|
|
491
|
-
<td class="name"><code><a href="#removeAll">removeAll</a></code></td>
|
|
492
|
-
<td class="name">
|
|
493
|
-
<code>
|
|
494
|
-
|
|
495
|
-
</code>
|
|
496
|
-
</td>
|
|
497
|
-
<td class="name"><code><p>移除所有裁剪面</p></code></td>
|
|
498
|
-
</tr>
|
|
499
|
-
|
|
500
|
-
<tr class="deep-level-0">
|
|
501
|
-
<td class="name"><code><a href="#showCuttingPlane">showCuttingPlane</a></code></td>
|
|
502
|
-
<td class="name">
|
|
503
|
-
<code>
|
|
504
|
-
|
|
505
|
-
</code>
|
|
506
|
-
</td>
|
|
507
|
-
<td class="name"><code><p>显示或隐藏所有辅助剖切面(体)</p></code></td>
|
|
508
|
-
</tr>
|
|
509
|
-
|
|
510
|
-
</tbody>
|
|
511
|
-
</table>
|
|
512
|
-
</div>
|
|
513
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
514
517
|
|
|
515
518
|
<div class="member">
|
|
516
519
|
|
|
@@ -519,7 +522,7 @@
|
|
|
519
522
|
<h4 class="name" id="_createVolumeCuttingPlanes">
|
|
520
523
|
<a class="href-link" href="#_createVolumeCuttingPlanes">#</a>
|
|
521
524
|
|
|
522
|
-
<span class="code-name"
|
|
525
|
+
<span class="code-name" style="font-size:30px">
|
|
523
526
|
|
|
524
527
|
_createVolumeCuttingPlanes<span class="signature">(normals, originalPoints, layer, options)</span>
|
|
525
528
|
|
|
@@ -541,7 +544,7 @@
|
|
|
541
544
|
|
|
542
545
|
|
|
543
546
|
|
|
544
|
-
<h4
|
|
547
|
+
<h4>参数:</h4>
|
|
545
548
|
|
|
546
549
|
<div class="table-container">
|
|
547
550
|
<table class="params table">
|
|
@@ -571,12 +574,7 @@
|
|
|
571
574
|
<td class="type">
|
|
572
575
|
|
|
573
576
|
|
|
574
|
-
<span class="param-type">
|
|
575
|
-
|
|
576
|
-
Array.<Cesium.Cartesian3>
|
|
577
|
-
|
|
578
|
-
</span>
|
|
579
|
-
|
|
577
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
580
578
|
|
|
581
579
|
|
|
582
580
|
|
|
@@ -600,12 +598,7 @@
|
|
|
600
598
|
<td class="type">
|
|
601
599
|
|
|
602
600
|
|
|
603
|
-
<span class="param-type">
|
|
604
|
-
|
|
605
|
-
Array.<Cesium.Cartesian3>
|
|
606
|
-
|
|
607
|
-
</span>
|
|
608
|
-
|
|
601
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
609
602
|
|
|
610
603
|
|
|
611
604
|
|
|
@@ -629,12 +622,7 @@
|
|
|
629
622
|
<td class="type">
|
|
630
623
|
|
|
631
624
|
|
|
632
|
-
<span class="param-type">
|
|
633
|
-
|
|
634
|
-
<a link="MapGISM3DSet.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISM3DSet" MapGISM3DSet.html>MapGISM3DSet</a>
|
|
635
|
-
|
|
636
|
-
</span>
|
|
637
|
-
|
|
625
|
+
<span class="param-type"><a class="mapgis-link-name" title="MapGISM3DSet" MapGISM3DSet.html>MapGISM3DSet</a></span>
|
|
638
626
|
|
|
639
627
|
|
|
640
628
|
|
|
@@ -658,12 +646,7 @@
|
|
|
658
646
|
<td class="type">
|
|
659
647
|
|
|
660
648
|
|
|
661
|
-
<span class="param-type">
|
|
662
|
-
|
|
663
|
-
Object
|
|
664
|
-
|
|
665
|
-
</span>
|
|
666
|
-
|
|
649
|
+
<span class="param-type">Object</span>
|
|
667
650
|
|
|
668
651
|
|
|
669
652
|
|
|
@@ -751,7 +734,7 @@
|
|
|
751
734
|
<h4 class="name" id="changePlaneColor">
|
|
752
735
|
<a class="href-link" href="#changePlaneColor">#</a>
|
|
753
736
|
|
|
754
|
-
<span class="code-name"
|
|
737
|
+
<span class="code-name" style="font-size:30px">
|
|
755
738
|
|
|
756
739
|
changePlaneColor<span class="signature">(color<span class="signature-attributes">opt</span>)</span>
|
|
757
740
|
|
|
@@ -773,7 +756,7 @@
|
|
|
773
756
|
|
|
774
757
|
|
|
775
758
|
|
|
776
|
-
<h4
|
|
759
|
+
<h4>参数:</h4>
|
|
777
760
|
|
|
778
761
|
<div class="table-container">
|
|
779
762
|
<table class="params table">
|
|
@@ -805,12 +788,7 @@
|
|
|
805
788
|
<td class="type">
|
|
806
789
|
|
|
807
790
|
|
|
808
|
-
<span class="param-type">
|
|
809
|
-
|
|
810
|
-
Cesium.Color
|
|
811
|
-
|
|
812
|
-
</span>
|
|
813
|
-
|
|
791
|
+
<span class="param-type">Cesium.Color</span>
|
|
814
792
|
|
|
815
793
|
|
|
816
794
|
|
|
@@ -904,7 +882,7 @@
|
|
|
904
882
|
<h4 class="name" id="createModelCuttingPlane">
|
|
905
883
|
<a class="href-link" href="#createModelCuttingPlane">#</a>
|
|
906
884
|
|
|
907
|
-
<span class="code-name"
|
|
885
|
+
<span class="code-name" style="font-size:30px">
|
|
908
886
|
|
|
909
887
|
createModelCuttingPlane<span class="signature">(normal, options<span class="signature-attributes">opt</span>)</span>
|
|
910
888
|
|
|
@@ -926,7 +904,7 @@
|
|
|
926
904
|
|
|
927
905
|
|
|
928
906
|
|
|
929
|
-
<h4
|
|
907
|
+
<h4>参数:</h4>
|
|
930
908
|
|
|
931
909
|
<div class="table-container">
|
|
932
910
|
<table class="params table">
|
|
@@ -958,12 +936,7 @@
|
|
|
958
936
|
<td class="type">
|
|
959
937
|
|
|
960
938
|
|
|
961
|
-
<span class="param-type">
|
|
962
|
-
|
|
963
|
-
Cesium.Cartesian3
|
|
964
|
-
|
|
965
|
-
</span>
|
|
966
|
-
|
|
939
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
967
940
|
|
|
968
941
|
|
|
969
942
|
|
|
@@ -991,12 +964,7 @@
|
|
|
991
964
|
<td class="type">
|
|
992
965
|
|
|
993
966
|
|
|
994
|
-
<span class="param-type">
|
|
995
|
-
|
|
996
|
-
Object
|
|
997
|
-
|
|
998
|
-
</span>
|
|
999
|
-
|
|
967
|
+
<span class="param-type">Object</span>
|
|
1000
968
|
|
|
1001
969
|
|
|
1002
970
|
|
|
@@ -1022,12 +990,7 @@
|
|
|
1022
990
|
<td class="type">
|
|
1023
991
|
|
|
1024
992
|
|
|
1025
|
-
<span class="param-type">
|
|
1026
|
-
|
|
1027
|
-
Object
|
|
1028
|
-
|
|
1029
|
-
</span>
|
|
1030
|
-
|
|
993
|
+
<span class="param-type">Object</span>
|
|
1031
994
|
|
|
1032
995
|
|
|
1033
996
|
|
|
@@ -1055,12 +1018,7 @@
|
|
|
1055
1018
|
<td class="type">
|
|
1056
1019
|
|
|
1057
1020
|
|
|
1058
|
-
<span class="param-type">
|
|
1059
|
-
|
|
1060
|
-
Number
|
|
1061
|
-
|
|
1062
|
-
</span>
|
|
1063
|
-
|
|
1021
|
+
<span class="param-type">Number</span>
|
|
1064
1022
|
|
|
1065
1023
|
|
|
1066
1024
|
|
|
@@ -1088,12 +1046,7 @@
|
|
|
1088
1046
|
<td class="type">
|
|
1089
1047
|
|
|
1090
1048
|
|
|
1091
|
-
<span class="param-type">
|
|
1092
|
-
|
|
1093
|
-
Number
|
|
1094
|
-
|
|
1095
|
-
</span>
|
|
1096
|
-
|
|
1049
|
+
<span class="param-type">Number</span>
|
|
1097
1050
|
|
|
1098
1051
|
|
|
1099
1052
|
|
|
@@ -1121,12 +1074,7 @@
|
|
|
1121
1074
|
<td class="type">
|
|
1122
1075
|
|
|
1123
1076
|
|
|
1124
|
-
<span class="param-type">
|
|
1125
|
-
|
|
1126
|
-
Boolean
|
|
1127
|
-
|
|
1128
|
-
</span>
|
|
1129
|
-
|
|
1077
|
+
<span class="param-type">Boolean</span>
|
|
1130
1078
|
|
|
1131
1079
|
|
|
1132
1080
|
|
|
@@ -1154,12 +1102,7 @@
|
|
|
1154
1102
|
<td class="type">
|
|
1155
1103
|
|
|
1156
1104
|
|
|
1157
|
-
<span class="param-type">
|
|
1158
|
-
|
|
1159
|
-
Cesium.Color
|
|
1160
|
-
|
|
1161
|
-
</span>
|
|
1162
|
-
|
|
1105
|
+
<span class="param-type">Cesium.Color</span>
|
|
1163
1106
|
|
|
1164
1107
|
|
|
1165
1108
|
|
|
@@ -1187,12 +1130,7 @@
|
|
|
1187
1130
|
<td class="type">
|
|
1188
1131
|
|
|
1189
1132
|
|
|
1190
|
-
<span class="param-type">
|
|
1191
|
-
|
|
1192
|
-
Boolean
|
|
1193
|
-
|
|
1194
|
-
</span>
|
|
1195
|
-
|
|
1133
|
+
<span class="param-type">Boolean</span>
|
|
1196
1134
|
|
|
1197
1135
|
|
|
1198
1136
|
|
|
@@ -1289,7 +1227,7 @@
|
|
|
1289
1227
|
<h4 class="name" id="createModelCuttingPlaneFromLine">
|
|
1290
1228
|
<a class="href-link" href="#createModelCuttingPlaneFromLine">#</a>
|
|
1291
1229
|
|
|
1292
|
-
<span class="code-name"
|
|
1230
|
+
<span class="code-name" style="font-size:30px">
|
|
1293
1231
|
|
|
1294
1232
|
createModelCuttingPlaneFromLine<span class="signature">(pointA, pointB, options<span class="signature-attributes">opt</span>)</span>
|
|
1295
1233
|
|
|
@@ -1311,7 +1249,7 @@
|
|
|
1311
1249
|
|
|
1312
1250
|
|
|
1313
1251
|
|
|
1314
|
-
<h4
|
|
1252
|
+
<h4>参数:</h4>
|
|
1315
1253
|
|
|
1316
1254
|
<div class="table-container">
|
|
1317
1255
|
<table class="params table">
|
|
@@ -1343,12 +1281,7 @@
|
|
|
1343
1281
|
<td class="type">
|
|
1344
1282
|
|
|
1345
1283
|
|
|
1346
|
-
<span class="param-type">
|
|
1347
|
-
|
|
1348
|
-
Cesium.Cartesian3
|
|
1349
|
-
|
|
1350
|
-
</span>
|
|
1351
|
-
|
|
1284
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1352
1285
|
|
|
1353
1286
|
|
|
1354
1287
|
|
|
@@ -1376,12 +1309,7 @@
|
|
|
1376
1309
|
<td class="type">
|
|
1377
1310
|
|
|
1378
1311
|
|
|
1379
|
-
<span class="param-type">
|
|
1380
|
-
|
|
1381
|
-
Cesium.Cartesian3
|
|
1382
|
-
|
|
1383
|
-
</span>
|
|
1384
|
-
|
|
1312
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1385
1313
|
|
|
1386
1314
|
|
|
1387
1315
|
|
|
@@ -1409,12 +1337,7 @@
|
|
|
1409
1337
|
<td class="type">
|
|
1410
1338
|
|
|
1411
1339
|
|
|
1412
|
-
<span class="param-type">
|
|
1413
|
-
|
|
1414
|
-
Object
|
|
1415
|
-
|
|
1416
|
-
</span>
|
|
1417
|
-
|
|
1340
|
+
<span class="param-type">Object</span>
|
|
1418
1341
|
|
|
1419
1342
|
|
|
1420
1343
|
|
|
@@ -1440,12 +1363,7 @@
|
|
|
1440
1363
|
<td class="type">
|
|
1441
1364
|
|
|
1442
1365
|
|
|
1443
|
-
<span class="param-type">
|
|
1444
|
-
|
|
1445
|
-
Number
|
|
1446
|
-
|
|
1447
|
-
</span>
|
|
1448
|
-
|
|
1366
|
+
<span class="param-type">Number</span>
|
|
1449
1367
|
|
|
1450
1368
|
|
|
1451
1369
|
|
|
@@ -1473,12 +1391,7 @@
|
|
|
1473
1391
|
<td class="type">
|
|
1474
1392
|
|
|
1475
1393
|
|
|
1476
|
-
<span class="param-type">
|
|
1477
|
-
|
|
1478
|
-
Number
|
|
1479
|
-
|
|
1480
|
-
</span>
|
|
1481
|
-
|
|
1394
|
+
<span class="param-type">Number</span>
|
|
1482
1395
|
|
|
1483
1396
|
|
|
1484
1397
|
|
|
@@ -1506,12 +1419,7 @@
|
|
|
1506
1419
|
<td class="type">
|
|
1507
1420
|
|
|
1508
1421
|
|
|
1509
|
-
<span class="param-type">
|
|
1510
|
-
|
|
1511
|
-
Boolean
|
|
1512
|
-
|
|
1513
|
-
</span>
|
|
1514
|
-
|
|
1422
|
+
<span class="param-type">Boolean</span>
|
|
1515
1423
|
|
|
1516
1424
|
|
|
1517
1425
|
|
|
@@ -1539,12 +1447,7 @@
|
|
|
1539
1447
|
<td class="type">
|
|
1540
1448
|
|
|
1541
1449
|
|
|
1542
|
-
<span class="param-type">
|
|
1543
|
-
|
|
1544
|
-
Cesium.Color
|
|
1545
|
-
|
|
1546
|
-
</span>
|
|
1547
|
-
|
|
1450
|
+
<span class="param-type">Cesium.Color</span>
|
|
1548
1451
|
|
|
1549
1452
|
|
|
1550
1453
|
|
|
@@ -1572,12 +1475,7 @@
|
|
|
1572
1475
|
<td class="type">
|
|
1573
1476
|
|
|
1574
1477
|
|
|
1575
|
-
<span class="param-type">
|
|
1576
|
-
|
|
1577
|
-
Boolean
|
|
1578
|
-
|
|
1579
|
-
</span>
|
|
1580
|
-
|
|
1478
|
+
<span class="param-type">Boolean</span>
|
|
1581
1479
|
|
|
1582
1480
|
|
|
1583
1481
|
|
|
@@ -1674,7 +1572,7 @@
|
|
|
1674
1572
|
<h4 class="name" id="createModelCuttingPlaneFromPolyline">
|
|
1675
1573
|
<a class="href-link" href="#createModelCuttingPlaneFromPolyline">#</a>
|
|
1676
1574
|
|
|
1677
|
-
<span class="code-name"
|
|
1575
|
+
<span class="code-name" style="font-size:30px">
|
|
1678
1576
|
|
|
1679
1577
|
createModelCuttingPlaneFromPolyline<span class="signature">(positions, options<span class="signature-attributes">opt</span>)</span>
|
|
1680
1578
|
|
|
@@ -1696,7 +1594,7 @@
|
|
|
1696
1594
|
|
|
1697
1595
|
|
|
1698
1596
|
|
|
1699
|
-
<h4
|
|
1597
|
+
<h4>参数:</h4>
|
|
1700
1598
|
|
|
1701
1599
|
<div class="table-container">
|
|
1702
1600
|
<table class="params table">
|
|
@@ -1728,12 +1626,7 @@
|
|
|
1728
1626
|
<td class="type">
|
|
1729
1627
|
|
|
1730
1628
|
|
|
1731
|
-
<span class="param-type">
|
|
1732
|
-
|
|
1733
|
-
Array.<Cesium.Cartesian3>
|
|
1734
|
-
|
|
1735
|
-
</span>
|
|
1736
|
-
|
|
1629
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
1737
1630
|
|
|
1738
1631
|
|
|
1739
1632
|
|
|
@@ -1761,12 +1654,7 @@
|
|
|
1761
1654
|
<td class="type">
|
|
1762
1655
|
|
|
1763
1656
|
|
|
1764
|
-
<span class="param-type">
|
|
1765
|
-
|
|
1766
|
-
Object
|
|
1767
|
-
|
|
1768
|
-
</span>
|
|
1769
|
-
|
|
1657
|
+
<span class="param-type">Object</span>
|
|
1770
1658
|
|
|
1771
1659
|
|
|
1772
1660
|
|
|
@@ -1792,12 +1680,7 @@
|
|
|
1792
1680
|
<td class="type">
|
|
1793
1681
|
|
|
1794
1682
|
|
|
1795
|
-
<span class="param-type">
|
|
1796
|
-
|
|
1797
|
-
Boolean
|
|
1798
|
-
|
|
1799
|
-
</span>
|
|
1800
|
-
|
|
1683
|
+
<span class="param-type">Boolean</span>
|
|
1801
1684
|
|
|
1802
1685
|
|
|
1803
1686
|
|
|
@@ -1894,7 +1777,7 @@
|
|
|
1894
1777
|
<h4 class="name" id="createModelCuttingPolygon">
|
|
1895
1778
|
<a class="href-link" href="#createModelCuttingPolygon">#</a>
|
|
1896
1779
|
|
|
1897
|
-
<span class="code-name"
|
|
1780
|
+
<span class="code-name" style="font-size:30px">
|
|
1898
1781
|
|
|
1899
1782
|
createModelCuttingPolygon<span class="signature">(positions, minHeight, maxHeight, options)</span>
|
|
1900
1783
|
|
|
@@ -1917,7 +1800,7 @@
|
|
|
1917
1800
|
|
|
1918
1801
|
|
|
1919
1802
|
|
|
1920
|
-
<h4
|
|
1803
|
+
<h4>参数:</h4>
|
|
1921
1804
|
|
|
1922
1805
|
<div class="table-container">
|
|
1923
1806
|
<table class="params table">
|
|
@@ -1949,12 +1832,7 @@
|
|
|
1949
1832
|
<td class="type">
|
|
1950
1833
|
|
|
1951
1834
|
|
|
1952
|
-
<span class="param-type">
|
|
1953
|
-
|
|
1954
|
-
Array
|
|
1955
|
-
|
|
1956
|
-
</span>
|
|
1957
|
-
|
|
1835
|
+
<span class="param-type">Array</span>
|
|
1958
1836
|
|
|
1959
1837
|
|
|
1960
1838
|
|
|
@@ -1982,12 +1860,7 @@
|
|
|
1982
1860
|
<td class="type">
|
|
1983
1861
|
|
|
1984
1862
|
|
|
1985
|
-
<span class="param-type">
|
|
1986
|
-
|
|
1987
|
-
Number
|
|
1988
|
-
|
|
1989
|
-
</span>
|
|
1990
|
-
|
|
1863
|
+
<span class="param-type">Number</span>
|
|
1991
1864
|
|
|
1992
1865
|
|
|
1993
1866
|
|
|
@@ -2015,12 +1888,7 @@
|
|
|
2015
1888
|
<td class="type">
|
|
2016
1889
|
|
|
2017
1890
|
|
|
2018
|
-
<span class="param-type">
|
|
2019
|
-
|
|
2020
|
-
Number
|
|
2021
|
-
|
|
2022
|
-
</span>
|
|
2023
|
-
|
|
1891
|
+
<span class="param-type">Number</span>
|
|
2024
1892
|
|
|
2025
1893
|
|
|
2026
1894
|
|
|
@@ -2048,12 +1916,7 @@
|
|
|
2048
1916
|
<td class="type">
|
|
2049
1917
|
|
|
2050
1918
|
|
|
2051
|
-
<span class="param-type">
|
|
2052
|
-
|
|
2053
|
-
Object
|
|
2054
|
-
|
|
2055
|
-
</span>
|
|
2056
|
-
|
|
1919
|
+
<span class="param-type">Object</span>
|
|
2057
1920
|
|
|
2058
1921
|
|
|
2059
1922
|
|
|
@@ -2079,12 +1942,7 @@
|
|
|
2079
1942
|
<td class="type">
|
|
2080
1943
|
|
|
2081
1944
|
|
|
2082
|
-
<span class="param-type">
|
|
2083
|
-
|
|
2084
|
-
Cesium.Color
|
|
2085
|
-
|
|
2086
|
-
</span>
|
|
2087
|
-
|
|
1945
|
+
<span class="param-type">Cesium.Color</span>
|
|
2088
1946
|
|
|
2089
1947
|
|
|
2090
1948
|
|
|
@@ -2112,12 +1970,7 @@
|
|
|
2112
1970
|
<td class="type">
|
|
2113
1971
|
|
|
2114
1972
|
|
|
2115
|
-
<span class="param-type">
|
|
2116
|
-
|
|
2117
|
-
Boolean
|
|
2118
|
-
|
|
2119
|
-
</span>
|
|
2120
|
-
|
|
1973
|
+
<span class="param-type">Boolean</span>
|
|
2121
1974
|
|
|
2122
1975
|
|
|
2123
1976
|
|
|
@@ -2145,12 +1998,7 @@
|
|
|
2145
1998
|
<td class="type">
|
|
2146
1999
|
|
|
2147
2000
|
|
|
2148
|
-
<span class="param-type">
|
|
2149
|
-
|
|
2150
|
-
Boolean
|
|
2151
|
-
|
|
2152
|
-
</span>
|
|
2153
|
-
|
|
2001
|
+
<span class="param-type">Boolean</span>
|
|
2154
2002
|
|
|
2155
2003
|
|
|
2156
2004
|
|
|
@@ -2272,7 +2120,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2272
2120
|
<h4 class="name" id="createModelCuttingVolume">
|
|
2273
2121
|
<a class="href-link" href="#createModelCuttingVolume">#</a>
|
|
2274
2122
|
|
|
2275
|
-
<span class="code-name"
|
|
2123
|
+
<span class="code-name" style="font-size:30px">
|
|
2276
2124
|
|
|
2277
2125
|
createModelCuttingVolume<span class="signature">(positions, minHeight, maxHeight, options)</span>
|
|
2278
2126
|
|
|
@@ -2294,7 +2142,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2294
2142
|
|
|
2295
2143
|
|
|
2296
2144
|
|
|
2297
|
-
<h4
|
|
2145
|
+
<h4>参数:</h4>
|
|
2298
2146
|
|
|
2299
2147
|
<div class="table-container">
|
|
2300
2148
|
<table class="params table">
|
|
@@ -2326,12 +2174,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2326
2174
|
<td class="type">
|
|
2327
2175
|
|
|
2328
2176
|
|
|
2329
|
-
<span class="param-type">
|
|
2330
|
-
|
|
2331
|
-
Array.<Cesium.Cartesian3>
|
|
2332
|
-
|
|
2333
|
-
</span>
|
|
2334
|
-
|
|
2177
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
2335
2178
|
|
|
2336
2179
|
|
|
2337
2180
|
|
|
@@ -2359,12 +2202,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2359
2202
|
<td class="type">
|
|
2360
2203
|
|
|
2361
2204
|
|
|
2362
|
-
<span class="param-type">
|
|
2363
|
-
|
|
2364
|
-
Number
|
|
2365
|
-
|
|
2366
|
-
</span>
|
|
2367
|
-
|
|
2205
|
+
<span class="param-type">Number</span>
|
|
2368
2206
|
|
|
2369
2207
|
|
|
2370
2208
|
|
|
@@ -2392,12 +2230,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2392
2230
|
<td class="type">
|
|
2393
2231
|
|
|
2394
2232
|
|
|
2395
|
-
<span class="param-type">
|
|
2396
|
-
|
|
2397
|
-
Number
|
|
2398
|
-
|
|
2399
|
-
</span>
|
|
2400
|
-
|
|
2233
|
+
<span class="param-type">Number</span>
|
|
2401
2234
|
|
|
2402
2235
|
|
|
2403
2236
|
|
|
@@ -2425,12 +2258,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2425
2258
|
<td class="type">
|
|
2426
2259
|
|
|
2427
2260
|
|
|
2428
|
-
<span class="param-type">
|
|
2429
|
-
|
|
2430
|
-
Object
|
|
2431
|
-
|
|
2432
|
-
</span>
|
|
2433
|
-
|
|
2261
|
+
<span class="param-type">Object</span>
|
|
2434
2262
|
|
|
2435
2263
|
|
|
2436
2264
|
|
|
@@ -2456,12 +2284,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2456
2284
|
<td class="type">
|
|
2457
2285
|
|
|
2458
2286
|
|
|
2459
|
-
<span class="param-type">
|
|
2460
|
-
|
|
2461
|
-
Cesium.Color
|
|
2462
|
-
|
|
2463
|
-
</span>
|
|
2464
|
-
|
|
2287
|
+
<span class="param-type">Cesium.Color</span>
|
|
2465
2288
|
|
|
2466
2289
|
|
|
2467
2290
|
|
|
@@ -2489,12 +2312,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2489
2312
|
<td class="type">
|
|
2490
2313
|
|
|
2491
2314
|
|
|
2492
|
-
<span class="param-type">
|
|
2493
|
-
|
|
2494
|
-
Boolean
|
|
2495
|
-
|
|
2496
|
-
</span>
|
|
2497
|
-
|
|
2315
|
+
<span class="param-type">Boolean</span>
|
|
2498
2316
|
|
|
2499
2317
|
|
|
2500
2318
|
|
|
@@ -2522,12 +2340,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2522
2340
|
<td class="type">
|
|
2523
2341
|
|
|
2524
2342
|
|
|
2525
|
-
<span class="param-type">
|
|
2526
|
-
|
|
2527
|
-
Boolean
|
|
2528
|
-
|
|
2529
|
-
</span>
|
|
2530
|
-
|
|
2343
|
+
<span class="param-type">Boolean</span>
|
|
2531
2344
|
|
|
2532
2345
|
|
|
2533
2346
|
|
|
@@ -2555,12 +2368,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2555
2368
|
<td class="type">
|
|
2556
2369
|
|
|
2557
2370
|
|
|
2558
|
-
<span class="param-type">
|
|
2559
|
-
|
|
2560
|
-
String
|
|
2561
|
-
|
|
2562
|
-
</span>
|
|
2563
|
-
|
|
2371
|
+
<span class="param-type">String</span>
|
|
2564
2372
|
|
|
2565
2373
|
|
|
2566
2374
|
|
|
@@ -2588,12 +2396,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2588
2396
|
<td class="type">
|
|
2589
2397
|
|
|
2590
2398
|
|
|
2591
|
-
<span class="param-type">
|
|
2592
|
-
|
|
2593
|
-
String
|
|
2594
|
-
|
|
2595
|
-
</span>
|
|
2596
|
-
|
|
2399
|
+
<span class="param-type">String</span>
|
|
2597
2400
|
|
|
2598
2401
|
|
|
2599
2402
|
|
|
@@ -2690,7 +2493,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2690
2493
|
<h4 class="name" id="enabled">
|
|
2691
2494
|
<a class="href-link" href="#enabled">#</a>
|
|
2692
2495
|
|
|
2693
|
-
<span class="code-name"
|
|
2496
|
+
<span class="code-name" style="font-size:30px">
|
|
2694
2497
|
|
|
2695
2498
|
enabled<span class="signature">(value)</span>
|
|
2696
2499
|
|
|
@@ -2712,7 +2515,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2712
2515
|
|
|
2713
2516
|
|
|
2714
2517
|
|
|
2715
|
-
<h4
|
|
2518
|
+
<h4>参数:</h4>
|
|
2716
2519
|
|
|
2717
2520
|
<div class="table-container">
|
|
2718
2521
|
<table class="params table">
|
|
@@ -2742,12 +2545,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2742
2545
|
<td class="type">
|
|
2743
2546
|
|
|
2744
2547
|
|
|
2745
|
-
<span class="param-type">
|
|
2746
|
-
|
|
2747
|
-
Boolean
|
|
2748
|
-
|
|
2749
|
-
</span>
|
|
2750
|
-
|
|
2548
|
+
<span class="param-type">Boolean</span>
|
|
2751
2549
|
|
|
2752
2550
|
|
|
2753
2551
|
|
|
@@ -2835,7 +2633,7 @@ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
|
|
|
2835
2633
|
<h4 class="name" id="removeAll">
|
|
2836
2634
|
<a class="href-link" href="#removeAll">#</a>
|
|
2837
2635
|
|
|
2838
|
-
<span class="code-name"
|
|
2636
|
+
<span class="code-name" style="font-size:30px">
|
|
2839
2637
|
|
|
2840
2638
|
removeAll<span class="signature">()</span>
|
|
2841
2639
|
|
|
@@ -2935,7 +2733,7 @@ cutTool.removeAll();</code></pre>
|
|
|
2935
2733
|
<h4 class="name" id="showCuttingPlane">
|
|
2936
2734
|
<a class="href-link" href="#showCuttingPlane">#</a>
|
|
2937
2735
|
|
|
2938
|
-
<span class="code-name"
|
|
2736
|
+
<span class="code-name" style="font-size:30px">
|
|
2939
2737
|
|
|
2940
2738
|
showCuttingPlane<span class="signature">(showPlane<span class="signature-attributes">opt</span>)</span>
|
|
2941
2739
|
|
|
@@ -2957,7 +2755,7 @@ cutTool.removeAll();</code></pre>
|
|
|
2957
2755
|
|
|
2958
2756
|
|
|
2959
2757
|
|
|
2960
|
-
<h4
|
|
2758
|
+
<h4>参数:</h4>
|
|
2961
2759
|
|
|
2962
2760
|
<div class="table-container">
|
|
2963
2761
|
<table class="params table">
|
|
@@ -2989,12 +2787,7 @@ cutTool.removeAll();</code></pre>
|
|
|
2989
2787
|
<td class="type">
|
|
2990
2788
|
|
|
2991
2789
|
|
|
2992
|
-
<span class="param-type">
|
|
2993
|
-
|
|
2994
|
-
Boolean
|
|
2995
|
-
|
|
2996
|
-
</span>
|
|
2997
|
-
|
|
2790
|
+
<span class="param-type">Boolean</span>
|
|
2998
2791
|
|
|
2999
2792
|
|
|
3000
2793
|
|
|
@@ -3090,4 +2883,42 @@ cutTool.removeAll();</code></pre>
|
|
|
3090
2883
|
|
|
3091
2884
|
</article>
|
|
3092
2885
|
|
|
3093
|
-
</section>
|
|
2886
|
+
</section>
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
</div>
|
|
2892
|
+
|
|
2893
|
+
<footer class="footer">
|
|
2894
|
+
<div class="content has-text-centered">
|
|
2895
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
2896
|
+
<p class="sidebar-created-by">
|
|
2897
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
2898
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
2899
|
+
</p>
|
|
2900
|
+
</div>
|
|
2901
|
+
</footer>
|
|
2902
|
+
|
|
2903
|
+
</div>
|
|
2904
|
+
<div id="side-nav" class="side-nav">
|
|
2905
|
+
<div style="margin-bottom: 10px;">
|
|
2906
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
2907
|
+
</div>
|
|
2908
|
+
<div style="margin-bottom: 10px;">
|
|
2909
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
2910
|
+
</div>
|
|
2911
|
+
<div style="margin-bottom: 10px;">
|
|
2912
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
2913
|
+
</div>
|
|
2914
|
+
<div>
|
|
2915
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
2916
|
+
</div>
|
|
2917
|
+
</div>
|
|
2918
|
+
</div>
|
|
2919
|
+
<script src="scripts/linenumber.js"> </script>
|
|
2920
|
+
|
|
2921
|
+
<script src="scripts/search.js"> </script>
|
|
2922
|
+
|
|
2923
|
+
</body>
|
|
2924
|
+
</html>
|