@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.
@@ -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._slopeAnalysis = new Cesium.Kq3dSlope({
255
- viewer: that._globaOptions.viewer,
256
- positions: [new Cesium.Cartesian3(528486.4951355414, 5591866.071664512, 3011848.5874731047), new Cesium.Cartesian3(511851.92328430264, 5590161.386242805, 3017839.604729828), new Cesium.Cartesian3(512863.7934440037, 5579087.150988879, 3037957.9974059854), new Cesium.Cartesian3(526764.7827270611, 5574253.865524863, 3044401.4321003747), new Cesium.Cartesian3(544782.217496756, 5578126.194618411, 3034189.5478781504), new Cesium.Cartesian3(546626.3798432688, 5588179.698741777, 3015426.663665117)],
257
- isFilter: false,
258
- colorTableDegree: that._globaOptions.viewModel.colorTableDegree,
259
- colorTable: that._globaOptions.viewModel.colorTable
260
- });
261
-
262
- that._slopeAnalysis.destroy();
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; // 实例化分析对象