@kq_npm/client3d_webgl_vue 4.3.4 → 4.3.5
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/index.js +1846 -429
- package/measure/index.js +122 -11
- package/package.json +1 -1
- package/sceneview/index.js +1567 -116
- package/slopeanalysis/index.js +16 -11
- package/slopeaspectanalysis/index.js +1512 -0
- package/slopeaspectanalysis/style/index.js +3 -0
- package/slopeaspectanalysis/style/slopeaspectanalysis.css +1 -0
- package/style.css +1 -1
package/slopeanalysis/index.js
CHANGED
|
@@ -250,18 +250,23 @@ class SlopeAnalysisViewModel {
|
|
|
250
250
|
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
251
251
|
|
|
252
252
|
this._globaOptions._drawManager = scenceView._drawManager;
|
|
253
|
-
var that = this;
|
|
254
|
-
that.
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
253
|
+
var that = this; // that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
254
|
+
// viewer: that._globaOptions.viewer,
|
|
255
|
+
// positions: [
|
|
256
|
+
// new Cesium.Cartesian3(528486.4951355414, 5591866.071664512, 3011848.5874731047),
|
|
257
|
+
// new Cesium.Cartesian3(511851.92328430264, 5590161.386242805, 3017839.604729828),
|
|
258
|
+
// new Cesium.Cartesian3(512863.7934440037, 5579087.150988879, 3037957.9974059854),
|
|
259
|
+
// new Cesium.Cartesian3(526764.7827270611, 5574253.865524863, 3044401.4321003747),
|
|
260
|
+
// new Cesium.Cartesian3(544782.217496756, 5578126.194618411, 3034189.5478781504),
|
|
261
|
+
// new Cesium.Cartesian3(546626.3798432688, 5588179.698741777, 3015426.663665117)
|
|
262
|
+
// ],
|
|
263
|
+
// isFilter: false,
|
|
264
|
+
// colorTableDegree: that._globaOptions.viewModel.colorTableDegree,
|
|
265
|
+
// colorTable: that._globaOptions.viewModel.colorTable
|
|
266
|
+
// });
|
|
267
|
+
// that._slopeAnalysis.destroy();
|
|
268
|
+
// that._slopeAnalysis = null;
|
|
263
269
|
|
|
264
|
-
that._slopeAnalysis = null;
|
|
265
270
|
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
266
271
|
if (shape) {
|
|
267
272
|
that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
|