@kq_npm/client3d_webgl_vue 0.3.5-beta → 0.3.6-beta
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/adddata/index.js +1 -3
- package/excavatefillanalysis/index.js +4 -20
- package/floodanalysis/index.js +8 -20
- package/gpuspatialquery/index.js +5 -21
- package/index.js +504 -75
- package/isolineanalysis/index.js +4 -20
- package/modelselect/index.js +5 -21
- package/package.json +1 -1
- package/particleeffect/index.js +4 -20
- package/planeclip/index.js +5 -21
- package/scenceview/index.js +480 -2
- package/shadowanalysis/index.js +5 -21
- package/sightlineanalysis/index.js +2 -2
- package/skylineanalysis/index.js +6 -25
- package/slopeanalysis/index.js +4 -20
- package/terrainoperation/index.js +5 -21
- package/weathereffect/index.js +4 -20
package/adddata/index.js
CHANGED
|
@@ -128,10 +128,8 @@ class AddDataViewModel {
|
|
|
128
128
|
outlineColor: Cesium.Color.BLACK,
|
|
129
129
|
outlineWidth: 5,
|
|
130
130
|
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
|
131
|
-
horizontalOrigin: Cesium.HorizontalOrigin.MIDDLE,
|
|
132
|
-
verticalOrigin: Cesium.VerticalOrigin.TOP,
|
|
133
131
|
eyeOffset: Cesium.Cartesian3.ZERO,
|
|
134
|
-
pixelOffset: new Cesium.Cartesian2(0, 8),
|
|
132
|
+
pixelOffset: new Cesium.Cartesian2(0, -8),
|
|
135
133
|
disableDepthTestDistance: 35000000,
|
|
136
134
|
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 1000000000000)
|
|
137
135
|
},
|
|
@@ -76,27 +76,11 @@ function _defineProperty(obj, key, value) {
|
|
|
76
76
|
|
|
77
77
|
return obj;
|
|
78
78
|
}
|
|
79
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
80
|
-
var es_namespaceObject = require("element-plus/es");
|
|
81
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
82
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
83
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
84
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
89
|
-
init_js_default()(Vue, opts);
|
|
90
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
94
79
|
;// CONCATENATED MODULE: external "@turf/turf"
|
|
95
80
|
var turf_namespaceObject = require("@turf/turf");
|
|
96
81
|
;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
|
|
97
82
|
|
|
98
83
|
|
|
99
|
-
|
|
100
84
|
window.turf = turf_namespaceObject; //填挖方分析逻辑类
|
|
101
85
|
|
|
102
86
|
class ExcavateFillAnalysisViewModel {
|
|
@@ -159,10 +143,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
159
143
|
clampToGround: true
|
|
160
144
|
});
|
|
161
145
|
} else {
|
|
162
|
-
|
|
163
|
-
message: "请加载地形后分析!",
|
|
164
|
-
type: "warning"
|
|
165
|
-
});
|
|
146
|
+
throw "请加载地形后分析!";
|
|
166
147
|
}
|
|
167
148
|
} //清除全部结果
|
|
168
149
|
|
|
@@ -606,6 +587,9 @@ const __default__ = {
|
|
|
606
587
|
const __exports__ = ExcavateFillAnalysisvue_type_script_setup_true_lang_js;
|
|
607
588
|
|
|
608
589
|
/* harmony default export */ var ExcavateFillAnalysis = (__exports__);
|
|
590
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
591
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
592
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
609
593
|
;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/index.js
|
|
610
594
|
|
|
611
595
|
|
package/floodanalysis/index.js
CHANGED
|
@@ -74,26 +74,10 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
78
|
-
var es_namespaceObject = require("element-plus/es");
|
|
79
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
80
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
81
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
82
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
87
|
-
init_js_default()(Vue, opts);
|
|
88
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
92
77
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
93
78
|
var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
94
79
|
;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
|
|
95
80
|
|
|
96
|
-
|
|
97
81
|
//地形淹没分析逻辑类
|
|
98
82
|
|
|
99
83
|
class FloodAnalysisViewModel {
|
|
@@ -205,10 +189,11 @@ class FloodAnalysisViewModel {
|
|
|
205
189
|
|
|
206
190
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
207
191
|
} else {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
192
|
+
if (this._mode === 0) {
|
|
193
|
+
throw "请加载地形后分析!";
|
|
194
|
+
} else if (this._mode === 1) {
|
|
195
|
+
throw "请加载模型后分析!";
|
|
196
|
+
}
|
|
212
197
|
}
|
|
213
198
|
} //清除全部结果
|
|
214
199
|
|
|
@@ -876,6 +861,9 @@ const __default__ = {
|
|
|
876
861
|
const __exports__ = FloodAnalysisvue_type_script_setup_true_lang_js;
|
|
877
862
|
|
|
878
863
|
/* harmony default export */ var FloodAnalysis = (__exports__);
|
|
864
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
865
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
866
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
879
867
|
;// CONCATENATED MODULE: ./src/webgl/floodanalysis/index.js
|
|
880
868
|
|
|
881
869
|
|
package/gpuspatialquery/index.js
CHANGED
|
@@ -77,25 +77,9 @@ function _defineProperty(obj, key, value) {
|
|
|
77
77
|
|
|
78
78
|
return obj;
|
|
79
79
|
}
|
|
80
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
81
|
-
var es_namespaceObject = require("element-plus/es");
|
|
82
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
83
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
84
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
85
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
90
|
-
init_js_default()(Vue, opts);
|
|
91
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
95
80
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GpuSpatialQueryViewModel.js
|
|
96
81
|
|
|
97
|
-
|
|
98
|
-
|
|
82
|
+
//GPU空间查询逻辑类
|
|
99
83
|
class GpuSpatialQueryViewModel {
|
|
100
84
|
constructor(scenceView, options) {
|
|
101
85
|
_defineProperty(this, "_gpuSpatialQuery", null);
|
|
@@ -194,10 +178,7 @@ class GpuSpatialQueryViewModel {
|
|
|
194
178
|
image: null
|
|
195
179
|
});
|
|
196
180
|
} else {
|
|
197
|
-
|
|
198
|
-
message: "请添加模型后分析!",
|
|
199
|
-
type: "warning"
|
|
200
|
-
});
|
|
181
|
+
throw "请添加模型后分析!";
|
|
201
182
|
}
|
|
202
183
|
} // 开始查询
|
|
203
184
|
|
|
@@ -922,6 +903,9 @@ const __default__ = {
|
|
|
922
903
|
const __exports__ = GpuSpatialQueryvue_type_script_setup_true_lang_js;
|
|
923
904
|
|
|
924
905
|
/* harmony default export */ var GpuSpatialQuery = (__exports__);
|
|
906
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
907
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
908
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
925
909
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/index.js
|
|
926
910
|
|
|
927
911
|
|