@kq_npm/client3d_webgl_vue 4.5.55 → 4.5.56
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/airspacegridoccupancyquery/index.js +1876 -0
- package/airspacegridoccupancyquery/style/airspacegridoccupancyquery.css +1 -0
- package/airspacegridoccupancyquery/style/index.js +3 -0
- package/airspaceprofileanalysis/index.js +1778 -0
- package/airspaceprofileanalysis/style/airspaceprofileanalysis.css +1 -0
- package/airspaceprofileanalysis/style/index.js +3 -0
- package/buildpointmodel/index.js +111 -31
- package/clientPrint/index.js +22739 -119
- package/gpuspatialquery/index.js +69 -9
- package/gridoccupancyquery/index.js +561 -0
- package/gridoccupancyquery/style/gridoccupancyquery.css +1 -0
- package/gridoccupancyquery/style/index.js +3 -0
- package/index.js +22739 -119
- package/lowaltitudefeature/index.js +4854 -0
- package/lowaltitudefeature/style/index.js +3 -0
- package/lowaltitudefeature/style/lowaltitudefeature.css +1 -0
- package/modelprofileanalysis/index.js +1 -0
- package/modelselect/index.js +1 -0
- package/package.json +1 -1
- package/sceneapp/index.js +22739 -119
- package/sceneview/index.js +22739 -119
- package/sceneview/style/sceneview.css +1 -1
- package/style.css +1 -1
- package/toolbarapp/index.js +22739 -119
- package/toolboxapp/index.js +22739 -119
- package/videofusion/index.js +80 -51
- package/viewshedanalysis/index.js +3 -1
- package/webgl.es.js +867 -16
- package/windyslicing/index.js +25 -9
package/windyslicing/index.js
CHANGED
|
@@ -511,6 +511,11 @@ class WindySlicingViewModel {
|
|
|
511
511
|
this.windySlicingSurfaceSection(this._currentVolumePosition, Object.assign(layerConfig, {
|
|
512
512
|
zValues: val
|
|
513
513
|
}));
|
|
514
|
+
this._handleSectionChange('long');
|
|
515
|
+
this._handleSectionChange('lat');
|
|
516
|
+
setTimeout(() => {
|
|
517
|
+
this._setgdVolumeVisible();
|
|
518
|
+
}, 200);
|
|
514
519
|
}
|
|
515
520
|
}
|
|
516
521
|
|
|
@@ -633,7 +638,7 @@ class WindySlicingViewModel {
|
|
|
633
638
|
setjdVolumeVisible() {
|
|
634
639
|
const line = JSON.parse(JSON.stringify(this.volumelines?.volumeLine1));
|
|
635
640
|
line.forEach(item => {
|
|
636
|
-
item.x = item.x
|
|
641
|
+
item.x = item.x + Number(this._options["longSectionValue"]);
|
|
637
642
|
});
|
|
638
643
|
const zValues = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
639
644
|
this._volumePrimitive1 = this.getSlicingParams({
|
|
@@ -650,7 +655,7 @@ class WindySlicingViewModel {
|
|
|
650
655
|
setwdVolumeVisible() {
|
|
651
656
|
const line = JSON.parse(JSON.stringify(this.volumelines?.volumeLine2));
|
|
652
657
|
line.forEach(item => {
|
|
653
|
-
item.y = item.y
|
|
658
|
+
item.y = item.y + Number(this._options["latSectionValue"]);
|
|
654
659
|
});
|
|
655
660
|
const zValues = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
656
661
|
this._volumePrimitive2 = this.getSlicingParams({
|
|
@@ -662,16 +667,27 @@ class WindySlicingViewModel {
|
|
|
662
667
|
this._volumePrimitive2.showSection(line);
|
|
663
668
|
});
|
|
664
669
|
}
|
|
665
|
-
|
|
666
670
|
// 高度剖面
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
if (this.
|
|
671
|
-
|
|
671
|
+
_setgdVolumeVisible() {
|
|
672
|
+
let zshowMax = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
673
|
+
let zVisibles = [];
|
|
674
|
+
if (this._options["enableHeightSection"]) {
|
|
675
|
+
for (let i = 0; i < zshowMax.length; i++) {
|
|
676
|
+
if (i == this._options["heightSectionValue"] - 1) {
|
|
677
|
+
zVisibles.push(true);
|
|
678
|
+
} else {
|
|
679
|
+
zVisibles.push(false);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
if (this._windySlicingLayerconfig.unit == "hpa") zVisibles = zVisibles.reverse();
|
|
683
|
+
if (this._volumePrimitive) this._volumePrimitive.updateVisibles(zVisibles);
|
|
684
|
+
} else {
|
|
685
|
+
for (let i = 0; i < zshowMax.length; i++) {
|
|
686
|
+
zVisibles.push(false);
|
|
687
|
+
}
|
|
688
|
+
this._volumePrimitive && this._volumePrimitive.updateVisibles(zVisibles);
|
|
672
689
|
}
|
|
673
690
|
}
|
|
674
|
-
|
|
675
691
|
// 分层显隐(重命名+简化逻辑)
|
|
676
692
|
_setEnableLayeringVisible() {
|
|
677
693
|
const zValues = this._windySlicingLayerconfig?.zValues || [];
|