earthsdk3 3.4.0-beta.19 → 3.4.0-beta.21
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/dist/earthsdk3.iife.js +28 -28
- package/dist/earthsdk3.js +793 -791
- package/dist/earthsdk3.umd.cjs +27 -27
- package/dist/types/ESObjects/general/ESCzml.d.ts +1 -1
- package/dist/types/ESObjects/general/ESCzml.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESEntityCluster.d.ts +9 -9
- package/dist/types/ESObjects/general/ESEntityCluster.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoJson/index.d.ts +10 -9
- package/dist/types/ESObjects/general/ESGeoJson/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoJson/type.d.ts +0 -6
- package/dist/types/ESObjects/general/ESGeoJson/type.d.ts.map +1 -1
- package/dist/types/utils/base/utils.d.ts +7 -1
- package/dist/types/utils/base/utils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/earthsdk3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Tg = Object.defineProperty;
|
|
2
2
|
var Og = (n, t, e) => t in n ? Tg(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var f = (n, t, e) => Og(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { ReactiveVariable as Jo, reactJson as gt, getReactFuncs as Us, react as U, setExtProp as Xa, createGuid as Sc, getExtProp as Qo, extendClassProps as qi, reactArrayWithUndefined as ce, createAnimateFrame as Cc, ObjResettingWithEvent as Te, reactJsonWithUndefined as Yt, reactDeepArrayWithUndefined as Ic, ObservableArray as Ud, Player as
|
|
4
|
+
import { ReactiveVariable as Jo, reactJson as gt, getReactFuncs as Us, react as U, setExtProp as Xa, createGuid as Sc, getExtProp as Qo, extendClassProps as qi, reactArrayWithUndefined as ce, createAnimateFrame as Cc, ObjResettingWithEvent as Te, reactJsonWithUndefined as Yt, reactDeepArrayWithUndefined as Ic, ObservableArray as Ud, Player as Mg, createNextAnimateFrameEvent as xr, SceneObjectWithId as Dg, clamp as Gd, pluckProperty as sh, reactDeepArray as Lg, min as Ll, objsIterator as po, max as Rl, Vector as Ia, Tree as Ba, TreeItem as qd, bind as tt, every as Rg, createTimeoutWithStartValues as Ag, createProcessingFromAsyncFunc as gl, CancelError as Fg, animateFrame as kg, reactPositions as Pc, reactArray as lt, nextAnimateFrame as Vg, sleep as Wd, reactArrayCollectionWithUndefined as Bg, reactPositionsSet as zg, track as k, forEach as Ni, length as jg, DomElementEvent as Xi, PointerClick as Ug, PointerHover as Gg, getDomEventCurrentTargetPos as Yi } from "xbsj-base";
|
|
5
5
|
import Xd from "proj4";
|
|
6
6
|
import * as Ue from "@turf/turf";
|
|
7
7
|
function qg() {
|
|
@@ -39,7 +39,7 @@ function oh(n) {
|
|
|
39
39
|
}
|
|
40
40
|
let La;
|
|
41
41
|
try {
|
|
42
|
-
const n = "earthsdk3", t = "3.4.0-beta.
|
|
42
|
+
const n = "earthsdk3", t = "3.4.0-beta.21", e = "2025-09-09T07:38:04.000Z", r = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "f67aacb710aadc7ef8013d562825b5470d533599", a = ((Date.now() - 1757403484e3) / 36e5).toFixed(1), u = `%c🌏 ${n}%c ${t}.${s.slice(0, 8)}.${e} (距今${a}个小时)
|
|
43
43
|
%c${i ? i + `
|
|
44
44
|
` : ""}当前网站正在使用${n},此软件版权归${r}所有
|
|
45
45
|
`;
|
|
@@ -69,7 +69,7 @@ try {
|
|
|
69
69
|
},
|
|
70
70
|
// @ts-ignore
|
|
71
71
|
get version() {
|
|
72
|
-
return "3.4.0-beta.
|
|
72
|
+
return "3.4.0-beta.21";
|
|
73
73
|
},
|
|
74
74
|
// @ts-ignore
|
|
75
75
|
get name() {
|
|
@@ -1226,7 +1226,7 @@ class ht extends St {
|
|
|
1226
1226
|
return "StringProperty";
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
|
-
class
|
|
1229
|
+
class M extends St {
|
|
1230
1230
|
get type() {
|
|
1231
1231
|
return "NumberProperty";
|
|
1232
1232
|
}
|
|
@@ -1366,7 +1366,7 @@ class _w extends hr {
|
|
|
1366
1366
|
return "ColorRgbProperty";
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
class ww extends
|
|
1369
|
+
class ww extends M {
|
|
1370
1370
|
get type() {
|
|
1371
1371
|
return "DashPatternProperty";
|
|
1372
1372
|
}
|
|
@@ -2774,12 +2774,12 @@ const le = class le extends et {
|
|
|
2774
2774
|
new st([], "飞行定位", "飞向参数"),
|
|
2775
2775
|
new ot(["number"], (r) => this.flyTo(r), [1], "飞向"),
|
|
2776
2776
|
new $([this, "flyToParam"], "flyToParam", void 0, void 0, !0),
|
|
2777
|
-
new
|
|
2778
|
-
new
|
|
2779
|
-
new
|
|
2780
|
-
new
|
|
2781
|
-
new
|
|
2782
|
-
new
|
|
2777
|
+
new M([this, "flyToDistance"], "flyToDistance", void 0, !0),
|
|
2778
|
+
new M([this, "flyToHeading"], "flyToHeading", void 0, !0),
|
|
2779
|
+
new M([this, "flyToPitch"], "flyToPitch", void 0, !0),
|
|
2780
|
+
new M([this, "flyToFlyDuration"], "flyToFlyDuration", void 0, !0),
|
|
2781
|
+
new M([this, "flyToHDelta"], "flyToHDelta", void 0, !0),
|
|
2782
|
+
new M([this, "flyToPDelta"], "flyToPDelta", void 0, !0),
|
|
2783
2783
|
new st([], "飞入参数"),
|
|
2784
2784
|
new ot(["number"], (r) => this.flyIn(r), [1], "飞入"),
|
|
2785
2785
|
new $([this, "flyInParam"], "flyInParam", void 0, void 0, !0)
|
|
@@ -3036,16 +3036,25 @@ function kl(n, t) {
|
|
|
3036
3036
|
function Ow(n) {
|
|
3037
3037
|
return Qo(n, "__treeItem");
|
|
3038
3038
|
}
|
|
3039
|
-
function
|
|
3039
|
+
function Mw(n) {
|
|
3040
3040
|
if (!(n.startsWith("./") || n.startsWith("../") || n.startsWith("/"))) return n;
|
|
3041
3041
|
const t = document.createElement("a");
|
|
3042
3042
|
t.href = n;
|
|
3043
3043
|
const e = t.href;
|
|
3044
3044
|
return t.remove(), e;
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3046
|
+
function ep(n) {
|
|
3047
|
+
if (typeof n != "string") return !1;
|
|
3047
3048
|
try {
|
|
3048
|
-
|
|
3049
|
+
const t = JSON.parse(n);
|
|
3050
|
+
return typeof t == "object" && t !== null;
|
|
3051
|
+
} catch {
|
|
3052
|
+
return !1;
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
function Dw(n) {
|
|
3056
|
+
try {
|
|
3057
|
+
return new DOMParser().parseFromString(n, "application/xml").getElementsByTagName("parsererror").length === 0;
|
|
3049
3058
|
} catch {
|
|
3050
3059
|
return !1;
|
|
3051
3060
|
}
|
|
@@ -3081,7 +3090,7 @@ function Vl(n, t, e) {
|
|
|
3081
3090
|
const s = r * (1 - e) + i * e;
|
|
3082
3091
|
return Cm(s);
|
|
3083
3092
|
}
|
|
3084
|
-
function
|
|
3093
|
+
function rp(n, t, e, r) {
|
|
3085
3094
|
return r = r || [0, 0, 0], r[0] = Vl(n[0], t[0], e), r[1] = Vl(n[1], t[1], e), r[2] = Vl(n[2], t[2], e), r;
|
|
3086
3095
|
}
|
|
3087
3096
|
function Im(n, t, e = "editing") {
|
|
@@ -3117,7 +3126,7 @@ class Pm extends Y {
|
|
|
3117
3126
|
/**
|
|
3118
3127
|
* 场景对象 ID 的可观察值
|
|
3119
3128
|
*/
|
|
3120
|
-
f(this, "_sceneObjectId", this.dv(new
|
|
3129
|
+
f(this, "_sceneObjectId", this.dv(new Dg()));
|
|
3121
3130
|
this._id = e, this._startTimeStamp = r, this._duration = i, this._parent = s, this._sceneObjectId.id = this._id;
|
|
3122
3131
|
const o = () => {
|
|
3123
3132
|
if (!this.player) return;
|
|
@@ -3171,7 +3180,7 @@ const bm = `
|
|
|
3171
3180
|
* 子播放器的可观察数组
|
|
3172
3181
|
*/
|
|
3173
3182
|
f(this, "_subPlayers", this.dv(new Ud()));
|
|
3174
|
-
const e = this.dv(new
|
|
3183
|
+
const e = this.dv(new Mg());
|
|
3175
3184
|
{
|
|
3176
3185
|
const o = () => {
|
|
3177
3186
|
e.loop = this.loop ?? Ve.defaults.loop;
|
|
@@ -3311,7 +3320,7 @@ let hi = Ve;
|
|
|
3311
3320
|
});
|
|
3312
3321
|
})(hi || (hi = {}));
|
|
3313
3322
|
qi(hi.prototype, hi.createDefaultProps);
|
|
3314
|
-
class
|
|
3323
|
+
class np extends Y {
|
|
3315
3324
|
/**
|
|
3316
3325
|
* 构造函数,初始化场景对象的 ID,并进行相关的初始化操作。
|
|
3317
3326
|
* @param _id - 场景对象的 ID。
|
|
@@ -3363,7 +3372,7 @@ class xm extends Y {
|
|
|
3363
3372
|
* 存储 SceneObjectFromId 实例的变量。
|
|
3364
3373
|
*/
|
|
3365
3374
|
f(this, "_sofi");
|
|
3366
|
-
this._id = e, this._sofi = this.dv(new
|
|
3375
|
+
this._id = e, this._sofi = this.dv(new np(this._id));
|
|
3367
3376
|
{
|
|
3368
3377
|
const i = () => {
|
|
3369
3378
|
r.sceneObject = this._sofi.sceneObject;
|
|
@@ -3489,7 +3498,7 @@ let Tm = class extends Y {
|
|
|
3489
3498
|
*/
|
|
3490
3499
|
f(this, "_doEvalEvent", this.dv(new F()));
|
|
3491
3500
|
const s = this._doEvalEvent, o = this.disposeVar(xr(s)), a = e.map(([u, l]) => {
|
|
3492
|
-
const c = new
|
|
3501
|
+
const c = new np(u), h = l && new Nm(c, l, s, r) || void 0;
|
|
3493
3502
|
return [c, h];
|
|
3494
3503
|
});
|
|
3495
3504
|
this.d(() => {
|
|
@@ -3520,7 +3529,7 @@ let Tm = class extends Y {
|
|
|
3520
3529
|
const Om = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3521
3530
|
__proto__: null,
|
|
3522
3531
|
WatcherObjects: Tm
|
|
3523
|
-
}, Symbol.toStringTag, { value: "Module" })), { WatcherObjects:
|
|
3532
|
+
}, Symbol.toStringTag, { value: "Module" })), { WatcherObjects: Mm } = Om;
|
|
3524
3533
|
class qu extends Y {
|
|
3525
3534
|
/**
|
|
3526
3535
|
* Watcher 类的构造函数
|
|
@@ -3547,7 +3556,7 @@ class qu extends Y {
|
|
|
3547
3556
|
this.enabled && (this.debug && console.log("执行evalFunc..."), this._evalFunc && this._evalFunc(o), e.value && e.value(o));
|
|
3548
3557
|
}, s = this.disposeVar(new Te(this.objIdAndPropChangedNamesChanged, () => {
|
|
3549
3558
|
if (this.objIdAndPropChangedNames.length > 0)
|
|
3550
|
-
return this.debug && console.log("监视对象发生变化,重新创建WatcherObjects"), new
|
|
3559
|
+
return this.debug && console.log("监视对象发生变化,重新创建WatcherObjects"), new Mm(this.objIdAndPropChangedNames, this, i);
|
|
3551
3560
|
}));
|
|
3552
3561
|
this.dispose(this._forceExecute.disposableOn(() => {
|
|
3553
3562
|
var o;
|
|
@@ -3631,20 +3640,20 @@ class qu extends Y {
|
|
|
3631
3640
|
});
|
|
3632
3641
|
})(qu || (qu = {}));
|
|
3633
3642
|
qi(qu.prototype, qu.createDefaultProps);
|
|
3634
|
-
const
|
|
3643
|
+
const ip = Xd("+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees", "+proj=geocent +datum=WGS84");
|
|
3635
3644
|
function Li(n) {
|
|
3636
|
-
return
|
|
3645
|
+
return ip.forward(n);
|
|
3637
3646
|
}
|
|
3638
|
-
function
|
|
3639
|
-
return
|
|
3647
|
+
function Dm(n) {
|
|
3648
|
+
return ip.inverse(n);
|
|
3640
3649
|
}
|
|
3641
|
-
const Lm = "+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs",
|
|
3650
|
+
const Lm = "+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs", sp = Xd("+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees", Lm);
|
|
3642
3651
|
function kw(n) {
|
|
3643
|
-
const t =
|
|
3652
|
+
const t = sp.forward([n[0], n[1]]);
|
|
3644
3653
|
return [t[0], t[1], n[2]];
|
|
3645
3654
|
}
|
|
3646
3655
|
function Vw(n) {
|
|
3647
|
-
const t =
|
|
3656
|
+
const t = sp.inverse([n[0], n[1]]);
|
|
3648
3657
|
return [t[0], t[1], n[2]];
|
|
3649
3658
|
}
|
|
3650
3659
|
function Bw(n, t) {
|
|
@@ -3652,7 +3661,7 @@ function Bw(n, t) {
|
|
|
3652
3661
|
const e = Ue.point(t), r = Ue.polygon([n]);
|
|
3653
3662
|
return Ue.booleanPointInPolygon(e, r);
|
|
3654
3663
|
}
|
|
3655
|
-
var ze = 63710088e-1,
|
|
3664
|
+
var ze = 63710088e-1, op = {
|
|
3656
3665
|
centimeters: ze * 100,
|
|
3657
3666
|
centimetres: ze * 100,
|
|
3658
3667
|
degrees: ze / 111325,
|
|
@@ -3729,14 +3738,14 @@ function xc(n, t, e) {
|
|
|
3729
3738
|
}
|
|
3730
3739
|
function Nc(n, t) {
|
|
3731
3740
|
t === void 0 && (t = "kilometers");
|
|
3732
|
-
var e =
|
|
3741
|
+
var e = op[t];
|
|
3733
3742
|
if (!e)
|
|
3734
3743
|
throw new Error(t + " units is invalid");
|
|
3735
3744
|
return n * e;
|
|
3736
3745
|
}
|
|
3737
3746
|
function Tc(n, t) {
|
|
3738
3747
|
t === void 0 && (t = "kilometers");
|
|
3739
|
-
var e =
|
|
3748
|
+
var e = op[t];
|
|
3740
3749
|
if (!e)
|
|
3741
3750
|
throw new Error(t + " units is invalid");
|
|
3742
3751
|
return n / e;
|
|
@@ -3995,7 +4004,7 @@ function km(n, t, e) {
|
|
|
3995
4004
|
}
|
|
3996
4005
|
), r;
|
|
3997
4006
|
}
|
|
3998
|
-
function
|
|
4007
|
+
function Mc(n, t) {
|
|
3999
4008
|
yl(n, function(e, r, i, s, o) {
|
|
4000
4009
|
var a = e === null ? null : e.type;
|
|
4001
4010
|
switch (a) {
|
|
@@ -4032,7 +4041,7 @@ function Dc(n, t) {
|
|
|
4032
4041
|
});
|
|
4033
4042
|
}
|
|
4034
4043
|
function Vm(n, t) {
|
|
4035
|
-
|
|
4044
|
+
Mc(n, function(e, r, i) {
|
|
4036
4045
|
var s = 0;
|
|
4037
4046
|
if (e.geometry) {
|
|
4038
4047
|
var o = e.geometry.type;
|
|
@@ -4109,12 +4118,12 @@ function gh(n) {
|
|
|
4109
4118
|
function Bl(n) {
|
|
4110
4119
|
return n * Math.PI / 180;
|
|
4111
4120
|
}
|
|
4112
|
-
function
|
|
4121
|
+
function ap(n) {
|
|
4113
4122
|
if ((n[0][0] !== n[n.length - 1][0] || n[0][1] !== n[n.length - 1][1] || n[0][2] !== n[n.length - 1][2]) && n.push(n[0]), n.length <= 3) return 0;
|
|
4114
4123
|
const t = fr([n]);
|
|
4115
4124
|
return Bm(t);
|
|
4116
4125
|
}
|
|
4117
|
-
function
|
|
4126
|
+
function up(n) {
|
|
4118
4127
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
4119
4128
|
}
|
|
4120
4129
|
function jm(n) {
|
|
@@ -4137,7 +4146,7 @@ function jm(n) {
|
|
|
4137
4146
|
}), e;
|
|
4138
4147
|
}
|
|
4139
4148
|
var bu = { exports: {} }, zu = { exports: {} }, Um = zu.exports, mh;
|
|
4140
|
-
function
|
|
4149
|
+
function lp() {
|
|
4141
4150
|
return mh || (mh = 1, function(n, t) {
|
|
4142
4151
|
(function(e, r) {
|
|
4143
4152
|
n.exports = r();
|
|
@@ -4146,7 +4155,7 @@ function up() {
|
|
|
4146
4155
|
(function S(I, x, O, P, N) {
|
|
4147
4156
|
for (; P > O; ) {
|
|
4148
4157
|
if (P - O > 600) {
|
|
4149
|
-
var
|
|
4158
|
+
var D = P - O + 1, R = x - O + 1, W = Math.log(D), z = 0.5 * Math.exp(2 * W / 3), Z = 0.5 * Math.sqrt(W * z * (D - z) / D) * (R - D / 2 < 0 ? -1 : 1), at = Math.max(O, Math.floor(x - R * z / D + Z)), dt = Math.min(P, Math.floor(x + (D - R) * z / D + Z));
|
|
4150
4159
|
S(I, x, at, dt, N);
|
|
4151
4160
|
}
|
|
4152
4161
|
var G = I[x], X = O, H = P;
|
|
@@ -4294,21 +4303,21 @@ function up() {
|
|
|
4294
4303
|
for (var P = _; P <= g; P += O) {
|
|
4295
4304
|
var N = Math.min(P + O - 1, g);
|
|
4296
4305
|
b(m, P, N, x, this.compareMinY);
|
|
4297
|
-
for (var
|
|
4298
|
-
var R = Math.min(
|
|
4299
|
-
w.children.push(this._build(m,
|
|
4306
|
+
for (var D = P; D <= N; D += x) {
|
|
4307
|
+
var R = Math.min(D + x - 1, N);
|
|
4308
|
+
w.children.push(this._build(m, D, R, y - 1));
|
|
4300
4309
|
}
|
|
4301
4310
|
}
|
|
4302
4311
|
return a(w, this.toBBox), w;
|
|
4303
4312
|
}, s.prototype._chooseSubtree = function(m, _, g, y) {
|
|
4304
4313
|
for (; y.push(_), !_.leaf && y.length - 1 !== g; ) {
|
|
4305
4314
|
for (var w = 1 / 0, S = 1 / 0, I = void 0, x = 0; x < _.children.length; x++) {
|
|
4306
|
-
var O = _.children[x], P = d(O), N = (
|
|
4315
|
+
var O = _.children[x], P = d(O), N = (D = m, R = O, (Math.max(R.maxX, D.maxX) - Math.min(R.minX, D.minX)) * (Math.max(R.maxY, D.maxY) - Math.min(R.minY, D.minY)) - P);
|
|
4307
4316
|
N < S ? (S = N, w = P < w ? P : w, I = O) : N === S && P < w && (w = P, I = O);
|
|
4308
4317
|
}
|
|
4309
4318
|
_ = I || _.children[0];
|
|
4310
4319
|
}
|
|
4311
|
-
var
|
|
4320
|
+
var D, R;
|
|
4312
4321
|
return _;
|
|
4313
4322
|
}, s.prototype._insert = function(m, _, g) {
|
|
4314
4323
|
var y = g ? m : this.toBBox(m), w = [], S = this._chooseSubtree(y, this.data, _, w);
|
|
@@ -4322,9 +4331,9 @@ function up() {
|
|
|
4322
4331
|
}, s.prototype._splitRoot = function(m, _) {
|
|
4323
4332
|
this.data = C([m, _]), this.data.height = m.height + 1, this.data.leaf = !1, a(this.data, this.toBBox);
|
|
4324
4333
|
}, s.prototype._chooseSplitIndex = function(m, _, g) {
|
|
4325
|
-
for (var y, w, S, I, x, O, P, N = 1 / 0,
|
|
4334
|
+
for (var y, w, S, I, x, O, P, N = 1 / 0, D = 1 / 0, R = _; R <= g - _; R++) {
|
|
4326
4335
|
var W = u(m, 0, R, this.toBBox), z = u(m, R, g, this.toBBox), Z = (w = W, S = z, I = void 0, x = void 0, O = void 0, P = void 0, I = Math.max(w.minX, S.minX), x = Math.max(w.minY, S.minY), O = Math.min(w.maxX, S.maxX), P = Math.min(w.maxY, S.maxY), Math.max(0, O - I) * Math.max(0, P - x)), at = d(W) + d(z);
|
|
4327
|
-
Z < N ? (N = Z, y = R,
|
|
4336
|
+
Z < N ? (N = Z, y = R, D = at < D ? at : D) : Z === N && at < D && (D = at, y = R);
|
|
4328
4337
|
}
|
|
4329
4338
|
return y || g - _;
|
|
4330
4339
|
}, s.prototype._chooseSplitAxis = function(m, _, g) {
|
|
@@ -4337,8 +4346,8 @@ function up() {
|
|
|
4337
4346
|
l(S, m.leaf ? w(P) : P), x += p(S);
|
|
4338
4347
|
}
|
|
4339
4348
|
for (var N = g - _ - 1; N >= _; N--) {
|
|
4340
|
-
var
|
|
4341
|
-
l(I, m.leaf ? w(
|
|
4349
|
+
var D = m.children[N];
|
|
4350
|
+
l(I, m.leaf ? w(D) : D), x += p(I);
|
|
4342
4351
|
}
|
|
4343
4352
|
return x;
|
|
4344
4353
|
}, s.prototype._adjustParentBBoxes = function(m, _, g) {
|
|
@@ -4449,21 +4458,21 @@ function Km() {
|
|
|
4449
4458
|
const y = (C - g) * (b - _), w = (E - _) * (m - g), S = y - w;
|
|
4450
4459
|
if (y === 0 || w === 0 || y > 0 != w > 0) return S;
|
|
4451
4460
|
const I = Math.abs(y + w);
|
|
4452
|
-
return Math.abs(S) >= a * I ? S : -function(x, O, P, N,
|
|
4453
|
-
let z, Z, at, dt, G, X, H, yt,
|
|
4454
|
-
const Er = x -
|
|
4455
|
-
G = (yr = (yt = Er - (H = (X = 134217729 * Er) - (X - Er))) * (Ct = En - (
|
|
4461
|
+
return Math.abs(S) >= a * I ? S : -function(x, O, P, N, D, R, W) {
|
|
4462
|
+
let z, Z, at, dt, G, X, H, yt, Dt, Ct, It, Ft, he, ne, yr, _r, Hn, wr;
|
|
4463
|
+
const Er = x - D, Sr = P - D, wn = O - R, En = N - R;
|
|
4464
|
+
G = (yr = (yt = Er - (H = (X = 134217729 * Er) - (X - Er))) * (Ct = En - (Dt = (X = 134217729 * En) - (X - En))) - ((ne = Er * En) - H * Dt - yt * Dt - H * Ct)) - (It = yr - (Hn = (yt = wn - (H = (X = 134217729 * wn) - (X - wn))) * (Ct = Sr - (Dt = (X = 134217729 * Sr) - (X - Sr))) - ((_r = wn * Sr) - H * Dt - yt * Dt - H * Ct))), c[0] = yr - (It + G) + (G - Hn), G = (he = ne - ((Ft = ne + It) - (G = Ft - ne)) + (It - G)) - (It = he - _r), c[1] = he - (It + G) + (G - _r), G = (wr = Ft + It) - Ft, c[2] = Ft - (wr - G) + (It - G), c[3] = wr;
|
|
4456
4465
|
let Wi = function(Ng, nh) {
|
|
4457
4466
|
let ih = nh[0];
|
|
4458
|
-
for (let
|
|
4467
|
+
for (let Dl = 1; Dl < Ng; Dl++) ih += nh[Dl];
|
|
4459
4468
|
return ih;
|
|
4460
|
-
}(4, c),
|
|
4461
|
-
if (Wi >=
|
|
4462
|
-
G = (yr = (yt = z - (H = (X = 134217729 * z) - (X - z))) * (Ct = En - (
|
|
4469
|
+
}(4, c), Da = u * W;
|
|
4470
|
+
if (Wi >= Da || -Wi >= Da || (z = x - (Er + (G = x - Er)) + (G - D), at = P - (Sr + (G = P - Sr)) + (G - D), Z = O - (wn + (G = O - wn)) + (G - R), dt = N - (En + (G = N - En)) + (G - R), z === 0 && Z === 0 && at === 0 && dt === 0) || (Da = l * W + i * Math.abs(Wi), (Wi += Er * dt + En * z - (wn * at + Sr * Z)) >= Da || -Wi >= Da)) return Wi;
|
|
4471
|
+
G = (yr = (yt = z - (H = (X = 134217729 * z) - (X - z))) * (Ct = En - (Dt = (X = 134217729 * En) - (X - En))) - ((ne = z * En) - H * Dt - yt * Dt - H * Ct)) - (It = yr - (Hn = (yt = Z - (H = (X = 134217729 * Z) - (X - Z))) * (Ct = Sr - (Dt = (X = 134217729 * Sr) - (X - Sr))) - ((_r = Z * Sr) - H * Dt - yt * Dt - H * Ct))), v[0] = yr - (It + G) + (G - Hn), G = (he = ne - ((Ft = ne + It) - (G = Ft - ne)) + (It - G)) - (It = he - _r), v[1] = he - (It + G) + (G - _r), G = (wr = Ft + It) - Ft, v[2] = Ft - (wr - G) + (It - G), v[3] = wr;
|
|
4463
4472
|
const Pg = s(4, c, 4, v, h);
|
|
4464
|
-
G = (yr = (yt = Er - (H = (X = 134217729 * Er) - (X - Er))) * (Ct = dt - (
|
|
4473
|
+
G = (yr = (yt = Er - (H = (X = 134217729 * Er) - (X - Er))) * (Ct = dt - (Dt = (X = 134217729 * dt) - (X - dt))) - ((ne = Er * dt) - H * Dt - yt * Dt - H * Ct)) - (It = yr - (Hn = (yt = wn - (H = (X = 134217729 * wn) - (X - wn))) * (Ct = at - (Dt = (X = 134217729 * at) - (X - at))) - ((_r = wn * at) - H * Dt - yt * Dt - H * Ct))), v[0] = yr - (It + G) + (G - Hn), G = (he = ne - ((Ft = ne + It) - (G = Ft - ne)) + (It - G)) - (It = he - _r), v[1] = he - (It + G) + (G - _r), G = (wr = Ft + It) - Ft, v[2] = Ft - (wr - G) + (It - G), v[3] = wr;
|
|
4465
4474
|
const bg = s(Pg, h, 4, v, d);
|
|
4466
|
-
G = (yr = (yt = z - (H = (X = 134217729 * z) - (X - z))) * (Ct = dt - (
|
|
4475
|
+
G = (yr = (yt = z - (H = (X = 134217729 * z) - (X - z))) * (Ct = dt - (Dt = (X = 134217729 * dt) - (X - dt))) - ((ne = z * dt) - H * Dt - yt * Dt - H * Ct)) - (It = yr - (Hn = (yt = Z - (H = (X = 134217729 * Z) - (X - Z))) * (Ct = at - (Dt = (X = 134217729 * at) - (X - at))) - ((_r = Z * at) - H * Dt - yt * Dt - H * Ct))), v[0] = yr - (It + G) + (G - Hn), G = (he = ne - ((Ft = ne + It) - (G = Ft - ne)) + (It - G)) - (It = he - _r), v[1] = he - (It + G) + (G - _r), G = (wr = Ft + It) - Ft, v[2] = Ft - (wr - G) + (It - G), v[3] = wr;
|
|
4467
4476
|
const xg = s(bg, d, 4, v, p);
|
|
4468
4477
|
return p[xg - 1];
|
|
4469
4478
|
}(E, C, b, m, _, g, I);
|
|
@@ -4477,7 +4486,7 @@ var Eh;
|
|
|
4477
4486
|
function Qm() {
|
|
4478
4487
|
if (Eh) return bu.exports;
|
|
4479
4488
|
Eh = 1;
|
|
4480
|
-
var n =
|
|
4489
|
+
var n = lp(), t = Xm, e = Jm(), r = Km().orient2d;
|
|
4481
4490
|
t.default && (t = t.default), bu.exports = i, bu.exports.default = i;
|
|
4482
4491
|
function i(g, y, w) {
|
|
4483
4492
|
y = Math.max(0, y === void 0 ? 2 : y), w = w || 0;
|
|
@@ -4498,13 +4507,13 @@ function Qm() {
|
|
|
4498
4507
|
var N = S[O];
|
|
4499
4508
|
I.remove(N), P = v(N, P), x.push(P);
|
|
4500
4509
|
}
|
|
4501
|
-
var
|
|
4502
|
-
for (O = 0; O < x.length; O++)
|
|
4510
|
+
var D = new n(16);
|
|
4511
|
+
for (O = 0; O < x.length; O++) D.insert(d(x[O]));
|
|
4503
4512
|
for (var R = y * y, W = w * w; x.length; ) {
|
|
4504
4513
|
var z = x.shift(), Z = z.p, at = z.next.p, dt = E(Z, at);
|
|
4505
4514
|
if (!(dt < W)) {
|
|
4506
4515
|
var G = dt / R;
|
|
4507
|
-
N = s(I, z.prev.p, Z, at, z.next.next.p, G,
|
|
4516
|
+
N = s(I, z.prev.p, Z, at, z.next.next.p, G, D), N && Math.min(E(N, Z), E(N, at)) <= G && (x.push(z), x.push(v(N, z)), I.remove(N), D.remove(z), D.insert(d(z)), D.insert(d(z.next)));
|
|
4508
4517
|
}
|
|
4509
4518
|
}
|
|
4510
4519
|
z = P;
|
|
@@ -4516,8 +4525,8 @@ function Qm() {
|
|
|
4516
4525
|
}
|
|
4517
4526
|
function s(g, y, w, S, I, x, O) {
|
|
4518
4527
|
for (var P = new t([], o), N = g.data; N; ) {
|
|
4519
|
-
for (var
|
|
4520
|
-
var R = N.children[
|
|
4528
|
+
for (var D = 0; D < N.children.length; D++) {
|
|
4529
|
+
var R = N.children[D], W = N.leaf ? C(R, w, S) : a(w, S, R);
|
|
4521
4530
|
W > x || P.push({
|
|
4522
4531
|
node: R,
|
|
4523
4532
|
dist: W
|
|
@@ -4598,9 +4607,9 @@ function Qm() {
|
|
|
4598
4607
|
return x = g[0] - S, O = g[1] - I, x * x + O * O;
|
|
4599
4608
|
}
|
|
4600
4609
|
function b(g, y, w, S, I, x, O, P) {
|
|
4601
|
-
var N = w - g,
|
|
4602
|
-
yt === 0 ? (Ct = 0, he = 1, Ft = H, ne = G) : (Ct = dt * H - G * X, Ft = at * H - dt * X, Ct < 0 ? (Ct = 0, Ft = H, ne = G) : Ct > he && (Ct = he, Ft = H + dt, ne = G)), Ft < 0 ? (Ft = 0, -X < 0 ? Ct = 0 : -X > at ? Ct = he : (Ct = -X, he = at)) : Ft > ne && (Ft = ne, -X + dt < 0 ? Ct = 0 : -X + dt > at ? Ct = he : (Ct = -X + dt, he = at)),
|
|
4603
|
-
var yr = (1 -
|
|
4610
|
+
var N = w - g, D = S - y, R = O - I, W = P - x, z = g - I, Z = y - x, at = N * N + D * D, dt = N * R + D * W, G = R * R + W * W, X = N * z + D * Z, H = R * z + W * Z, yt = at * G - dt * dt, Dt, Ct, It, Ft, he = yt, ne = yt;
|
|
4611
|
+
yt === 0 ? (Ct = 0, he = 1, Ft = H, ne = G) : (Ct = dt * H - G * X, Ft = at * H - dt * X, Ct < 0 ? (Ct = 0, Ft = H, ne = G) : Ct > he && (Ct = he, Ft = H + dt, ne = G)), Ft < 0 ? (Ft = 0, -X < 0 ? Ct = 0 : -X > at ? Ct = he : (Ct = -X, he = at)) : Ft > ne && (Ft = ne, -X + dt < 0 ? Ct = 0 : -X + dt > at ? Ct = he : (Ct = -X + dt, he = at)), Dt = Ct === 0 ? 0 : Ct / he, It = Ft === 0 ? 0 : Ft / ne;
|
|
4612
|
+
var yr = (1 - Dt) * g + Dt * w, _r = (1 - Dt) * y + Dt * S, Hn = (1 - It) * I + It * O, wr = (1 - It) * x + It * P, Er = Hn - yr, Sr = wr - _r;
|
|
4604
4613
|
return Er * Er + Sr * Sr;
|
|
4605
4614
|
}
|
|
4606
4615
|
function m(g, y) {
|
|
@@ -4623,7 +4632,7 @@ function Qm() {
|
|
|
4623
4632
|
return bu.exports;
|
|
4624
4633
|
}
|
|
4625
4634
|
var $m = Qm();
|
|
4626
|
-
const tv = /* @__PURE__ */
|
|
4635
|
+
const tv = /* @__PURE__ */ up($m);
|
|
4627
4636
|
function ev(n, t) {
|
|
4628
4637
|
t === void 0 && (t = {}), t.concavity = t.concavity || 1 / 0;
|
|
4629
4638
|
var e = [];
|
|
@@ -4641,7 +4650,7 @@ function Sh(n, t) {
|
|
|
4641
4650
|
e += s[0], r += s[1], i++;
|
|
4642
4651
|
}, !0), Gt([e / i, r / i], t.properties);
|
|
4643
4652
|
}
|
|
4644
|
-
function
|
|
4653
|
+
function cp(n, t) {
|
|
4645
4654
|
switch (t === void 0 && (t = {}), Rm(n)) {
|
|
4646
4655
|
case "Point":
|
|
4647
4656
|
return Gt(ur(n), t.properties);
|
|
@@ -4661,12 +4670,12 @@ function lp(n, t) {
|
|
|
4661
4670
|
return Gt([i[0] + m * s, i[1] + m * o], t.properties);
|
|
4662
4671
|
default:
|
|
4663
4672
|
var _ = ev(n);
|
|
4664
|
-
return _ ?
|
|
4673
|
+
return _ ? cp(_, { properties: t.properties }) : Sh(n, { properties: t.properties });
|
|
4665
4674
|
}
|
|
4666
4675
|
}
|
|
4667
4676
|
function jw(n) {
|
|
4668
4677
|
(n[0][0] !== n[n.length - 1][0] || n[0][1] !== n[n.length - 1][1] || n[0][2] !== n[n.length - 1][2]) && n.push(n[0]);
|
|
4669
|
-
const t = fr([n]), r =
|
|
4678
|
+
const t = fr([n]), r = cp(t).geometry.coordinates;
|
|
4670
4679
|
return [r[0], r[1], r[2] ?? n[0][2] ?? 0];
|
|
4671
4680
|
}
|
|
4672
4681
|
function rv(n, t, e, r) {
|
|
@@ -4674,7 +4683,7 @@ function rv(n, t, e, r) {
|
|
|
4674
4683
|
if (!(!a || !a.geometry || !a.geometry.coordinates))
|
|
4675
4684
|
return r = r || [0, 0, 0], r[0] = a.geometry.coordinates[0], r[1] = a.geometry.coordinates[1], r[2] = o, r;
|
|
4676
4685
|
}
|
|
4677
|
-
function
|
|
4686
|
+
function Dc(n, t) {
|
|
4678
4687
|
return xi(Gt(n), Gt(t), { units: "meters" });
|
|
4679
4688
|
}
|
|
4680
4689
|
function _l(n, t) {
|
|
@@ -4684,7 +4693,7 @@ function Ch(n) {
|
|
|
4684
4693
|
if (!n)
|
|
4685
4694
|
throw new Error("geojson is required");
|
|
4686
4695
|
var t = [];
|
|
4687
|
-
return
|
|
4696
|
+
return Mc(n, function(e) {
|
|
4688
4697
|
nv(e, t);
|
|
4689
4698
|
}), ta(t);
|
|
4690
4699
|
}
|
|
@@ -4718,7 +4727,7 @@ function sv(n, t) {
|
|
|
4718
4727
|
return [o, a, u, l];
|
|
4719
4728
|
}
|
|
4720
4729
|
var xu = { exports: {} }, Ul = {}, Ih;
|
|
4721
|
-
function
|
|
4730
|
+
function hp() {
|
|
4722
4731
|
return Ih || (Ih = 1, function(n) {
|
|
4723
4732
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.earthRadius = 63710088e-1, n.factors = {
|
|
4724
4733
|
centimeters: n.earthRadius * 100,
|
|
@@ -4768,13 +4777,13 @@ function cp() {
|
|
|
4768
4777
|
millimetres: 1e6,
|
|
4769
4778
|
yards: 1.195990046
|
|
4770
4779
|
};
|
|
4771
|
-
function t(P, N,
|
|
4772
|
-
|
|
4780
|
+
function t(P, N, D) {
|
|
4781
|
+
D === void 0 && (D = {});
|
|
4773
4782
|
var R = { type: "Feature" };
|
|
4774
|
-
return (
|
|
4783
|
+
return (D.id === 0 || D.id) && (R.id = D.id), D.bbox && (R.bbox = D.bbox), R.properties = N || {}, R.geometry = P, R;
|
|
4775
4784
|
}
|
|
4776
4785
|
n.feature = t;
|
|
4777
|
-
function e(P, N,
|
|
4786
|
+
function e(P, N, D) {
|
|
4778
4787
|
switch (P) {
|
|
4779
4788
|
case "Point":
|
|
4780
4789
|
return r(N).geometry;
|
|
@@ -4793,8 +4802,8 @@ function cp() {
|
|
|
4793
4802
|
}
|
|
4794
4803
|
}
|
|
4795
4804
|
n.geometry = e;
|
|
4796
|
-
function r(P, N,
|
|
4797
|
-
if (
|
|
4805
|
+
function r(P, N, D) {
|
|
4806
|
+
if (D === void 0 && (D = {}), !P)
|
|
4798
4807
|
throw new Error("coordinates is required");
|
|
4799
4808
|
if (!Array.isArray(P))
|
|
4800
4809
|
throw new Error("coordinates must be an Array");
|
|
@@ -4806,17 +4815,17 @@ function cp() {
|
|
|
4806
4815
|
type: "Point",
|
|
4807
4816
|
coordinates: P
|
|
4808
4817
|
};
|
|
4809
|
-
return t(R, N,
|
|
4818
|
+
return t(R, N, D);
|
|
4810
4819
|
}
|
|
4811
4820
|
n.point = r;
|
|
4812
|
-
function i(P, N,
|
|
4813
|
-
return
|
|
4821
|
+
function i(P, N, D) {
|
|
4822
|
+
return D === void 0 && (D = {}), l(P.map(function(R) {
|
|
4814
4823
|
return r(R, N);
|
|
4815
|
-
}),
|
|
4824
|
+
}), D);
|
|
4816
4825
|
}
|
|
4817
4826
|
n.points = i;
|
|
4818
|
-
function s(P, N,
|
|
4819
|
-
|
|
4827
|
+
function s(P, N, D) {
|
|
4828
|
+
D === void 0 && (D = {});
|
|
4820
4829
|
for (var R = 0, W = P; R < W.length; R++) {
|
|
4821
4830
|
var z = W[R];
|
|
4822
4831
|
if (z.length < 4)
|
|
@@ -4829,94 +4838,94 @@ function cp() {
|
|
|
4829
4838
|
type: "Polygon",
|
|
4830
4839
|
coordinates: P
|
|
4831
4840
|
};
|
|
4832
|
-
return t(at, N,
|
|
4841
|
+
return t(at, N, D);
|
|
4833
4842
|
}
|
|
4834
4843
|
n.polygon = s;
|
|
4835
|
-
function o(P, N,
|
|
4836
|
-
return
|
|
4844
|
+
function o(P, N, D) {
|
|
4845
|
+
return D === void 0 && (D = {}), l(P.map(function(R) {
|
|
4837
4846
|
return s(R, N);
|
|
4838
|
-
}),
|
|
4847
|
+
}), D);
|
|
4839
4848
|
}
|
|
4840
4849
|
n.polygons = o;
|
|
4841
|
-
function a(P, N,
|
|
4842
|
-
if (
|
|
4850
|
+
function a(P, N, D) {
|
|
4851
|
+
if (D === void 0 && (D = {}), P.length < 2)
|
|
4843
4852
|
throw new Error("coordinates must be an array of two or more positions");
|
|
4844
4853
|
var R = {
|
|
4845
4854
|
type: "LineString",
|
|
4846
4855
|
coordinates: P
|
|
4847
4856
|
};
|
|
4848
|
-
return t(R, N,
|
|
4857
|
+
return t(R, N, D);
|
|
4849
4858
|
}
|
|
4850
4859
|
n.lineString = a;
|
|
4851
|
-
function u(P, N,
|
|
4852
|
-
return
|
|
4860
|
+
function u(P, N, D) {
|
|
4861
|
+
return D === void 0 && (D = {}), l(P.map(function(R) {
|
|
4853
4862
|
return a(R, N);
|
|
4854
|
-
}),
|
|
4863
|
+
}), D);
|
|
4855
4864
|
}
|
|
4856
4865
|
n.lineStrings = u;
|
|
4857
4866
|
function l(P, N) {
|
|
4858
4867
|
N === void 0 && (N = {});
|
|
4859
|
-
var
|
|
4860
|
-
return N.id && (
|
|
4868
|
+
var D = { type: "FeatureCollection" };
|
|
4869
|
+
return N.id && (D.id = N.id), N.bbox && (D.bbox = N.bbox), D.features = P, D;
|
|
4861
4870
|
}
|
|
4862
4871
|
n.featureCollection = l;
|
|
4863
|
-
function c(P, N,
|
|
4864
|
-
|
|
4872
|
+
function c(P, N, D) {
|
|
4873
|
+
D === void 0 && (D = {});
|
|
4865
4874
|
var R = {
|
|
4866
4875
|
type: "MultiLineString",
|
|
4867
4876
|
coordinates: P
|
|
4868
4877
|
};
|
|
4869
|
-
return t(R, N,
|
|
4878
|
+
return t(R, N, D);
|
|
4870
4879
|
}
|
|
4871
4880
|
n.multiLineString = c;
|
|
4872
|
-
function h(P, N,
|
|
4873
|
-
|
|
4881
|
+
function h(P, N, D) {
|
|
4882
|
+
D === void 0 && (D = {});
|
|
4874
4883
|
var R = {
|
|
4875
4884
|
type: "MultiPoint",
|
|
4876
4885
|
coordinates: P
|
|
4877
4886
|
};
|
|
4878
|
-
return t(R, N,
|
|
4887
|
+
return t(R, N, D);
|
|
4879
4888
|
}
|
|
4880
4889
|
n.multiPoint = h;
|
|
4881
|
-
function d(P, N,
|
|
4882
|
-
|
|
4890
|
+
function d(P, N, D) {
|
|
4891
|
+
D === void 0 && (D = {});
|
|
4883
4892
|
var R = {
|
|
4884
4893
|
type: "MultiPolygon",
|
|
4885
4894
|
coordinates: P
|
|
4886
4895
|
};
|
|
4887
|
-
return t(R, N,
|
|
4896
|
+
return t(R, N, D);
|
|
4888
4897
|
}
|
|
4889
4898
|
n.multiPolygon = d;
|
|
4890
|
-
function p(P, N,
|
|
4891
|
-
|
|
4899
|
+
function p(P, N, D) {
|
|
4900
|
+
D === void 0 && (D = {});
|
|
4892
4901
|
var R = {
|
|
4893
4902
|
type: "GeometryCollection",
|
|
4894
4903
|
geometries: P
|
|
4895
4904
|
};
|
|
4896
|
-
return t(R, N,
|
|
4905
|
+
return t(R, N, D);
|
|
4897
4906
|
}
|
|
4898
4907
|
n.geometryCollection = p;
|
|
4899
4908
|
function v(P, N) {
|
|
4900
4909
|
if (N === void 0 && (N = 0), N && !(N >= 0))
|
|
4901
4910
|
throw new Error("precision must be a positive number");
|
|
4902
|
-
var
|
|
4903
|
-
return Math.round(P *
|
|
4911
|
+
var D = Math.pow(10, N || 0);
|
|
4912
|
+
return Math.round(P * D) / D;
|
|
4904
4913
|
}
|
|
4905
4914
|
n.round = v;
|
|
4906
4915
|
function E(P, N) {
|
|
4907
4916
|
N === void 0 && (N = "kilometers");
|
|
4908
|
-
var
|
|
4909
|
-
if (!
|
|
4917
|
+
var D = n.factors[N];
|
|
4918
|
+
if (!D)
|
|
4910
4919
|
throw new Error(N + " units is invalid");
|
|
4911
|
-
return P *
|
|
4920
|
+
return P * D;
|
|
4912
4921
|
}
|
|
4913
4922
|
n.radiansToLength = E;
|
|
4914
4923
|
function C(P, N) {
|
|
4915
4924
|
N === void 0 && (N = "kilometers");
|
|
4916
|
-
var
|
|
4917
|
-
if (!
|
|
4925
|
+
var D = n.factors[N];
|
|
4926
|
+
if (!D)
|
|
4918
4927
|
throw new Error(N + " units is invalid");
|
|
4919
|
-
return P /
|
|
4928
|
+
return P / D;
|
|
4920
4929
|
}
|
|
4921
4930
|
n.lengthToRadians = C;
|
|
4922
4931
|
function b(P, N) {
|
|
@@ -4938,19 +4947,19 @@ function cp() {
|
|
|
4938
4947
|
return N * Math.PI / 180;
|
|
4939
4948
|
}
|
|
4940
4949
|
n.degreesToRadians = g;
|
|
4941
|
-
function y(P, N,
|
|
4942
|
-
if (N === void 0 && (N = "kilometers"),
|
|
4950
|
+
function y(P, N, D) {
|
|
4951
|
+
if (N === void 0 && (N = "kilometers"), D === void 0 && (D = "kilometers"), !(P >= 0))
|
|
4943
4952
|
throw new Error("length must be a positive number");
|
|
4944
|
-
return E(C(P, N),
|
|
4953
|
+
return E(C(P, N), D);
|
|
4945
4954
|
}
|
|
4946
4955
|
n.convertLength = y;
|
|
4947
|
-
function w(P, N,
|
|
4948
|
-
if (N === void 0 && (N = "meters"),
|
|
4956
|
+
function w(P, N, D) {
|
|
4957
|
+
if (N === void 0 && (N = "meters"), D === void 0 && (D = "kilometers"), !(P >= 0))
|
|
4949
4958
|
throw new Error("area must be a positive number");
|
|
4950
4959
|
var R = n.areaFactors[N];
|
|
4951
4960
|
if (!R)
|
|
4952
4961
|
throw new Error("invalid original units");
|
|
4953
|
-
var W = n.areaFactors[
|
|
4962
|
+
var W = n.areaFactors[D];
|
|
4954
4963
|
if (!W)
|
|
4955
4964
|
throw new Error("invalid final units");
|
|
4956
4965
|
return P / R * W;
|
|
@@ -4987,13 +4996,13 @@ function cp() {
|
|
|
4987
4996
|
}(Ul)), Ul;
|
|
4988
4997
|
}
|
|
4989
4998
|
var ge = {}, Ph;
|
|
4990
|
-
function
|
|
4999
|
+
function fp() {
|
|
4991
5000
|
if (Ph) return ge;
|
|
4992
5001
|
Ph = 1, Object.defineProperty(ge, "__esModule", { value: !0 });
|
|
4993
|
-
var n = /* @__PURE__ */
|
|
5002
|
+
var n = /* @__PURE__ */ hp();
|
|
4994
5003
|
function t(m, _, g) {
|
|
4995
5004
|
if (m !== null)
|
|
4996
|
-
for (var y, w, S, I, x, O, P, N = 0,
|
|
5005
|
+
for (var y, w, S, I, x, O, P, N = 0, D = 0, R, W = m.type, z = W === "FeatureCollection", Z = W === "Feature", at = z ? m.features.length : 1, dt = 0; dt < at; dt++) {
|
|
4997
5006
|
P = z ? m.features[dt].geometry : Z ? m.geometry : m, R = P ? P.type === "GeometryCollection" : !1, x = R ? P.geometries.length : 1;
|
|
4998
5007
|
for (var G = 0; G < x; G++) {
|
|
4999
5008
|
var X = 0, H = 0;
|
|
@@ -5006,26 +5015,26 @@ function hp() {
|
|
|
5006
5015
|
case "Point":
|
|
5007
5016
|
if (_(
|
|
5008
5017
|
O,
|
|
5009
|
-
|
|
5018
|
+
D,
|
|
5010
5019
|
dt,
|
|
5011
5020
|
X,
|
|
5012
5021
|
H
|
|
5013
5022
|
) === !1)
|
|
5014
5023
|
return !1;
|
|
5015
|
-
|
|
5024
|
+
D++, X++;
|
|
5016
5025
|
break;
|
|
5017
5026
|
case "LineString":
|
|
5018
5027
|
case "MultiPoint":
|
|
5019
5028
|
for (y = 0; y < O.length; y++) {
|
|
5020
5029
|
if (_(
|
|
5021
5030
|
O[y],
|
|
5022
|
-
|
|
5031
|
+
D,
|
|
5023
5032
|
dt,
|
|
5024
5033
|
X,
|
|
5025
5034
|
H
|
|
5026
5035
|
) === !1)
|
|
5027
5036
|
return !1;
|
|
5028
|
-
|
|
5037
|
+
D++, yt === "MultiPoint" && X++;
|
|
5029
5038
|
}
|
|
5030
5039
|
yt === "LineString" && X++;
|
|
5031
5040
|
break;
|
|
@@ -5035,13 +5044,13 @@ function hp() {
|
|
|
5035
5044
|
for (w = 0; w < O[y].length - N; w++) {
|
|
5036
5045
|
if (_(
|
|
5037
5046
|
O[y][w],
|
|
5038
|
-
|
|
5047
|
+
D,
|
|
5039
5048
|
dt,
|
|
5040
5049
|
X,
|
|
5041
5050
|
H
|
|
5042
5051
|
) === !1)
|
|
5043
5052
|
return !1;
|
|
5044
|
-
|
|
5053
|
+
D++;
|
|
5045
5054
|
}
|
|
5046
5055
|
yt === "MultiLineString" && X++, yt === "Polygon" && H++;
|
|
5047
5056
|
}
|
|
@@ -5053,13 +5062,13 @@ function hp() {
|
|
|
5053
5062
|
for (S = 0; S < O[y][w].length - N; S++) {
|
|
5054
5063
|
if (_(
|
|
5055
5064
|
O[y][w][S],
|
|
5056
|
-
|
|
5065
|
+
D,
|
|
5057
5066
|
dt,
|
|
5058
5067
|
X,
|
|
5059
5068
|
H
|
|
5060
5069
|
) === !1)
|
|
5061
5070
|
return !1;
|
|
5062
|
-
|
|
5071
|
+
D++;
|
|
5063
5072
|
}
|
|
5064
5073
|
H++;
|
|
5065
5074
|
}
|
|
@@ -5133,16 +5142,16 @@ function hp() {
|
|
|
5133
5142
|
}), _;
|
|
5134
5143
|
}
|
|
5135
5144
|
function u(m, _) {
|
|
5136
|
-
var g, y, w, S, I, x, O, P, N,
|
|
5145
|
+
var g, y, w, S, I, x, O, P, N, D, R = 0, W = m.type === "FeatureCollection", z = m.type === "Feature", Z = W ? m.features.length : 1;
|
|
5137
5146
|
for (g = 0; g < Z; g++) {
|
|
5138
|
-
for (x = W ? m.features[g].geometry : z ? m.geometry : m, P = W ? m.features[g].properties : z ? m.properties : {}, N = W ? m.features[g].bbox : z ? m.bbox : void 0,
|
|
5147
|
+
for (x = W ? m.features[g].geometry : z ? m.geometry : m, P = W ? m.features[g].properties : z ? m.properties : {}, N = W ? m.features[g].bbox : z ? m.bbox : void 0, D = W ? m.features[g].id : z ? m.id : void 0, O = x ? x.type === "GeometryCollection" : !1, I = O ? x.geometries.length : 1, w = 0; w < I; w++) {
|
|
5139
5148
|
if (S = O ? x.geometries[w] : x, S === null) {
|
|
5140
5149
|
if (_(
|
|
5141
5150
|
null,
|
|
5142
5151
|
R,
|
|
5143
5152
|
P,
|
|
5144
5153
|
N,
|
|
5145
|
-
|
|
5154
|
+
D
|
|
5146
5155
|
) === !1)
|
|
5147
5156
|
return !1;
|
|
5148
5157
|
continue;
|
|
@@ -5159,7 +5168,7 @@ function hp() {
|
|
|
5159
5168
|
R,
|
|
5160
5169
|
P,
|
|
5161
5170
|
N,
|
|
5162
|
-
|
|
5171
|
+
D
|
|
5163
5172
|
) === !1)
|
|
5164
5173
|
return !1;
|
|
5165
5174
|
break;
|
|
@@ -5171,7 +5180,7 @@ function hp() {
|
|
|
5171
5180
|
R,
|
|
5172
5181
|
P,
|
|
5173
5182
|
N,
|
|
5174
|
-
|
|
5183
|
+
D
|
|
5175
5184
|
) === !1)
|
|
5176
5185
|
return !1;
|
|
5177
5186
|
break;
|
|
@@ -5226,11 +5235,11 @@ function hp() {
|
|
|
5226
5235
|
break;
|
|
5227
5236
|
}
|
|
5228
5237
|
for (var P = 0; P < g.coordinates.length; P++) {
|
|
5229
|
-
var N = g.coordinates[P],
|
|
5238
|
+
var N = g.coordinates[P], D = {
|
|
5230
5239
|
type: O,
|
|
5231
5240
|
coordinates: N
|
|
5232
5241
|
};
|
|
5233
|
-
if (_(n.feature(
|
|
5242
|
+
if (_(n.feature(D, w), y, P) === !1)
|
|
5234
5243
|
return !1;
|
|
5235
5244
|
}
|
|
5236
5245
|
});
|
|
@@ -5258,13 +5267,13 @@ function hp() {
|
|
|
5258
5267
|
var x, O = 0, P = 0, N = 0;
|
|
5259
5268
|
if (t(
|
|
5260
5269
|
g,
|
|
5261
|
-
function(
|
|
5270
|
+
function(D, R, W, z, Z) {
|
|
5262
5271
|
if (x === void 0 || y > O || z > P || Z > N) {
|
|
5263
|
-
x =
|
|
5272
|
+
x = D, O = y, P = z, N = Z, S = 0;
|
|
5264
5273
|
return;
|
|
5265
5274
|
}
|
|
5266
5275
|
var at = n.lineString(
|
|
5267
|
-
[x,
|
|
5276
|
+
[x, D],
|
|
5268
5277
|
g.properties
|
|
5269
5278
|
);
|
|
5270
5279
|
if (_(
|
|
@@ -5275,7 +5284,7 @@ function hp() {
|
|
|
5275
5284
|
S
|
|
5276
5285
|
) === !1)
|
|
5277
5286
|
return !1;
|
|
5278
|
-
S++, x =
|
|
5287
|
+
S++, x = D;
|
|
5279
5288
|
}
|
|
5280
5289
|
) === !1)
|
|
5281
5290
|
return !1;
|
|
@@ -5452,7 +5461,7 @@ var Nu = {}, bh;
|
|
|
5452
5461
|
function ov() {
|
|
5453
5462
|
if (bh) return Nu;
|
|
5454
5463
|
bh = 1, Object.defineProperty(Nu, "__esModule", { value: !0 });
|
|
5455
|
-
var n = /* @__PURE__ */
|
|
5464
|
+
var n = /* @__PURE__ */ fp();
|
|
5456
5465
|
function t(e) {
|
|
5457
5466
|
var r = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
5458
5467
|
return n.coordEach(e, function(i) {
|
|
@@ -5465,7 +5474,7 @@ var xh;
|
|
|
5465
5474
|
function av() {
|
|
5466
5475
|
if (xh) return xu.exports;
|
|
5467
5476
|
xh = 1;
|
|
5468
|
-
var n =
|
|
5477
|
+
var n = lp(), t = /* @__PURE__ */ hp(), e = /* @__PURE__ */ fp(), r = ov().default, i = e.featureEach;
|
|
5469
5478
|
e.coordEach, t.polygon;
|
|
5470
5479
|
var s = t.featureCollection;
|
|
5471
5480
|
function o(a) {
|
|
@@ -5518,8 +5527,8 @@ function av() {
|
|
|
5518
5527
|
return xu.exports = o, xu.exports.default = o, xu.exports;
|
|
5519
5528
|
}
|
|
5520
5529
|
var uv = av();
|
|
5521
|
-
const lv = /* @__PURE__ */
|
|
5522
|
-
function
|
|
5530
|
+
const lv = /* @__PURE__ */ up(uv);
|
|
5531
|
+
function dp(n, t) {
|
|
5523
5532
|
var e = {}, r = [];
|
|
5524
5533
|
if (n.type === "LineString" && (n = An(n)), t.type === "LineString" && (t = An(t)), n.type === "Feature" && t.type === "Feature" && n.geometry !== null && t.geometry !== null && n.geometry.type === "LineString" && t.geometry.type === "LineString" && n.geometry.coordinates.length === 2 && t.geometry.coordinates.length === 2) {
|
|
5525
5534
|
var i = Nh(n, t);
|
|
@@ -5553,7 +5562,7 @@ function Nh(n, t) {
|
|
|
5553
5562
|
return null;
|
|
5554
5563
|
}
|
|
5555
5564
|
function Uw(n, t) {
|
|
5556
|
-
return
|
|
5565
|
+
return dp(Fn(n), Fn(t));
|
|
5557
5566
|
}
|
|
5558
5567
|
function cv(n, t) {
|
|
5559
5568
|
var e = xi(n, t), r = vu(n, t), i = ea(n, e / 2, r);
|
|
@@ -5568,13 +5577,13 @@ function hv(n, t, e) {
|
|
|
5568
5577
|
var r = Gt([1 / 0, 1 / 0], {
|
|
5569
5578
|
dist: 1 / 0
|
|
5570
5579
|
}), i = 0;
|
|
5571
|
-
return
|
|
5580
|
+
return Mc(n, function(s) {
|
|
5572
5581
|
for (var o = Xs(s), a = 0; a < o.length - 1; a++) {
|
|
5573
5582
|
var u = Gt(o[a]);
|
|
5574
5583
|
u.properties.dist = xi(t, u, e);
|
|
5575
5584
|
var l = Gt(o[a + 1]);
|
|
5576
5585
|
l.properties.dist = xi(t, l, e);
|
|
5577
|
-
var c = xi(u, l, e), h = Math.max(u.properties.dist, l.properties.dist), d = vu(u, l), p = ea(t, h, d + 90, e), v = ea(t, h, d - 90, e), E =
|
|
5586
|
+
var c = xi(u, l, e), h = Math.max(u.properties.dist, l.properties.dist), d = vu(u, l), p = ea(t, h, d + 90, e), v = ea(t, h, d - 90, e), E = dp(Fn([
|
|
5578
5587
|
p.geometry.coordinates,
|
|
5579
5588
|
v.geometry.coordinates
|
|
5580
5589
|
]), Fn([u.geometry.coordinates, l.geometry.coordinates])), C = null;
|
|
@@ -5586,7 +5595,7 @@ function qw(n, t) {
|
|
|
5586
5595
|
const e = Gt(t), r = Fn(n);
|
|
5587
5596
|
return hv(r, e, { units: "meters" });
|
|
5588
5597
|
}
|
|
5589
|
-
function
|
|
5598
|
+
function pp(n, t, e) {
|
|
5590
5599
|
e === void 0 && (e = {});
|
|
5591
5600
|
var r = ur(n), i = ur(t);
|
|
5592
5601
|
i[0] += i[0] - r[0] > 180 ? -360 : r[0] - i[0] > 180 ? 360 : 0;
|
|
@@ -5626,7 +5635,7 @@ function Th(n, t) {
|
|
|
5626
5635
|
return n[0] * t[0] + n[1] * t[1];
|
|
5627
5636
|
}
|
|
5628
5637
|
function Gl(n, t, e) {
|
|
5629
|
-
return e.method === "planar" ?
|
|
5638
|
+
return e.method === "planar" ? pp(n, t, e) : xi(n, t, e);
|
|
5630
5639
|
}
|
|
5631
5640
|
function Ww(n, t) {
|
|
5632
5641
|
const e = Gt(n), r = Fn(t);
|
|
@@ -5655,7 +5664,7 @@ function Xw(n, t, e, r) {
|
|
|
5655
5664
|
return r = r || [0, 0, 0], r[0] = a.geometry.coordinates[0], r[1] = a.geometry.coordinates[1], r[2] = o, r;
|
|
5656
5665
|
}
|
|
5657
5666
|
function vv(n, t) {
|
|
5658
|
-
return
|
|
5667
|
+
return pp(Gt(n), Gt(t), { units: "meters" });
|
|
5659
5668
|
}
|
|
5660
5669
|
function yv(n, t, e) {
|
|
5661
5670
|
e === void 0 && (e = {});
|
|
@@ -5680,7 +5689,7 @@ function kn(n) {
|
|
|
5680
5689
|
}), t;
|
|
5681
5690
|
}
|
|
5682
5691
|
kn.default = kn;
|
|
5683
|
-
function
|
|
5692
|
+
function Mn(n, t, e) {
|
|
5684
5693
|
if (e === void 0 && (e = {}), !n)
|
|
5685
5694
|
throw new Error("point is required");
|
|
5686
5695
|
if (!t)
|
|
@@ -5690,14 +5699,14 @@ function Dn(n, t, e) {
|
|
|
5690
5699
|
return !1;
|
|
5691
5700
|
s === "Polygon" && (a = [a]);
|
|
5692
5701
|
for (var u = !1, l = 0; l < a.length && !u; l++)
|
|
5693
|
-
if (
|
|
5702
|
+
if (Mh(r, a[l][0], e.ignoreBoundary)) {
|
|
5694
5703
|
for (var c = !1, h = 1; h < a[l].length && !c; )
|
|
5695
|
-
|
|
5704
|
+
Mh(r, a[l][h], !e.ignoreBoundary) && (c = !0), h++;
|
|
5696
5705
|
c || (u = !0);
|
|
5697
5706
|
}
|
|
5698
5707
|
return u;
|
|
5699
5708
|
}
|
|
5700
|
-
function
|
|
5709
|
+
function Mh(n, t, e) {
|
|
5701
5710
|
var r = !1;
|
|
5702
5711
|
t[0][0] === t[t.length - 1][0] && t[0][1] === t[t.length - 1][1] && (t = t.slice(0, t.length - 1));
|
|
5703
5712
|
for (var i = 0, s = t.length - 1; i < t.length; s = i++) {
|
|
@@ -5771,7 +5780,7 @@ function Ev(n, t) {
|
|
|
5771
5780
|
case "Polygon":
|
|
5772
5781
|
switch (s) {
|
|
5773
5782
|
case "Point":
|
|
5774
|
-
return
|
|
5783
|
+
return Mn(r, e, { ignoreBoundary: !0 });
|
|
5775
5784
|
case "LineString":
|
|
5776
5785
|
return xv(e, r);
|
|
5777
5786
|
case "Polygon":
|
|
@@ -5819,7 +5828,7 @@ function Iv(n, t) {
|
|
|
5819
5828
|
function Pv(n, t) {
|
|
5820
5829
|
for (var e = 0, r = t.coordinates; e < r.length; e++) {
|
|
5821
5830
|
var i = r[e];
|
|
5822
|
-
if (!
|
|
5831
|
+
if (!Mn(i, n, { ignoreBoundary: !0 }))
|
|
5823
5832
|
return !1;
|
|
5824
5833
|
}
|
|
5825
5834
|
return !0;
|
|
@@ -5838,11 +5847,11 @@ function bv(n, t) {
|
|
|
5838
5847
|
}
|
|
5839
5848
|
function xv(n, t) {
|
|
5840
5849
|
var e = !1, r = 0, i = kn(n), s = kn(t);
|
|
5841
|
-
if (!
|
|
5850
|
+
if (!gp(i, s))
|
|
5842
5851
|
return !1;
|
|
5843
5852
|
for (r; r < t.coordinates.length - 1; r++) {
|
|
5844
5853
|
var o = Tv(t.coordinates[r], t.coordinates[r + 1]);
|
|
5845
|
-
if (
|
|
5854
|
+
if (Mn({ type: "Point", coordinates: o }, n, {
|
|
5846
5855
|
ignoreBoundary: !0
|
|
5847
5856
|
})) {
|
|
5848
5857
|
e = !0;
|
|
@@ -5855,17 +5864,17 @@ function Nv(n, t) {
|
|
|
5855
5864
|
if (n.type === "Feature" && n.geometry === null || t.type === "Feature" && t.geometry === null)
|
|
5856
5865
|
return !1;
|
|
5857
5866
|
var e = kn(n), r = kn(t);
|
|
5858
|
-
if (!
|
|
5867
|
+
if (!gp(e, r))
|
|
5859
5868
|
return !1;
|
|
5860
5869
|
for (var i = Fr(t).coordinates, s = 0, o = i; s < o.length; s++)
|
|
5861
5870
|
for (var a = o[s], u = 0, l = a; u < l.length; u++) {
|
|
5862
5871
|
var c = l[u];
|
|
5863
|
-
if (!
|
|
5872
|
+
if (!Mn(c, n))
|
|
5864
5873
|
return !1;
|
|
5865
5874
|
}
|
|
5866
5875
|
return !0;
|
|
5867
5876
|
}
|
|
5868
|
-
function
|
|
5877
|
+
function gp(n, t) {
|
|
5869
5878
|
return !(n[0] > t[0] || n[2] < t[2] || n[1] > t[1] || n[3] < t[3]);
|
|
5870
5879
|
}
|
|
5871
5880
|
function Lc(n, t) {
|
|
@@ -5880,19 +5889,19 @@ function Ov(n, t) {
|
|
|
5880
5889
|
case "Point":
|
|
5881
5890
|
switch (s) {
|
|
5882
5891
|
case "MultiPoint":
|
|
5883
|
-
return
|
|
5892
|
+
return Mv(e, r);
|
|
5884
5893
|
case "LineString":
|
|
5885
5894
|
return Ri(e, r, { ignoreEndVertices: !0 });
|
|
5886
5895
|
case "Polygon":
|
|
5887
5896
|
case "MultiPolygon":
|
|
5888
|
-
return
|
|
5897
|
+
return Mn(e, r, { ignoreBoundary: !0 });
|
|
5889
5898
|
default:
|
|
5890
5899
|
throw new Error("feature2 " + s + " geometry not supported");
|
|
5891
5900
|
}
|
|
5892
5901
|
case "MultiPoint":
|
|
5893
5902
|
switch (s) {
|
|
5894
5903
|
case "MultiPoint":
|
|
5895
|
-
return
|
|
5904
|
+
return Dv(e, r);
|
|
5896
5905
|
case "LineString":
|
|
5897
5906
|
return Lv(e, r);
|
|
5898
5907
|
case "Polygon":
|
|
@@ -5923,19 +5932,19 @@ function Ov(n, t) {
|
|
|
5923
5932
|
throw new Error("feature1 " + i + " geometry not supported");
|
|
5924
5933
|
}
|
|
5925
5934
|
}
|
|
5926
|
-
function
|
|
5935
|
+
function Mv(n, t) {
|
|
5927
5936
|
var e, r = !1;
|
|
5928
5937
|
for (e = 0; e < t.coordinates.length; e++)
|
|
5929
|
-
if (
|
|
5938
|
+
if (vp(t.coordinates[e], n.coordinates)) {
|
|
5930
5939
|
r = !0;
|
|
5931
5940
|
break;
|
|
5932
5941
|
}
|
|
5933
5942
|
return r;
|
|
5934
5943
|
}
|
|
5935
|
-
function
|
|
5944
|
+
function Dv(n, t) {
|
|
5936
5945
|
for (var e = 0; e < n.coordinates.length; e++) {
|
|
5937
5946
|
for (var r = !1, i = 0; i < t.coordinates.length; i++)
|
|
5938
|
-
|
|
5947
|
+
vp(n.coordinates[e], t.coordinates[i]) && (r = !0);
|
|
5939
5948
|
if (!r)
|
|
5940
5949
|
return !1;
|
|
5941
5950
|
}
|
|
@@ -5951,11 +5960,11 @@ function Lv(n, t) {
|
|
|
5951
5960
|
}
|
|
5952
5961
|
function Rv(n, t) {
|
|
5953
5962
|
for (var e = !0, r = !1, i = 0; i < n.coordinates.length; i++) {
|
|
5954
|
-
if (r =
|
|
5963
|
+
if (r = Mn(n.coordinates[1], t), !r) {
|
|
5955
5964
|
e = !1;
|
|
5956
5965
|
break;
|
|
5957
5966
|
}
|
|
5958
|
-
r =
|
|
5967
|
+
r = Mn(n.coordinates[1], t, {
|
|
5959
5968
|
ignoreBoundary: !0
|
|
5960
5969
|
});
|
|
5961
5970
|
}
|
|
@@ -5969,14 +5978,14 @@ function Av(n, t) {
|
|
|
5969
5978
|
}
|
|
5970
5979
|
function Fv(n, t) {
|
|
5971
5980
|
var e = kn(t), r = kn(n);
|
|
5972
|
-
if (!
|
|
5981
|
+
if (!mp(e, r))
|
|
5973
5982
|
return !1;
|
|
5974
5983
|
for (var i = !1, s = 0; s < n.coordinates.length - 1; s++) {
|
|
5975
|
-
if (!
|
|
5984
|
+
if (!Mn(n.coordinates[s], t))
|
|
5976
5985
|
return !1;
|
|
5977
|
-
if (i || (i =
|
|
5986
|
+
if (i || (i = Mn(n.coordinates[s], t, { ignoreBoundary: !0 })), !i) {
|
|
5978
5987
|
var o = Vv(n.coordinates[s], n.coordinates[s + 1]);
|
|
5979
|
-
i =
|
|
5988
|
+
i = Mn(o, t, {
|
|
5980
5989
|
ignoreBoundary: !0
|
|
5981
5990
|
});
|
|
5982
5991
|
}
|
|
@@ -5985,17 +5994,17 @@ function Fv(n, t) {
|
|
|
5985
5994
|
}
|
|
5986
5995
|
function kv(n, t) {
|
|
5987
5996
|
var e = kn(n), r = kn(t);
|
|
5988
|
-
if (!
|
|
5997
|
+
if (!mp(r, e))
|
|
5989
5998
|
return !1;
|
|
5990
5999
|
for (var i = 0; i < n.coordinates[0].length; i++)
|
|
5991
|
-
if (!
|
|
6000
|
+
if (!Mn(n.coordinates[0][i], t))
|
|
5992
6001
|
return !1;
|
|
5993
6002
|
return !0;
|
|
5994
6003
|
}
|
|
5995
|
-
function
|
|
6004
|
+
function mp(n, t) {
|
|
5996
6005
|
return !(n[0] > t[0] || n[2] < t[2] || n[1] > t[1] || n[3] < t[3]);
|
|
5997
6006
|
}
|
|
5998
|
-
function
|
|
6007
|
+
function vp(n, t) {
|
|
5999
6008
|
return n[0] === t[0] && n[1] === t[1];
|
|
6000
6009
|
}
|
|
6001
6010
|
function Vv(n, t) {
|
|
@@ -6050,7 +6059,7 @@ var Ut = function(n) {
|
|
|
6050
6059
|
}
|
|
6051
6060
|
return n && (t.__proto__ = n), t.prototype = Object.create(n && n.prototype), t.prototype.constructor = t, t;
|
|
6052
6061
|
}(Error), ut = function() {
|
|
6053
|
-
},
|
|
6062
|
+
}, yp = { MAX_VALUE: { configurable: !0 } };
|
|
6054
6063
|
ut.isNaN = function(t) {
|
|
6055
6064
|
return Number.isNaN(t);
|
|
6056
6065
|
};
|
|
@@ -6063,15 +6072,15 @@ ut.longBitsToDouble = function(t) {
|
|
|
6063
6072
|
ut.isInfinite = function(t) {
|
|
6064
6073
|
return !Number.isFinite(t);
|
|
6065
6074
|
};
|
|
6066
|
-
|
|
6075
|
+
yp.MAX_VALUE.get = function() {
|
|
6067
6076
|
return Number.MAX_VALUE;
|
|
6068
6077
|
};
|
|
6069
|
-
Object.defineProperties(ut,
|
|
6070
|
-
var
|
|
6078
|
+
Object.defineProperties(ut, yp);
|
|
6079
|
+
var Mr = function() {
|
|
6071
6080
|
}, wl = function() {
|
|
6072
6081
|
}, ra = function() {
|
|
6073
6082
|
};
|
|
6074
|
-
function
|
|
6083
|
+
function Dr() {
|
|
6075
6084
|
}
|
|
6076
6085
|
var T = function n() {
|
|
6077
6086
|
if (this.x = null, this.y = null, this.z = null, arguments.length === 0)
|
|
@@ -6153,7 +6162,7 @@ T.prototype.setCoordinate = function(t) {
|
|
|
6153
6162
|
this.x = t.x, this.y = t.y, this.z = t.z;
|
|
6154
6163
|
};
|
|
6155
6164
|
T.prototype.interfaces_ = function() {
|
|
6156
|
-
return [
|
|
6165
|
+
return [Mr, wl, Dr];
|
|
6157
6166
|
};
|
|
6158
6167
|
T.prototype.getClass = function() {
|
|
6159
6168
|
return T;
|
|
@@ -6261,7 +6270,7 @@ Object.defineProperties(L, yu);
|
|
|
6261
6270
|
var it = function(n, t) {
|
|
6262
6271
|
return n.interfaces_ && n.interfaces_().indexOf(t) > -1;
|
|
6263
6272
|
}, dr = function() {
|
|
6264
|
-
},
|
|
6273
|
+
}, _p = { LOG_10: { configurable: !0 } };
|
|
6265
6274
|
dr.prototype.interfaces_ = function() {
|
|
6266
6275
|
return [];
|
|
6267
6276
|
};
|
|
@@ -6300,10 +6309,10 @@ dr.max = function() {
|
|
|
6300
6309
|
dr.average = function(t, e) {
|
|
6301
6310
|
return (t + e) / 2;
|
|
6302
6311
|
};
|
|
6303
|
-
|
|
6312
|
+
_p.LOG_10.get = function() {
|
|
6304
6313
|
return Math.log(10);
|
|
6305
6314
|
};
|
|
6306
|
-
Object.defineProperties(dr,
|
|
6315
|
+
Object.defineProperties(dr, _p);
|
|
6307
6316
|
var yn = function(t) {
|
|
6308
6317
|
this.str = t;
|
|
6309
6318
|
};
|
|
@@ -6638,7 +6647,7 @@ A.prototype.signum = function() {
|
|
|
6638
6647
|
return this._hi > 0 ? 1 : this._hi < 0 ? -1 : this._lo > 0 ? 1 : this._lo < 0 ? -1 : 0;
|
|
6639
6648
|
};
|
|
6640
6649
|
A.prototype.interfaces_ = function() {
|
|
6641
|
-
return [
|
|
6650
|
+
return [Dr, Mr, wl];
|
|
6642
6651
|
};
|
|
6643
6652
|
A.prototype.getClass = function() {
|
|
6644
6653
|
return A;
|
|
@@ -6754,7 +6763,7 @@ qr.SCI_NOT_ZERO.get = function() {
|
|
|
6754
6763
|
};
|
|
6755
6764
|
Object.defineProperties(A, qr);
|
|
6756
6765
|
var Ge = function() {
|
|
6757
|
-
},
|
|
6766
|
+
}, wp = { DP_SAFE_EPSILON: { configurable: !0 } };
|
|
6758
6767
|
Ge.prototype.interfaces_ = function() {
|
|
6759
6768
|
return [];
|
|
6760
6769
|
};
|
|
@@ -6794,10 +6803,10 @@ Ge.orientationIndexFilter = function(t, e, r) {
|
|
|
6794
6803
|
Ge.signum = function(t) {
|
|
6795
6804
|
return t > 0 ? 1 : t < 0 ? -1 : 0;
|
|
6796
6805
|
};
|
|
6797
|
-
|
|
6806
|
+
wp.DP_SAFE_EPSILON.get = function() {
|
|
6798
6807
|
return 1e-15;
|
|
6799
6808
|
};
|
|
6800
|
-
Object.defineProperties(Ge,
|
|
6809
|
+
Object.defineProperties(Ge, wp);
|
|
6801
6810
|
var Et = function() {
|
|
6802
6811
|
}, _u = { X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 }, M: { configurable: !0 } };
|
|
6803
6812
|
_u.X.get = function() {
|
|
@@ -6843,7 +6852,7 @@ Et.prototype.getClass = function() {
|
|
|
6843
6852
|
return Et;
|
|
6844
6853
|
};
|
|
6845
6854
|
Object.defineProperties(Et, _u);
|
|
6846
|
-
var
|
|
6855
|
+
var Ep = function() {
|
|
6847
6856
|
}, ba = function(n) {
|
|
6848
6857
|
function t() {
|
|
6849
6858
|
n.call(this, "Projective point not representable on the Cartesian plane.");
|
|
@@ -6853,7 +6862,7 @@ var wp = function() {
|
|
|
6853
6862
|
}, t.prototype.getClass = function() {
|
|
6854
6863
|
return t;
|
|
6855
6864
|
}, t;
|
|
6856
|
-
}(
|
|
6865
|
+
}(Ep), _e = function() {
|
|
6857
6866
|
};
|
|
6858
6867
|
_e.arraycopy = function(t, e, r, i, s) {
|
|
6859
6868
|
for (var o = 0, a = e; a < e + s; a++)
|
|
@@ -6936,7 +6945,7 @@ var J = function n() {
|
|
|
6936
6945
|
var s = arguments[0], o = arguments[1], a = arguments[2], u = arguments[3];
|
|
6937
6946
|
this.init(s, o, a, u);
|
|
6938
6947
|
}
|
|
6939
|
-
},
|
|
6948
|
+
}, Sp = { serialVersionUID: { configurable: !0 } };
|
|
6940
6949
|
J.prototype.getArea = function() {
|
|
6941
6950
|
return this.getWidth() * this.getHeight();
|
|
6942
6951
|
};
|
|
@@ -7104,7 +7113,7 @@ J.prototype.hashCode = function() {
|
|
|
7104
7113
|
return t = 37 * t + T.hashCode(this._minx), t = 37 * t + T.hashCode(this._maxx), t = 37 * t + T.hashCode(this._miny), t = 37 * t + T.hashCode(this._maxy), t;
|
|
7105
7114
|
};
|
|
7106
7115
|
J.prototype.interfaces_ = function() {
|
|
7107
|
-
return [
|
|
7116
|
+
return [Mr, Dr];
|
|
7108
7117
|
};
|
|
7109
7118
|
J.prototype.getClass = function() {
|
|
7110
7119
|
return J;
|
|
@@ -7118,10 +7127,10 @@ J.intersects = function() {
|
|
|
7118
7127
|
return !(c > l || h < u || (u = Math.min(o.y, a.y), l = Math.max(o.y, a.y), c = Math.min(i.y, s.y), h = Math.max(i.y, s.y), c > l) || h < u);
|
|
7119
7128
|
}
|
|
7120
7129
|
};
|
|
7121
|
-
|
|
7130
|
+
Sp.serialVersionUID.get = function() {
|
|
7122
7131
|
return 5873921885273102e3;
|
|
7123
7132
|
};
|
|
7124
|
-
Object.defineProperties(J,
|
|
7133
|
+
Object.defineProperties(J, Sp);
|
|
7125
7134
|
var Xr = {
|
|
7126
7135
|
typeStr: /^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,
|
|
7127
7136
|
emptyTypeStr: /^\s*(\w+)\s*EMPTY\s*$/,
|
|
@@ -7989,7 +7998,7 @@ rt.prototype.isGeometryCollectionOrDerived = function() {
|
|
|
7989
7998
|
return this.getSortIndex() === rt.SORTINDEX_GEOMETRYCOLLECTION || this.getSortIndex() === rt.SORTINDEX_MULTIPOINT || this.getSortIndex() === rt.SORTINDEX_MULTILINESTRING || this.getSortIndex() === rt.SORTINDEX_MULTIPOLYGON;
|
|
7990
7999
|
};
|
|
7991
8000
|
rt.prototype.interfaces_ = function() {
|
|
7992
|
-
return [wl,
|
|
8001
|
+
return [wl, Mr, Dr];
|
|
7993
8002
|
};
|
|
7994
8003
|
rt.prototype.getClass = function() {
|
|
7995
8004
|
return rt;
|
|
@@ -8320,8 +8329,8 @@ var B = function(n) {
|
|
|
8320
8329
|
} else if (arguments.length === 4) {
|
|
8321
8330
|
var I = arguments[0], x = arguments[1], O = arguments[2], P = arguments[3], N = 1;
|
|
8322
8331
|
O > P && (N = -1);
|
|
8323
|
-
for (var
|
|
8324
|
-
i.add(I[
|
|
8332
|
+
for (var D = O; D !== P; D += N)
|
|
8333
|
+
i.add(I[D], x);
|
|
8325
8334
|
return !0;
|
|
8326
8335
|
}
|
|
8327
8336
|
}, t.prototype.closeRing = function() {
|
|
@@ -8609,7 +8618,7 @@ var Fc = function(n) {
|
|
|
8609
8618
|
throw new Eu();
|
|
8610
8619
|
}, t;
|
|
8611
8620
|
}(xa), ai = 0, Ji = 1;
|
|
8612
|
-
function
|
|
8621
|
+
function Dh(n) {
|
|
8613
8622
|
return n === null ? ai : n.color;
|
|
8614
8623
|
}
|
|
8615
8624
|
function kt(n) {
|
|
@@ -8688,10 +8697,10 @@ Ie.prototype.fixAfterInsertion = function(n) {
|
|
|
8688
8697
|
for (n.color = Ji; n != null && n !== this.root_ && n.parent.color === Ji; )
|
|
8689
8698
|
if (kt(n) === ql(kt(kt(n)))) {
|
|
8690
8699
|
var e = Lh(kt(kt(n)));
|
|
8691
|
-
|
|
8700
|
+
Dh(e) === Ji ? (Jn(kt(n), ai), Jn(e, ai), Jn(kt(kt(n)), Ji), n = kt(kt(n))) : (n === Lh(kt(n)) && (n = kt(n), t.rotateLeft(n)), Jn(kt(n), ai), Jn(kt(kt(n)), Ji), t.rotateRight(kt(kt(n))));
|
|
8692
8701
|
} else {
|
|
8693
8702
|
var r = ql(kt(kt(n)));
|
|
8694
|
-
|
|
8703
|
+
Dh(r) === Ji ? (Jn(kt(n), ai), Jn(r, ai), Jn(kt(kt(n)), Ji), n = kt(kt(n))) : (n === ql(kt(n)) && (n = kt(n), t.rotateRight(n)), Jn(kt(n), ai), Jn(kt(kt(n)), Ji), t.rotateLeft(kt(kt(n))));
|
|
8695
8704
|
}
|
|
8696
8705
|
this.root_.color = ai;
|
|
8697
8706
|
};
|
|
@@ -8752,13 +8761,13 @@ Qa.prototype.interfaces_ = function() {
|
|
|
8752
8761
|
Qa.prototype.getClass = function() {
|
|
8753
8762
|
return Qa;
|
|
8754
8763
|
};
|
|
8755
|
-
function
|
|
8764
|
+
function Cp() {
|
|
8756
8765
|
}
|
|
8757
|
-
|
|
8766
|
+
Cp.prototype = new Cl();
|
|
8758
8767
|
function un() {
|
|
8759
8768
|
this.array_ = [], arguments[0] instanceof ie && this.addAll(arguments[0]);
|
|
8760
8769
|
}
|
|
8761
|
-
un.prototype = new
|
|
8770
|
+
un.prototype = new Cp();
|
|
8762
8771
|
un.prototype.contains = function(n) {
|
|
8763
8772
|
for (var t = this, e = 0, r = this.array_.length; e < r; e++) {
|
|
8764
8773
|
var i = t.array_[e];
|
|
@@ -9824,7 +9833,7 @@ var ue = function(n) {
|
|
|
9824
9833
|
}, e.serialVersionUID.get = function() {
|
|
9825
9834
|
return -4261142084085851600;
|
|
9826
9835
|
}, Object.defineProperties(t, e), t;
|
|
9827
|
-
}(Xt),
|
|
9836
|
+
}(Xt), Dn = function(n) {
|
|
9828
9837
|
function t() {
|
|
9829
9838
|
n.apply(this, arguments);
|
|
9830
9839
|
}
|
|
@@ -9888,7 +9897,7 @@ Tr.prototype.editGeometryCollection = function(t, e) {
|
|
|
9888
9897
|
var a = r.edit(i.getGeometryN(o), e);
|
|
9889
9898
|
a === null || a.isEmpty() || s.add(a);
|
|
9890
9899
|
}
|
|
9891
|
-
return i.getClass() === la ? this._factory.createMultiPoint(s.toArray([])) : i.getClass() === ls ? this._factory.createMultiLineString(s.toArray([])) : i.getClass() ===
|
|
9900
|
+
return i.getClass() === la ? this._factory.createMultiPoint(s.toArray([])) : i.getClass() === ls ? this._factory.createMultiLineString(s.toArray([])) : i.getClass() === Dn ? this._factory.createMultiPolygon(s.toArray([])) : this._factory.createGeometryCollection(s.toArray([]));
|
|
9892
9901
|
};
|
|
9893
9902
|
Tr.prototype.editPolygon = function(t, e) {
|
|
9894
9903
|
var r = this, i = e.edit(t, this._factory);
|
|
@@ -9984,7 +9993,7 @@ var Jt = function() {
|
|
|
9984
9993
|
t._coordinates[c] = new T();
|
|
9985
9994
|
}
|
|
9986
9995
|
}
|
|
9987
|
-
},
|
|
9996
|
+
}, Ip = { serialVersionUID: { configurable: !0 } };
|
|
9988
9997
|
Jt.prototype.setOrdinate = function(t, e, r) {
|
|
9989
9998
|
switch (e) {
|
|
9990
9999
|
case Et.X:
|
|
@@ -10065,15 +10074,15 @@ Jt.prototype.toCoordinateArray = function() {
|
|
|
10065
10074
|
return this._coordinates;
|
|
10066
10075
|
};
|
|
10067
10076
|
Jt.prototype.interfaces_ = function() {
|
|
10068
|
-
return [Et,
|
|
10077
|
+
return [Et, Dr];
|
|
10069
10078
|
};
|
|
10070
10079
|
Jt.prototype.getClass = function() {
|
|
10071
10080
|
return Jt;
|
|
10072
10081
|
};
|
|
10073
|
-
|
|
10082
|
+
Ip.serialVersionUID.get = function() {
|
|
10074
10083
|
return -915438501601840600;
|
|
10075
10084
|
};
|
|
10076
|
-
Object.defineProperties(Jt,
|
|
10085
|
+
Object.defineProperties(Jt, Ip);
|
|
10077
10086
|
var zn = function() {
|
|
10078
10087
|
}, Vc = { serialVersionUID: { configurable: !0 }, instanceObject: { configurable: !0 } };
|
|
10079
10088
|
zn.prototype.readResolve = function() {
|
|
@@ -10094,7 +10103,7 @@ zn.prototype.create = function() {
|
|
|
10094
10103
|
}
|
|
10095
10104
|
};
|
|
10096
10105
|
zn.prototype.interfaces_ = function() {
|
|
10097
|
-
return [na,
|
|
10106
|
+
return [na, Dr];
|
|
10098
10107
|
};
|
|
10099
10108
|
zn.prototype.getClass = function() {
|
|
10100
10109
|
return zn;
|
|
@@ -10109,7 +10118,7 @@ Vc.instanceObject.get = function() {
|
|
|
10109
10118
|
return new zn();
|
|
10110
10119
|
};
|
|
10111
10120
|
Object.defineProperties(zn, Vc);
|
|
10112
|
-
var
|
|
10121
|
+
var Pp = function(n) {
|
|
10113
10122
|
function t() {
|
|
10114
10123
|
n.call(this), this.map_ = /* @__PURE__ */ new Map();
|
|
10115
10124
|
}
|
|
@@ -10193,7 +10202,7 @@ Ot.prototype.setScale = function(t) {
|
|
|
10193
10202
|
this._scale = Math.abs(t);
|
|
10194
10203
|
};
|
|
10195
10204
|
Ot.prototype.interfaces_ = function() {
|
|
10196
|
-
return [
|
|
10205
|
+
return [Dr, Mr];
|
|
10197
10206
|
};
|
|
10198
10207
|
Ot.prototype.getClass = function() {
|
|
10199
10208
|
return Ot;
|
|
@@ -10218,7 +10227,7 @@ cn.prototype.toString = function() {
|
|
|
10218
10227
|
return this._name;
|
|
10219
10228
|
};
|
|
10220
10229
|
cn.prototype.interfaces_ = function() {
|
|
10221
|
-
return [
|
|
10230
|
+
return [Dr];
|
|
10222
10231
|
};
|
|
10223
10232
|
cn.prototype.getClass = function() {
|
|
10224
10233
|
return cn;
|
|
@@ -10227,7 +10236,7 @@ zc.serialVersionUID.get = function() {
|
|
|
10227
10236
|
return -552860263173159e4;
|
|
10228
10237
|
};
|
|
10229
10238
|
zc.nameToTypeMap.get = function() {
|
|
10230
|
-
return new
|
|
10239
|
+
return new Pp();
|
|
10231
10240
|
};
|
|
10232
10241
|
Object.defineProperties(cn, zc);
|
|
10233
10242
|
Ot.Type = cn;
|
|
@@ -10236,7 +10245,7 @@ Ot.FLOATING = new cn("FLOATING");
|
|
|
10236
10245
|
Ot.FLOATING_SINGLE = new cn("FLOATING SINGLE");
|
|
10237
10246
|
var mt = function n() {
|
|
10238
10247
|
this._precisionModel = new Ot(), this._SRID = 0, this._coordinateSequenceFactory = n.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? it(arguments[0], na) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof Ot && (this._precisionModel = arguments[0]) : arguments.length === 2 ? (this._precisionModel = arguments[0], this._SRID = arguments[1]) : arguments.length === 3 && (this._precisionModel = arguments[0], this._SRID = arguments[1], this._coordinateSequenceFactory = arguments[2]));
|
|
10239
|
-
},
|
|
10248
|
+
}, bp = { serialVersionUID: { configurable: !0 } };
|
|
10240
10249
|
mt.prototype.toGeometry = function(t) {
|
|
10241
10250
|
return t.isNull() ? this.createPoint(null) : t.getMinX() === t.getMaxX() && t.getMinY() === t.getMaxY() ? this.createPoint(new T(t.getMinX(), t.getMinY())) : t.getMinX() === t.getMaxX() || t.getMinY() === t.getMaxY() ? this.createLineString([new T(t.getMinX(), t.getMinY()), new T(t.getMaxX(), t.getMaxY())]) : this.createPolygon(this.createLinearRing([new T(t.getMinX(), t.getMinY()), new T(t.getMinX(), t.getMaxY()), new T(t.getMaxX(), t.getMaxY()), new T(t.getMaxX(), t.getMinY()), new T(t.getMinX(), t.getMinY())]), null);
|
|
10242
10251
|
};
|
|
@@ -10355,10 +10364,10 @@ mt.prototype.createLinearRing = function() {
|
|
|
10355
10364
|
};
|
|
10356
10365
|
mt.prototype.createMultiPolygon = function() {
|
|
10357
10366
|
if (arguments.length === 0)
|
|
10358
|
-
return new
|
|
10367
|
+
return new Dn(null, this);
|
|
10359
10368
|
if (arguments.length === 1) {
|
|
10360
10369
|
var t = arguments[0];
|
|
10361
|
-
return new
|
|
10370
|
+
return new Dn(t, this);
|
|
10362
10371
|
}
|
|
10363
10372
|
};
|
|
10364
10373
|
mt.prototype.createMultiPoint = function() {
|
|
@@ -10385,7 +10394,7 @@ mt.prototype.createMultiPoint = function() {
|
|
|
10385
10394
|
}
|
|
10386
10395
|
};
|
|
10387
10396
|
mt.prototype.interfaces_ = function() {
|
|
10388
|
-
return [
|
|
10397
|
+
return [Dr];
|
|
10389
10398
|
};
|
|
10390
10399
|
mt.prototype.getClass = function() {
|
|
10391
10400
|
return mt;
|
|
@@ -10430,10 +10439,10 @@ mt.toPolygonArray = function(t) {
|
|
|
10430
10439
|
mt.createPointFromInternalCoord = function(t, e) {
|
|
10431
10440
|
return e.getPrecisionModel().makePrecise(t), e.getFactory().createPoint(t);
|
|
10432
10441
|
};
|
|
10433
|
-
|
|
10442
|
+
bp.serialVersionUID.get = function() {
|
|
10434
10443
|
return -6820524753094096e3;
|
|
10435
10444
|
};
|
|
10436
|
-
Object.defineProperties(mt,
|
|
10445
|
+
Object.defineProperties(mt, bp);
|
|
10437
10446
|
var Jv = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], bl = function(t) {
|
|
10438
10447
|
this.geometryFactory = t || new mt();
|
|
10439
10448
|
};
|
|
@@ -10771,10 +10780,10 @@ jc.prototype.reducePrecision = function(t) {
|
|
|
10771
10780
|
for (r = 0, i = t.geometries.length; r < i; r++)
|
|
10772
10781
|
e.reducePrecision(t.geometries[r]);
|
|
10773
10782
|
};
|
|
10774
|
-
var
|
|
10783
|
+
var xp = function() {
|
|
10775
10784
|
this.parser = new bl(this.geometryFactory);
|
|
10776
10785
|
};
|
|
10777
|
-
|
|
10786
|
+
xp.prototype.write = function(t) {
|
|
10778
10787
|
return this.parser.write(t);
|
|
10779
10788
|
};
|
|
10780
10789
|
var V = function() {
|
|
@@ -11016,7 +11025,7 @@ Ae.prototype.getDirectedEdges = function() {
|
|
|
11016
11025
|
return this._dirEdgeList;
|
|
11017
11026
|
};
|
|
11018
11027
|
Ae.prototype.interfaces_ = function() {
|
|
11019
|
-
return [
|
|
11028
|
+
return [Mr];
|
|
11020
11029
|
};
|
|
11021
11030
|
Ae.prototype.getClass = function() {
|
|
11022
11031
|
return Ae;
|
|
@@ -11668,7 +11677,7 @@ Pe.prototype.init = function(t, e) {
|
|
|
11668
11677
|
this._p0 = t, this._p1 = e, this._dx = e.x - t.x, this._dy = e.y - t.y, this._quadrant = Rt.quadrant(this._dx, this._dy), ft.isTrue(!(this._dx === 0 && this._dy === 0), "EdgeEnd with identical endpoints found");
|
|
11669
11678
|
};
|
|
11670
11679
|
Pe.prototype.interfaces_ = function() {
|
|
11671
|
-
return [
|
|
11680
|
+
return [Mr];
|
|
11672
11681
|
};
|
|
11673
11682
|
Pe.prototype.getClass = function() {
|
|
11674
11683
|
return Pe;
|
|
@@ -12008,7 +12017,7 @@ Br.prototype.getBounds = function() {
|
|
|
12008
12017
|
return this._bounds;
|
|
12009
12018
|
};
|
|
12010
12019
|
Br.prototype.interfaces_ = function() {
|
|
12011
|
-
return [ha,
|
|
12020
|
+
return [ha, Dr];
|
|
12012
12021
|
};
|
|
12013
12022
|
Br.prototype.getClass = function() {
|
|
12014
12023
|
return Br;
|
|
@@ -12081,7 +12090,7 @@ var ae = function() {
|
|
|
12081
12090
|
this._level = t;
|
|
12082
12091
|
}
|
|
12083
12092
|
}
|
|
12084
|
-
},
|
|
12093
|
+
}, Np = { serialVersionUID: { configurable: !0 } };
|
|
12085
12094
|
ae.prototype.getLevel = function() {
|
|
12086
12095
|
return this._level;
|
|
12087
12096
|
};
|
|
@@ -12101,15 +12110,15 @@ ae.prototype.getBounds = function() {
|
|
|
12101
12110
|
return this._bounds === null && (this._bounds = this.computeBounds()), this._bounds;
|
|
12102
12111
|
};
|
|
12103
12112
|
ae.prototype.interfaces_ = function() {
|
|
12104
|
-
return [ha,
|
|
12113
|
+
return [ha, Dr];
|
|
12105
12114
|
};
|
|
12106
12115
|
ae.prototype.getClass = function() {
|
|
12107
12116
|
return ae;
|
|
12108
12117
|
};
|
|
12109
|
-
|
|
12118
|
+
Np.serialVersionUID.get = function() {
|
|
12110
12119
|
return 6493722185909574e3;
|
|
12111
12120
|
};
|
|
12112
|
-
Object.defineProperties(ae,
|
|
12121
|
+
Object.defineProperties(ae, Np);
|
|
12113
12122
|
var zr = function() {
|
|
12114
12123
|
};
|
|
12115
12124
|
zr.reverseOrder = function() {
|
|
@@ -12170,7 +12179,7 @@ te.prototype.distance = function() {
|
|
|
12170
12179
|
return this.isLeaves() ? this._itemDistance.distance(this._boundable1, this._boundable2) : this._boundable1.getBounds().distance(this._boundable2.getBounds());
|
|
12171
12180
|
};
|
|
12172
12181
|
te.prototype.interfaces_ = function() {
|
|
12173
|
-
return [
|
|
12182
|
+
return [Mr];
|
|
12174
12183
|
};
|
|
12175
12184
|
te.prototype.getClass = function() {
|
|
12176
12185
|
return te;
|
|
@@ -12189,7 +12198,7 @@ var fe = function n() {
|
|
|
12189
12198
|
var e = arguments[0];
|
|
12190
12199
|
ft.isTrue(e > 1, "Node capacity must be greater than 1"), this._nodeCapacity = e;
|
|
12191
12200
|
}
|
|
12192
|
-
},
|
|
12201
|
+
}, Ml = { IntersectsOp: { configurable: !0 }, serialVersionUID: { configurable: !0 }, DEFAULT_NODE_CAPACITY: { configurable: !0 } };
|
|
12193
12202
|
fe.prototype.getNodeCapacity = function() {
|
|
12194
12203
|
return this._nodeCapacity;
|
|
12195
12204
|
};
|
|
@@ -12340,7 +12349,7 @@ fe.prototype.isEmpty = function() {
|
|
|
12340
12349
|
return this._built ? this._root.isEmpty() : this._itemBoundables.isEmpty();
|
|
12341
12350
|
};
|
|
12342
12351
|
fe.prototype.interfaces_ = function() {
|
|
12343
|
-
return [
|
|
12352
|
+
return [Dr];
|
|
12344
12353
|
};
|
|
12345
12354
|
fe.prototype.getClass = function() {
|
|
12346
12355
|
return fe;
|
|
@@ -12348,16 +12357,16 @@ fe.prototype.getClass = function() {
|
|
|
12348
12357
|
fe.compareDoubles = function(t, e) {
|
|
12349
12358
|
return t > e ? 1 : t < e ? -1 : 0;
|
|
12350
12359
|
};
|
|
12351
|
-
|
|
12360
|
+
Ml.IntersectsOp.get = function() {
|
|
12352
12361
|
return Qv;
|
|
12353
12362
|
};
|
|
12354
|
-
|
|
12363
|
+
Ml.serialVersionUID.get = function() {
|
|
12355
12364
|
return -3886435814360241e3;
|
|
12356
12365
|
};
|
|
12357
|
-
|
|
12366
|
+
Ml.DEFAULT_NODE_CAPACITY.get = function() {
|
|
12358
12367
|
return 10;
|
|
12359
12368
|
};
|
|
12360
|
-
Object.defineProperties(fe,
|
|
12369
|
+
Object.defineProperties(fe, Ml);
|
|
12361
12370
|
var Qv = function() {
|
|
12362
12371
|
}, fa = function() {
|
|
12363
12372
|
};
|
|
@@ -12369,7 +12378,7 @@ fa.prototype.interfaces_ = function() {
|
|
|
12369
12378
|
fa.prototype.getClass = function() {
|
|
12370
12379
|
return fa;
|
|
12371
12380
|
};
|
|
12372
|
-
var
|
|
12381
|
+
var Tp = function(n) {
|
|
12373
12382
|
function t(r) {
|
|
12374
12383
|
r = r || t.DEFAULT_NODE_CAPACITY, n.call(this, r);
|
|
12375
12384
|
}
|
|
@@ -12466,7 +12475,7 @@ var Np = function(n) {
|
|
|
12466
12475
|
return this.nearestNeighbour(y)[0];
|
|
12467
12476
|
}
|
|
12468
12477
|
}, t.prototype.interfaces_ = function() {
|
|
12469
|
-
return [Js,
|
|
12478
|
+
return [Js, Dr];
|
|
12470
12479
|
}, t.prototype.getClass = function() {
|
|
12471
12480
|
return t;
|
|
12472
12481
|
}, t.centreX = function(i) {
|
|
@@ -12585,7 +12594,7 @@ ki.prototype.isInterior = function() {
|
|
|
12585
12594
|
return this._isInterior;
|
|
12586
12595
|
};
|
|
12587
12596
|
ki.prototype.interfaces_ = function() {
|
|
12588
|
-
return [
|
|
12597
|
+
return [Mr];
|
|
12589
12598
|
};
|
|
12590
12599
|
ki.prototype.getClass = function() {
|
|
12591
12600
|
return ki;
|
|
@@ -12826,7 +12835,7 @@ var K = function() {
|
|
|
12826
12835
|
var e = arguments[0], r = arguments[1], i = arguments[2], s = arguments[3];
|
|
12827
12836
|
this.p0 = new T(e, r), this.p1 = new T(i, s);
|
|
12828
12837
|
}
|
|
12829
|
-
},
|
|
12838
|
+
}, Op = { serialVersionUID: { configurable: !0 } };
|
|
12830
12839
|
K.prototype.minX = function() {
|
|
12831
12840
|
return Math.min(this.p0.x, this.p1.x);
|
|
12832
12841
|
};
|
|
@@ -13002,7 +13011,7 @@ K.prototype.hashCode = function() {
|
|
|
13002
13011
|
return e ^ i;
|
|
13003
13012
|
};
|
|
13004
13013
|
K.prototype.interfaces_ = function() {
|
|
13005
|
-
return [
|
|
13014
|
+
return [Mr, Dr];
|
|
13006
13015
|
};
|
|
13007
13016
|
K.prototype.getClass = function() {
|
|
13008
13017
|
return K;
|
|
@@ -13010,10 +13019,10 @@ K.prototype.getClass = function() {
|
|
|
13010
13019
|
K.midPoint = function(t, e) {
|
|
13011
13020
|
return new T((t.x + e.x) / 2, (t.y + e.y) / 2);
|
|
13012
13021
|
};
|
|
13013
|
-
|
|
13022
|
+
Op.serialVersionUID.get = function() {
|
|
13014
13023
|
return 3252005833466256400;
|
|
13015
13024
|
};
|
|
13016
|
-
Object.defineProperties(K,
|
|
13025
|
+
Object.defineProperties(K, Op);
|
|
13017
13026
|
var iu = function() {
|
|
13018
13027
|
this.tempEnv1 = new J(), this.tempEnv2 = new J(), this._overlapSeg1 = new K(), this._overlapSeg2 = new K();
|
|
13019
13028
|
};
|
|
@@ -13177,7 +13186,7 @@ su.prototype.getClass = function() {
|
|
|
13177
13186
|
};
|
|
13178
13187
|
var Uc = function(n) {
|
|
13179
13188
|
function t(r) {
|
|
13180
|
-
r ? n.call(this, r) : n.call(this), this._monoChains = new B(), this._index = new
|
|
13189
|
+
r ? n.call(this, r) : n.call(this), this._monoChains = new B(), this._index = new Tp(), this._idCounter = 0, this._nodedSegStrings = null, this._nOverlaps = 0;
|
|
13181
13190
|
}
|
|
13182
13191
|
n && (t.__proto__ = n), t.prototype = Object.create(n && n.prototype), t.prototype.constructor = t;
|
|
13183
13192
|
var e = { SegmentOverlapAction: { configurable: !0 } };
|
|
@@ -13398,7 +13407,7 @@ Cu.NUM_PTS_TO_CHECK.get = function() {
|
|
|
13398
13407
|
Object.defineProperties(Ht, Cu);
|
|
13399
13408
|
var gr = function() {
|
|
13400
13409
|
this._ptList = null, this._precisionModel = null, this._minimimVertexDistance = 0, this._ptList = new B();
|
|
13401
|
-
},
|
|
13410
|
+
}, Mp = { COORDINATE_ARRAY_TYPE: { configurable: !0 } };
|
|
13402
13411
|
gr.prototype.getCoordinates = function() {
|
|
13403
13412
|
var t = this._ptList.toArray(gr.COORDINATE_ARRAY_TYPE);
|
|
13404
13413
|
return t;
|
|
@@ -13450,10 +13459,10 @@ gr.prototype.interfaces_ = function() {
|
|
|
13450
13459
|
gr.prototype.getClass = function() {
|
|
13451
13460
|
return gr;
|
|
13452
13461
|
};
|
|
13453
|
-
|
|
13462
|
+
Mp.COORDINATE_ARRAY_TYPE.get = function() {
|
|
13454
13463
|
return new Array(0).fill(null);
|
|
13455
13464
|
};
|
|
13456
|
-
Object.defineProperties(gr,
|
|
13465
|
+
Object.defineProperties(gr, Mp);
|
|
13457
13466
|
var _t = function() {
|
|
13458
13467
|
}, fo = { PI_TIMES_2: { configurable: !0 }, PI_OVER_2: { configurable: !0 }, PI_OVER_4: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, CLOCKWISE: { configurable: !0 }, NONE: { configurable: !0 } };
|
|
13459
13468
|
_t.prototype.interfaces_ = function() {
|
|
@@ -13882,90 +13891,90 @@ hs.prototype.toString = function() {
|
|
|
13882
13891
|
return this._upwardSeg.toString();
|
|
13883
13892
|
};
|
|
13884
13893
|
hs.prototype.interfaces_ = function() {
|
|
13885
|
-
return [
|
|
13894
|
+
return [Mr];
|
|
13886
13895
|
};
|
|
13887
13896
|
hs.prototype.getClass = function() {
|
|
13888
13897
|
return hs;
|
|
13889
13898
|
};
|
|
13890
|
-
var
|
|
13899
|
+
var Mt = function(t, e, r) {
|
|
13891
13900
|
this.p0 = t || null, this.p1 = e || null, this.p2 = r || null;
|
|
13892
13901
|
};
|
|
13893
|
-
|
|
13894
|
-
return
|
|
13902
|
+
Mt.prototype.area = function() {
|
|
13903
|
+
return Mt.area(this.p0, this.p1, this.p2);
|
|
13895
13904
|
};
|
|
13896
|
-
|
|
13897
|
-
return
|
|
13905
|
+
Mt.prototype.signedArea = function() {
|
|
13906
|
+
return Mt.signedArea(this.p0, this.p1, this.p2);
|
|
13898
13907
|
};
|
|
13899
|
-
|
|
13908
|
+
Mt.prototype.interpolateZ = function(t) {
|
|
13900
13909
|
if (t === null)
|
|
13901
13910
|
throw new Ut("Supplied point is null.");
|
|
13902
|
-
return
|
|
13911
|
+
return Mt.interpolateZ(t, this.p0, this.p1, this.p2);
|
|
13903
13912
|
};
|
|
13904
|
-
|
|
13905
|
-
return
|
|
13913
|
+
Mt.prototype.longestSideLength = function() {
|
|
13914
|
+
return Mt.longestSideLength(this.p0, this.p1, this.p2);
|
|
13906
13915
|
};
|
|
13907
|
-
|
|
13908
|
-
return
|
|
13916
|
+
Mt.prototype.isAcute = function() {
|
|
13917
|
+
return Mt.isAcute(this.p0, this.p1, this.p2);
|
|
13909
13918
|
};
|
|
13910
|
-
|
|
13911
|
-
return
|
|
13919
|
+
Mt.prototype.circumcentre = function() {
|
|
13920
|
+
return Mt.circumcentre(this.p0, this.p1, this.p2);
|
|
13912
13921
|
};
|
|
13913
|
-
|
|
13914
|
-
return
|
|
13922
|
+
Mt.prototype.area3D = function() {
|
|
13923
|
+
return Mt.area3D(this.p0, this.p1, this.p2);
|
|
13915
13924
|
};
|
|
13916
|
-
|
|
13917
|
-
return
|
|
13925
|
+
Mt.prototype.centroid = function() {
|
|
13926
|
+
return Mt.centroid(this.p0, this.p1, this.p2);
|
|
13918
13927
|
};
|
|
13919
|
-
|
|
13920
|
-
return
|
|
13928
|
+
Mt.prototype.inCentre = function() {
|
|
13929
|
+
return Mt.inCentre(this.p0, this.p1, this.p2);
|
|
13921
13930
|
};
|
|
13922
|
-
|
|
13931
|
+
Mt.prototype.interfaces_ = function() {
|
|
13923
13932
|
return [];
|
|
13924
13933
|
};
|
|
13925
|
-
|
|
13926
|
-
return
|
|
13934
|
+
Mt.prototype.getClass = function() {
|
|
13935
|
+
return Mt;
|
|
13927
13936
|
};
|
|
13928
|
-
|
|
13937
|
+
Mt.area = function(t, e, r) {
|
|
13929
13938
|
return Math.abs(((r.x - t.x) * (e.y - t.y) - (e.x - t.x) * (r.y - t.y)) / 2);
|
|
13930
13939
|
};
|
|
13931
|
-
|
|
13940
|
+
Mt.signedArea = function(t, e, r) {
|
|
13932
13941
|
return ((r.x - t.x) * (e.y - t.y) - (e.x - t.x) * (r.y - t.y)) / 2;
|
|
13933
13942
|
};
|
|
13934
|
-
|
|
13943
|
+
Mt.det = function(t, e, r, i) {
|
|
13935
13944
|
return t * i - e * r;
|
|
13936
13945
|
};
|
|
13937
|
-
|
|
13946
|
+
Mt.interpolateZ = function(t, e, r, i) {
|
|
13938
13947
|
var s = e.x, o = e.y, a = r.x - s, u = i.x - s, l = r.y - o, c = i.y - o, h = a * c - u * l, d = t.x - s, p = t.y - o, v = (c * d - u * p) / h, E = (-l * d + a * p) / h, C = e.z + v * (r.z - e.z) + E * (i.z - e.z);
|
|
13939
13948
|
return C;
|
|
13940
13949
|
};
|
|
13941
|
-
|
|
13950
|
+
Mt.longestSideLength = function(t, e, r) {
|
|
13942
13951
|
var i = t.distance(e), s = e.distance(r), o = r.distance(t), a = i;
|
|
13943
13952
|
return s > a && (a = s), o > a && (a = o), a;
|
|
13944
13953
|
};
|
|
13945
|
-
|
|
13954
|
+
Mt.isAcute = function(t, e, r) {
|
|
13946
13955
|
return !(!_t.isAcute(t, e, r) || !_t.isAcute(e, r, t) || !_t.isAcute(r, t, e));
|
|
13947
13956
|
};
|
|
13948
|
-
|
|
13949
|
-
var i = r.x, s = r.y, o = t.x - i, a = t.y - s, u = e.x - i, l = e.y - s, c = 2 *
|
|
13957
|
+
Mt.circumcentre = function(t, e, r) {
|
|
13958
|
+
var i = r.x, s = r.y, o = t.x - i, a = t.y - s, u = e.x - i, l = e.y - s, c = 2 * Mt.det(o, a, u, l), h = Mt.det(a, o * o + a * a, l, u * u + l * l), d = Mt.det(o, o * o + a * a, u, u * u + l * l), p = i - h / c, v = s + d / c;
|
|
13950
13959
|
return new T(p, v);
|
|
13951
13960
|
};
|
|
13952
|
-
|
|
13961
|
+
Mt.perpendicularBisector = function(t, e) {
|
|
13953
13962
|
var r = e.x - t.x, i = e.y - t.y, s = new Rr(t.x + r / 2, t.y + i / 2, 1), o = new Rr(t.x - i + r / 2, t.y + r + i / 2, 1);
|
|
13954
13963
|
return new Rr(s, o);
|
|
13955
13964
|
};
|
|
13956
|
-
|
|
13965
|
+
Mt.angleBisector = function(t, e, r) {
|
|
13957
13966
|
var i = e.distance(t), s = e.distance(r), o = i / (i + s), a = r.x - t.x, u = r.y - t.y, l = new T(t.x + o * a, t.y + o * u);
|
|
13958
13967
|
return l;
|
|
13959
13968
|
};
|
|
13960
|
-
|
|
13969
|
+
Mt.area3D = function(t, e, r) {
|
|
13961
13970
|
var i = e.x - t.x, s = e.y - t.y, o = e.z - t.z, a = r.x - t.x, u = r.y - t.y, l = r.z - t.z, c = s * l - o * u, h = o * a - i * l, d = i * u - s * a, p = c * c + h * h + d * d, v = Math.sqrt(p) / 2;
|
|
13962
13971
|
return v;
|
|
13963
13972
|
};
|
|
13964
|
-
|
|
13973
|
+
Mt.centroid = function(t, e, r) {
|
|
13965
13974
|
var i = (t.x + e.x + r.x) / 3, s = (t.y + e.y + r.y) / 3;
|
|
13966
13975
|
return new T(i, s);
|
|
13967
13976
|
};
|
|
13968
|
-
|
|
13977
|
+
Mt.inCentre = function(t, e, r) {
|
|
13969
13978
|
var i = e.distance(r), s = t.distance(r), o = t.distance(e), a = i + s + o, u = (i * t.x + s * e.x + o * r.x) / a, l = (i * t.y + s * e.y + o * r.y) / a;
|
|
13970
13979
|
return new T(u, l);
|
|
13971
13980
|
};
|
|
@@ -13993,7 +14002,7 @@ Or.prototype.addPolygon = function(t) {
|
|
|
13993
14002
|
}
|
|
13994
14003
|
};
|
|
13995
14004
|
Or.prototype.isTriangleErodedCompletely = function(t, e) {
|
|
13996
|
-
var r = new
|
|
14005
|
+
var r = new Mt(t[0], t[1], t[2]), i = r.inCentre(), s = j.distancePointLine(i, r.p0, r.p1);
|
|
13997
14006
|
return s < Math.abs(e);
|
|
13998
14007
|
};
|
|
13999
14008
|
Or.prototype.addLineString = function(t) {
|
|
@@ -14022,7 +14031,7 @@ Or.prototype.addPolygonRing = function(t, e, r, i, s) {
|
|
|
14022
14031
|
Or.prototype.add = function(t) {
|
|
14023
14032
|
if (t.isEmpty())
|
|
14024
14033
|
return null;
|
|
14025
|
-
t instanceof ue ? this.addPolygon(t) : t instanceof Xt ? this.addLineString(t) : t instanceof er ? this.addPoint(t) : t instanceof la ? this.addCollection(t) : t instanceof ls ? this.addCollection(t) : t instanceof
|
|
14034
|
+
t instanceof ue ? this.addPolygon(t) : t instanceof Xt ? this.addLineString(t) : t instanceof er ? this.addPoint(t) : t instanceof la ? this.addCollection(t) : t instanceof ls ? this.addCollection(t) : t instanceof Dn ? this.addCollection(t) : t instanceof Re && this.addCollection(t);
|
|
14026
14035
|
};
|
|
14027
14036
|
Or.prototype.isErodedCompletely = function(t, e) {
|
|
14028
14037
|
var r = t.getCoordinates();
|
|
@@ -14420,7 +14429,7 @@ var $v = function(n) {
|
|
|
14420
14429
|
}, t.prototype.getClass = function() {
|
|
14421
14430
|
return t;
|
|
14422
14431
|
}, t;
|
|
14423
|
-
}(be),
|
|
14432
|
+
}(be), Lp = function(n) {
|
|
14424
14433
|
function t() {
|
|
14425
14434
|
n.apply(this, arguments);
|
|
14426
14435
|
}
|
|
@@ -14441,7 +14450,7 @@ Vi.prototype.compareTo = function(t) {
|
|
|
14441
14450
|
return r;
|
|
14442
14451
|
};
|
|
14443
14452
|
Vi.prototype.interfaces_ = function() {
|
|
14444
|
-
return [
|
|
14453
|
+
return [Mr];
|
|
14445
14454
|
};
|
|
14446
14455
|
Vi.prototype.getClass = function() {
|
|
14447
14456
|
return Vi;
|
|
@@ -14610,7 +14619,7 @@ dn.prototype.compare = function(t, e) {
|
|
|
14610
14619
|
return this.segmentIndex < t ? -1 : this.segmentIndex > t ? 1 : this.dist < e ? -1 : this.dist > e ? 1 : 0;
|
|
14611
14620
|
};
|
|
14612
14621
|
dn.prototype.interfaces_ = function() {
|
|
14613
|
-
return [
|
|
14622
|
+
return [Mr];
|
|
14614
14623
|
};
|
|
14615
14624
|
dn.prototype.getClass = function() {
|
|
14616
14625
|
return dn;
|
|
@@ -14755,7 +14764,7 @@ var ye = function n() {
|
|
|
14755
14764
|
for (var e = 0; e < 2; e++)
|
|
14756
14765
|
for (var r = 0; r < 3; r++)
|
|
14757
14766
|
t._depth[e][r] = n.NULL_VALUE;
|
|
14758
|
-
},
|
|
14767
|
+
}, Rp = { NULL_VALUE: { configurable: !0 } };
|
|
14759
14768
|
ye.prototype.getDepth = function(t, e) {
|
|
14760
14769
|
return this._depth[t][e];
|
|
14761
14770
|
};
|
|
@@ -14820,10 +14829,10 @@ ye.prototype.getClass = function() {
|
|
|
14820
14829
|
ye.depthAtLocation = function(t) {
|
|
14821
14830
|
return t === L.EXTERIOR ? 0 : t === L.INTERIOR ? 1 : ye.NULL_VALUE;
|
|
14822
14831
|
};
|
|
14823
|
-
|
|
14832
|
+
Rp.NULL_VALUE.get = function() {
|
|
14824
14833
|
return -1;
|
|
14825
14834
|
};
|
|
14826
|
-
Object.defineProperties(ye,
|
|
14835
|
+
Object.defineProperties(ye, Rp);
|
|
14827
14836
|
var Ju = function(n) {
|
|
14828
14837
|
function t() {
|
|
14829
14838
|
if (n.call(this), this.pts = null, this._env = null, this.eiList = new Un(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new ye(), this._depthDelta = 0, arguments.length === 1) {
|
|
@@ -14988,7 +14997,7 @@ Le.prototype.buffer = function(t, e) {
|
|
|
14988
14997
|
var i = new We(r, this._bufParams), s = new Or(t, e, i), o = s.getCurves();
|
|
14989
14998
|
if (o.size() <= 0)
|
|
14990
14999
|
return this.createEmptyResultGeometry();
|
|
14991
|
-
this.computeNodedEdges(o, r), this._graph = new Wt(new
|
|
15000
|
+
this.computeNodedEdges(o, r), this._graph = new Wt(new Lp()), this._graph.addEdges(this._edgeList.getEdges());
|
|
14992
15001
|
var a = this.createSubgraphs(this._graph), u = new rr(this._geomFact);
|
|
14993
15002
|
this.buildSubgraphs(a, u);
|
|
14994
15003
|
var l = u.getPolygons();
|
|
@@ -15086,7 +15095,7 @@ var pn = function() {
|
|
|
15086
15095
|
this._li = new Es(), this._segStrings = null;
|
|
15087
15096
|
var t = arguments[0];
|
|
15088
15097
|
this._segStrings = t;
|
|
15089
|
-
},
|
|
15098
|
+
}, Ap = { fact: { configurable: !0 } };
|
|
15090
15099
|
pn.prototype.checkEndPtVertexIntersections = function() {
|
|
15091
15100
|
var t = this;
|
|
15092
15101
|
if (arguments.length === 0)
|
|
@@ -15154,17 +15163,17 @@ pn.prototype.interfaces_ = function() {
|
|
|
15154
15163
|
pn.prototype.getClass = function() {
|
|
15155
15164
|
return pn;
|
|
15156
15165
|
};
|
|
15157
|
-
|
|
15166
|
+
Ap.fact.get = function() {
|
|
15158
15167
|
return new mt();
|
|
15159
15168
|
};
|
|
15160
|
-
Object.defineProperties(pn,
|
|
15169
|
+
Object.defineProperties(pn, Ap);
|
|
15161
15170
|
var Xe = function() {
|
|
15162
15171
|
this._li = null, this._pt = null, this._originalPt = null, this._ptScaled = null, this._p0Scaled = null, this._p1Scaled = null, this._scaleFactor = null, this._minx = null, this._maxx = null, this._miny = null, this._maxy = null, this._corner = new Array(4).fill(null), this._safeEnv = null;
|
|
15163
15172
|
var t = arguments[0], e = arguments[1], r = arguments[2];
|
|
15164
15173
|
if (this._originalPt = t, this._pt = t, this._scaleFactor = e, this._li = r, e <= 0)
|
|
15165
15174
|
throw new Ut("Scale factor must be non-zero");
|
|
15166
15175
|
e !== 1 && (this._pt = new T(this.scale(t.x), this.scale(t.y)), this._p0Scaled = new T(), this._p1Scaled = new T()), this.initCorners(this._pt);
|
|
15167
|
-
},
|
|
15176
|
+
}, Fp = { SAFE_ENV_EXPANSION_FACTOR: { configurable: !0 } };
|
|
15168
15177
|
Xe.prototype.intersectsScaled = function(t, e) {
|
|
15169
15178
|
var r = Math.min(t.x, e.x), i = Math.max(t.x, e.x), s = Math.min(t.y, e.y), o = Math.max(t.y, e.y), a = this._maxx < r || this._minx > i || this._maxy < s || this._miny > o;
|
|
15170
15179
|
if (a)
|
|
@@ -15212,10 +15221,10 @@ Xe.prototype.interfaces_ = function() {
|
|
|
15212
15221
|
Xe.prototype.getClass = function() {
|
|
15213
15222
|
return Xe;
|
|
15214
15223
|
};
|
|
15215
|
-
|
|
15224
|
+
Fp.SAFE_ENV_EXPANSION_FACTOR.get = function() {
|
|
15216
15225
|
return 0.75;
|
|
15217
15226
|
};
|
|
15218
|
-
Object.defineProperties(Xe,
|
|
15227
|
+
Object.defineProperties(Xe, Fp);
|
|
15219
15228
|
var ou = function() {
|
|
15220
15229
|
this.tempEnv1 = new J(), this.selectedSegment = new K();
|
|
15221
15230
|
};
|
|
@@ -15237,13 +15246,13 @@ var pa = function() {
|
|
|
15237
15246
|
this._index = null;
|
|
15238
15247
|
var t = arguments[0];
|
|
15239
15248
|
this._index = t;
|
|
15240
|
-
},
|
|
15249
|
+
}, kp = { HotPixelSnapAction: { configurable: !0 } };
|
|
15241
15250
|
pa.prototype.snap = function() {
|
|
15242
15251
|
if (arguments.length === 1) {
|
|
15243
15252
|
var t = arguments[0];
|
|
15244
15253
|
return this.snap(t, null, -1);
|
|
15245
15254
|
} else if (arguments.length === 3) {
|
|
15246
|
-
var e = arguments[0], r = arguments[1], i = arguments[2], s = e.getSafeEnvelope(), o = new
|
|
15255
|
+
var e = arguments[0], r = arguments[1], i = arguments[2], s = e.getSafeEnvelope(), o = new Vp(e, r, i);
|
|
15247
15256
|
return this._index.query(s, {
|
|
15248
15257
|
interfaces_: function() {
|
|
15249
15258
|
return [Fi];
|
|
@@ -15261,11 +15270,11 @@ pa.prototype.interfaces_ = function() {
|
|
|
15261
15270
|
pa.prototype.getClass = function() {
|
|
15262
15271
|
return pa;
|
|
15263
15272
|
};
|
|
15264
|
-
|
|
15265
|
-
return
|
|
15273
|
+
kp.HotPixelSnapAction.get = function() {
|
|
15274
|
+
return Vp;
|
|
15266
15275
|
};
|
|
15267
|
-
Object.defineProperties(pa,
|
|
15268
|
-
var
|
|
15276
|
+
Object.defineProperties(pa, kp);
|
|
15277
|
+
var Vp = function(n) {
|
|
15269
15278
|
function t() {
|
|
15270
15279
|
n.call(this), this._hotPixel = null, this._parentEdge = null, this._hotPixelVertexIndex = null, this._isNodeAdded = !1;
|
|
15271
15280
|
var e = arguments[0], r = arguments[1], i = arguments[2];
|
|
@@ -15324,7 +15333,7 @@ Gn.prototype.checkCorrectness = function(t) {
|
|
|
15324
15333
|
try {
|
|
15325
15334
|
r.checkValid();
|
|
15326
15335
|
} catch (i) {
|
|
15327
|
-
if (i instanceof
|
|
15336
|
+
if (i instanceof Ep)
|
|
15328
15337
|
i.printStackTrace();
|
|
15329
15338
|
else
|
|
15330
15339
|
throw i;
|
|
@@ -15785,7 +15794,7 @@ Ur.prototype.computeLocation = function(t, e) {
|
|
|
15785
15794
|
var o = i.getGeometryN(s);
|
|
15786
15795
|
r.updateLocationInfo(r.locateInternal(t, o));
|
|
15787
15796
|
}
|
|
15788
|
-
else if (e instanceof
|
|
15797
|
+
else if (e instanceof Dn)
|
|
15789
15798
|
for (var a = e, u = 0; u < a.getNumGeometries(); u++) {
|
|
15790
15799
|
var l = a.getGeometryN(u);
|
|
15791
15800
|
r.updateLocationInfo(r.locateInternal(t, l));
|
|
@@ -15805,7 +15814,7 @@ Ur.prototype.interfaces_ = function() {
|
|
|
15805
15814
|
Ur.prototype.getClass = function() {
|
|
15806
15815
|
return Ur;
|
|
15807
15816
|
};
|
|
15808
|
-
var
|
|
15817
|
+
var Me = function n() {
|
|
15809
15818
|
if (this._component = null, this._segIndex = null, this._pt = null, arguments.length === 2) {
|
|
15810
15819
|
var t = arguments[0], e = arguments[1];
|
|
15811
15820
|
n.call(this, t, n.INSIDE_AREA, e);
|
|
@@ -15813,29 +15822,29 @@ var De = function n() {
|
|
|
15813
15822
|
var r = arguments[0], i = arguments[1], s = arguments[2];
|
|
15814
15823
|
this._component = r, this._segIndex = i, this._pt = s;
|
|
15815
15824
|
}
|
|
15816
|
-
},
|
|
15817
|
-
|
|
15818
|
-
return this._segIndex ===
|
|
15825
|
+
}, Bp = { INSIDE_AREA: { configurable: !0 } };
|
|
15826
|
+
Me.prototype.isInsideArea = function() {
|
|
15827
|
+
return this._segIndex === Me.INSIDE_AREA;
|
|
15819
15828
|
};
|
|
15820
|
-
|
|
15829
|
+
Me.prototype.getCoordinate = function() {
|
|
15821
15830
|
return this._pt;
|
|
15822
15831
|
};
|
|
15823
|
-
|
|
15832
|
+
Me.prototype.getGeometryComponent = function() {
|
|
15824
15833
|
return this._component;
|
|
15825
15834
|
};
|
|
15826
|
-
|
|
15835
|
+
Me.prototype.getSegmentIndex = function() {
|
|
15827
15836
|
return this._segIndex;
|
|
15828
15837
|
};
|
|
15829
|
-
|
|
15838
|
+
Me.prototype.interfaces_ = function() {
|
|
15830
15839
|
return [];
|
|
15831
15840
|
};
|
|
15832
|
-
|
|
15833
|
-
return
|
|
15841
|
+
Me.prototype.getClass = function() {
|
|
15842
|
+
return Me;
|
|
15834
15843
|
};
|
|
15835
|
-
|
|
15844
|
+
Bp.INSIDE_AREA.get = function() {
|
|
15836
15845
|
return -1;
|
|
15837
15846
|
};
|
|
15838
|
-
Object.defineProperties(
|
|
15847
|
+
Object.defineProperties(Me, Bp);
|
|
15839
15848
|
var Oi = function(t) {
|
|
15840
15849
|
this._pts = t || null;
|
|
15841
15850
|
};
|
|
@@ -15863,7 +15872,7 @@ var to = function() {
|
|
|
15863
15872
|
this._locations = t;
|
|
15864
15873
|
};
|
|
15865
15874
|
to.prototype.filter = function(t) {
|
|
15866
|
-
(t instanceof er || t instanceof Xt || t instanceof ue) && this._locations.add(new
|
|
15875
|
+
(t instanceof er || t instanceof Xt || t instanceof ue) && this._locations.add(new Me(t, 0, t.getCoordinate()));
|
|
15867
15876
|
};
|
|
15868
15877
|
to.prototype.interfaces_ = function() {
|
|
15869
15878
|
return [ln];
|
|
@@ -15904,10 +15913,10 @@ we.prototype.computeContainmentDistance = function() {
|
|
|
15904
15913
|
for (var d = u.get(h), p = 0; p < l.size(); p++)
|
|
15905
15914
|
if (t.computeContainmentDistance(d, l.get(p), c), t._minDistance <= t._terminateDistance)
|
|
15906
15915
|
return null;
|
|
15907
|
-
} else if (arguments[2] instanceof Array && arguments[0] instanceof
|
|
15916
|
+
} else if (arguments[2] instanceof Array && arguments[0] instanceof Me && arguments[1] instanceof ue) {
|
|
15908
15917
|
var v = arguments[0], E = arguments[1], C = arguments[2], b = v.getCoordinate();
|
|
15909
15918
|
if (L.EXTERIOR !== this._ptLocator.locate(b, E))
|
|
15910
|
-
return this._minDistance = 0, C[0] = v, C[1] = new
|
|
15919
|
+
return this._minDistance = 0, C[0] = v, C[1] = new Me(E, b), null;
|
|
15911
15920
|
}
|
|
15912
15921
|
}
|
|
15913
15922
|
};
|
|
@@ -15954,7 +15963,7 @@ we.prototype.computeMinDistance = function() {
|
|
|
15954
15963
|
if (u < t._minDistance) {
|
|
15955
15964
|
t._minDistance = u;
|
|
15956
15965
|
var l = new K(s[a], s[a + 1]), c = l.closestPoint(o);
|
|
15957
|
-
i[0] = new
|
|
15966
|
+
i[0] = new Me(e, a, c), i[1] = new Me(r, 0, o);
|
|
15958
15967
|
}
|
|
15959
15968
|
if (t._minDistance <= t._terminateDistance)
|
|
15960
15969
|
return null;
|
|
@@ -15969,7 +15978,7 @@ we.prototype.computeMinDistance = function() {
|
|
|
15969
15978
|
if (m < t._minDistance) {
|
|
15970
15979
|
t._minDistance = m;
|
|
15971
15980
|
var _ = new K(v[C], v[C + 1]), g = new K(E[b], E[b + 1]), y = _.closestPoints(g);
|
|
15972
|
-
p[0] = new
|
|
15981
|
+
p[0] = new Me(h, C, y[0]), p[1] = new Me(d, b, y[1]);
|
|
15973
15982
|
}
|
|
15974
15983
|
if (t._minDistance <= t._terminateDistance)
|
|
15975
15984
|
return null;
|
|
@@ -15981,7 +15990,7 @@ we.prototype.computeMinDistancePoints = function(t, e, r) {
|
|
|
15981
15990
|
for (var i = this, s = 0; s < t.size(); s++)
|
|
15982
15991
|
for (var o = t.get(s), a = 0; a < e.size(); a++) {
|
|
15983
15992
|
var u = e.get(a), l = o.getCoordinate().distance(u.getCoordinate());
|
|
15984
|
-
if (l < i._minDistance && (i._minDistance = l, r[0] = new
|
|
15993
|
+
if (l < i._minDistance && (i._minDistance = l, r[0] = new Me(o, 0, o.getCoordinate()), r[1] = new Me(u, 0, u.getCoordinate())), i._minDistance <= i._terminateDistance)
|
|
15985
15994
|
return null;
|
|
15986
15995
|
}
|
|
15987
15996
|
};
|
|
@@ -16223,7 +16232,7 @@ tr.prototype.isValid = function() {
|
|
|
16223
16232
|
return this._minValidDistance = t - e, this._maxValidDistance = t + e, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), tr.VERBOSE && _e.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
|
|
16224
16233
|
};
|
|
16225
16234
|
tr.prototype.checkNegativeValid = function() {
|
|
16226
|
-
if (!(this._input instanceof ue || this._input instanceof
|
|
16235
|
+
if (!(this._input instanceof ue || this._input instanceof Dn || this._input instanceof Re))
|
|
16227
16236
|
return null;
|
|
16228
16237
|
var t = this.getPolygonLines(this._input);
|
|
16229
16238
|
if (this.checkMinimumDistance(t, this._result, this._minValidDistance), !this._isValid)
|
|
@@ -16298,7 +16307,7 @@ Ee.prototype.checkArea = function() {
|
|
|
16298
16307
|
this._distance > 0 && t > e && (this._isValid = !1, this._errorMsg = "Area of positive buffer is smaller than input", this._errorIndicator = this._result), this._distance < 0 && t < e && (this._isValid = !1, this._errorMsg = "Area of negative buffer is larger than input", this._errorIndicator = this._result), this.report("Area");
|
|
16299
16308
|
};
|
|
16300
16309
|
Ee.prototype.checkPolygonal = function() {
|
|
16301
|
-
this._result instanceof ue || this._result instanceof
|
|
16310
|
+
this._result instanceof ue || this._result instanceof Dn || (this._isValid = !1), this._errorMsg = "Result is not polygonal", this._errorIndicator = this._result, this.report("Polygonal");
|
|
16302
16311
|
};
|
|
16303
16312
|
Ee.prototype.getErrorIndicator = function() {
|
|
16304
16313
|
return this._errorIndicator;
|
|
@@ -16691,7 +16700,7 @@ Ye.prototype.transform = function(t) {
|
|
|
16691
16700
|
return this.transformMultiLineString(t, null);
|
|
16692
16701
|
if (t instanceof ue)
|
|
16693
16702
|
return this.transformPolygon(t, null);
|
|
16694
|
-
if (t instanceof
|
|
16703
|
+
if (t instanceof Dn)
|
|
16695
16704
|
return this.transformMultiPolygon(t, null);
|
|
16696
16705
|
if (t instanceof Re)
|
|
16697
16706
|
return this.transformGeometryCollection(t, null);
|
|
@@ -16777,13 +16786,13 @@ qn.isClosed = function(t) {
|
|
|
16777
16786
|
};
|
|
16778
16787
|
var Zt = function(t) {
|
|
16779
16788
|
this._srcGeom = t || null;
|
|
16780
|
-
},
|
|
16789
|
+
}, zp = { SNAP_PRECISION_FACTOR: { configurable: !0 } };
|
|
16781
16790
|
Zt.prototype.snapTo = function(t, e) {
|
|
16782
|
-
var r = this.extractTargetCoordinates(t), i = new
|
|
16791
|
+
var r = this.extractTargetCoordinates(t), i = new jp(e, r);
|
|
16783
16792
|
return i.transform(this._srcGeom);
|
|
16784
16793
|
};
|
|
16785
16794
|
Zt.prototype.snapToSelf = function(t, e) {
|
|
16786
|
-
var r = this.extractTargetCoordinates(this._srcGeom), i = new
|
|
16795
|
+
var r = this.extractTargetCoordinates(this._srcGeom), i = new jp(t, r, !0), s = i.transform(this._srcGeom), o = s;
|
|
16787
16796
|
return e && it(o, Ai) && (o = s.buffer(0)), o;
|
|
16788
16797
|
};
|
|
16789
16798
|
Zt.prototype.computeSnapTolerance = function(t) {
|
|
@@ -16835,11 +16844,11 @@ Zt.snapToSelf = function(t, e, r) {
|
|
|
16835
16844
|
var i = new Zt(t);
|
|
16836
16845
|
return i.snapToSelf(e, r);
|
|
16837
16846
|
};
|
|
16838
|
-
|
|
16847
|
+
zp.SNAP_PRECISION_FACTOR.get = function() {
|
|
16839
16848
|
return 1e-9;
|
|
16840
16849
|
};
|
|
16841
|
-
Object.defineProperties(Zt,
|
|
16842
|
-
var
|
|
16850
|
+
Object.defineProperties(Zt, zp);
|
|
16851
|
+
var jp = function(n) {
|
|
16843
16852
|
function t(e, r, i) {
|
|
16844
16853
|
n.call(this), this._snapTolerance = e || null, this._snapPts = r || null, this._isSelfSnap = i !== void 0 ? i : !1;
|
|
16845
16854
|
}
|
|
@@ -17117,7 +17126,7 @@ ir.prototype.getDeleteEventIndex = function() {
|
|
|
17117
17126
|
return this._deleteEventIndex;
|
|
17118
17127
|
};
|
|
17119
17128
|
ir.prototype.interfaces_ = function() {
|
|
17120
|
-
return [
|
|
17129
|
+
return [Mr];
|
|
17121
17130
|
};
|
|
17122
17131
|
ir.prototype.getClass = function() {
|
|
17123
17132
|
return ir;
|
|
@@ -17264,7 +17273,7 @@ var ty = function(n) {
|
|
|
17264
17273
|
}, t;
|
|
17265
17274
|
}(Zu), Wn = function() {
|
|
17266
17275
|
this._min = ut.POSITIVE_INFINITY, this._max = ut.NEGATIVE_INFINITY;
|
|
17267
|
-
},
|
|
17276
|
+
}, Up = { NodeComparator: { configurable: !0 } };
|
|
17268
17277
|
Wn.prototype.getMin = function() {
|
|
17269
17278
|
return this._min;
|
|
17270
17279
|
};
|
|
@@ -17283,10 +17292,10 @@ Wn.prototype.interfaces_ = function() {
|
|
|
17283
17292
|
Wn.prototype.getClass = function() {
|
|
17284
17293
|
return Wn;
|
|
17285
17294
|
};
|
|
17286
|
-
|
|
17295
|
+
Up.NodeComparator.get = function() {
|
|
17287
17296
|
return uu;
|
|
17288
17297
|
};
|
|
17289
|
-
Object.defineProperties(Wn,
|
|
17298
|
+
Object.defineProperties(Wn, Up);
|
|
17290
17299
|
var uu = function() {
|
|
17291
17300
|
};
|
|
17292
17301
|
uu.prototype.compare = function(t, e) {
|
|
@@ -17470,7 +17479,7 @@ ms.prototype.getClass = function() {
|
|
|
17470
17479
|
};
|
|
17471
17480
|
var Aa = function(n) {
|
|
17472
17481
|
function t() {
|
|
17473
|
-
if (n.call(this), this._parentGeom = null, this._lineEdgeMap = new
|
|
17482
|
+
if (n.call(this), this._parentGeom = null, this._lineEdgeMap = new Pp(), this._boundaryNodeRule = null, this._useBoundaryDeterminationRule = !0, this._argIndex = null, this._boundaryNodes = null, this._hasTooFewPoints = !1, this._invalidPoint = null, this._areaPtLocator = null, this._ptLocator = new Ur(), arguments.length === 2) {
|
|
17474
17483
|
var e = arguments[0], r = arguments[1], i = Nr.OGC_SFS_BOUNDARY_RULE;
|
|
17475
17484
|
this._argIndex = e, this._parentGeom = r, this._boundaryNodeRule = i, r !== null && this.add(r);
|
|
17476
17485
|
} else if (arguments.length === 3) {
|
|
@@ -17490,7 +17499,7 @@ var Aa = function(n) {
|
|
|
17490
17499
|
} else if (arguments.length === 3) {
|
|
17491
17500
|
var s = arguments[0], o = arguments[1], a = arguments[2], u = new Se(s, !0, !1);
|
|
17492
17501
|
u.setIsDoneIfProperInt(a);
|
|
17493
|
-
var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof Bn || this._parentGeom instanceof ue || this._parentGeom instanceof
|
|
17502
|
+
var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof Bn || this._parentGeom instanceof ue || this._parentGeom instanceof Dn, h = o || !c;
|
|
17494
17503
|
return l.computeIntersections(this._edges, u, h), this.addSelfIntersectionNodes(this._argIndex), u;
|
|
17495
17504
|
}
|
|
17496
17505
|
}, t.prototype.computeSplitEdges = function(r) {
|
|
@@ -17574,7 +17583,7 @@ var Aa = function(n) {
|
|
|
17574
17583
|
var r = arguments[0];
|
|
17575
17584
|
if (r.isEmpty())
|
|
17576
17585
|
return null;
|
|
17577
|
-
if (r instanceof
|
|
17586
|
+
if (r instanceof Dn && (this._useBoundaryDeterminationRule = !1), r instanceof ue)
|
|
17578
17587
|
this.addPolygon(r);
|
|
17579
17588
|
else if (r instanceof Xt)
|
|
17580
17589
|
this.addLineString(r);
|
|
@@ -17584,7 +17593,7 @@ var Aa = function(n) {
|
|
|
17584
17593
|
this.addCollection(r);
|
|
17585
17594
|
else if (r instanceof ls)
|
|
17586
17595
|
this.addCollection(r);
|
|
17587
|
-
else if (r instanceof
|
|
17596
|
+
else if (r instanceof Dn)
|
|
17588
17597
|
this.addCollection(r);
|
|
17589
17598
|
else if (r instanceof Re)
|
|
17590
17599
|
this.addCollection(r);
|
|
@@ -17664,7 +17673,7 @@ as.MapOp = function() {
|
|
|
17664
17673
|
var ct = function(n) {
|
|
17665
17674
|
function t() {
|
|
17666
17675
|
var e = arguments[0], r = arguments[1];
|
|
17667
|
-
n.call(this, e, r), this._ptLocator = new Ur(), this._geomFact = null, this._resultGeom = null, this._graph = null, this._edgeList = new jr(), this._resultPolyList = new B(), this._resultLineList = new B(), this._resultPointList = new B(), this._graph = new Wt(new
|
|
17676
|
+
n.call(this, e, r), this._ptLocator = new Ur(), this._geomFact = null, this._resultGeom = null, this._graph = null, this._edgeList = new jr(), this._resultPolyList = new B(), this._resultLineList = new B(), this._resultPointList = new B(), this._graph = new Wt(new Lp()), this._geomFact = e.getFactory();
|
|
17668
17677
|
}
|
|
17669
17678
|
return n && (t.__proto__ = n), t.prototype = Object.create(n && n.prototype), t.prototype.constructor = t, t.prototype.insertUniqueEdge = function(r) {
|
|
17670
17679
|
var i = this._edgeList.findEqualEdge(r);
|
|
@@ -17861,12 +17870,12 @@ ct.INTERSECTION = 1;
|
|
|
17861
17870
|
ct.UNION = 2;
|
|
17862
17871
|
ct.DIFFERENCE = 3;
|
|
17863
17872
|
ct.SYMDIFFERENCE = 4;
|
|
17864
|
-
var
|
|
17873
|
+
var Mi = function() {
|
|
17865
17874
|
this._g = null, this._boundaryDistanceTolerance = null, this._linework = null, this._ptLocator = new Ur(), this._seg = new K();
|
|
17866
17875
|
var t = arguments[0], e = arguments[1];
|
|
17867
17876
|
this._g = t, this._boundaryDistanceTolerance = e, this._linework = this.extractLinework(t);
|
|
17868
17877
|
};
|
|
17869
|
-
|
|
17878
|
+
Mi.prototype.isWithinToleranceOfBoundary = function(t) {
|
|
17870
17879
|
for (var e = this, r = 0; r < this._linework.getNumGeometries(); r++)
|
|
17871
17880
|
for (var i = e._linework.getGeometryN(r), s = i.getCoordinateSequence(), o = 0; o < s.size() - 1; o++) {
|
|
17872
17881
|
s.getCoordinate(o, e._seg.p0), s.getCoordinate(o + 1, e._seg.p1);
|
|
@@ -17876,20 +17885,20 @@ Di.prototype.isWithinToleranceOfBoundary = function(t) {
|
|
|
17876
17885
|
}
|
|
17877
17886
|
return !1;
|
|
17878
17887
|
};
|
|
17879
|
-
|
|
17888
|
+
Mi.prototype.getLocation = function(t) {
|
|
17880
17889
|
return this.isWithinToleranceOfBoundary(t) ? L.BOUNDARY : this._ptLocator.locate(t, this._g);
|
|
17881
17890
|
};
|
|
17882
|
-
|
|
17891
|
+
Mi.prototype.extractLinework = function(t) {
|
|
17883
17892
|
var e = new _a();
|
|
17884
17893
|
t.apply(e);
|
|
17885
17894
|
var r = e.getLinework(), i = mt.toLineStringArray(r);
|
|
17886
17895
|
return t.getFactory().createMultiLineString(i);
|
|
17887
17896
|
};
|
|
17888
|
-
|
|
17897
|
+
Mi.prototype.interfaces_ = function() {
|
|
17889
17898
|
return [];
|
|
17890
17899
|
};
|
|
17891
|
-
|
|
17892
|
-
return
|
|
17900
|
+
Mi.prototype.getClass = function() {
|
|
17901
|
+
return Mi;
|
|
17893
17902
|
};
|
|
17894
17903
|
var _a = function() {
|
|
17895
17904
|
this._linework = null, this._linework = new B();
|
|
@@ -17951,8 +17960,8 @@ vs.prototype.getClass = function() {
|
|
|
17951
17960
|
var vr = function n() {
|
|
17952
17961
|
this._geom = null, this._locFinder = null, this._location = new Array(3).fill(null), this._invalidLocation = null, this._boundaryDistanceTolerance = n.TOLERANCE, this._testCoords = new B();
|
|
17953
17962
|
var t = arguments[0], e = arguments[1], r = arguments[2];
|
|
17954
|
-
this._boundaryDistanceTolerance = n.computeBoundaryDistanceTolerance(t, e), this._geom = [t, e, r], this._locFinder = [new
|
|
17955
|
-
},
|
|
17963
|
+
this._boundaryDistanceTolerance = n.computeBoundaryDistanceTolerance(t, e), this._geom = [t, e, r], this._locFinder = [new Mi(this._geom[0], this._boundaryDistanceTolerance), new Mi(this._geom[1], this._boundaryDistanceTolerance), new Mi(this._geom[2], this._boundaryDistanceTolerance)];
|
|
17964
|
+
}, Gp = { TOLERANCE: { configurable: !0 } };
|
|
17956
17965
|
vr.prototype.reportResult = function(t, e, r) {
|
|
17957
17966
|
_e.out.println("Overlay result invalid - A:" + L.toLocationSymbol(e[0]) + " B:" + L.toLocationSymbol(e[1]) + " expected:" + (r ? "i" : "e") + " actual:" + L.toLocationSymbol(e[2]));
|
|
17958
17967
|
};
|
|
@@ -18005,10 +18014,10 @@ vr.isValid = function(t, e, r, i) {
|
|
|
18005
18014
|
var s = new vr(t, e, i);
|
|
18006
18015
|
return s.isValid(r);
|
|
18007
18016
|
};
|
|
18008
|
-
|
|
18017
|
+
Gp.TOLERANCE.get = function() {
|
|
18009
18018
|
return 1e-6;
|
|
18010
18019
|
};
|
|
18011
|
-
Object.defineProperties(vr,
|
|
18020
|
+
Object.defineProperties(vr, Gp);
|
|
18012
18021
|
var ar = function n(t) {
|
|
18013
18022
|
this._geomFactory = null, this._skipEmpty = !1, this._inputGeoms = null, this._geomFactory = n.extractFactory(t), this._inputGeoms = t;
|
|
18014
18023
|
};
|
|
@@ -18062,7 +18071,7 @@ var ee = function() {
|
|
|
18062
18071
|
this._inputPolys = null, this._geomFactory = null;
|
|
18063
18072
|
var t = arguments[0];
|
|
18064
18073
|
this._inputPolys = t, this._inputPolys === null && (this._inputPolys = new B());
|
|
18065
|
-
},
|
|
18074
|
+
}, qp = { STRTREE_NODE_CAPACITY: { configurable: !0 } };
|
|
18066
18075
|
ee.prototype.reduceToGeometries = function(t) {
|
|
18067
18076
|
for (var e = this, r = new B(), i = t.iterator(); i.hasNext(); ) {
|
|
18068
18077
|
var s = i.next(), o = null;
|
|
@@ -18094,7 +18103,7 @@ ee.prototype.union = function() {
|
|
|
18094
18103
|
if (this._inputPolys.isEmpty())
|
|
18095
18104
|
return null;
|
|
18096
18105
|
this._geomFactory = this._inputPolys.iterator().next().getFactory();
|
|
18097
|
-
for (var t = new
|
|
18106
|
+
for (var t = new Tp(ee.STRTREE_NODE_CAPACITY), e = this._inputPolys.iterator(); e.hasNext(); ) {
|
|
18098
18107
|
var r = e.next();
|
|
18099
18108
|
t.insert(r.getEnvelopeInternal(), r);
|
|
18100
18109
|
}
|
|
@@ -18170,10 +18179,10 @@ ee.union = function(t) {
|
|
|
18170
18179
|
var e = new ee(t);
|
|
18171
18180
|
return e.union();
|
|
18172
18181
|
};
|
|
18173
|
-
|
|
18182
|
+
qp.STRTREE_NODE_CAPACITY.get = function() {
|
|
18174
18183
|
return 4;
|
|
18175
18184
|
};
|
|
18176
|
-
Object.defineProperties(ee,
|
|
18185
|
+
Object.defineProperties(ee, qp);
|
|
18177
18186
|
var Ku = function() {
|
|
18178
18187
|
};
|
|
18179
18188
|
Ku.prototype.interfaces_ = function() {
|
|
@@ -18217,8 +18226,8 @@ function Fh(n, t, e) {
|
|
|
18217
18226
|
var r = n.s = t + e, i = r - t, s = r - i;
|
|
18218
18227
|
n.t = t - s + (e - i);
|
|
18219
18228
|
}
|
|
18220
|
-
var $t = 1e-6, At = Math.PI, ui = At / 2, kh = At / 4, vi = At * 2, Zi = 180 / At, tn = At / 180,
|
|
18221
|
-
function
|
|
18229
|
+
var $t = 1e-6, At = Math.PI, ui = At / 2, kh = At / 4, vi = At * 2, Zi = 180 / At, tn = At / 180, De = Math.abs, ny = Math.atan, wa = Math.atan2, se = Math.cos, oe = Math.sin, Oa = Math.sqrt;
|
|
18230
|
+
function Wp(n) {
|
|
18222
18231
|
return n > 1 ? 0 : n < -1 ? At : Math.acos(n);
|
|
18223
18232
|
}
|
|
18224
18233
|
function so(n) {
|
|
@@ -18293,7 +18302,7 @@ function tl(n, t) {
|
|
|
18293
18302
|
function Wl(n, t) {
|
|
18294
18303
|
n[0] += t[0], n[1] += t[1], n[2] += t[2];
|
|
18295
18304
|
}
|
|
18296
|
-
function
|
|
18305
|
+
function Mu(n, t) {
|
|
18297
18306
|
return [n[0] * t, n[1] * t, n[2] * t];
|
|
18298
18307
|
}
|
|
18299
18308
|
function nc(n) {
|
|
@@ -18301,7 +18310,7 @@ function nc(n) {
|
|
|
18301
18310
|
n[0] /= t, n[1] /= t, n[2] /= t;
|
|
18302
18311
|
}
|
|
18303
18312
|
Ss();
|
|
18304
|
-
function
|
|
18313
|
+
function Xp(n, t) {
|
|
18305
18314
|
function e(r, i) {
|
|
18306
18315
|
return r = n(r, i), t(r[0], r[1]);
|
|
18307
18316
|
}
|
|
@@ -18314,7 +18323,7 @@ function ic(n, t) {
|
|
|
18314
18323
|
}
|
|
18315
18324
|
ic.invert = ic;
|
|
18316
18325
|
function sy(n, t, e) {
|
|
18317
|
-
return (n %= vi) ? t || e ?
|
|
18326
|
+
return (n %= vi) ? t || e ? Xp(Uh(n), Gh(t, e)) : Uh(n) : t || e ? Gh(t, e) : ic;
|
|
18318
18327
|
}
|
|
18319
18328
|
function jh(n) {
|
|
18320
18329
|
return function(t, e) {
|
|
@@ -18352,10 +18361,10 @@ function oy(n, t, e, r, i, s) {
|
|
|
18352
18361
|
}
|
|
18353
18362
|
function qh(n, t) {
|
|
18354
18363
|
t = Ea(t), t[0] -= n, nc(t);
|
|
18355
|
-
var e =
|
|
18364
|
+
var e = Wp(-t[1]);
|
|
18356
18365
|
return ((-t[2] < 0 ? -e : e) + vi - $t) % vi;
|
|
18357
18366
|
}
|
|
18358
|
-
function
|
|
18367
|
+
function Yp() {
|
|
18359
18368
|
var n = [], t;
|
|
18360
18369
|
return {
|
|
18361
18370
|
point: function(e, r) {
|
|
@@ -18415,12 +18424,12 @@ function ay(n, t, e, r, i, s) {
|
|
|
18415
18424
|
}
|
|
18416
18425
|
}
|
|
18417
18426
|
function ju(n, t) {
|
|
18418
|
-
return
|
|
18427
|
+
return De(n[0] - t[0]) < $t && De(n[1] - t[1]) < $t;
|
|
18419
18428
|
}
|
|
18420
|
-
function
|
|
18429
|
+
function Du(n, t, e, r) {
|
|
18421
18430
|
this.x = n, this.z = t, this.o = e, this.e = r, this.v = !1, this.n = this.p = null;
|
|
18422
18431
|
}
|
|
18423
|
-
function
|
|
18432
|
+
function Hp(n, t, e, r, i) {
|
|
18424
18433
|
var s = [], o = [], a, u;
|
|
18425
18434
|
if (n.forEach(function(v) {
|
|
18426
18435
|
if (!((E = v.length - 1) <= 0)) {
|
|
@@ -18430,7 +18439,7 @@ function Yp(n, t, e, r, i) {
|
|
|
18430
18439
|
i.lineEnd();
|
|
18431
18440
|
return;
|
|
18432
18441
|
}
|
|
18433
|
-
s.push(m = new
|
|
18442
|
+
s.push(m = new Du(C, v, null, !0)), o.push(m.o = new Du(C, null, m, !1)), s.push(m = new Du(b, v, null, !1)), o.push(m.o = new Du(b, null, m, !0));
|
|
18434
18443
|
}
|
|
18435
18444
|
}), !!s.length) {
|
|
18436
18445
|
for (o.sort(t), Wh(s), Wh(o), a = 0, u = o.length; a < u; ++a)
|
|
@@ -18465,7 +18474,7 @@ function Wh(n) {
|
|
|
18465
18474
|
r.n = i = n[0], i.p = r;
|
|
18466
18475
|
}
|
|
18467
18476
|
}
|
|
18468
|
-
function
|
|
18477
|
+
function Jp(n, t) {
|
|
18469
18478
|
return n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
|
|
18470
18479
|
}
|
|
18471
18480
|
function uy(n) {
|
|
@@ -18488,11 +18497,11 @@ function uy(n) {
|
|
|
18488
18497
|
}
|
|
18489
18498
|
function ly(n) {
|
|
18490
18499
|
return function(t, e) {
|
|
18491
|
-
return
|
|
18500
|
+
return Jp(n(t), e);
|
|
18492
18501
|
};
|
|
18493
18502
|
}
|
|
18494
|
-
uy(
|
|
18495
|
-
function
|
|
18503
|
+
uy(Jp);
|
|
18504
|
+
function Zp(n) {
|
|
18496
18505
|
for (var t = n.length, e, r = -1, i = 0, s, o; ++r < t; ) i += n[r].length;
|
|
18497
18506
|
for (s = new Array(i); --t >= 0; )
|
|
18498
18507
|
for (o = n[t], e = o.length; --e >= 0; )
|
|
@@ -18514,7 +18523,7 @@ function cy(n, t, e, r) {
|
|
|
18514
18523
|
d.point(c[0], c[1]);
|
|
18515
18524
|
}
|
|
18516
18525
|
function o(l, c) {
|
|
18517
|
-
return
|
|
18526
|
+
return De(l[0] - n) < $t ? c > 0 ? 0 : 3 : De(l[0] - e) < $t ? c > 0 ? 2 : 1 : De(l[1] - t) < $t ? c > 0 ? 1 : 0 : c > 0 ? 3 : 2;
|
|
18518
18527
|
}
|
|
18519
18528
|
function a(l, c) {
|
|
18520
18529
|
return u(l.x, c.x);
|
|
@@ -18524,10 +18533,10 @@ function cy(n, t, e, r) {
|
|
|
18524
18533
|
return h !== d ? h - d : h === 0 ? c[1] - l[1] : h === 1 ? l[0] - c[0] : h === 2 ? l[1] - c[1] : c[0] - l[0];
|
|
18525
18534
|
}
|
|
18526
18535
|
return function(l) {
|
|
18527
|
-
var c = l, h =
|
|
18536
|
+
var c = l, h = Yp(), d, p, v, E, C, b, m, _, g, y, w, S = {
|
|
18528
18537
|
point: I,
|
|
18529
18538
|
lineStart: N,
|
|
18530
|
-
lineEnd:
|
|
18539
|
+
lineEnd: D,
|
|
18531
18540
|
polygonStart: O,
|
|
18532
18541
|
polygonEnd: P
|
|
18533
18542
|
};
|
|
@@ -18536,21 +18545,21 @@ function cy(n, t, e, r) {
|
|
|
18536
18545
|
}
|
|
18537
18546
|
function x() {
|
|
18538
18547
|
for (var W = 0, z = 0, Z = p.length; z < Z; ++z)
|
|
18539
|
-
for (var at = p[z], dt = 1, G = at.length, X = at[0], H, yt,
|
|
18540
|
-
H =
|
|
18548
|
+
for (var at = p[z], dt = 1, G = at.length, X = at[0], H, yt, Dt = X[0], Ct = X[1]; dt < G; ++dt)
|
|
18549
|
+
H = Dt, yt = Ct, X = at[dt], Dt = X[0], Ct = X[1], yt <= r ? Ct > r && (Dt - H) * (r - yt) > (Ct - yt) * (n - H) && ++W : Ct <= r && (Dt - H) * (r - yt) < (Ct - yt) * (n - H) && --W;
|
|
18541
18550
|
return W;
|
|
18542
18551
|
}
|
|
18543
18552
|
function O() {
|
|
18544
18553
|
c = h, d = [], p = [], w = !0;
|
|
18545
18554
|
}
|
|
18546
18555
|
function P() {
|
|
18547
|
-
var W = x(), z = w && W, Z = (d =
|
|
18548
|
-
(z || Z) && (l.polygonStart(), z && (l.lineStart(), s(null, null, 1, l), l.lineEnd()), Z &&
|
|
18556
|
+
var W = x(), z = w && W, Z = (d = Zp(d)).length;
|
|
18557
|
+
(z || Z) && (l.polygonStart(), z && (l.lineStart(), s(null, null, 1, l), l.lineEnd()), Z && Hp(d, a, W, s, l), l.polygonEnd()), c = l, d = p = v = null;
|
|
18549
18558
|
}
|
|
18550
18559
|
function N() {
|
|
18551
18560
|
S.point = R, p && p.push(v = []), y = !0, g = !1, m = _ = NaN;
|
|
18552
18561
|
}
|
|
18553
|
-
function
|
|
18562
|
+
function D() {
|
|
18554
18563
|
d && (R(E, C), b && g && h.rejoin(), d.push(h.result())), S.point = I, g && c.lineEnd();
|
|
18555
18564
|
}
|
|
18556
18565
|
function R(W, z) {
|
|
@@ -18580,8 +18589,8 @@ function hy(n, t) {
|
|
|
18580
18589
|
nc(P);
|
|
18581
18590
|
var N = tl(i, P);
|
|
18582
18591
|
nc(N);
|
|
18583
|
-
var
|
|
18584
|
-
(r >
|
|
18592
|
+
var D = (x ^ w >= 0 ? -1 : 1) * so(N[2]);
|
|
18593
|
+
(r > D || r === D && (P[0] || P[1])) && (o += x ^ w >= 0 ? 1 : -1);
|
|
18585
18594
|
}
|
|
18586
18595
|
}
|
|
18587
18596
|
return (s < -1e-6 || s < $t && Xl < -1e-6) ^ o & 1;
|
|
@@ -18607,9 +18616,9 @@ function fy(n, t) {
|
|
|
18607
18616
|
n < Sa && (Sa = n), n > lu && (lu = n), t < el && (el = t), t > rl && (rl = t);
|
|
18608
18617
|
}
|
|
18609
18618
|
Ss();
|
|
18610
|
-
function
|
|
18619
|
+
function Kp(n, t, e, r) {
|
|
18611
18620
|
return function(i, s) {
|
|
18612
|
-
var o = t(s), a = i.invert(r[0], r[1]), u =
|
|
18621
|
+
var o = t(s), a = i.invert(r[0], r[1]), u = Yp(), l = t(u), c = !1, h, d, p, v = {
|
|
18613
18622
|
point: E,
|
|
18614
18623
|
lineStart: b,
|
|
18615
18624
|
lineEnd: m,
|
|
@@ -18617,9 +18626,9 @@ function Zp(n, t, e, r) {
|
|
|
18617
18626
|
v.point = _, v.lineStart = g, v.lineEnd = y, d = [], h = [];
|
|
18618
18627
|
},
|
|
18619
18628
|
polygonEnd: function() {
|
|
18620
|
-
v.point = E, v.lineStart = b, v.lineEnd = m, d =
|
|
18629
|
+
v.point = E, v.lineStart = b, v.lineEnd = m, d = Zp(d);
|
|
18621
18630
|
var w = hy(h, a);
|
|
18622
|
-
d.length ? (c || (s.polygonStart(), c = !0),
|
|
18631
|
+
d.length ? (c || (s.polygonStart(), c = !0), Hp(d, py, w, e, s)) : w && (c || (s.polygonStart(), c = !0), s.lineStart(), e(null, null, 1, s), s.lineEnd()), c && (s.polygonEnd(), c = !1), d = h = null;
|
|
18623
18632
|
},
|
|
18624
18633
|
sphere: function() {
|
|
18625
18634
|
s.polygonStart(), s.lineStart(), e(null, null, 1, s), s.lineEnd(), s.polygonEnd();
|
|
@@ -18670,7 +18679,7 @@ function dy(n) {
|
|
|
18670
18679
|
function py(n, t) {
|
|
18671
18680
|
return ((n = n.x)[0] < 0 ? n[1] - ui - $t : ui - n[1]) - ((t = t.x)[0] < 0 ? t[1] - ui - $t : ui - t[1]);
|
|
18672
18681
|
}
|
|
18673
|
-
const Hh =
|
|
18682
|
+
const Hh = Kp(
|
|
18674
18683
|
function() {
|
|
18675
18684
|
return !0;
|
|
18676
18685
|
},
|
|
@@ -18685,8 +18694,8 @@ function gy(n) {
|
|
|
18685
18694
|
n.lineStart(), i = 1;
|
|
18686
18695
|
},
|
|
18687
18696
|
point: function(s, o) {
|
|
18688
|
-
var a = s > 0 ? At : -At, u =
|
|
18689
|
-
|
|
18697
|
+
var a = s > 0 ? At : -At, u = De(s - t);
|
|
18698
|
+
De(u - At) < $t ? (n.point(t, e = (e + o) / 2 > 0 ? ui : -ui), n.point(r, e), n.lineEnd(), n.lineStart(), n.point(a, e), n.point(s, e), i = 0) : r !== a && u >= At && (De(t - r) < $t && (t -= r * $t), De(s - a) < $t && (s -= a * $t), e = my(t, e, s, o), n.point(r, e), n.lineEnd(), n.lineStart(), n.point(a, e), i = 0), n.point(t = s, e = o), r = a;
|
|
18690
18699
|
},
|
|
18691
18700
|
lineEnd: function() {
|
|
18692
18701
|
n.lineEnd(), t = e = NaN;
|
|
@@ -18698,20 +18707,20 @@ function gy(n) {
|
|
|
18698
18707
|
}
|
|
18699
18708
|
function my(n, t, e, r) {
|
|
18700
18709
|
var i, s, o = oe(n - e);
|
|
18701
|
-
return
|
|
18710
|
+
return De(o) > $t ? ny((oe(t) * (s = se(r)) * oe(e) - oe(r) * (i = se(t)) * oe(n)) / (i * s * o)) : (t + r) / 2;
|
|
18702
18711
|
}
|
|
18703
18712
|
function vy(n, t, e, r) {
|
|
18704
18713
|
var i;
|
|
18705
18714
|
if (n == null)
|
|
18706
18715
|
i = e * ui, r.point(-At, i), r.point(0, i), r.point(At, i), r.point(At, 0), r.point(At, -i), r.point(0, -i), r.point(-At, -i), r.point(-At, 0), r.point(-At, i);
|
|
18707
|
-
else if (
|
|
18716
|
+
else if (De(n[0] - t[0]) > $t) {
|
|
18708
18717
|
var s = n[0] < t[0] ? At : -At;
|
|
18709
18718
|
i = e * s / 2, r.point(-s, i), r.point(0, i), r.point(s, i);
|
|
18710
18719
|
} else
|
|
18711
18720
|
r.point(t[0], t[1]);
|
|
18712
18721
|
}
|
|
18713
18722
|
function yy(n, t) {
|
|
18714
|
-
var e = se(n), r = e > 0, i =
|
|
18723
|
+
var e = se(n), r = e > 0, i = De(e) > $t;
|
|
18715
18724
|
function s(c, h, d, p) {
|
|
18716
18725
|
oy(p, n, t, d, c, h);
|
|
18717
18726
|
}
|
|
@@ -18747,17 +18756,17 @@ function yy(n, t) {
|
|
|
18747
18756
|
function u(c, h, d) {
|
|
18748
18757
|
var p = Ea(c), v = Ea(h), E = [1, 0, 0], C = tl(p, v), b = Ou(C, C), m = C[0], _ = b - m * m;
|
|
18749
18758
|
if (!_) return !d && c;
|
|
18750
|
-
var g = e * b / _, y = -e * m / _, w = tl(E, C), S =
|
|
18759
|
+
var g = e * b / _, y = -e * m / _, w = tl(E, C), S = Mu(E, g), I = Mu(C, y);
|
|
18751
18760
|
Wl(S, I);
|
|
18752
18761
|
var x = w, O = Ou(S, x), P = Ou(x, x), N = O * O - P * (Ou(S, S) - 1);
|
|
18753
18762
|
if (!(N < 0)) {
|
|
18754
|
-
var
|
|
18763
|
+
var D = Oa(N), R = Mu(x, (-O - D) / P);
|
|
18755
18764
|
if (Wl(R, S), R = rc(R), !d) return R;
|
|
18756
18765
|
var W = c[0], z = h[0], Z = c[1], at = h[1], dt;
|
|
18757
18766
|
z < W && (dt = W, W = z, z = dt);
|
|
18758
|
-
var G = z - W, X =
|
|
18759
|
-
if (!X && at < Z && (dt = Z, Z = at, at = dt), H ? X ? Z + at > 0 ^ R[1] < (
|
|
18760
|
-
var yt =
|
|
18767
|
+
var G = z - W, X = De(G - At) < $t, H = X || G < $t;
|
|
18768
|
+
if (!X && at < Z && (dt = Z, Z = at, at = dt), H ? X ? Z + at > 0 ^ R[1] < (De(R[0] - W) < $t ? Z : at) : Z <= R[1] && R[1] <= at : G > At ^ (W <= R[0] && R[0] <= z)) {
|
|
18769
|
+
var yt = Mu(x, (-O + D) / P);
|
|
18761
18770
|
return Wl(yt, S), [R, rc(yt)];
|
|
18762
18771
|
}
|
|
18763
18772
|
}
|
|
@@ -18766,9 +18775,9 @@ function yy(n, t) {
|
|
|
18766
18775
|
var d = r ? n : At - n, p = 0;
|
|
18767
18776
|
return c < -d ? p |= 1 : c > d && (p |= 2), h < -d ? p |= 4 : h > d && (p |= 8), p;
|
|
18768
18777
|
}
|
|
18769
|
-
return
|
|
18778
|
+
return Kp(o, a, s, r ? [0, -n] : [-At, n - At]);
|
|
18770
18779
|
}
|
|
18771
|
-
function
|
|
18780
|
+
function Qp(n) {
|
|
18772
18781
|
return function(t) {
|
|
18773
18782
|
var e = new sc();
|
|
18774
18783
|
for (var r in n) e[r] = n[r];
|
|
@@ -18798,21 +18807,21 @@ sc.prototype = {
|
|
|
18798
18807
|
this.stream.polygonEnd();
|
|
18799
18808
|
}
|
|
18800
18809
|
};
|
|
18801
|
-
function
|
|
18810
|
+
function $p(n, t, e) {
|
|
18802
18811
|
var r = t[1][0] - t[0][0], i = t[1][1] - t[0][1], s = n.clipExtent && n.clipExtent();
|
|
18803
18812
|
n.scale(150).translate([0, 0]), s != null && n.clipExtent(null), iy(e, n.stream(Yh));
|
|
18804
18813
|
var o = Yh.result(), a = Math.min(r / (o[1][0] - o[0][0]), i / (o[1][1] - o[0][1])), u = +t[0][0] + (r - a * (o[1][0] + o[0][0])) / 2, l = +t[0][1] + (i - a * (o[1][1] + o[0][1])) / 2;
|
|
18805
18814
|
return s != null && n.clipExtent(s), n.scale(a * 150).translate([u, l]);
|
|
18806
18815
|
}
|
|
18807
18816
|
function _y(n, t, e) {
|
|
18808
|
-
return
|
|
18817
|
+
return $p(n, [[0, 0], t], e);
|
|
18809
18818
|
}
|
|
18810
18819
|
var Jh = 16, wy = se(30 * tn);
|
|
18811
18820
|
function Zh(n, t) {
|
|
18812
18821
|
return +t ? Sy(n, t) : Ey(n);
|
|
18813
18822
|
}
|
|
18814
18823
|
function Ey(n) {
|
|
18815
|
-
return
|
|
18824
|
+
return Qp({
|
|
18816
18825
|
point: function(t, e) {
|
|
18817
18826
|
t = n(t, e), this.stream.point(t[0], t[1]);
|
|
18818
18827
|
}
|
|
@@ -18822,8 +18831,8 @@ function Sy(n, t) {
|
|
|
18822
18831
|
function e(r, i, s, o, a, u, l, c, h, d, p, v, E, C) {
|
|
18823
18832
|
var b = l - r, m = c - i, _ = b * b + m * m;
|
|
18824
18833
|
if (_ > 4 * t && E--) {
|
|
18825
|
-
var g = o + d, y = a + p, w = u + v, S = Oa(g * g + y * y + w * w), I = so(w /= S), x =
|
|
18826
|
-
(W * W / _ > t ||
|
|
18834
|
+
var g = o + d, y = a + p, w = u + v, S = Oa(g * g + y * y + w * w), I = so(w /= S), x = De(De(w) - 1) < $t || De(s - h) < $t ? (s + h) / 2 : wa(y, g), O = n(x, I), P = O[0], N = O[1], D = P - r, R = N - i, W = m * D - b * R;
|
|
18835
|
+
(W * W / _ > t || De((b * D + m * R) / _ - 0.5) > 0.3 || o * d + a * p + u * v < wy) && (e(r, i, s, o, a, u, P, N, x, g /= S, y /= S, w, E, C), C.point(P, N), e(P, N, x, g, y, w, l, c, h, d, p, v, E, C));
|
|
18827
18836
|
}
|
|
18828
18837
|
}
|
|
18829
18838
|
return function(r) {
|
|
@@ -18863,7 +18872,7 @@ function Sy(n, t) {
|
|
|
18863
18872
|
return C;
|
|
18864
18873
|
};
|
|
18865
18874
|
}
|
|
18866
|
-
var Cy =
|
|
18875
|
+
var Cy = Qp({
|
|
18867
18876
|
point: function(n, t) {
|
|
18868
18877
|
this.stream.point(n * tn, t * tn);
|
|
18869
18878
|
}
|
|
@@ -18887,9 +18896,9 @@ function Py(n) {
|
|
|
18887
18896
|
x.stream = function(R) {
|
|
18888
18897
|
return S && I === R ? S : S = Cy(E(d, w(g(I = R))));
|
|
18889
18898
|
}, x.clipAngle = function(R) {
|
|
18890
|
-
return arguments.length ? (E = +R ? yy(v = R * tn, 6 * tn) : (v = null, Hh),
|
|
18899
|
+
return arguments.length ? (E = +R ? yy(v = R * tn, 6 * tn) : (v = null, Hh), D()) : v * Zi;
|
|
18891
18900
|
}, x.clipExtent = function(R) {
|
|
18892
|
-
return arguments.length ? (g = R == null ? (C = b = m = _ = null, Xh) : cy(C = +R[0][0], b = +R[0][1], m = +R[1][0], _ = +R[1][1]),
|
|
18901
|
+
return arguments.length ? (g = R == null ? (C = b = m = _ = null, Xh) : cy(C = +R[0][0], b = +R[0][1], m = +R[1][0], _ = +R[1][1]), D()) : C == null ? null : [[C, b], [m, _]];
|
|
18893
18902
|
}, x.scale = function(R) {
|
|
18894
18903
|
return arguments.length ? (e = +R, N()) : e;
|
|
18895
18904
|
}, x.translate = function(R) {
|
|
@@ -18899,25 +18908,25 @@ function Py(n) {
|
|
|
18899
18908
|
}, x.rotate = function(R) {
|
|
18900
18909
|
return arguments.length ? (l = R[0] % 360 * tn, c = R[1] % 360 * tn, h = R.length > 2 ? R[2] % 360 * tn : 0, N()) : [l * Zi, c * Zi, h * Zi];
|
|
18901
18910
|
}, x.precision = function(R) {
|
|
18902
|
-
return arguments.length ? (w = Zh(P, y = R * R),
|
|
18911
|
+
return arguments.length ? (w = Zh(P, y = R * R), D()) : Oa(y);
|
|
18903
18912
|
}, x.fitExtent = function(R, W) {
|
|
18904
|
-
return
|
|
18913
|
+
return $p(x, R, W);
|
|
18905
18914
|
}, x.fitSize = function(R, W) {
|
|
18906
18915
|
return _y(x, R, W);
|
|
18907
18916
|
};
|
|
18908
18917
|
function N() {
|
|
18909
|
-
p =
|
|
18918
|
+
p = Xp(d = sy(l, c, h), t);
|
|
18910
18919
|
var R = t(a, u);
|
|
18911
|
-
return s = r - R[0] * e, o = i + R[1] * e,
|
|
18920
|
+
return s = r - R[0] * e, o = i + R[1] * e, D();
|
|
18912
18921
|
}
|
|
18913
|
-
function
|
|
18922
|
+
function D() {
|
|
18914
18923
|
return S = I = null, x;
|
|
18915
18924
|
}
|
|
18916
18925
|
return function() {
|
|
18917
18926
|
return t = n.apply(this, arguments), x.invert = t.invert && O, N();
|
|
18918
18927
|
};
|
|
18919
18928
|
}
|
|
18920
|
-
function
|
|
18929
|
+
function tg(n) {
|
|
18921
18930
|
return function(t, e) {
|
|
18922
18931
|
var r = se(t), i = se(e), s = n(r * i);
|
|
18923
18932
|
return [
|
|
@@ -18926,7 +18935,7 @@ function $p(n) {
|
|
|
18926
18935
|
];
|
|
18927
18936
|
};
|
|
18928
18937
|
}
|
|
18929
|
-
function
|
|
18938
|
+
function eg(n) {
|
|
18930
18939
|
return function(t, e) {
|
|
18931
18940
|
var r = Oa(t * t + e * e), i = n(r), s = oe(i), o = se(i);
|
|
18932
18941
|
return [
|
|
@@ -18935,20 +18944,20 @@ function tg(n) {
|
|
|
18935
18944
|
];
|
|
18936
18945
|
};
|
|
18937
18946
|
}
|
|
18938
|
-
var by =
|
|
18947
|
+
var by = tg(function(n) {
|
|
18939
18948
|
return Oa(2 / (1 + n));
|
|
18940
18949
|
});
|
|
18941
|
-
by.invert =
|
|
18950
|
+
by.invert = eg(function(n) {
|
|
18942
18951
|
return 2 * so(n / 2);
|
|
18943
18952
|
});
|
|
18944
|
-
var
|
|
18945
|
-
return (n =
|
|
18953
|
+
var rg = tg(function(n) {
|
|
18954
|
+
return (n = Wp(n)) && n / oe(n);
|
|
18946
18955
|
});
|
|
18947
|
-
|
|
18956
|
+
rg.invert = eg(function(n) {
|
|
18948
18957
|
return n;
|
|
18949
18958
|
});
|
|
18950
18959
|
function xy() {
|
|
18951
|
-
return Iy(
|
|
18960
|
+
return Iy(rg).scale(79.4188).clipAngle(180 - 1e-3);
|
|
18952
18961
|
}
|
|
18953
18962
|
function Kh(n, t) {
|
|
18954
18963
|
return [n, t];
|
|
@@ -18990,27 +18999,27 @@ function Uu(n, t, e, r) {
|
|
|
18990
18999
|
}
|
|
18991
19000
|
var a = Ty(s), u = {
|
|
18992
19001
|
type: s.type,
|
|
18993
|
-
coordinates:
|
|
18994
|
-
}, l = new jc(), c = l.read(u), h = Nc(Tc(t, e), "meters"), d = ve.bufferOp(c, h, r), p = new
|
|
18995
|
-
if (d = p.write(d), !
|
|
19002
|
+
coordinates: ig(s.coordinates, a)
|
|
19003
|
+
}, l = new jc(), c = l.read(u), h = Nc(Tc(t, e), "meters"), d = ve.bufferOp(c, h, r), p = new xp();
|
|
19004
|
+
if (d = p.write(d), !ng(d.coordinates)) {
|
|
18996
19005
|
var v = {
|
|
18997
19006
|
type: d.type,
|
|
18998
|
-
coordinates:
|
|
19007
|
+
coordinates: sg(d.coordinates, a)
|
|
18999
19008
|
};
|
|
19000
19009
|
return An(v, i);
|
|
19001
19010
|
}
|
|
19002
19011
|
}
|
|
19003
|
-
function
|
|
19004
|
-
return Array.isArray(n[0]) ?
|
|
19012
|
+
function ng(n) {
|
|
19013
|
+
return Array.isArray(n[0]) ? ng(n[0]) : isNaN(n[0]);
|
|
19005
19014
|
}
|
|
19006
|
-
function
|
|
19015
|
+
function ig(n, t) {
|
|
19007
19016
|
return typeof n[0] != "object" ? t(n) : n.map(function(e) {
|
|
19008
|
-
return
|
|
19017
|
+
return ig(e, t);
|
|
19009
19018
|
});
|
|
19010
19019
|
}
|
|
19011
|
-
function
|
|
19020
|
+
function sg(n, t) {
|
|
19012
19021
|
return typeof n[0] != "object" ? t.invert(n) : n.map(function(e) {
|
|
19013
|
-
return
|
|
19022
|
+
return sg(e, t);
|
|
19014
19023
|
});
|
|
19015
19024
|
}
|
|
19016
19025
|
function Ty(n) {
|
|
@@ -19045,7 +19054,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
19045
19054
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
19046
19055
|
and limitations under the License.
|
|
19047
19056
|
***************************************************************************** */
|
|
19048
|
-
function
|
|
19057
|
+
function My(n, t) {
|
|
19049
19058
|
var e = { label: 0, sent: function() {
|
|
19050
19059
|
if (s[0] & 1) throw s[1];
|
|
19051
19060
|
return s[1];
|
|
@@ -19114,7 +19123,7 @@ var ys = (
|
|
|
19114
19123
|
return n;
|
|
19115
19124
|
}()
|
|
19116
19125
|
);
|
|
19117
|
-
function
|
|
19126
|
+
function Dy(n, t) {
|
|
19118
19127
|
return n > t ? 1 : n < t ? -1 : 0;
|
|
19119
19128
|
}
|
|
19120
19129
|
function is(n, t, e) {
|
|
@@ -19175,7 +19184,7 @@ var Zc = (
|
|
|
19175
19184
|
/** @class */
|
|
19176
19185
|
function() {
|
|
19177
19186
|
function n(t) {
|
|
19178
|
-
t === void 0 && (t =
|
|
19187
|
+
t === void 0 && (t = Dy), this._root = null, this._size = 0, this._comparator = t;
|
|
19179
19188
|
}
|
|
19180
19189
|
return n.prototype.insert = function(t, e) {
|
|
19181
19190
|
return this._size++, this._root = Yl(t, e, this._root, this._comparator);
|
|
@@ -19343,7 +19352,7 @@ var Zc = (
|
|
|
19343
19352
|
return Qh(t, this._root, this._comparator);
|
|
19344
19353
|
}, n.prototype[Symbol.iterator] = function() {
|
|
19345
19354
|
var t, e, r;
|
|
19346
|
-
return
|
|
19355
|
+
return My(this, function(i) {
|
|
19347
19356
|
switch (i.label) {
|
|
19348
19357
|
case 0:
|
|
19349
19358
|
t = this._root, e = [], r = !1, i.label = 1;
|
|
@@ -19415,7 +19424,7 @@ function lc(n, t, e, r, i) {
|
|
|
19415
19424
|
lc(n, t, e, a, i), lc(n, t, a + 1, r, i);
|
|
19416
19425
|
}
|
|
19417
19426
|
}
|
|
19418
|
-
const
|
|
19427
|
+
const Di = 11102230246251565e-32, He = 134217729, ky = (3 + 8 * Di) * Di;
|
|
19419
19428
|
function Hl(n, t, e, r, i) {
|
|
19420
19429
|
let s, o, a, u, l = t[0], c = r[0], h = 0, d = 0;
|
|
19421
19430
|
c > l == c > -l ? (s = l, l = t[++h]) : (s = c, c = r[++d]);
|
|
@@ -19437,13 +19446,13 @@ function Vy(n, t) {
|
|
|
19437
19446
|
function Pu(n) {
|
|
19438
19447
|
return new Float64Array(n);
|
|
19439
19448
|
}
|
|
19440
|
-
const By = (3 + 16 *
|
|
19449
|
+
const By = (3 + 16 * Di) * Di, zy = (2 + 12 * Di) * Di, jy = (9 + 64 * Di) * Di * Di, mo = Pu(4), $h = Pu(8), tf = Pu(12), ef = Pu(16), sr = Pu(4);
|
|
19441
19450
|
function Uy(n, t, e, r, i, s, o) {
|
|
19442
19451
|
let a, u, l, c, h, d, p, v, E, C, b, m, _, g, y, w, S, I;
|
|
19443
19452
|
const x = n - i, O = e - i, P = t - s, N = r - s;
|
|
19444
19453
|
g = x * N, d = He * x, p = d - (d - x), v = x - p, d = He * N, E = d - (d - N), C = N - E, y = v * C - (g - p * E - v * E - p * C), w = P * O, d = He * P, p = d - (d - P), v = P - p, d = He * O, E = d - (d - O), C = O - E, S = v * C - (w - p * E - v * E - p * C), b = y - S, h = y - b, mo[0] = y - (b + h) + (h - S), m = g + b, h = m - g, _ = g - (m - h) + (b - h), b = _ - w, h = _ - b, mo[1] = _ - (b + h) + (h - w), I = m + b, h = I - m, mo[2] = m - (I - h) + (b - h), mo[3] = I;
|
|
19445
|
-
let
|
|
19446
|
-
if (
|
|
19454
|
+
let D = Vy(4, mo), R = zy * o;
|
|
19455
|
+
if (D >= R || -D >= R || (h = n - x, a = n - (x + h) + (h - i), h = e - O, l = e - (O + h) + (h - i), h = t - P, u = t - (P + h) + (h - s), h = r - N, c = r - (N + h) + (h - s), a === 0 && u === 0 && l === 0 && c === 0) || (R = jy * o + ky * Math.abs(D), D += x * c + N * a - (P * l + O * u), D >= R || -D >= R)) return D;
|
|
19447
19456
|
g = a * N, d = He * a, p = d - (d - a), v = a - p, d = He * N, E = d - (d - N), C = N - E, y = v * C - (g - p * E - v * E - p * C), w = u * O, d = He * u, p = d - (d - u), v = u - p, d = He * O, E = d - (d - O), C = O - E, S = v * C - (w - p * E - v * E - p * C), b = y - S, h = y - b, sr[0] = y - (b + h) + (h - S), m = g + b, h = m - g, _ = g - (m - h) + (b - h), b = _ - w, h = _ - b, sr[1] = _ - (b + h) + (h - w), I = m + b, h = I - m, sr[2] = m - (I - h) + (b - h), sr[3] = I;
|
|
19448
19457
|
const W = Hl(4, mo, 4, sr, $h);
|
|
19449
19458
|
g = x * c, d = He * x, p = d - (d - x), v = x - p, d = He * c, E = d - (d - c), C = c - E, y = v * C - (g - p * E - v * E - p * C), w = P * l, d = He * P, p = d - (d - P), v = P - p, d = He * l, E = d - (d - l), C = l - E, S = v * C - (w - p * E - v * E - p * C), b = y - S, h = y - b, sr[0] = y - (b + h) + (h - S), m = g + b, h = m - g, _ = g - (m - h) + (b - h), b = _ - w, h = _ - b, sr[1] = _ - (b + h) + (h - w), I = m + b, h = I - m, sr[2] = m - (I - h) + (b - h), sr[3] = I;
|
|
@@ -19511,10 +19520,10 @@ class nf {
|
|
|
19511
19520
|
return i !== null && rf(e.key, i.key) === 0 ? (this.tree.remove(t), i.key) : t;
|
|
19512
19521
|
}
|
|
19513
19522
|
}
|
|
19514
|
-
const cu = new Wy(), Gu = (n, t) => n.x * t.y - n.y * t.x,
|
|
19523
|
+
const cu = new Wy(), Gu = (n, t) => n.x * t.y - n.y * t.x, og = (n, t) => n.x * t.x + n.y * t.y, sf = (n, t, e) => {
|
|
19515
19524
|
const r = Gy(n.x, n.y, t.x, t.y, e.x, e.y);
|
|
19516
19525
|
return r > 0 ? -1 : r < 0 ? 1 : 0;
|
|
19517
|
-
}, nl = (n) => Math.sqrt(
|
|
19526
|
+
}, nl = (n) => Math.sqrt(og(n, n)), Xy = (n, t, e) => {
|
|
19518
19527
|
const r = {
|
|
19519
19528
|
x: t.x - n.x,
|
|
19520
19529
|
y: t.y - n.y
|
|
@@ -19531,7 +19540,7 @@ const cu = new Wy(), Gu = (n, t) => n.x * t.y - n.y * t.x, sg = (n, t) => n.x *
|
|
|
19531
19540
|
x: e.x - n.x,
|
|
19532
19541
|
y: e.y - n.y
|
|
19533
19542
|
};
|
|
19534
|
-
return
|
|
19543
|
+
return og(i, r) / nl(i) / nl(r);
|
|
19535
19544
|
}, of = (n, t, e) => t.y === 0 ? null : {
|
|
19536
19545
|
x: n.x + t.x / t.y * (e - n.y),
|
|
19537
19546
|
y: e
|
|
@@ -20351,7 +20360,7 @@ function p_(n) {
|
|
|
20351
20360
|
console.warn("geoCenterAndRadiusFromPositions error: minPos.some(e => !Number.isFinite(e) || maxPos.some(e => !Number.isFinite(e)) || center.some(e => !Number.isFinite(e))");
|
|
20352
20361
|
return;
|
|
20353
20362
|
}
|
|
20354
|
-
const i =
|
|
20363
|
+
const i = Dc(t, e);
|
|
20355
20364
|
let s = i * 0.5;
|
|
20356
20365
|
const o = Math.abs(t[2] - e[2]);
|
|
20357
20366
|
return o != 0 && (s = Math.sqrt(i * i + o * o) * 0.5), { center: r, radius: s };
|
|
@@ -20365,7 +20374,7 @@ function sl(n, t) {
|
|
|
20365
20374
|
let i = 0;
|
|
20366
20375
|
for (let s = 0; s < r - 1; ++s) {
|
|
20367
20376
|
if (t === void 0 || t === "GEODESIC") {
|
|
20368
|
-
const o =
|
|
20377
|
+
const o = Dc(n[s], n[s + 1]), a = Math.abs(n[s][2] - n[s + 1][2]);
|
|
20369
20378
|
if (a === 0)
|
|
20370
20379
|
i += o;
|
|
20371
20380
|
else {
|
|
@@ -20412,7 +20421,7 @@ class m_ extends Ba {
|
|
|
20412
20421
|
return this.uiTree;
|
|
20413
20422
|
}
|
|
20414
20423
|
}
|
|
20415
|
-
class
|
|
20424
|
+
class ag extends qd {
|
|
20416
20425
|
/**
|
|
20417
20426
|
* 构造函数,创建 BasePropTreeItem 的实例。
|
|
20418
20427
|
* @param tree - 所属的属性树实例。
|
|
@@ -20430,7 +20439,7 @@ class og extends qd {
|
|
|
20430
20439
|
return this._property;
|
|
20431
20440
|
}
|
|
20432
20441
|
}
|
|
20433
|
-
class pf extends
|
|
20442
|
+
class pf extends ag {
|
|
20434
20443
|
/**
|
|
20435
20444
|
* 构造函数,创建 LeafPropTreeItem 的实例。
|
|
20436
20445
|
* @param tree - 所属的属性树实例。
|
|
@@ -20440,7 +20449,7 @@ class pf extends og {
|
|
|
20440
20449
|
super(t, !1, e);
|
|
20441
20450
|
}
|
|
20442
20451
|
}
|
|
20443
|
-
class gf extends
|
|
20452
|
+
class gf extends ag {
|
|
20444
20453
|
/**
|
|
20445
20454
|
* 构造函数,创建 GroupPropTreeItem 的实例。
|
|
20446
20455
|
* @param tree - 所属的属性树实例。
|
|
@@ -20532,7 +20541,7 @@ class hu extends Y {
|
|
|
20532
20541
|
});
|
|
20533
20542
|
})(hu || (hu = {}));
|
|
20534
20543
|
qi(hu.prototype, hu.createDefaultProps);
|
|
20535
|
-
function
|
|
20544
|
+
function ug(n) {
|
|
20536
20545
|
return Ic(n, (t, e) => t[0] === e[0] && t[1] === e[1], (t) => [...t]);
|
|
20537
20546
|
}
|
|
20538
20547
|
function y_(n, t) {
|
|
@@ -21344,7 +21353,7 @@ f(Cr, "defaultSetSceneObjectShow", C_), /**
|
|
|
21344
21353
|
*/
|
|
21345
21354
|
f(Cr, "defaultGetSceneTreeItemCloneNameFunc", T_);
|
|
21346
21355
|
let ol = Cr;
|
|
21347
|
-
const
|
|
21356
|
+
const lg = {
|
|
21348
21357
|
/**
|
|
21349
21358
|
* 光照的饱和度。
|
|
21350
21359
|
* 该值影响光照颜色的鲜艳程度,取值范围通常为0到1之间,值越大颜色越鲜艳。
|
|
@@ -21399,7 +21408,7 @@ class Zw extends Y {
|
|
|
21399
21408
|
let c = Date.now();
|
|
21400
21409
|
const h = _l(u, r);
|
|
21401
21410
|
this._currentHeading.value = h;
|
|
21402
|
-
const p =
|
|
21411
|
+
const p = Dc(u, r) / s, v = [i[0] - l[0], i[1] - l[1], i[2] - l[2]], E = r[2] - u[2];
|
|
21403
21412
|
await e.promise(new Promise((C) => {
|
|
21404
21413
|
e.disposer.dispose(kg(async () => {
|
|
21405
21414
|
let b = Date.now() - c;
|
|
@@ -21549,7 +21558,7 @@ const Qn = class Qn extends Bt {
|
|
|
21549
21558
|
*/
|
|
21550
21559
|
getArea() {
|
|
21551
21560
|
if (this.points && this.points.length >= 3)
|
|
21552
|
-
return
|
|
21561
|
+
return ap([...this.points]);
|
|
21553
21562
|
}
|
|
21554
21563
|
/**
|
|
21555
21564
|
* 计算地理矢量中两点之间的距离
|
|
@@ -21708,15 +21717,15 @@ const Qn = class Qn extends Bt {
|
|
|
21708
21717
|
...e.style,
|
|
21709
21718
|
new st([], "点样式"),
|
|
21710
21719
|
new q([this, "pointed"], "开启", !1),
|
|
21711
|
-
new
|
|
21720
|
+
new M([this, "pointSize"], "点大小", 1),
|
|
21712
21721
|
new wt([this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "点类型", "screen"),
|
|
21713
21722
|
new Tt([this, "pointColor"], "点颜色", [1, 1, 1, 1]),
|
|
21714
21723
|
new Tt([this, "pointOutlineColor"], "轮廓颜色", Qn.defaults.pointStyle.outlineColor),
|
|
21715
|
-
new
|
|
21724
|
+
new M([this, "pointOutlineWidth"], "轮廓宽度", Qn.defaults.pointStyle.outlineWidth),
|
|
21716
21725
|
new st([], "线样式"),
|
|
21717
21726
|
new q([this, "stroked"], "开启线样式", !0),
|
|
21718
21727
|
new q([this, "strokeGround"], "贴地", !1),
|
|
21719
|
-
new
|
|
21728
|
+
new M([this, "strokeWidth"], "线宽", 1),
|
|
21720
21729
|
new wt([this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "线类型", "screen"),
|
|
21721
21730
|
new Tt([this, "strokeColor"], "线颜色", [1, 1, 1, 1]),
|
|
21722
21731
|
new st([], "面样式"),
|
|
@@ -22110,7 +22119,7 @@ f(Qn, "supportEditingModes", [
|
|
|
22110
22119
|
...Bt.supportEditingModes,
|
|
22111
22120
|
Q.Translation
|
|
22112
22121
|
]);
|
|
22113
|
-
let
|
|
22122
|
+
let bt = Qn;
|
|
22114
22123
|
const Is = class Is extends Bt {
|
|
22115
22124
|
constructor() {
|
|
22116
22125
|
super(...arguments);
|
|
@@ -22315,8 +22324,8 @@ const Is = class Is extends Bt {
|
|
|
22315
22324
|
new Ha([this, "position"], "位置数组", [0, 0, 0]),
|
|
22316
22325
|
new $d([this, "rotation"], "姿态数组", [0, 0, 0]),
|
|
22317
22326
|
new hr([this, "scale"], "缩放", [1, 1, 1]),
|
|
22318
|
-
new
|
|
22319
|
-
new
|
|
22327
|
+
new M([this, "minVisibleDistance"], "最小可见距离", 0),
|
|
22328
|
+
new M([this, "maxVisibleDistance"], "最大可见距离", 0)
|
|
22320
22329
|
],
|
|
22321
22330
|
more: [
|
|
22322
22331
|
...e.more,
|
|
@@ -22477,13 +22486,13 @@ const yo = class yo extends nt {
|
|
|
22477
22486
|
...t.style,
|
|
22478
22487
|
new st([], "点样式集合"),
|
|
22479
22488
|
new q([this, "pointed"], "开启点样式", !1),
|
|
22480
|
-
new
|
|
22489
|
+
new M([this, "pointSize"], "点大小", 1),
|
|
22481
22490
|
new wt([this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "点类型", "screen"),
|
|
22482
22491
|
new Tt([this, "pointColor"], "点颜色", [1, 1, 1, 1]),
|
|
22483
22492
|
new st([], "线样式集合"),
|
|
22484
22493
|
new q([this, "stroked"], "开启线样式", !1),
|
|
22485
22494
|
new q([this, "strokeGround"], "是否贴地(线)", !1),
|
|
22486
|
-
new
|
|
22495
|
+
new M([this, "strokeWidth"], "线宽", 1),
|
|
22487
22496
|
new wt([this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "线类型", "screen"),
|
|
22488
22497
|
new Tt([this, "strokeColor"], "线颜色", [1, 1, 1, 1]),
|
|
22489
22498
|
new st([], "面样式集合"),
|
|
@@ -22780,7 +22789,7 @@ const Ua = class Ua extends fu {
|
|
|
22780
22789
|
};
|
|
22781
22790
|
f(Ua, "type", Ua.register("ESLocalVector2D", Ua, { chsName: "本地矢量2D", tags: ["ESObjects"], description: "本地矢量2D对象" }));
|
|
22782
22791
|
let _s = Ua;
|
|
22783
|
-
const
|
|
22792
|
+
const M_ = [["固定朝向", 0], ["面向屏幕旋转", 1], ["绕自身Z轴旋转", 2]], D_ = [["单面不透明", 0], ["双面不透明", 1], ["单面遮罩", 2], ["双面遮罩", 3], ["单面透明", 4], ["双面透明", 5], ["单面未遮挡透明", 6], ["双面未遮挡透明", 7]], _o = class _o extends nt {
|
|
22784
22793
|
constructor() {
|
|
22785
22794
|
super(...arguments);
|
|
22786
22795
|
/**
|
|
@@ -22809,8 +22818,8 @@ const D_ = [["固定朝向", 0], ["面向屏幕旋转", 1], ["绕自身Z轴旋
|
|
|
22809
22818
|
new xe([this, "size"], "尺寸大小", [100, 100]),
|
|
22810
22819
|
new xe([this, "anchor"], "偏移比例", [0.5, 1]),
|
|
22811
22820
|
new xe([this, "offset"], "像素偏移", [0, 0]),
|
|
22812
|
-
new wt([this, "renderMode"],
|
|
22813
|
-
new wt([this, "rotationType"],
|
|
22821
|
+
new wt([this, "renderMode"], D_, "渲染模式", 0),
|
|
22822
|
+
new wt([this, "rotationType"], M_, "漫游旋转类型", 1),
|
|
22814
22823
|
new ht([this, "actorTag"], "绑定对象"),
|
|
22815
22824
|
new ht([this, "socketName"], "插槽名称"),
|
|
22816
22825
|
new hr([this, "positionOffset"], "位置偏移"),
|
|
@@ -22818,7 +22827,7 @@ const D_ = [["固定朝向", 0], ["面向屏幕旋转", 1], ["绕自身Z轴旋
|
|
|
22818
22827
|
],
|
|
22819
22828
|
more: [
|
|
22820
22829
|
...e.more,
|
|
22821
|
-
new
|
|
22830
|
+
new M([this, "zOrder"], "排序", 0)
|
|
22822
22831
|
]
|
|
22823
22832
|
};
|
|
22824
22833
|
}
|
|
@@ -23372,7 +23381,7 @@ const $n = class $n extends Bt {
|
|
|
23372
23381
|
* 仅 Cesium 引擎生效,设置光照模式为 122。
|
|
23373
23382
|
*/
|
|
23374
23383
|
setLight122() {
|
|
23375
|
-
this.czmEnvironmentMapManager = { ...
|
|
23384
|
+
this.czmEnvironmentMapManager = { ...lg };
|
|
23376
23385
|
}
|
|
23377
23386
|
/**
|
|
23378
23387
|
* 重写获取 ES 属性的方法,返回包含基本信息、数据源、坐标等属性的对象。
|
|
@@ -23412,19 +23421,19 @@ const $n = class $n extends Bt {
|
|
|
23412
23421
|
new ht([this, "actorTag"]),
|
|
23413
23422
|
new q([this, "highlight"], "是否高亮"),
|
|
23414
23423
|
new Tt([this, "highlightColor"]),
|
|
23415
|
-
new
|
|
23424
|
+
new M([this, "highlightID"]),
|
|
23416
23425
|
new st([], "czm"),
|
|
23417
23426
|
new st([], "可视化"),
|
|
23418
23427
|
new xe([this, "czmImageBasedLightingFactor"], "反射强度"),
|
|
23419
|
-
new
|
|
23428
|
+
new M([this, "czmAtmosphereScatteringIntensity"], "大气散射强度"),
|
|
23420
23429
|
new $([this, "czmEnvironmentMapManager"], "动态环境贴图管理器"),
|
|
23421
|
-
new
|
|
23430
|
+
new M([this, "czmMaximumMemoryUsage"], "最大内存"),
|
|
23422
23431
|
new st([], "常用"),
|
|
23423
23432
|
new wt([this, "czmClassificationType"], [["NONE", "NONE"], ["TERRAIN", "TERRAIN"], ["CESIUM_3D_TILE", "CESIUM_3D_TILE"], ["BOTH", "BOTH"]], "czmClassificationType", "NONE", !0),
|
|
23424
23433
|
new $([this, "czmStyleJson"], "czmStyle"),
|
|
23425
23434
|
new q([this, "czmBackFaceCulling"]),
|
|
23426
23435
|
new q([this, "czmSkipLevelOfDetail"]),
|
|
23427
|
-
new
|
|
23436
|
+
new M([this, "cacheBytes"], "最大缓存", 512 * 1024 * 1024),
|
|
23428
23437
|
new st([], "调试信息"),
|
|
23429
23438
|
new q([this, "czmDebugShowBoundingVolume"]),
|
|
23430
23439
|
new q([this, "czmDebugShowContentBoundingVolume"]),
|
|
@@ -23432,7 +23441,7 @@ const $n = class $n extends Bt {
|
|
|
23432
23441
|
new q([this, "clippingPlaneEnabled"]),
|
|
23433
23442
|
new q([this, "unionClippingRegions"]),
|
|
23434
23443
|
new Tt([this, "clippingPlaneEdgeColor"]),
|
|
23435
|
-
new
|
|
23444
|
+
new M([this, "clippingPlaneEdgeWidth"])
|
|
23436
23445
|
]
|
|
23437
23446
|
};
|
|
23438
23447
|
}
|
|
@@ -23647,7 +23656,7 @@ const Eo = class Eo extends nt {
|
|
|
23647
23656
|
basic: [
|
|
23648
23657
|
...e.basic,
|
|
23649
23658
|
new wt([this, "mode"], [["柱状警告", "cylinder"], ["圆形警告", "circle"]], "模式", "cylinder"),
|
|
23650
|
-
new
|
|
23659
|
+
new M([this, "radius"], "半径", 10)
|
|
23651
23660
|
]
|
|
23652
23661
|
};
|
|
23653
23662
|
}
|
|
@@ -23684,7 +23693,7 @@ const Ps = class Ps extends nt {
|
|
|
23684
23693
|
basic: [
|
|
23685
23694
|
...t.basic,
|
|
23686
23695
|
// 创建一个数字属性,表示光圈的半径
|
|
23687
|
-
new
|
|
23696
|
+
new M([this, "radius"], "半径", 1),
|
|
23688
23697
|
new wt([this, "mode"], [["扫描", "scan"], ["扩散", "diffuse"]], "模式", Ps.defaults.mode)
|
|
23689
23698
|
]
|
|
23690
23699
|
};
|
|
@@ -23709,7 +23718,7 @@ f(Ps, "createDefaultProps", () => ({
|
|
|
23709
23718
|
*/
|
|
23710
23719
|
f(Ps, "type", Ps.register("ESApertureEffect", Ps, { chsName: "光圈特效", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "光圈特效" }));
|
|
23711
23720
|
let Sf = Ps;
|
|
23712
|
-
const bs = class bs extends
|
|
23721
|
+
const bs = class bs extends bt {
|
|
23713
23722
|
/**
|
|
23714
23723
|
* 构造函数,初始化对象的碰撞检测、填充、描边、填充样式和描边样式等属性。
|
|
23715
23724
|
* @param id - 对象的可选 ID。
|
|
@@ -23731,8 +23740,8 @@ const bs = class bs extends Pt {
|
|
|
23731
23740
|
...e,
|
|
23732
23741
|
coordinate: [
|
|
23733
23742
|
...e.coordinate,
|
|
23734
|
-
new
|
|
23735
|
-
new
|
|
23743
|
+
new M([this, "area"], "面积", 0, !1, !0),
|
|
23744
|
+
new M([this, "perimeter"], "周长", 0, !1, !0)
|
|
23736
23745
|
]
|
|
23737
23746
|
};
|
|
23738
23747
|
}
|
|
@@ -23741,7 +23750,7 @@ f(bs, "createDefaultProps", () => ({
|
|
|
23741
23750
|
/**
|
|
23742
23751
|
* 默认属性值,包括填充样式、描边样式、是否填充、是否描边和碰撞检测等。
|
|
23743
23752
|
*/
|
|
23744
|
-
...
|
|
23753
|
+
...bt.createDefaultProps(),
|
|
23745
23754
|
fillStyle: gt({
|
|
23746
23755
|
color: [1, 1, 1, 0.5],
|
|
23747
23756
|
material: "",
|
|
@@ -23766,7 +23775,7 @@ f(bs, "type", bs.register("ESGeoPolygon", bs, { chsName: "地理多边形", tags
|
|
|
23766
23775
|
* 支持的编辑模式,包括父类支持的模式以及 CircularAppend 和 CircularInsert 模式。
|
|
23767
23776
|
*/
|
|
23768
23777
|
f(bs, "supportEditingModes", [
|
|
23769
|
-
...
|
|
23778
|
+
...bt.supportEditingModes,
|
|
23770
23779
|
Q.CircularAppend,
|
|
23771
23780
|
Q.CircularInsert
|
|
23772
23781
|
]);
|
|
@@ -23904,7 +23913,7 @@ const Sn = class Sn extends nt {
|
|
|
23904
23913
|
new q([this, "reverse"], "反转", Sn.defaults.reverse),
|
|
23905
23914
|
new hr([this, "size"], "尺寸", Sn.defaults.size),
|
|
23906
23915
|
new Tt([this, "edgeColor"], "边框颜色", Sn.defaults.edgeColor),
|
|
23907
|
-
new
|
|
23916
|
+
new M([this, "edgeWidth"], "边框宽度", Sn.defaults.edgeWidth),
|
|
23908
23917
|
new ht([this, "targetID"], "瓦片图层", Sn.defaults.targetID)
|
|
23909
23918
|
]
|
|
23910
23919
|
};
|
|
@@ -24066,7 +24075,7 @@ const Ga = class Ga extends nt {
|
|
|
24066
24075
|
new ot([], () => this.resetWithCurrentCamera(), [], "设置为当前视角"),
|
|
24067
24076
|
new ot(["number", "number"], (r, i) => this.capture(r, i), [64, 64], "获取缩略图"),
|
|
24068
24077
|
new ht([this, "thumbnail"], "缩略图", "", !0),
|
|
24069
|
-
new
|
|
24078
|
+
new M([this, "duration"], "飞行时间", 1, !0)
|
|
24070
24079
|
]
|
|
24071
24080
|
};
|
|
24072
24081
|
}
|
|
@@ -24500,12 +24509,12 @@ const Hr = class Hr extends et {
|
|
|
24500
24509
|
new ot([], () => this.deleteCurrentView(), [], "删除当前视角"),
|
|
24501
24510
|
new ot(["number"], (r) => this.deleteView(r), [0], "删除指定视角"),
|
|
24502
24511
|
new ot(["number"], (r) => this.resetView(r), [0], "重置视角"),
|
|
24503
|
-
new
|
|
24512
|
+
new M([this, "currentViewIndex"], "当前序号", -1, !1, !0),
|
|
24504
24513
|
new pm([this, "playing"], () => this.stop(), [this, "loop"], "播放", Hr.defaults),
|
|
24505
24514
|
new q([this, "playing"], "是否播放"),
|
|
24506
24515
|
new ot([], () => this.stop(), [], "停止"),
|
|
24507
24516
|
new q([this, "loop"], "是否循环"),
|
|
24508
|
-
new
|
|
24517
|
+
new M([this, "intervalTime"], "间隔时间"),
|
|
24509
24518
|
new $([this, "views"], "视角集合", [], void 0, !0)
|
|
24510
24519
|
]
|
|
24511
24520
|
};
|
|
@@ -24552,10 +24561,10 @@ const Co = class Co extends nt {
|
|
|
24552
24561
|
...e,
|
|
24553
24562
|
basic: [
|
|
24554
24563
|
...e.basic,
|
|
24555
|
-
new
|
|
24556
|
-
new
|
|
24557
|
-
new
|
|
24558
|
-
new
|
|
24564
|
+
new M([this, "aspectRatio"], "宽高比", 1.77778),
|
|
24565
|
+
new M([this, "fov"], "横向夹角", 90),
|
|
24566
|
+
new M([this, "far"], "视野长度", 100),
|
|
24567
|
+
new M([this, "near"], "近面距离", 5)
|
|
24559
24568
|
]
|
|
24560
24569
|
};
|
|
24561
24570
|
}
|
|
@@ -24626,7 +24635,7 @@ f(Io, "createDefaultProps", () => ({
|
|
|
24626
24635
|
*/
|
|
24627
24636
|
f(Io, "type", Io.register("ESCar", Io, { chsName: "车辆", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "警车等基础车辆模型" }));
|
|
24628
24637
|
let dc = Io;
|
|
24629
|
-
const xs = class xs extends
|
|
24638
|
+
const xs = class xs extends bt {
|
|
24630
24639
|
/**
|
|
24631
24640
|
* 构造函数,用于创建 ESClassification 实例。
|
|
24632
24641
|
* @param id - 可选参数,实例的唯一标识符。
|
|
@@ -24648,18 +24657,18 @@ const xs = class xs extends Pt {
|
|
|
24648
24657
|
...e,
|
|
24649
24658
|
basic: [
|
|
24650
24659
|
...e.basic,
|
|
24651
|
-
new
|
|
24660
|
+
new M([this, "height"], "高度", 10)
|
|
24652
24661
|
],
|
|
24653
24662
|
coordinate: [
|
|
24654
24663
|
...e.coordinate,
|
|
24655
|
-
new
|
|
24656
|
-
new
|
|
24664
|
+
new M([this, "area"], "面积", 0, !1, !0),
|
|
24665
|
+
new M([this, "perimeter"], "周长", 0, !1, !0)
|
|
24657
24666
|
]
|
|
24658
24667
|
};
|
|
24659
24668
|
}
|
|
24660
24669
|
};
|
|
24661
24670
|
f(xs, "createDefaultProps", () => ({
|
|
24662
|
-
...
|
|
24671
|
+
...bt.createDefaultProps(),
|
|
24663
24672
|
/**高度 ,默认值为 10。
|
|
24664
24673
|
* @type {number}
|
|
24665
24674
|
* @default 10
|
|
@@ -24682,7 +24691,7 @@ f(xs, "type", xs.register("ESClassification", xs, { chsName: "倾斜单体化",
|
|
|
24682
24691
|
* 包含 ESGeoVector 支持的编辑模式,以及新增的 CircularAppend、CircularInsert 和 HeightModify 模式。
|
|
24683
24692
|
*/
|
|
24684
24693
|
f(xs, "supportEditingModes", [
|
|
24685
|
-
...
|
|
24694
|
+
...bt.supportEditingModes,
|
|
24686
24695
|
Q.CircularAppend,
|
|
24687
24696
|
Q.CircularInsert,
|
|
24688
24697
|
Q.HeightModify
|
|
@@ -24720,17 +24729,17 @@ const Po = class Po extends nt {
|
|
|
24720
24729
|
* 数值属性,用于设置线框的宽度。
|
|
24721
24730
|
* @type {NumberProperty}
|
|
24722
24731
|
*/
|
|
24723
|
-
new
|
|
24732
|
+
new M([this, "edgetWidth"], "线框宽度", 2),
|
|
24724
24733
|
/**
|
|
24725
24734
|
* 数值属性,用于设置裁剪区域的宽度。
|
|
24726
24735
|
* @type {NumberProperty}
|
|
24727
24736
|
*/
|
|
24728
|
-
new
|
|
24737
|
+
new M([this, "width"], "裁剪宽度", 200),
|
|
24729
24738
|
/**
|
|
24730
24739
|
* 数值属性,用于设置裁剪区域的高度。
|
|
24731
24740
|
* @type {NumberProperty}
|
|
24732
24741
|
*/
|
|
24733
|
-
new
|
|
24742
|
+
new M([this, "height"], "裁剪高度", 200),
|
|
24734
24743
|
/**
|
|
24735
24744
|
* 字符串属性,用于指定瓦片图层的目标 ID。
|
|
24736
24745
|
* @type {StringProperty}
|
|
@@ -24828,7 +24837,7 @@ class L_ extends Y {
|
|
|
24828
24837
|
}));
|
|
24829
24838
|
}
|
|
24830
24839
|
}
|
|
24831
|
-
const
|
|
24840
|
+
const cg = `class MyDiv {
|
|
24832
24841
|
// subContainer是外部视口的div容器,可以在这里创建自己需要的DOM元素
|
|
24833
24842
|
// customDiv指向当前的CustomDiv场景对象
|
|
24834
24843
|
// viewer指定当前的视口
|
|
@@ -24868,7 +24877,7 @@ const lg = `class MyDiv {
|
|
|
24868
24877
|
}
|
|
24869
24878
|
}`, R_ = `示例代码:
|
|
24870
24879
|
\`\`\`
|
|
24871
|
-
${
|
|
24880
|
+
${cg}
|
|
24872
24881
|
\`\`\`
|
|
24873
24882
|
`, Jr = class Jr extends et {
|
|
24874
24883
|
/**
|
|
@@ -25071,7 +25080,7 @@ ${lg}
|
|
|
25071
25080
|
...e.more,
|
|
25072
25081
|
new st([
|
|
25073
25082
|
new q([this, "show"], "显示"),
|
|
25074
|
-
new Ws([this, "instanceClassStr"], "实例类",
|
|
25083
|
+
new Ws([this, "instanceClassStr"], "实例类", cg, R_, !0),
|
|
25075
25084
|
new Ws([this, "innerHTML"], "innerHTML", Jr.defaultInnerHTML, Jr.innerHTMLReadMe, !0),
|
|
25076
25085
|
new ot(["string"], r, ["(divClass, dom, viewer) => divClass.update && divClass.update()"], "强制更新"),
|
|
25077
25086
|
new q([this, "allowPicking"], "允许拾取", !0),
|
|
@@ -25154,10 +25163,10 @@ const Ns = class Ns extends nt {
|
|
|
25154
25163
|
more: [
|
|
25155
25164
|
...e.more,
|
|
25156
25165
|
new $([this, "url"]),
|
|
25157
|
-
new
|
|
25158
|
-
new
|
|
25159
|
-
new
|
|
25160
|
-
new
|
|
25166
|
+
new M([this, "maxTime"], "maxTime", 23, !0, !0),
|
|
25167
|
+
new M([this, "currentTime"]),
|
|
25168
|
+
new M([this, "minPropValue"]),
|
|
25169
|
+
new M([this, "maxPropValue"]),
|
|
25161
25170
|
new $([this, "colorStops"], "colorStops", Ns.defaults.colorStops, void 0, !0)
|
|
25162
25171
|
]
|
|
25163
25172
|
};
|
|
@@ -25197,7 +25206,7 @@ f(Ns, "createDefaultProps", () => ({
|
|
|
25197
25206
|
*/
|
|
25198
25207
|
f(Ns, "type", Ns.register("ESDataMesh", Ns, { chsName: "数值面着色", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "数值面着色" }));
|
|
25199
25208
|
let Nf = Ns;
|
|
25200
|
-
const Ts = class Ts extends
|
|
25209
|
+
const Ts = class Ts extends bt {
|
|
25201
25210
|
/**
|
|
25202
25211
|
* 构造函数,初始化 ESGeoLineString 实例。
|
|
25203
25212
|
* @param id - 可选参数,实例的 ID。
|
|
@@ -25239,13 +25248,13 @@ const Ts = class Ts extends Pt {
|
|
|
25239
25248
|
...e,
|
|
25240
25249
|
coordinate: [
|
|
25241
25250
|
...e.coordinate,
|
|
25242
|
-
new
|
|
25251
|
+
new M([this, "distance"], "长度", 0, !1, !0)
|
|
25243
25252
|
]
|
|
25244
25253
|
};
|
|
25245
25254
|
}
|
|
25246
25255
|
};
|
|
25247
25256
|
f(Ts, "createDefaultProps", () => ({
|
|
25248
|
-
...
|
|
25257
|
+
...bt.createDefaultProps(),
|
|
25249
25258
|
/**线样式是否生效 默认 为true */
|
|
25250
25259
|
stroked: !0,
|
|
25251
25260
|
/**线样式 */
|
|
@@ -25265,7 +25274,7 @@ f(Ts, "type", Ts.register("ESGeoLineString", Ts, { chsName: "地理折线", tags
|
|
|
25265
25274
|
* 静态属性,重写支持的编辑模式,包含 ESGeoVector 支持的模式以及新增的 LineStringAppend 和 LineStringInsert 模式。
|
|
25266
25275
|
*/
|
|
25267
25276
|
f(Ts, "supportEditingModes", [
|
|
25268
|
-
...
|
|
25277
|
+
...bt.supportEditingModes,
|
|
25269
25278
|
Q.LineStringAppend,
|
|
25270
25279
|
Q.LineStringInsert
|
|
25271
25280
|
]);
|
|
@@ -25412,7 +25421,7 @@ const A_ = `
|
|
|
25412
25421
|
new ht([this, "diLei"]),
|
|
25413
25422
|
new ht([this, "senLinLB"]),
|
|
25414
25423
|
new ht([this, "labelMaterial"]),
|
|
25415
|
-
new
|
|
25424
|
+
new M([this, "heightOffset"])
|
|
25416
25425
|
]
|
|
25417
25426
|
};
|
|
25418
25427
|
}
|
|
@@ -25455,8 +25464,8 @@ f(Os, "type", Os.register("ESForestTileset", Os, {
|
|
|
25455
25464
|
tags: ["ESObjects", "_ES_Impl_UE"],
|
|
25456
25465
|
description: "ESForestTileset"
|
|
25457
25466
|
}));
|
|
25458
|
-
let
|
|
25459
|
-
const
|
|
25467
|
+
let Mf = Os;
|
|
25468
|
+
const hg = `class MyDiv {
|
|
25460
25469
|
// container是Poi的div
|
|
25461
25470
|
// geoCustomDivPoi指向当前的GeoCustomDivPoi场景对象
|
|
25462
25471
|
// viewer指定当前的视口
|
|
@@ -25489,12 +25498,12 @@ const cg = `class MyDiv {
|
|
|
25489
25498
|
}
|
|
25490
25499
|
}`, F_ = `示例代码:
|
|
25491
25500
|
\`\`\`
|
|
25492
|
-
${
|
|
25501
|
+
${hg}
|
|
25493
25502
|
\`\`\`
|
|
25494
|
-
`,
|
|
25503
|
+
`, fg = `<div style="width: 300px; height: 50px; background: rgba(120, 120, 0, 0.7); color: white; font-size: 30px; line-height: 50px; border: 1px solid white;">Hello world!</div>
|
|
25495
25504
|
`, k_ = `示例代码:
|
|
25496
25505
|
\`\`\`
|
|
25497
|
-
${
|
|
25506
|
+
${fg}
|
|
25498
25507
|
\`\`\`
|
|
25499
25508
|
`, Cn = class Cn extends nt {
|
|
25500
25509
|
/**
|
|
@@ -25614,8 +25623,8 @@ ${hg}
|
|
|
25614
25623
|
...e,
|
|
25615
25624
|
basic: [
|
|
25616
25625
|
...e.basic,
|
|
25617
|
-
new
|
|
25618
|
-
new
|
|
25626
|
+
new M([this, "opacity"], "透明度", Cn.defaults.opacity, !0),
|
|
25627
|
+
new M([this, "zOrder"], "zOrder", Cn.defaults.zOrder, !0),
|
|
25619
25628
|
new xe([this, "anchor"], "偏移比例", Cn.defaults.anchor, !0),
|
|
25620
25629
|
new Ws([this, "innerHTML"], "innerHTML", Cn.defaults.innerHTML, k_, !0),
|
|
25621
25630
|
new Ws([this, "instanceClassStr"], "实例类", Cn.defaults.instanceClassStr, F_, !0),
|
|
@@ -25632,9 +25641,9 @@ f(Cn, "createDefaultProps", () => ({
|
|
|
25632
25641
|
anchor: lt([0.5, 1]),
|
|
25633
25642
|
// 为undefined时设置为[0.5, 1.0]
|
|
25634
25643
|
/** 实例类字符串 默认 defaulInstanceClassStr */
|
|
25635
|
-
instanceClassStr:
|
|
25644
|
+
instanceClassStr: hg,
|
|
25636
25645
|
/** innerHTML 字符串形式的元素内容 */
|
|
25637
|
-
innerHTML:
|
|
25646
|
+
innerHTML: fg,
|
|
25638
25647
|
/** 遮挡排序 */
|
|
25639
25648
|
zOrder: 0,
|
|
25640
25649
|
/** 是否渲染到UE中 */
|
|
@@ -25645,8 +25654,8 @@ f(Cn, "createDefaultProps", () => ({
|
|
|
25645
25654
|
* @readonly
|
|
25646
25655
|
*/
|
|
25647
25656
|
f(Cn, "type", Cn.register("ESGeoDiv", Cn, { chsName: "ESGeoDiv", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESGeoDiv" }));
|
|
25648
|
-
let
|
|
25649
|
-
const
|
|
25657
|
+
let Df = Cn;
|
|
25658
|
+
const Ms = class Ms extends bt {
|
|
25650
25659
|
/**
|
|
25651
25660
|
* 构造函数,初始化矩形的一些属性,如碰撞、描边、填充等。
|
|
25652
25661
|
* @param {string} [id] 可选的矩形 ID。
|
|
@@ -25680,7 +25689,7 @@ const Ds = class Ds extends Pt {
|
|
|
25680
25689
|
_updateArea() {
|
|
25681
25690
|
if (this.points && this.points.length >= 2) {
|
|
25682
25691
|
const e = [...this.points], r = e[0], i = e[1], s = [r, [r[0], i[1], r[2]], i, [i[0], r[1], i[2]]];
|
|
25683
|
-
this._area.value =
|
|
25692
|
+
this._area.value = ap(s);
|
|
25684
25693
|
} else
|
|
25685
25694
|
this._area.value = 0;
|
|
25686
25695
|
}
|
|
@@ -25708,14 +25717,14 @@ const Ds = class Ds extends Pt {
|
|
|
25708
25717
|
...e,
|
|
25709
25718
|
coordinate: [
|
|
25710
25719
|
...e.coordinate,
|
|
25711
|
-
new
|
|
25712
|
-
new
|
|
25720
|
+
new M([this, "area"], "面积", 0, !1, !0),
|
|
25721
|
+
new M([this, "perimeter"], "周长", 0, !1, !0)
|
|
25713
25722
|
]
|
|
25714
25723
|
};
|
|
25715
25724
|
}
|
|
25716
25725
|
};
|
|
25717
|
-
f(
|
|
25718
|
-
...
|
|
25726
|
+
f(Ms, "createDefaultProps", () => ({
|
|
25727
|
+
...bt.createDefaultProps(),
|
|
25719
25728
|
collision: !1,
|
|
25720
25729
|
stroked: !0,
|
|
25721
25730
|
filled: !0,
|
|
@@ -25731,18 +25740,18 @@ f(Ds, "createDefaultProps", () => ({
|
|
|
25731
25740
|
* @readonly
|
|
25732
25741
|
* @type {any}
|
|
25733
25742
|
*/
|
|
25734
|
-
f(
|
|
25743
|
+
f(Ms, "type", Ms.register("ESGeoRectangle", Ms, { chsName: "矩形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "矩形" })), /**
|
|
25735
25744
|
* 支持的编辑模式数组,包含父类支持的编辑模式以及 DoublePointsAppend 和 DoublePointsModify 模式。
|
|
25736
25745
|
*
|
|
25737
25746
|
* @override
|
|
25738
25747
|
* @type {ESJEditingMode[]}
|
|
25739
25748
|
*/
|
|
25740
|
-
f(
|
|
25741
|
-
...
|
|
25749
|
+
f(Ms, "supportEditingModes", [
|
|
25750
|
+
...bt.supportEditingModes,
|
|
25742
25751
|
Q.DoublePointsAppend,
|
|
25743
25752
|
Q.DoublePointsModify
|
|
25744
25753
|
]);
|
|
25745
|
-
let Lf =
|
|
25754
|
+
let Lf = Ms;
|
|
25746
25755
|
const Zl = {
|
|
25747
25756
|
translationX: 0,
|
|
25748
25757
|
translationY: 0,
|
|
@@ -25979,7 +25988,7 @@ const Zl = {
|
|
|
25979
25988
|
* 仅Cesium引擎生效,设置默认光照
|
|
25980
25989
|
*/
|
|
25981
25990
|
setLight122() {
|
|
25982
|
-
this.czmEnvironmentMapManager = { ...
|
|
25991
|
+
this.czmEnvironmentMapManager = { ...lg };
|
|
25983
25992
|
}
|
|
25984
25993
|
/**
|
|
25985
25994
|
* 获取ES属性
|
|
@@ -25998,12 +26007,12 @@ const Zl = {
|
|
|
25998
26007
|
more: [
|
|
25999
26008
|
...e.more,
|
|
26000
26009
|
new xe([this, "czmImageBasedLightingFactor"]),
|
|
26001
|
-
new
|
|
26010
|
+
new M([this, "czmAtmosphereScatteringIntensity"]),
|
|
26002
26011
|
new $([this, "czmEnvironmentMapManager"]),
|
|
26003
26012
|
new ot([], () => this.printDebugInfo(), [], "控制台输出模型信息"),
|
|
26004
|
-
new
|
|
26005
|
-
new
|
|
26006
|
-
new
|
|
26013
|
+
new M([this, "czmMaximumScale"], "最大缩放比例", void 0, !0),
|
|
26014
|
+
new M([this, "czmNativeScale"], "统一缩放值"),
|
|
26015
|
+
new M([this, "czmMinimumPixelSize"], "最小像素尺寸"),
|
|
26007
26016
|
new Tt([this, "czmColor"], "颜色")
|
|
26008
26017
|
]
|
|
26009
26018
|
};
|
|
@@ -26168,7 +26177,7 @@ f(Zr, "createDefaultProps", () => ({
|
|
|
26168
26177
|
*/
|
|
26169
26178
|
f(Zr, "type", Zr.register("ESHuman", Zr, { chsName: "人员", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "工人 警察 路人" })), f(Zr, "modes", [["工人", "worker"], ["警察", "police"], ["路人", "pedestrian"], ["陌生人", "stranger"], ["男士", "suitMan"], ["女士", "suitWoman"]]), f(Zr, "animations", [["站立", "standing"], ["行走", "walking"], ["奔跑", "running"]]);
|
|
26170
26179
|
let Ko = Zr;
|
|
26171
|
-
const
|
|
26180
|
+
const Ds = class Ds extends vn {
|
|
26172
26181
|
/**
|
|
26173
26182
|
* 构造函数,初始化 ESImageLabel 实例。
|
|
26174
26183
|
*
|
|
@@ -26189,13 +26198,13 @@ const Ms = class Ms extends vn {
|
|
|
26189
26198
|
...t,
|
|
26190
26199
|
basic: [
|
|
26191
26200
|
...t.basic,
|
|
26192
|
-
new $([this, "url"], "图片路径",
|
|
26201
|
+
new $([this, "url"], "图片路径", Ds.defaults.url),
|
|
26193
26202
|
new q([this, "isHoverZoom"], "悬浮放大")
|
|
26194
26203
|
]
|
|
26195
26204
|
};
|
|
26196
26205
|
}
|
|
26197
26206
|
};
|
|
26198
|
-
f(
|
|
26207
|
+
f(Ds, "createDefaultProps", () => ({
|
|
26199
26208
|
...vn.createDefaultProps(),
|
|
26200
26209
|
/**图片地址或请求体
|
|
26201
26210
|
* @type {string | ESJResource}
|
|
@@ -26212,12 +26221,12 @@ f(Ms, "createDefaultProps", () => ({
|
|
|
26212
26221
|
* @readonly
|
|
26213
26222
|
* @type {*}
|
|
26214
26223
|
*/
|
|
26215
|
-
f(
|
|
26224
|
+
f(Ds, "type", Ds.register("ESImageLabel", Ds, {
|
|
26216
26225
|
chsName: "图片标签",
|
|
26217
26226
|
tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE", "_ES_Impl_Ol"],
|
|
26218
26227
|
description: "基础图片标签。"
|
|
26219
26228
|
}));
|
|
26220
|
-
let mc =
|
|
26229
|
+
let mc = Ds;
|
|
26221
26230
|
const ti = class ti extends Bt {
|
|
26222
26231
|
/**
|
|
26223
26232
|
* 构造函数,创建 ESImageryLayer 实例。
|
|
@@ -26239,7 +26248,7 @@ const ti = class ti extends Bt {
|
|
|
26239
26248
|
basic: [
|
|
26240
26249
|
...t.basic,
|
|
26241
26250
|
/** 层级序号属性 */
|
|
26242
|
-
new
|
|
26251
|
+
new M([this, "zIndex"], "层级序号", ti.defaults.zIndex)
|
|
26243
26252
|
],
|
|
26244
26253
|
dataSource: [
|
|
26245
26254
|
...t.dataSource,
|
|
@@ -26261,26 +26270,26 @@ const ti = class ti extends Bt {
|
|
|
26261
26270
|
/** 影像服务地址属性 */
|
|
26262
26271
|
new st([], "通用"),
|
|
26263
26272
|
/** 高度属性 */
|
|
26264
|
-
new
|
|
26273
|
+
new M([this, "height"], "高度"),
|
|
26265
26274
|
/** 角色标签属性 */
|
|
26266
26275
|
new ht([this, "actorTag"]),
|
|
26267
26276
|
/** 组件标签属性 */
|
|
26268
26277
|
new ht([this, "componentTag"]),
|
|
26269
26278
|
/** 最小层级属性 */
|
|
26270
|
-
new
|
|
26279
|
+
new M([this, "minimumLevel"]),
|
|
26271
26280
|
new st([], "图像"),
|
|
26272
26281
|
/** czm 透明度属性 */
|
|
26273
|
-
new
|
|
26282
|
+
new M([this, "czmAlpha"], "透明度"),
|
|
26274
26283
|
/** czm 亮度属性 */
|
|
26275
|
-
new
|
|
26284
|
+
new M([this, "czmBrightness"], "亮度"),
|
|
26276
26285
|
/** czm 对比度属性 */
|
|
26277
|
-
new
|
|
26286
|
+
new M([this, "czmContrast"], "对比度"),
|
|
26278
26287
|
/** czm 色相属性 */
|
|
26279
|
-
new
|
|
26288
|
+
new M([this, "czmHue"], "色相"),
|
|
26280
26289
|
/** czm 饱和度属性 */
|
|
26281
|
-
new
|
|
26290
|
+
new M([this, "czmSaturation"], "饱和度"),
|
|
26282
26291
|
/** czm 伽马值属性 */
|
|
26283
|
-
new
|
|
26292
|
+
new M([this, "czmGamma"], "伽马值")
|
|
26284
26293
|
]
|
|
26285
26294
|
};
|
|
26286
26295
|
}
|
|
@@ -26456,13 +26465,13 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26456
26465
|
...t,
|
|
26457
26466
|
basic: [
|
|
26458
26467
|
...t.basic,
|
|
26459
|
-
new
|
|
26468
|
+
new M([this, "size"], "尺寸", In.defaults.size),
|
|
26460
26469
|
new q([this, "autoFollow"], "自动跟随", In.defaults.autoFollow),
|
|
26461
26470
|
new wt([this, "mode"], In.modes, "模式", "blueSky")
|
|
26462
26471
|
],
|
|
26463
26472
|
more: [
|
|
26464
26473
|
...t.more,
|
|
26465
|
-
new
|
|
26474
|
+
new M([this, "autoOpacityFactor"], "自动消失系数", In.defaults.autoOpacityFactor)
|
|
26466
26475
|
]
|
|
26467
26476
|
};
|
|
26468
26477
|
}
|
|
@@ -26604,25 +26613,25 @@ const Be = class Be extends nt {
|
|
|
26604
26613
|
new st([], "通用", "通用"),
|
|
26605
26614
|
new ot(["number"], (r) => this.flyTo(r), [1e3], "飞入"),
|
|
26606
26615
|
new Ws([this, "updateCallback"], "更新回调函数", void 0, void 0, !0),
|
|
26607
|
-
new
|
|
26616
|
+
new M([this, "emissionRate"], "发射率", 5, !0),
|
|
26608
26617
|
new q([this, "loop"], "是否循环", !0, !0),
|
|
26609
|
-
new
|
|
26610
|
-
new
|
|
26611
|
-
new
|
|
26618
|
+
new M([this, "particleScale"], "等级", 1, !0),
|
|
26619
|
+
new M([this, "startScale"], "初始等级", void 0, !0),
|
|
26620
|
+
new M([this, "endScale"], "结束等级", Be.defaults.endScale, !0),
|
|
26612
26621
|
new Tt([this, "color"], "颜色", void 0, !0),
|
|
26613
26622
|
new Tt([this, "startColor"], "初始颜色", void 0, !0),
|
|
26614
26623
|
new Tt([this, "endColor"], "结束颜色", void 0, !0),
|
|
26615
26624
|
new q([this, "sizeInMeters"], "尺寸单位为米", void 0, !0),
|
|
26616
|
-
new
|
|
26617
|
-
new
|
|
26618
|
-
new
|
|
26619
|
-
new
|
|
26620
|
-
new
|
|
26621
|
-
new
|
|
26622
|
-
new
|
|
26623
|
-
new
|
|
26624
|
-
new
|
|
26625
|
-
new
|
|
26625
|
+
new M([this, "speed"], "速度", 1, !0),
|
|
26626
|
+
new M([this, "minimumSpeed"], "最小速度", void 0, !0),
|
|
26627
|
+
new M([this, "maximumSpeed"], "最大速度", void 0, !0),
|
|
26628
|
+
new M([this, "lifetime"], "生命周期", Number.MAX_VALUE, !0),
|
|
26629
|
+
new M([this, "particleLife"], "粒子生命周期", Be.defaults.particleLife, !0),
|
|
26630
|
+
new M([this, "minimumParticleLife"], "最小粒子生命周期", void 0, !0),
|
|
26631
|
+
new M([this, "maximumParticleLife"], "最大粒子生命周期", void 0, !0),
|
|
26632
|
+
new M([this, "mass"], "块数量", 1, !0),
|
|
26633
|
+
new M([this, "minimumMass"], "最小块数量", void 0, !0),
|
|
26634
|
+
new M([this, "maximumMass"], "最大块数量", void 0, !0),
|
|
26626
26635
|
new xe([this, "imageSize"], "图片尺寸", Be.defaults.imageSize, !0),
|
|
26627
26636
|
//toCartesian2
|
|
26628
26637
|
new xe([this, "minimumImageSize"], "最小图片尺寸", void 0, !0),
|
|
@@ -26634,13 +26643,13 @@ const Be = class Be extends nt {
|
|
|
26634
26643
|
new Kd([this, "bursts"], "bursts", void 0, !0),
|
|
26635
26644
|
new $([this, "emitter"], "emitter", Be.defaults.emitter),
|
|
26636
26645
|
new st([], "播放器", "播放器"),
|
|
26637
|
-
new
|
|
26646
|
+
new M([this, "ratio"], "播放比率", 0, !0),
|
|
26638
26647
|
new bc([this, "playing"], [this, "ratio"], [this, "playingLoop"], "播放器"),
|
|
26639
26648
|
new q([this, "playingLoop"], "是否循环", Be.defaults.playingLoop, !0),
|
|
26640
|
-
new
|
|
26641
|
-
new
|
|
26649
|
+
new M([this, "currentTime"], "当前时间", Be.defaults.currentTime, !0),
|
|
26650
|
+
new M([this, "duration"], "过渡时间", Be.defaults.duration, !0),
|
|
26642
26651
|
new q([this, "playing"], "是否播放", Be.defaults.playing, !0),
|
|
26643
|
-
new
|
|
26652
|
+
new M([this, "playingSpeed"], "播放速度", Be.defaults.playingSpeed, !0)
|
|
26644
26653
|
]
|
|
26645
26654
|
};
|
|
26646
26655
|
}
|
|
@@ -27304,9 +27313,9 @@ const V_ = async (n, t, e) => {
|
|
|
27304
27313
|
...e.more,
|
|
27305
27314
|
new st([], "通用"),
|
|
27306
27315
|
new $([this, "treeTypes"], "treeTypes", [], "{ name: string, meshPath: string }[]", !0),
|
|
27307
|
-
new
|
|
27308
|
-
new
|
|
27309
|
-
new
|
|
27316
|
+
new M([this, "stumpId"], "树桩id"),
|
|
27317
|
+
new M([this, "intervalTime"], "动画间隔时间"),
|
|
27318
|
+
new M([this, "switchIntervalTime"], "切换间隔时间")
|
|
27310
27319
|
]
|
|
27311
27320
|
};
|
|
27312
27321
|
}
|
|
@@ -27342,7 +27351,7 @@ function ku(n, t) {
|
|
|
27342
27351
|
const e = "buffer" in n, r = e ? n.buffer : n;
|
|
27343
27352
|
return e && (t += n.byteOffset), new DataView(r).getUint32(t, !0);
|
|
27344
27353
|
}
|
|
27345
|
-
function
|
|
27354
|
+
function dg(n, t, e) {
|
|
27346
27355
|
const r = "buffer" in n, i = r ? n.buffer : n;
|
|
27347
27356
|
if (r && (t += n.byteOffset), t + e > i.byteLength) {
|
|
27348
27357
|
console.error("byteOffset + length > buffer.byteLength");
|
|
@@ -27374,7 +27383,7 @@ function W_(n, t, e) {
|
|
|
27374
27383
|
}
|
|
27375
27384
|
return new Float32Array(i, t, e);
|
|
27376
27385
|
}
|
|
27377
|
-
function
|
|
27386
|
+
function pg(n) {
|
|
27378
27387
|
if (Fu(n, 0, 4) !== "glTF") {
|
|
27379
27388
|
console.error("Not a glTF file");
|
|
27380
27389
|
return;
|
|
@@ -27409,14 +27418,14 @@ function dg(n) {
|
|
|
27409
27418
|
console.error("Invalid glTF chunk type");
|
|
27410
27419
|
return;
|
|
27411
27420
|
}
|
|
27412
|
-
const c =
|
|
27421
|
+
const c = dg(n, 20 + i + 8, u);
|
|
27413
27422
|
a.gltfBinary = c;
|
|
27414
27423
|
}
|
|
27415
27424
|
return a;
|
|
27416
27425
|
}
|
|
27417
|
-
window.parseGlb =
|
|
27418
|
-
function
|
|
27419
|
-
const t =
|
|
27426
|
+
window.parseGlb = pg;
|
|
27427
|
+
function gg(n) {
|
|
27428
|
+
const t = pg(n);
|
|
27420
27429
|
if (t === void 0 || !t.gltfBinary) return;
|
|
27421
27430
|
const e = JSON.parse(t.gltfJson);
|
|
27422
27431
|
return e.nodes.map((r) => {
|
|
@@ -27426,14 +27435,14 @@ function pg(n) {
|
|
|
27426
27435
|
var c = e.accessors[o], h = e.bufferViews[c.bufferView];
|
|
27427
27436
|
if (!t.gltfBinary) throw new Error("!glbParseResult.gltfBinary");
|
|
27428
27437
|
let d;
|
|
27429
|
-
return c.componentType === 5121 ? d =
|
|
27438
|
+
return c.componentType === 5121 ? d = dg(t.gltfBinary, h.byteOffset ?? 0, h.byteLength / 1) : c.componentType === 5123 ? d = G_(t.gltfBinary, h.byteOffset ?? 0, h.byteLength / 2) : c.componentType === 5125 && (d = q_(t.gltfBinary, h.byteOffset ?? 0, h.byteLength / 4)), {
|
|
27430
27439
|
name: r.name,
|
|
27431
27440
|
posBuffer: l,
|
|
27432
27441
|
indicesBuffer: d
|
|
27433
27442
|
};
|
|
27434
27443
|
});
|
|
27435
27444
|
}
|
|
27436
|
-
window.parseWaterGlb =
|
|
27445
|
+
window.parseWaterGlb = gg;
|
|
27437
27446
|
const Je = class Je extends nt {
|
|
27438
27447
|
/**
|
|
27439
27448
|
* 构造函数,初始化该对象并解析 URL 获取数据。
|
|
@@ -27457,7 +27466,7 @@ const Je = class Je extends nt {
|
|
|
27457
27466
|
const r = () => {
|
|
27458
27467
|
this.url != "" && fetch(this.url).then((i) => {
|
|
27459
27468
|
i.status == 200 && i.ok && i.arrayBuffer().then((s) => {
|
|
27460
|
-
this._submergingData =
|
|
27469
|
+
this._submergingData = gg(s);
|
|
27461
27470
|
const o = this._submergingData.map((a) => Date.parse(a.name)).sort();
|
|
27462
27471
|
this._allMoments = o, this.currentTime == 0 && (this.currentTime = o[0]), this.readyEvent.emit();
|
|
27463
27472
|
});
|
|
@@ -27496,13 +27505,13 @@ const Je = class Je extends nt {
|
|
|
27496
27505
|
...e.basic,
|
|
27497
27506
|
new ht([this, "url"], "Url地址", Je.defaults.url),
|
|
27498
27507
|
new qe([this, "amplitude"], 0.01, [0, 1], "振幅", Je.defaults.amplitude),
|
|
27499
|
-
new
|
|
27500
|
-
new
|
|
27508
|
+
new M([this, "frequency"], "频率", Je.defaults.frequency),
|
|
27509
|
+
new M([this, "currentTime"], "当前时间", Je.defaults.currentTime),
|
|
27501
27510
|
new $([this, "materialParams"], "材质参数", Je.defaults.materialParams),
|
|
27502
27511
|
new wt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", "river"),
|
|
27503
27512
|
new Tt([this, "waterColor"], "水的底色", Je.defaults.waterColor),
|
|
27504
27513
|
new qe([this, "waveVelocity"], 0.01, [0, 1], "波动频率", Je.defaults.waveVelocity),
|
|
27505
|
-
new
|
|
27514
|
+
new M([this, "flowSpeed"], "水流速度", Je.defaults.flowSpeed),
|
|
27506
27515
|
new qe([this, "specularIntensity"], 0.01, [0, 1], "镜面反射强度", Je.defaults.specularIntensity),
|
|
27507
27516
|
new qe([this, "murkiness"], 0.01, [0, 10], "水体浑浊度", Je.defaults.murkiness)
|
|
27508
27517
|
]
|
|
@@ -27622,13 +27631,13 @@ const Ls = class Ls extends jt {
|
|
|
27622
27631
|
...e.more,
|
|
27623
27632
|
new Tt([this, "startColor"], "起始颜色"),
|
|
27624
27633
|
new Tt([this, "endColor"], "结束颜色"),
|
|
27625
|
-
new
|
|
27626
|
-
new
|
|
27627
|
-
new
|
|
27628
|
-
new
|
|
27629
|
-
new
|
|
27630
|
-
new
|
|
27631
|
-
new
|
|
27634
|
+
new M([this, "progress"], "计算进度"),
|
|
27635
|
+
new M([this, "extrudedHeight"], "高度m"),
|
|
27636
|
+
new M([this, "height"], "底面高度"),
|
|
27637
|
+
new M([this, "sampleDistance"], "采样间距m"),
|
|
27638
|
+
new M([this, "startTime"], "起始时间,时间戳"),
|
|
27639
|
+
new M([this, "endTime"], "结束时间,时间戳"),
|
|
27640
|
+
new M([this, "spanTime"], "时间跨度,默认1小时时间戳"),
|
|
27632
27641
|
new ot([], () => this.start(), [], "开始分析"),
|
|
27633
27642
|
new ot([], () => this.stop(), [], "结束分析")
|
|
27634
27643
|
]
|
|
@@ -27707,9 +27716,9 @@ const Kr = class Kr extends Bt {
|
|
|
27707
27716
|
defaultMenu: "dataSource",
|
|
27708
27717
|
basic: [
|
|
27709
27718
|
...e.basic,
|
|
27710
|
-
new
|
|
27719
|
+
new M([this, "zIndex"], "层级序号", Kr.defaults.zIndex),
|
|
27711
27720
|
new wt([this, "renderMode"], Kr.renderModes, "渲染模式", "default"),
|
|
27712
|
-
new
|
|
27721
|
+
new M([this, "opacity"], "透明度", Kr.defaults.opacity)
|
|
27713
27722
|
],
|
|
27714
27723
|
dataSource: [
|
|
27715
27724
|
...e.dataSource,
|
|
@@ -27718,8 +27727,8 @@ const Kr = class Kr extends Bt {
|
|
|
27718
27727
|
],
|
|
27719
27728
|
more: [
|
|
27720
27729
|
...e.more,
|
|
27721
|
-
new
|
|
27722
|
-
new
|
|
27730
|
+
new M([this, "czmMinzoom"], "czmMinzoom", void 0, !0),
|
|
27731
|
+
new M([this, "czmMaxzoom"], "czmMaxzoom", void 0, !0)
|
|
27723
27732
|
]
|
|
27724
27733
|
};
|
|
27725
27734
|
}
|
|
@@ -27794,21 +27803,21 @@ const ri = class ri extends vn {
|
|
|
27794
27803
|
basic: [
|
|
27795
27804
|
...t.basic,
|
|
27796
27805
|
new Tt([this, "color"], "文本颜色", [1, 1, 1, 1]),
|
|
27797
|
-
new
|
|
27806
|
+
new M([this, "fontSize"], "文字大小", 14),
|
|
27798
27807
|
new Qd([this, "text"], "内容", ri.defaults.text, void 0, !0),
|
|
27799
27808
|
new Tt([this, "backgroundColor"], "背景颜色", ri.defaults.backgroundColor),
|
|
27800
27809
|
new li([this, "padding"], "内边距", ri.defaults.padding),
|
|
27801
27810
|
new Tt([this, "borderColor"], "边界颜色"),
|
|
27802
27811
|
new li([this, "borderRadius"], "边界圆角"),
|
|
27803
|
-
new
|
|
27812
|
+
new M([this, "borderWidth"], "边界宽度")
|
|
27804
27813
|
],
|
|
27805
27814
|
more: [
|
|
27806
27815
|
...t.more,
|
|
27807
27816
|
new st([], "czm", "czm"),
|
|
27808
27817
|
new q([this, "textEditingInteraction"], "文本编辑交互"),
|
|
27809
27818
|
new q([this, "textEditing"], "文本编辑"),
|
|
27810
|
-
new
|
|
27811
|
-
new
|
|
27819
|
+
new M([this, "width"], "宽度", ri.defaults.width, !0),
|
|
27820
|
+
new M([this, "opacity"], "透明度"),
|
|
27812
27821
|
new wt([this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]], "文字位置", "left"),
|
|
27813
27822
|
new wt(
|
|
27814
27823
|
[this, "borderStyle"],
|
|
@@ -28200,12 +28209,12 @@ const Ze = class Ze extends nt {
|
|
|
28200
28209
|
...e.basic,
|
|
28201
28210
|
new q([this, "looping"], "循环", Ze.defaults.looping),
|
|
28202
28211
|
new q([this, "showFrustum"], "视椎体", Ze.defaults.showFrustum),
|
|
28203
|
-
new
|
|
28204
|
-
new
|
|
28205
|
-
new
|
|
28206
|
-
new
|
|
28212
|
+
new M([this, "aspectRatio"], "宽高比", Ze.defaults.aspectRatio),
|
|
28213
|
+
new M([this, "fov"], "横向夹角", Ze.defaults.fov),
|
|
28214
|
+
new M([this, "far"], "视野长度", Ze.defaults.far),
|
|
28215
|
+
new M([this, "near"], "近面距离", Ze.defaults.near),
|
|
28207
28216
|
new $([this, "videoStreamUrl"], "视频路径", Ze.defaults.videoStreamUrl),
|
|
28208
|
-
new
|
|
28217
|
+
new M([this, "zIndex"], "显示优先级", Ze.defaults.zIndex),
|
|
28209
28218
|
new wt([this, "videoStreamType"], Ze.videoStreamTypes, "视频类型", "video")
|
|
28210
28219
|
],
|
|
28211
28220
|
more: [
|
|
@@ -28286,15 +28295,15 @@ const $r = class $r extends nt {
|
|
|
28286
28295
|
// 视椎体属性
|
|
28287
28296
|
new q([this, "showFrustum"], "视椎体", $r.defaults.showFrustum),
|
|
28288
28297
|
// 宽高比属性
|
|
28289
|
-
new
|
|
28298
|
+
new M([this, "aspectRatio"], "宽高比", $r.defaults.aspectRatio),
|
|
28290
28299
|
// 横向夹角属性
|
|
28291
|
-
new
|
|
28300
|
+
new M([this, "fov"], "横向夹角", $r.defaults.fov),
|
|
28292
28301
|
// 近面距离属性
|
|
28293
|
-
new
|
|
28302
|
+
new M([this, "near"], "近面距离", $r.defaults.near),
|
|
28294
28303
|
// 视野长度属性
|
|
28295
|
-
new
|
|
28304
|
+
new M([this, "far"], "视野长度", $r.defaults.far),
|
|
28296
28305
|
// 显示优先级属性
|
|
28297
|
-
new
|
|
28306
|
+
new M([this, "zIndex"], "显示优先级", $r.defaults.zIndex)
|
|
28298
28307
|
]
|
|
28299
28308
|
};
|
|
28300
28309
|
}
|
|
@@ -28370,7 +28379,7 @@ const Y_ = `
|
|
|
28370
28379
|
new ht([this, "widgetClass"]),
|
|
28371
28380
|
new ht([this, "socketName"]),
|
|
28372
28381
|
new st([], "czm", "czm"),
|
|
28373
|
-
new
|
|
28382
|
+
new M([this, "opacity"], "透明度", $i.defaults.opacity, !0)
|
|
28374
28383
|
]
|
|
28375
28384
|
};
|
|
28376
28385
|
}
|
|
@@ -28420,7 +28429,7 @@ f($i, "createDefaultProps", () => ({
|
|
|
28420
28429
|
*/
|
|
28421
28430
|
f($i, "type", $i.register("ESWidget", $i, { chsName: "部件", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ES组件" }));
|
|
28422
28431
|
let Yf = $i;
|
|
28423
|
-
const Rs = class Rs extends
|
|
28432
|
+
const Rs = class Rs extends bt {
|
|
28424
28433
|
/**
|
|
28425
28434
|
* 构造函数,初始化方位角测量对象。
|
|
28426
28435
|
* @param id - 可选参数,对象的唯一标识符。
|
|
@@ -28450,7 +28459,7 @@ const Rs = class Rs extends Pt {
|
|
|
28450
28459
|
}
|
|
28451
28460
|
};
|
|
28452
28461
|
f(Rs, "createDefaultProps", () => ({
|
|
28453
|
-
...
|
|
28462
|
+
...bt.createDefaultProps(),
|
|
28454
28463
|
// 设置线条绘制状态为 true
|
|
28455
28464
|
stroked: !0,
|
|
28456
28465
|
// 初始化线条样式
|
|
@@ -28471,14 +28480,14 @@ f(Rs, "type", Rs.register("ESDirectionMeasurement", Rs, { chsName: "方位角测
|
|
|
28471
28480
|
* 包含父类支持的编辑模式以及新增的旋转、缩放、双点追加和双点修改模式。
|
|
28472
28481
|
*/
|
|
28473
28482
|
f(Rs, "supportEditingModes", [
|
|
28474
|
-
...
|
|
28483
|
+
...bt.supportEditingModes,
|
|
28475
28484
|
Q.Rotation,
|
|
28476
28485
|
Q.Scale,
|
|
28477
28486
|
Q.DoublePointsAppend,
|
|
28478
28487
|
Q.DoublePointsModify
|
|
28479
28488
|
]);
|
|
28480
28489
|
let Hf = Rs;
|
|
28481
|
-
const
|
|
28490
|
+
const mg = `// dataSource
|
|
28482
28491
|
(dataSource) => {
|
|
28483
28492
|
if (dataSource) {
|
|
28484
28493
|
dataSource.show = true;
|
|
@@ -28506,17 +28515,9 @@ const gg = `// dataSource
|
|
|
28506
28515
|
}
|
|
28507
28516
|
`, H_ = `示例代码
|
|
28508
28517
|
\`\`\`
|
|
28509
|
-
${
|
|
28518
|
+
${mg}
|
|
28510
28519
|
\`\`\`
|
|
28511
|
-
|
|
28512
|
-
function mg(n) {
|
|
28513
|
-
try {
|
|
28514
|
-
return JSON.parse(n), !0;
|
|
28515
|
-
} catch {
|
|
28516
|
-
return !1;
|
|
28517
|
-
}
|
|
28518
|
-
}
|
|
28519
|
-
const J_ = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", bt = class bt extends Bt {
|
|
28520
|
+
`, J_ = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", Pt = class Pt extends Bt {
|
|
28520
28521
|
/**
|
|
28521
28522
|
* 构造函数
|
|
28522
28523
|
* @param {string | undefined} id - 对象的 ID,可选
|
|
@@ -28613,7 +28614,7 @@ const J_ = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", bt = class bt
|
|
|
28613
28614
|
this.features = void 0;
|
|
28614
28615
|
return;
|
|
28615
28616
|
}
|
|
28616
|
-
typeof this.url == "object" ? this.features = this.url :
|
|
28617
|
+
typeof this.url == "object" ? this.features = this.url : ep(this.url) ? this.features = JSON.parse(this.url) : await fetch(et.context.getStrFromEnv(this.url)).then((r) => r.json()).then((r) => {
|
|
28617
28618
|
this.features = r;
|
|
28618
28619
|
}).catch((r) => {
|
|
28619
28620
|
console.warn("ESEntityCluster数据加载失败", r);
|
|
@@ -28630,51 +28631,51 @@ const J_ = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", bt = class bt
|
|
|
28630
28631
|
defaultMenu: "style",
|
|
28631
28632
|
dataSource: [
|
|
28632
28633
|
...e.dataSource,
|
|
28633
|
-
new $([this, "url"], "服务地址",
|
|
28634
|
-
new
|
|
28635
|
-
new
|
|
28634
|
+
new $([this, "url"], "服务地址", Pt.defaults.url),
|
|
28635
|
+
new M([this, "minFeatureVisibleDistance"], "要素最小可视距离", Pt.defaults.minFeatureVisibleDistance),
|
|
28636
|
+
new M([this, "maxFeatureVisibleDistance"], "要素最大可视距离", Pt.defaults.maxFeatureVisibleDistance),
|
|
28636
28637
|
new wt([this, "heightReference"], [["NONE", "NONE"], ["CLAMP_TO_GROUND", "CLAMP_TO_GROUND"], ["RELATIVE_TO_GROUND", "RELATIVE_TO_GROUND"]], "高度参考")
|
|
28637
28638
|
],
|
|
28638
28639
|
style: [
|
|
28639
28640
|
...e.style,
|
|
28640
28641
|
new st([], "点样式集合"),
|
|
28641
|
-
new q([this, "textShow"], "是否显示",
|
|
28642
|
-
new xe([this, "textAnchor"], "锚点",
|
|
28643
|
-
new ht([this, "textProperty"], "标注显示属性",
|
|
28644
|
-
new ht([this, "textDefaultText"], "默认文本",
|
|
28645
|
-
new Tt([this, "textColor"], "文本颜色",
|
|
28646
|
-
new Tt([this, "textBackgroundColor"], "文本背景颜色",
|
|
28647
|
-
new ht([this, "textFontStyle"], "字体样式",
|
|
28648
|
-
new ht([this, "textFontWeight"], "字体粗细",
|
|
28649
|
-
new
|
|
28650
|
-
new xe([this, "textOffset"], "像素偏移",
|
|
28642
|
+
new q([this, "textShow"], "是否显示", Pt.defaults.textShow),
|
|
28643
|
+
new xe([this, "textAnchor"], "锚点", Pt.defaults.anchor),
|
|
28644
|
+
new ht([this, "textProperty"], "标注显示属性", Pt.defaults.textStyle.textProperty),
|
|
28645
|
+
new ht([this, "textDefaultText"], "默认文本", Pt.defaults.textStyle.defaultText),
|
|
28646
|
+
new Tt([this, "textColor"], "文本颜色", Pt.defaults.textStyle.color),
|
|
28647
|
+
new Tt([this, "textBackgroundColor"], "文本背景颜色", Pt.defaults.textStyle.backgroundColor),
|
|
28648
|
+
new ht([this, "textFontStyle"], "字体样式", Pt.defaults.textStyle.fontStyle),
|
|
28649
|
+
new ht([this, "textFontWeight"], "字体粗细", Pt.defaults.textStyle.fontWeight),
|
|
28650
|
+
new M([this, "textFontSize"], "字体大小", Pt.defaults.textStyle.fontSize),
|
|
28651
|
+
new xe([this, "textOffset"], "像素偏移", Pt.defaults.textStyle.offset),
|
|
28651
28652
|
new st([], "点图片样式集合"),
|
|
28652
|
-
new q([this, "imageShow"], "是否显示",
|
|
28653
|
-
new xe([this, "imageAnchor"], "锚点",
|
|
28654
|
-
new $([this, "imageUrl"], "图片地址",
|
|
28655
|
-
new xe([this, "imageSize"], "图片大小",
|
|
28656
|
-
new xe([this, "imageOffset"], "像素偏移",
|
|
28653
|
+
new q([this, "imageShow"], "是否显示", Pt.defaults.imageShow),
|
|
28654
|
+
new xe([this, "imageAnchor"], "锚点", Pt.defaults.imageStyle.anchor),
|
|
28655
|
+
new $([this, "imageUrl"], "图片地址", Pt.defaults.imageStyle.url),
|
|
28656
|
+
new xe([this, "imageSize"], "图片大小", Pt.defaults.imageStyle.size),
|
|
28657
|
+
new xe([this, "imageOffset"], "像素偏移", Pt.defaults.imageStyle.offset),
|
|
28657
28658
|
new st([], "线样式集合"),
|
|
28658
|
-
new q([this, "stroked"], "是否显示",
|
|
28659
|
-
new q([this, "strokeGround"], "贴地",
|
|
28660
|
-
new
|
|
28661
|
-
new wt([this, "strokeWidthType"],
|
|
28662
|
-
new Tt([this, "strokeColor"], "线颜色",
|
|
28663
|
-
new ht([this, "strokeMaterial"], "线材质",
|
|
28664
|
-
new $([this, "strokeMaterialParams"], "线材质参数",
|
|
28659
|
+
new q([this, "stroked"], "是否显示", Pt.defaults.stroked),
|
|
28660
|
+
new q([this, "strokeGround"], "贴地", Pt.defaults.strokeStyle.ground),
|
|
28661
|
+
new M([this, "strokeWidth"], "线宽", Pt.defaults.strokeStyle.width),
|
|
28662
|
+
new wt([this, "strokeWidthType"], Pt.strokeStyleWidthTypes, "线宽类型"),
|
|
28663
|
+
new Tt([this, "strokeColor"], "线颜色", Pt.defaults.strokeStyle.color),
|
|
28664
|
+
new ht([this, "strokeMaterial"], "线材质", Pt.defaults.strokeStyle.material),
|
|
28665
|
+
new $([this, "strokeMaterialParams"], "线材质参数", Pt.defaults.strokeStyle.materialParams),
|
|
28665
28666
|
new st([], "面样式集合"),
|
|
28666
|
-
new q([this, "filled"], "是否显示",
|
|
28667
|
-
new q([this, "fillGround"], "贴地",
|
|
28668
|
-
new Tt([this, "fillColor"], "填充颜色",
|
|
28669
|
-
new ht([this, "fillMaterial"], "填充材质",
|
|
28670
|
-
new $([this, "fillMaterialParams"], "填充材质参数",
|
|
28667
|
+
new q([this, "filled"], "是否显示", Pt.defaults.filled),
|
|
28668
|
+
new q([this, "fillGround"], "贴地", Pt.defaults.fillStyle.ground),
|
|
28669
|
+
new Tt([this, "fillColor"], "填充颜色", Pt.defaults.fillStyle.color),
|
|
28670
|
+
new ht([this, "fillMaterial"], "填充材质", Pt.defaults.fillStyle.material),
|
|
28671
|
+
new $([this, "fillMaterialParams"], "填充材质参数", Pt.defaults.fillStyle.materialParams)
|
|
28671
28672
|
],
|
|
28672
28673
|
more: [
|
|
28673
28674
|
...e.more,
|
|
28674
28675
|
new st([], "标注文本样式"),
|
|
28675
|
-
new ht([this, "textFontFamily"], "字体",
|
|
28676
|
+
new ht([this, "textFontFamily"], "字体", Pt.defaults.textStyle.fontFamily),
|
|
28676
28677
|
new st([], "通用"),
|
|
28677
|
-
new Ws([this, "loadFuncStr"], "loadFnStr",
|
|
28678
|
+
new Ws([this, "loadFuncStr"], "loadFnStr", mg, H_, !0)
|
|
28678
28679
|
]
|
|
28679
28680
|
};
|
|
28680
28681
|
}
|
|
@@ -29183,7 +29184,7 @@ const J_ = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", bt = class bt
|
|
|
29183
29184
|
return this.imageStyleChanged;
|
|
29184
29185
|
}
|
|
29185
29186
|
};
|
|
29186
|
-
f(
|
|
29187
|
+
f(Pt, "createDefaultProps", () => ({
|
|
29187
29188
|
/**
|
|
29188
29189
|
* 继承自 ESVisualObject 的默认属性。
|
|
29189
29190
|
*/
|
|
@@ -29390,9 +29391,9 @@ f(bt, "createDefaultProps", () => ({
|
|
|
29390
29391
|
})), /**
|
|
29391
29392
|
* 注册 ESGeoJson 类,设置其类型名称、中文名称、标签和描述信息
|
|
29392
29393
|
*/
|
|
29393
|
-
f(
|
|
29394
|
-
let ll =
|
|
29395
|
-
const As = class As extends
|
|
29394
|
+
f(Pt, "type", Pt.register("ESGeoJson", Pt, { chsName: "ESGeoJson", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "GeoJson数据加载" })), f(Pt, "strokeStyleWidthTypes", [["screen", "screen"], ["world", "world"]]);
|
|
29395
|
+
let ll = Pt;
|
|
29396
|
+
const As = class As extends bt {
|
|
29396
29397
|
/**
|
|
29397
29398
|
* 构造函数,初始化 ESHeightMeasurement 对象。
|
|
29398
29399
|
* @param id - 可选的对象 ID。
|
|
@@ -29437,7 +29438,7 @@ const As = class As extends Pt {
|
|
|
29437
29438
|
}
|
|
29438
29439
|
};
|
|
29439
29440
|
f(As, "createDefaultProps", () => ({
|
|
29440
|
-
...
|
|
29441
|
+
...bt.createDefaultProps(),
|
|
29441
29442
|
// 设置对象为可绘制线条
|
|
29442
29443
|
stroked: !0,
|
|
29443
29444
|
// 设置线条宽度为 2
|
|
@@ -29456,12 +29457,12 @@ f(As, "type", As.register("ESHeightMeasurement", As, { chsName: "高度测量",
|
|
|
29456
29457
|
* 静态属性,重写支持的编辑模式,包含 ESGeoVector 支持的模式以及新增的双点追加和双点修改模式。
|
|
29457
29458
|
*/
|
|
29458
29459
|
f(As, "supportEditingModes", [
|
|
29459
|
-
...
|
|
29460
|
+
...bt.supportEditingModes,
|
|
29460
29461
|
Q.DoublePointsAppend,
|
|
29461
29462
|
Q.DoublePointsModify
|
|
29462
29463
|
]);
|
|
29463
29464
|
let Jf = As;
|
|
29464
|
-
const
|
|
29465
|
+
const Mo = class Mo extends _s {
|
|
29465
29466
|
/**
|
|
29466
29467
|
* 构造函数,初始化圆形的属性并设置面积和周长的更新逻辑。
|
|
29467
29468
|
* @param {string} [id] 对象的 ID。
|
|
@@ -29537,19 +29538,19 @@ const Do = class Do extends _s {
|
|
|
29537
29538
|
defaultMenu: "style",
|
|
29538
29539
|
basic: [
|
|
29539
29540
|
...e.basic,
|
|
29540
|
-
new
|
|
29541
|
+
new M([this, "radius"], "圆半径", 1, !0)
|
|
29541
29542
|
],
|
|
29542
29543
|
coordinate: [
|
|
29543
29544
|
...e.coordinate,
|
|
29544
29545
|
new q([this, "editing"], "是否编辑"),
|
|
29545
29546
|
new Ha([this, "position"], "三维坐标", [0, 0, 0], !0),
|
|
29546
|
-
new
|
|
29547
|
-
new
|
|
29547
|
+
new M([this, "area"], "面积", 0, !1, !0),
|
|
29548
|
+
new M([this, "perimeter"], "周长", 0, !1, !0)
|
|
29548
29549
|
]
|
|
29549
29550
|
};
|
|
29550
29551
|
}
|
|
29551
29552
|
};
|
|
29552
|
-
f(
|
|
29553
|
+
f(Mo, "createDefaultProps", () => ({
|
|
29553
29554
|
..._s.createDefaultProps(),
|
|
29554
29555
|
/**
|
|
29555
29556
|
* 圆形的半径,使用响应式值存储 默认值 1。
|
|
@@ -29567,9 +29568,9 @@ f(Do, "createDefaultProps", () => ({
|
|
|
29567
29568
|
* 注册 ESLocalCircle 类型,设置其名称、标签和描述。
|
|
29568
29569
|
* @readonly
|
|
29569
29570
|
*/
|
|
29570
|
-
f(
|
|
29571
|
-
let Zf =
|
|
29572
|
-
const
|
|
29571
|
+
f(Mo, "type", Mo.register("ESLocalCircle", Mo, { chsName: "局部坐标圆形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESLocalCircle" }));
|
|
29572
|
+
let Zf = Mo;
|
|
29573
|
+
const Do = class Do extends _s {
|
|
29573
29574
|
/**
|
|
29574
29575
|
* 构造函数。
|
|
29575
29576
|
* @param {string} [id] - 可选的对象ID。
|
|
@@ -29594,20 +29595,20 @@ const Mo = class Mo extends _s {
|
|
|
29594
29595
|
};
|
|
29595
29596
|
}
|
|
29596
29597
|
};
|
|
29597
|
-
f(
|
|
29598
|
+
f(Do, "createDefaultProps", () => ({
|
|
29598
29599
|
..._s.createDefaultProps(),
|
|
29599
29600
|
/**
|
|
29600
29601
|
* 多边形的点数组。
|
|
29601
29602
|
*/
|
|
29602
|
-
points:
|
|
29603
|
+
points: ug([]),
|
|
29603
29604
|
filled: !0
|
|
29604
29605
|
})), /**
|
|
29605
29606
|
* 注册类的类型信息。
|
|
29606
29607
|
* @readonly
|
|
29607
29608
|
* 注册ESLocalPolygon类,包含中文名、标签和描述信息。
|
|
29608
29609
|
*/
|
|
29609
|
-
f(
|
|
29610
|
-
let cl =
|
|
29610
|
+
f(Do, "type", Do.register("ESLocalPolygon", Do, { chsName: "局部2D坐标多边形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESLocalPolygon" }));
|
|
29611
|
+
let cl = Do;
|
|
29611
29612
|
const Lo = class Lo extends fu {
|
|
29612
29613
|
/**
|
|
29613
29614
|
* 构造函数,用于创建 ESLocalPolygonZ 实例。
|
|
@@ -29664,8 +29665,8 @@ const Ro = class Ro extends _s {
|
|
|
29664
29665
|
...t,
|
|
29665
29666
|
basic: [
|
|
29666
29667
|
...t.basic,
|
|
29667
|
-
new
|
|
29668
|
-
new
|
|
29668
|
+
new M([this, "width"], "宽度"),
|
|
29669
|
+
new M([this, "height"], "高度")
|
|
29669
29670
|
]
|
|
29670
29671
|
};
|
|
29671
29672
|
}
|
|
@@ -29687,7 +29688,7 @@ f(Ro, "createDefaultProps", () => ({
|
|
|
29687
29688
|
*/
|
|
29688
29689
|
f(Ro, "type", Ro.register("ESLocalRectangle", Ro, { chsName: "局部坐标四边形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESLocalRectangle" }));
|
|
29689
29690
|
let Qf = Ro;
|
|
29690
|
-
const Si = class Si extends
|
|
29691
|
+
const Si = class Si extends bt {
|
|
29691
29692
|
/**
|
|
29692
29693
|
* 构造函数,初始化围栏对象。
|
|
29693
29694
|
* @param id 可选参数,围栏对象的唯一标识符。
|
|
@@ -29754,19 +29755,19 @@ const Si = class Si extends Pt {
|
|
|
29754
29755
|
defaultMenu: "basic",
|
|
29755
29756
|
basic: [
|
|
29756
29757
|
...e.basic,
|
|
29757
|
-
new
|
|
29758
|
-
new
|
|
29758
|
+
new M([this, "height"], "高度", 10),
|
|
29759
|
+
new M([this, "width"], "宽度", 10),
|
|
29759
29760
|
new wt([this, "materialMode"], Si.materialModes, "模式", "purple")
|
|
29760
29761
|
],
|
|
29761
29762
|
coordinate: [
|
|
29762
29763
|
...e.coordinate,
|
|
29763
|
-
new
|
|
29764
|
+
new M([this, "distance"], "距离", 0, !1, !0)
|
|
29764
29765
|
]
|
|
29765
29766
|
};
|
|
29766
29767
|
}
|
|
29767
29768
|
};
|
|
29768
29769
|
f(Si, "createDefaultProps", () => ({
|
|
29769
|
-
...
|
|
29770
|
+
...bt.createDefaultProps(),
|
|
29770
29771
|
/**
|
|
29771
29772
|
* 围栏的高度。默认10
|
|
29772
29773
|
*/
|
|
@@ -29798,7 +29799,7 @@ f(Si, "type", Si.register("ESPipeFence", Si, { chsName: "管道电子围栏", ta
|
|
|
29798
29799
|
* 静态属性,重写支持的编辑模式,包含 ESGeoVector 的编辑模式以及新增的线串追加和插入模式。
|
|
29799
29800
|
*/
|
|
29800
29801
|
f(Si, "supportEditingModes", [
|
|
29801
|
-
...
|
|
29802
|
+
...bt.supportEditingModes,
|
|
29802
29803
|
Q.LineStringAppend,
|
|
29803
29804
|
Q.LineStringInsert
|
|
29804
29805
|
]);
|
|
@@ -29887,7 +29888,7 @@ f(Ci, "createDefaultProps", () => ({
|
|
|
29887
29888
|
*/
|
|
29888
29889
|
f(Ci, "type", Ci.register("ESPipeserTileset", Ci, { chsName: "PipeSer图层", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "PipeSer图层" })), f(Ci, "colorModes", [["default", "default"], ["color", "color"], ["blend", "blend"]]);
|
|
29889
29890
|
let $f = Ci;
|
|
29890
|
-
const Ii = class Ii extends
|
|
29891
|
+
const Ii = class Ii extends bt {
|
|
29891
29892
|
/**
|
|
29892
29893
|
* 构造函数,初始化多边形电子围栏实例。
|
|
29893
29894
|
* @param id 实例的唯一标识符,可选参数。
|
|
@@ -29910,19 +29911,19 @@ const Ii = class Ii extends Pt {
|
|
|
29910
29911
|
defaultMenu: "basic",
|
|
29911
29912
|
coordinate: [
|
|
29912
29913
|
...e.coordinate,
|
|
29913
|
-
new
|
|
29914
|
-
new
|
|
29914
|
+
new M([this, "area"], "面积", 0, !1, !0),
|
|
29915
|
+
new M([this, "perimeter"], "周长", 0, !1, !0)
|
|
29915
29916
|
],
|
|
29916
29917
|
basic: [
|
|
29917
29918
|
...e.basic,
|
|
29918
|
-
new
|
|
29919
|
+
new M([this, "height"], "高度", 10),
|
|
29919
29920
|
new wt([this, "materialMode"], Ii.materialModes, "模式", "danger")
|
|
29920
29921
|
]
|
|
29921
29922
|
};
|
|
29922
29923
|
}
|
|
29923
29924
|
};
|
|
29924
29925
|
f(Ii, "createDefaultProps", () => ({
|
|
29925
|
-
...
|
|
29926
|
+
...bt.createDefaultProps(),
|
|
29926
29927
|
/**
|
|
29927
29928
|
* 多边形电子围栏的高度,默认为10。
|
|
29928
29929
|
* @type {number}
|
|
@@ -29951,13 +29952,13 @@ f(Ii, "type", Ii.register("ESPolygonFence", Ii, { chsName: "多边形电子围
|
|
|
29951
29952
|
* 支持的编辑模式列表,在父类支持的模式基础上增加了圆形追加、圆形插入和高度修改模式。
|
|
29952
29953
|
*/
|
|
29953
29954
|
f(Ii, "supportEditingModes", [
|
|
29954
|
-
...
|
|
29955
|
+
...bt.supportEditingModes,
|
|
29955
29956
|
Q.CircularAppend,
|
|
29956
29957
|
Q.CircularInsert,
|
|
29957
29958
|
Q.HeightModify
|
|
29958
29959
|
]);
|
|
29959
29960
|
let _c = Ii;
|
|
29960
|
-
const ts = class ts extends
|
|
29961
|
+
const ts = class ts extends bt {
|
|
29961
29962
|
/**
|
|
29962
29963
|
* 构造函数。
|
|
29963
29964
|
* @param {string} [id] - 对象的可选ID。
|
|
@@ -30004,18 +30005,18 @@ const ts = class ts extends Pt {
|
|
|
30004
30005
|
new st([], "通用", "通用"),
|
|
30005
30006
|
new q([this, "ground"], "是否贴地"),
|
|
30006
30007
|
new q([this, "outlineTranslucent"], "轮廓线半透明"),
|
|
30007
|
-
new
|
|
30008
|
-
new
|
|
30008
|
+
new M([this, "height"], "高度"),
|
|
30009
|
+
new M([this, "extrudedHeight"], "拉伸高度"),
|
|
30009
30010
|
new li([this, "rectangle"], "范围", ts.defaults.rectangle, !0),
|
|
30010
|
-
new
|
|
30011
|
-
new
|
|
30011
|
+
new M([this, "stRotation"], "纹理旋转角度"),
|
|
30012
|
+
new M([this, "rotation"], "旋转角度"),
|
|
30012
30013
|
new q([this, "pointEditing"], "是否单点编辑")
|
|
30013
30014
|
]
|
|
30014
30015
|
};
|
|
30015
30016
|
}
|
|
30016
30017
|
};
|
|
30017
30018
|
f(ts, "createDefaultProps", () => ({
|
|
30018
|
-
...
|
|
30019
|
+
...bt.createDefaultProps(),
|
|
30019
30020
|
/**
|
|
30020
30021
|
* 是否贴地
|
|
30021
30022
|
* @type {boolean}
|
|
@@ -30085,7 +30086,7 @@ f(ts, "type", ts.register("ESRectangle", ts, { chsName: "矩形", tags: ["ESObje
|
|
|
30085
30086
|
* 包含支持的编辑模式,扩展自父类的编辑模式。
|
|
30086
30087
|
*/
|
|
30087
30088
|
f(ts, "supportEditingModes", [
|
|
30088
|
-
...
|
|
30089
|
+
...bt.supportEditingModes,
|
|
30089
30090
|
Q.DoublePointsAppend,
|
|
30090
30091
|
Q.DoublePointsModify
|
|
30091
30092
|
]);
|
|
@@ -30200,8 +30201,8 @@ const es = class es extends jt {
|
|
|
30200
30201
|
...e.more,
|
|
30201
30202
|
new st([], "表面积测量", "表面积测量"),
|
|
30202
30203
|
new ot([], () => this.start(), [], "开始计算"),
|
|
30203
|
-
new
|
|
30204
|
-
new
|
|
30204
|
+
new M([this, "interpolation"], "插值距离", es.defaults.interpolation),
|
|
30205
|
+
new M([this, "offsetHeight"], "偏移高度", es.defaults.offsetHeight)
|
|
30205
30206
|
]
|
|
30206
30207
|
};
|
|
30207
30208
|
}
|
|
@@ -30259,7 +30260,7 @@ const rs = class rs extends nt {
|
|
|
30259
30260
|
...t,
|
|
30260
30261
|
basic: [
|
|
30261
30262
|
...t.basic,
|
|
30262
|
-
new
|
|
30263
|
+
new M([this, "downloadProgress"], "下载进度", rs.defaults.downloadProgress, !0, !0),
|
|
30263
30264
|
new $([this, "importOptions"], "导入参数", rs.defaults.importOptions, void 0, !0)
|
|
30264
30265
|
],
|
|
30265
30266
|
dataSource: [
|
|
@@ -30316,13 +30317,13 @@ const Ke = class Ke extends cl {
|
|
|
30316
30317
|
basic: [
|
|
30317
30318
|
...t.basic,
|
|
30318
30319
|
new wt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", Ke.defaults.waterType),
|
|
30319
|
-
new
|
|
30320
|
+
new M([this, "frequency"], "频率", Ke.defaults.frequency),
|
|
30320
30321
|
new qe([this, "amplitude"], 0.01, [0, 1], "振幅", Ke.defaults.amplitude),
|
|
30321
30322
|
new qe([this, "flowDirection"], 1, [0, 360], "流向", Ke.defaults.flowDirection),
|
|
30322
30323
|
new qe([this, "waveVelocity"], 0.01, [0, 1], "波动频率", Ke.defaults.waveVelocity),
|
|
30323
30324
|
new qe([this, "specularIntensity"], 0.01, [0, 1], "镜面反射强度", Ke.defaults.specularIntensity),
|
|
30324
30325
|
new qe([this, "murkiness"], 0.1, [0, 10], "水体浑浊度", Ke.defaults.murkiness),
|
|
30325
|
-
new
|
|
30326
|
+
new M([this, "flowSpeed"], "水流速度", Ke.defaults.flowSpeed),
|
|
30326
30327
|
new Tt([this, "waterColor"], "水的底色", Ke.defaults.waterColor),
|
|
30327
30328
|
new $([this, "waterImage"], "水的图片", Ke.defaults.waterImage)
|
|
30328
30329
|
]
|
|
@@ -30381,13 +30382,13 @@ const Qe = class Qe extends jt {
|
|
|
30381
30382
|
basic: [
|
|
30382
30383
|
...t.basic,
|
|
30383
30384
|
new wt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", Qe.defaults.waterType),
|
|
30384
|
-
new
|
|
30385
|
+
new M([this, "frequency"], "频率", Qe.defaults.frequency),
|
|
30385
30386
|
new qe([this, "amplitude"], 0.01, [0, 1], "振幅", Qe.defaults.amplitude),
|
|
30386
30387
|
new qe([this, "flowDirection"], 1, [0, 360], "流向", Qe.defaults.flowDirection),
|
|
30387
30388
|
new qe([this, "waveVelocity"], 0.01, [0, 1], "波动频率", Qe.defaults.waveVelocity),
|
|
30388
30389
|
new qe([this, "specularIntensity"], 0.01, [0, 1], "镜面反射强度", Qe.defaults.specularIntensity),
|
|
30389
30390
|
new qe([this, "murkiness"], 0.1, [0, 10], "水体浑浊度", Qe.defaults.murkiness),
|
|
30390
|
-
new
|
|
30391
|
+
new M([this, "flowSpeed"], "水流速度", Qe.defaults.flowSpeed),
|
|
30391
30392
|
new Tt([this, "waterColor"], "水的底色", Qe.defaults.waterColor),
|
|
30392
30393
|
new $([this, "waterImage"], "水的图片", Qe.defaults.waterImage)
|
|
30393
30394
|
]
|
|
@@ -30441,9 +30442,9 @@ const Fs = class Fs extends nt {
|
|
|
30441
30442
|
...t,
|
|
30442
30443
|
basic: [
|
|
30443
30444
|
...t.basic,
|
|
30444
|
-
new
|
|
30445
|
+
new M([this, "downloadProgress"], "下载进度", Fs.defaults.downloadProgress, !0, !0),
|
|
30445
30446
|
new ht([this, "levelName"], "levelName", ""),
|
|
30446
|
-
new
|
|
30447
|
+
new M([this, "levelLoadDistance"], "levelLoadDistance", 1e3),
|
|
30447
30448
|
new hr([this, "levelOffset"], "levelOffset", [0, 0, 0])
|
|
30448
30449
|
],
|
|
30449
30450
|
dataSource: [
|
|
@@ -30519,9 +30520,9 @@ const Lr = class Lr extends ws {
|
|
|
30519
30520
|
defaultMenu: "basic",
|
|
30520
30521
|
basic: [
|
|
30521
30522
|
...e.basic,
|
|
30522
|
-
new
|
|
30523
|
-
new
|
|
30524
|
-
new
|
|
30523
|
+
new M([this, "radius"], "半径", Lr.defaults.radius),
|
|
30524
|
+
new M([this, "sides"], "圆边数", Lr.defaults.sides),
|
|
30525
|
+
new M([this, "speed"], "材质速度", Lr.defaults.speed),
|
|
30525
30526
|
new wt([this, "materialMode"], Lr.materialModes, "材质模式", Lr.defaults.materialMode),
|
|
30526
30527
|
new $([this, "materialImage"], "材质图片和重复度", Lr.defaults.materialImage)
|
|
30527
30528
|
]
|
|
@@ -30554,7 +30555,7 @@ f(Lr, "createDefaultProps", () => ({
|
|
|
30554
30555
|
*/
|
|
30555
30556
|
f(Lr, "type", Lr.register("ESPipeline", Lr, { chsName: "管线", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESPipeline" })), f(Lr, "materialModes", [["单箭头", "singleArrow"], ["多箭头", "multipleArrows"]]);
|
|
30556
30557
|
let ad = Lr;
|
|
30557
|
-
const ni = class ni extends
|
|
30558
|
+
const ni = class ni extends bt {
|
|
30558
30559
|
/**
|
|
30559
30560
|
* 构造函数,调用父类的构造函数。
|
|
30560
30561
|
* @param id 可选的 ID 字符串。
|
|
@@ -30578,13 +30579,13 @@ const ni = class ni extends Pt {
|
|
|
30578
30579
|
...e.basic,
|
|
30579
30580
|
new Tt([this, "visibleColor"], "可视区域颜色", ni.defaults.visibleColor),
|
|
30580
30581
|
new Tt([this, "invisibleColor"], "遮挡区域颜色", ni.defaults.invisibleColor),
|
|
30581
|
-
new
|
|
30582
|
+
new M([this, "heightOffset"], "视点高度偏移", ni.defaults.heightOffset)
|
|
30582
30583
|
]
|
|
30583
30584
|
};
|
|
30584
30585
|
}
|
|
30585
30586
|
};
|
|
30586
30587
|
f(ni, "createDefaultProps", () => ({
|
|
30587
|
-
...
|
|
30588
|
+
...bt.createDefaultProps(),
|
|
30588
30589
|
/**
|
|
30589
30590
|
* 可视区域颜色,默认为绿色。[0, 1, 0, 1]
|
|
30590
30591
|
* @type {ESJColor}
|
|
@@ -30606,7 +30607,7 @@ f(ni, "type", ni.register("ESVisibilityAnalysis", ni, { chsName: "通视分析,
|
|
|
30606
30607
|
* 静态属性,重写支持的编辑模式列表,包含 ESGeoVector 支持的编辑模式以及新增的 VisibilityAppend 和 VisibilityModify 模式。
|
|
30607
30608
|
*/
|
|
30608
30609
|
f(ni, "supportEditingModes", [
|
|
30609
|
-
...
|
|
30610
|
+
...bt.supportEditingModes,
|
|
30610
30611
|
Q.VisibilityAppend,
|
|
30611
30612
|
Q.VisibilityModify
|
|
30612
30613
|
]);
|
|
@@ -30689,12 +30690,12 @@ const Fo = class Fo extends jt {
|
|
|
30689
30690
|
more: [
|
|
30690
30691
|
...e.more,
|
|
30691
30692
|
new st([], "通用", "通用"),
|
|
30692
|
-
new
|
|
30693
|
-
new
|
|
30694
|
-
new
|
|
30695
|
-
new
|
|
30696
|
-
new
|
|
30697
|
-
new
|
|
30693
|
+
new M([this, "planeHeight"], "基准面高程", void 0, !0),
|
|
30694
|
+
new M([this, "gridWidth"], "采样间距 m"),
|
|
30695
|
+
new M([this, "cutVolume"], "挖方", 0, !1, !0),
|
|
30696
|
+
new M([this, "fillVolume"], "填方", 0, !1, !0),
|
|
30697
|
+
new M([this, "cutAndFillVolume"], "挖填方", 0, !1, !0),
|
|
30698
|
+
new M([this, "progress"], "计算进度", 0, !1, !0),
|
|
30698
30699
|
new ot([], () => this.start(), [], "开始分析"),
|
|
30699
30700
|
new ot([], () => this.clear(), [], "清空分析结果"),
|
|
30700
30701
|
new q([this, "depthTest"], "是否开启深度检测")
|
|
@@ -30827,7 +30828,7 @@ const ko = class ko extends Ko {
|
|
|
30827
30828
|
basic: [
|
|
30828
30829
|
...e.basic,
|
|
30829
30830
|
new wt([this, "poiMode"], ul.modes, "poi模式", "SquareH01"),
|
|
30830
|
-
new
|
|
30831
|
+
new M([this, "poiOffsetHeight"], "poi高度偏移", 1.8)
|
|
30831
30832
|
]
|
|
30832
30833
|
};
|
|
30833
30834
|
}
|
|
@@ -30905,9 +30906,9 @@ const bn = class bn extends jt {
|
|
|
30905
30906
|
...t,
|
|
30906
30907
|
basic: [
|
|
30907
30908
|
...t.basic,
|
|
30908
|
-
new
|
|
30909
|
-
new
|
|
30910
|
-
new
|
|
30909
|
+
new M([this, "depth"], "深度", bn.defaults.depth),
|
|
30910
|
+
new M([this, "interpolation"], "插值", bn.defaults.interpolation),
|
|
30911
|
+
new M([this, "opacity"], "透明度", bn.defaults.opacity),
|
|
30911
30912
|
new $([this, "sideImage"], "侧面图片", bn.defaults.sideImage),
|
|
30912
30913
|
new $([this, "bottomImage"], "底面图片", bn.defaults.bottomImage)
|
|
30913
30914
|
]
|
|
@@ -31838,7 +31839,7 @@ const gd = {
|
|
|
31838
31839
|
new st([], "通用"),
|
|
31839
31840
|
new $([this, "url"], "路径"),
|
|
31840
31841
|
new $([this, "poiTypes"], ks.defaults.poiTypes, gd.sampleValue),
|
|
31841
|
-
new
|
|
31842
|
+
new M([this, "heightOffset"])
|
|
31842
31843
|
]
|
|
31843
31844
|
};
|
|
31844
31845
|
}
|
|
@@ -31930,8 +31931,8 @@ const ii = class ii extends jt {
|
|
|
31930
31931
|
...t,
|
|
31931
31932
|
coordinate: [
|
|
31932
31933
|
...t.coordinate,
|
|
31933
|
-
new
|
|
31934
|
-
new
|
|
31934
|
+
new M([this, "height"], "高度", ii.defaults.height, !0),
|
|
31935
|
+
new M([this, "extrudedHeight"], "拉伸高度", ii.defaults.extrudedHeight, !0),
|
|
31935
31936
|
new q([this, "perPositionHeight"], "应用每个位置高度", ii.defaults.perPositionHeight, !0)
|
|
31936
31937
|
]
|
|
31937
31938
|
};
|
|
@@ -32029,8 +32030,8 @@ const Vs = class Vs extends jt {
|
|
|
32029
32030
|
defaultMenu: "basic",
|
|
32030
32031
|
basic: [
|
|
32031
32032
|
...e.basic,
|
|
32032
|
-
new
|
|
32033
|
-
new
|
|
32033
|
+
new M([this, "height"], "高度", 10),
|
|
32034
|
+
new M([this, "maxHeight"], "最高高度", 200),
|
|
32034
32035
|
new Tt([this, "overheightColor"], "超高颜色", [1, 0, 0, 0.5]),
|
|
32035
32036
|
new Tt([this, "standardColor"], "标准颜色", [0, 1, 0, 0.5])
|
|
32036
32037
|
]
|
|
@@ -32083,7 +32084,7 @@ const xn = class xn extends Bt {
|
|
|
32083
32084
|
f(this, "_data", this.dv(U(void 0)));
|
|
32084
32085
|
{
|
|
32085
32086
|
const r = () => {
|
|
32086
|
-
this.url && (typeof this.url == "object" ? this.data = this.url :
|
|
32087
|
+
this.url && (typeof this.url == "object" ? this.data = this.url : ep(this.url) ? this.data = JSON.parse(this.url) : fetch(et.context.getStrFromEnv(this.url)).then((i) => i.json()).then((i) => {
|
|
32087
32088
|
this.data = i;
|
|
32088
32089
|
}).catch((i) => {
|
|
32089
32090
|
console.warn("ESEntityCluster数据加载失败", i);
|
|
@@ -32141,8 +32142,8 @@ const xn = class xn extends Bt {
|
|
|
32141
32142
|
basic: [
|
|
32142
32143
|
...e.basic,
|
|
32143
32144
|
new $([this, "url"], "地址", xn.defaults.url),
|
|
32144
|
-
new
|
|
32145
|
-
new
|
|
32145
|
+
new M([this, "pixelRange"], "集合范围", xn.defaults.pixelRange),
|
|
32146
|
+
new M([this, "minimumClusterSize"], "最小数量", xn.defaults.minimumClusterSize),
|
|
32146
32147
|
new wt([this, "heightReference"], [["None", "None"], ["CLAMP_TO_GROUND", "CLAMP_TO_GROUND"], ["CLAMP_TO_TERRAIN", "CLAMP_TO_TERRAIN"]], "高度模式", "None")
|
|
32147
32148
|
],
|
|
32148
32149
|
more: [
|
|
@@ -32318,7 +32319,7 @@ const Uo = class Uo extends et {
|
|
|
32318
32319
|
new Zo([this, "stopTime"]),
|
|
32319
32320
|
new q([this, "playing"]),
|
|
32320
32321
|
new q([this, "loop"]),
|
|
32321
|
-
new
|
|
32322
|
+
new M([this, "speed"])
|
|
32322
32323
|
]
|
|
32323
32324
|
};
|
|
32324
32325
|
}
|
|
@@ -32385,7 +32386,7 @@ function r0(n, t = !1) {
|
|
|
32385
32386
|
const i = e.length;
|
|
32386
32387
|
for (let s = 0; s < i; s++) {
|
|
32387
32388
|
const o = e[s][2], a = r[s][2];
|
|
32388
|
-
o === void 0 && a === void 0 ? e[s][2] = void 0 : o === void 0 ? e[s][2] = a : a === void 0 ? e[s][2] = o : e[s][2] =
|
|
32389
|
+
o === void 0 && a === void 0 ? e[s][2] = void 0 : o === void 0 ? e[s][2] = a : a === void 0 ? e[s][2] = o : e[s][2] = rp(o, a, 0.5);
|
|
32389
32390
|
}
|
|
32390
32391
|
return e;
|
|
32391
32392
|
}
|
|
@@ -32448,7 +32449,7 @@ function i0(n, t, e = "Lerp") {
|
|
|
32448
32449
|
s = u - 1;
|
|
32449
32450
|
{
|
|
32450
32451
|
const [l, c] = n[s], [h, d] = n[u], p = (t - l) / (h - l), v = df(c), E = df(d), C = Ia.lerp(v, E, p);
|
|
32451
|
-
r =
|
|
32452
|
+
r = Dm(C), o = p;
|
|
32452
32453
|
}
|
|
32453
32454
|
{
|
|
32454
32455
|
let [l, c] = _g(n, s), [h, d] = wg(n, u);
|
|
@@ -32457,7 +32458,7 @@ function i0(n, t, e = "Lerp") {
|
|
|
32457
32458
|
if (c < 0 || d >= n.length)
|
|
32458
32459
|
throw new Error("Invalid rotation index");
|
|
32459
32460
|
const p = (t - n[c][0]) / (n[d][0] - n[c][0]);
|
|
32460
|
-
i =
|
|
32461
|
+
i = rp(l, h, p);
|
|
32461
32462
|
} else l ? i = l : h ? i = h : i = void 0;
|
|
32462
32463
|
else e === "Prev" ? l && (i = l) : e === "Next" && h && (i = h);
|
|
32463
32464
|
}
|
|
@@ -33186,7 +33187,7 @@ const Go = class Go extends ws {
|
|
|
33186
33187
|
basic: [
|
|
33187
33188
|
...e.basic,
|
|
33188
33189
|
new gm([this, "timeStamps"], "时间序列", [], !0),
|
|
33189
|
-
new
|
|
33190
|
+
new M([this, "speed"], "线条流速", 1),
|
|
33190
33191
|
new wt([this, "materialMode"], [["单箭头", "singleArrow"], ["多箭头", "multipleArrows"], ["纯色", "pureColor"]], "模式", "singleArrow"),
|
|
33191
33192
|
new $([this, "rotationRadius"], "拐弯半径")
|
|
33192
33193
|
],
|
|
@@ -33199,7 +33200,7 @@ const Go = class Go extends ws {
|
|
|
33199
33200
|
};
|
|
33200
33201
|
f(Go, "createDefaultProps", () => ({
|
|
33201
33202
|
// 继承 ESGeoVector 的默认属性
|
|
33202
|
-
...
|
|
33203
|
+
...bt.createDefaultProps(),
|
|
33203
33204
|
/**
|
|
33204
33205
|
* 时间序列,为一个可能未定义的数字数组。
|
|
33205
33206
|
*/
|
|
@@ -33263,17 +33264,17 @@ const ns = class ns extends nt {
|
|
|
33263
33264
|
new st([]),
|
|
33264
33265
|
new q([this, "textEditingInteraction"], "文本编辑交互"),
|
|
33265
33266
|
new q([this, "textEditing"], "文本编辑"),
|
|
33266
|
-
new
|
|
33267
|
+
new M([this, "width"], "宽度", ns.defaults.width, !0),
|
|
33267
33268
|
new Qd([this, "text"], "内容", ns.defaults.text, void 0, !0),
|
|
33268
33269
|
new li([this, "originRatioAndOffset"], "原点比例和偏移"),
|
|
33269
|
-
new
|
|
33270
|
-
new
|
|
33270
|
+
new M([this, "opacity"], "透明度"),
|
|
33271
|
+
new M([this, "fontSize"], "字体大小"),
|
|
33271
33272
|
new Tt([this, "color"], "字体颜色"),
|
|
33272
33273
|
new Tt([this, "backgroundColor"], "背景颜色"),
|
|
33273
33274
|
new li([this, "padding"], "内边距"),
|
|
33274
33275
|
new li([this, "borderRadius"], "边框圆角"),
|
|
33275
33276
|
new Tt([this, "borderColor"], "边框颜色"),
|
|
33276
|
-
new
|
|
33277
|
+
new M([this, "borderWidth"], "边框宽度"),
|
|
33277
33278
|
new wt([this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]], "文字位置"),
|
|
33278
33279
|
new wt([this, "borderStyle"], [
|
|
33279
33280
|
["none", "none"],
|
|
@@ -33677,9 +33678,9 @@ const Nn = class Nn extends et {
|
|
|
33677
33678
|
basic: [
|
|
33678
33679
|
...e.basic,
|
|
33679
33680
|
new $([this, "data"], Nn.defaults.data, l0, "数据", !0),
|
|
33680
|
-
new $([this, "uri"], "路径", ""),
|
|
33681
|
+
new $([this, "uri"], "路径", "${earthsdk3-assets-script-dir}/assets/misc/simple.czml", void 0, !0),
|
|
33681
33682
|
new q([this, "clockEnabled"], "启用", !1),
|
|
33682
|
-
new
|
|
33683
|
+
new M([this, "multiplier"], "倍速", Nn.defaults.multiplier),
|
|
33683
33684
|
new q([this, "autoResetClock"], "自动设置时钟", !0),
|
|
33684
33685
|
new Zo([this, "startTime"], "开始时间", Nn.defaults.startTime, !0),
|
|
33685
33686
|
new Zo([this, "stopTime"], "结束时间", Nn.defaults.stopTime, !0),
|
|
@@ -33709,7 +33710,7 @@ f(Nn, "createDefaultProps", () => ({
|
|
|
33709
33710
|
/**服务路径或资源体
|
|
33710
33711
|
* @type {string | ESJResource}
|
|
33711
33712
|
*/
|
|
33712
|
-
uri:
|
|
33713
|
+
uri: void 0,
|
|
33713
33714
|
/**是否允许拾取 默认false */
|
|
33714
33715
|
allowPicking: !1,
|
|
33715
33716
|
/**数据 */
|
|
@@ -33754,7 +33755,7 @@ const Wo = class Wo extends et {
|
|
|
33754
33755
|
...t.more,
|
|
33755
33756
|
new st([]),
|
|
33756
33757
|
new q([this, "show"], "是否显示"),
|
|
33757
|
-
new
|
|
33758
|
+
new M([this, "cssSize"], "尺寸"),
|
|
33758
33759
|
new xe([this, "cssPosition"], "位置"),
|
|
33759
33760
|
new vl([this, "imgUrl"], "图片地址")
|
|
33760
33761
|
]
|
|
@@ -33805,8 +33806,8 @@ const si = class si extends et {
|
|
|
33805
33806
|
...t.more,
|
|
33806
33807
|
new st([], "通用", "通用"),
|
|
33807
33808
|
new q([this, "show"], "是否显示", si.defaults.show),
|
|
33808
|
-
new
|
|
33809
|
-
new
|
|
33809
|
+
new M([this, "height"], "高度", si.defaults.height, !0),
|
|
33810
|
+
new M([this, "fontSize"], "文字大小", si.defaults.fontSize, !0),
|
|
33810
33811
|
new Tt([this, "bgColor"], "背景颜色", si.defaults.bgColor, !0)
|
|
33811
33812
|
]
|
|
33812
33813
|
};
|
|
@@ -33857,8 +33858,8 @@ const oi = class oi extends et {
|
|
|
33857
33858
|
...t.more,
|
|
33858
33859
|
new st([], "通用", "通用"),
|
|
33859
33860
|
new q([this, "show"], "是否显示", oi.defaults.show),
|
|
33860
|
-
new
|
|
33861
|
-
new
|
|
33861
|
+
new M([this, "height"], "高度", oi.defaults.height, !0),
|
|
33862
|
+
new M([this, "fontSize"], "文字大小", oi.defaults.fontSize, !0),
|
|
33862
33863
|
new Tt([this, "bgColor"], "背景颜色", oi.defaults.bgColor, !0)
|
|
33863
33864
|
]
|
|
33864
33865
|
};
|
|
@@ -33909,7 +33910,7 @@ const Xo = class Xo extends nt {
|
|
|
33909
33910
|
basic: [
|
|
33910
33911
|
...t.basic,
|
|
33911
33912
|
new ht([this, "url"], "路径", "", !0),
|
|
33912
|
-
new
|
|
33913
|
+
new M([this, "progress"], "进度", 0, !1, !0)
|
|
33913
33914
|
]
|
|
33914
33915
|
};
|
|
33915
33916
|
}
|
|
@@ -33967,7 +33968,7 @@ f(Bs, "createDefaultProps", () => ({
|
|
|
33967
33968
|
*/
|
|
33968
33969
|
f(Bs, "type", Bs.register("ESStaticMesh", Bs, { chsName: "静态网格", tags: ["ESObjects", "_ES_Impl_UE"], description: "Unreal的Mesh对象" }));
|
|
33969
33970
|
let xd = Bs;
|
|
33970
|
-
const Yo = class Yo extends
|
|
33971
|
+
const Yo = class Yo extends bt {
|
|
33971
33972
|
/**
|
|
33972
33973
|
* 构造函数,创建 ESSkylineAnalysis 实例。
|
|
33973
33974
|
* @param {SceneObjectKey} [id] - 可选的场景对象键。
|
|
@@ -34039,15 +34040,15 @@ const Yo = class Yo extends Pt {
|
|
|
34039
34040
|
// 清除分析
|
|
34040
34041
|
new $([this, "windowPositions"], "屏幕坐标", [], void 0, !1, !0),
|
|
34041
34042
|
new $([this, "depths"], "深度值", [], void 0, !1, !0),
|
|
34042
|
-
new
|
|
34043
|
+
new M([this, "radius"], "半径", 1e4, !0)
|
|
34043
34044
|
]
|
|
34044
34045
|
};
|
|
34045
34046
|
}
|
|
34046
34047
|
};
|
|
34047
34048
|
f(Yo, "createDefaultProps", () => ({
|
|
34048
|
-
...
|
|
34049
|
+
...bt.createDefaultProps(),
|
|
34049
34050
|
/** 天际线分析结果的屏幕坐标数组 */
|
|
34050
|
-
windowPositions:
|
|
34051
|
+
windowPositions: ug([]),
|
|
34051
34052
|
// 屏幕坐标数组,用于接收分析结果
|
|
34052
34053
|
depths: ce([]),
|
|
34053
34054
|
// 深度数组,用于接收分析结果
|
|
@@ -34070,8 +34071,8 @@ const Pi = class Pi extends Bt {
|
|
|
34070
34071
|
...t.basic,
|
|
34071
34072
|
new $([this, "data"], "数据", [], void 0, !0),
|
|
34072
34073
|
new $([this, "gradient"], "渐变", Pi.defaults.gradient, void 0, !0),
|
|
34073
|
-
new
|
|
34074
|
-
new
|
|
34074
|
+
new M([this, "radius"], "半径", Pi.defaults.radius, void 0, !0),
|
|
34075
|
+
new M([this, "blur"], "模糊", Pi.defaults.blur, !0),
|
|
34075
34076
|
new q([this, "is3D"], "is3D", !1, !0)
|
|
34076
34077
|
]
|
|
34077
34078
|
};
|
|
@@ -34090,20 +34091,20 @@ f(Pi, "createDefaultProps", () => ({
|
|
|
34090
34091
|
blur: U(0.85)
|
|
34091
34092
|
})), f(Pi, "type", Pi.register("ESHeatMap", Pi, { chsName: "热力图", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "用于热力图的显示" }));
|
|
34092
34093
|
let wc = Pi;
|
|
34093
|
-
const zs = class zs extends
|
|
34094
|
+
const zs = class zs extends bt {
|
|
34094
34095
|
constructor(e) {
|
|
34095
34096
|
super(e);
|
|
34096
34097
|
f(this, "editingBindMode", "scatter");
|
|
34097
34098
|
}
|
|
34098
34099
|
};
|
|
34099
34100
|
f(zs, "createDefaultProps", () => ({
|
|
34100
|
-
...
|
|
34101
|
+
...bt.createDefaultProps(),
|
|
34101
34102
|
pointed: !0
|
|
34102
34103
|
})), f(zs, "type", zs.register("ESGeoPoints", zs, { chsName: "地理点集合", tags: ["ESObjects", "_ES_Impl_Cesium"], description: "地图中的可视化地理点集合" })), /**
|
|
34103
34104
|
* 支持的编辑模式,包含 ESVisualObject 支持的模式以及平移模式
|
|
34104
34105
|
*/
|
|
34105
34106
|
f(zs, "supportEditingModes", [
|
|
34106
|
-
...
|
|
34107
|
+
...bt.supportEditingModes,
|
|
34107
34108
|
Q.ScatterAppend,
|
|
34108
34109
|
Q.ScatterModify
|
|
34109
34110
|
]);
|
|
@@ -34146,7 +34147,7 @@ const Td = async (n, t = [], e) => {
|
|
|
34146
34147
|
...r,
|
|
34147
34148
|
points: [i, s, a]
|
|
34148
34149
|
};
|
|
34149
|
-
})),
|
|
34150
|
+
})), Md = async (n, t = [], e) => {
|
|
34150
34151
|
const r = [];
|
|
34151
34152
|
return await Promise.all(t.map(async (i) => {
|
|
34152
34153
|
const { coordinates: s } = i.geometry;
|
|
@@ -34236,7 +34237,7 @@ function $c(n, t, e, r) {
|
|
|
34236
34237
|
const l = { ...o, text: i };
|
|
34237
34238
|
Sg(n, t, l);
|
|
34238
34239
|
}
|
|
34239
|
-
function
|
|
34240
|
+
function Ma(n, t) {
|
|
34240
34241
|
const e = {
|
|
34241
34242
|
width: null,
|
|
34242
34243
|
height: null,
|
|
@@ -34251,7 +34252,7 @@ function Da(n, t) {
|
|
|
34251
34252
|
function th(n, t, e) {
|
|
34252
34253
|
const i = { ...t.symbol };
|
|
34253
34254
|
if (e && e.length > 0) {
|
|
34254
|
-
const s =
|
|
34255
|
+
const s = Ma(n, e);
|
|
34255
34256
|
for (let o in s)
|
|
34256
34257
|
i[o] !== void 0 && s[o] !== null && (i[o] = s[o]);
|
|
34257
34258
|
}
|
|
@@ -34267,7 +34268,7 @@ function eh(n, t, e) {
|
|
|
34267
34268
|
} else
|
|
34268
34269
|
u = ((c = i.find((h) => h.value == n[s])) == null ? void 0 : c.symbol) || a;
|
|
34269
34270
|
if (e && e.length > 0) {
|
|
34270
|
-
const h =
|
|
34271
|
+
const h = Ma(n, e);
|
|
34271
34272
|
for (let d in h)
|
|
34272
34273
|
u[d] !== void 0 && h[d] !== null && (u[d] = h[d]);
|
|
34273
34274
|
}
|
|
@@ -34284,7 +34285,7 @@ function rh(n, t, e) {
|
|
|
34284
34285
|
l ? a = l.symbol : a = o;
|
|
34285
34286
|
}
|
|
34286
34287
|
if (e && e.length > 0) {
|
|
34287
|
-
const l =
|
|
34288
|
+
const l = Ma(n, e);
|
|
34288
34289
|
for (let c in l)
|
|
34289
34290
|
a[c] !== void 0 && l[c] !== null && (a[c] = l[c]);
|
|
34290
34291
|
}
|
|
@@ -34368,7 +34369,7 @@ function g0(n, t, e, r) {
|
|
|
34368
34369
|
return s * p;
|
|
34369
34370
|
}
|
|
34370
34371
|
const Cg = (n, t, e) => Array.isArray(t) ? t.map((s) => n[s] ?? "").join(e) : n[t] ?? "";
|
|
34371
|
-
function
|
|
34372
|
+
function Dd(n, t) {
|
|
34372
34373
|
const r = { ...t.symbol };
|
|
34373
34374
|
return {
|
|
34374
34375
|
points: n.map((i) => i.points),
|
|
@@ -34417,7 +34418,7 @@ function Rd(n, t) {
|
|
|
34417
34418
|
}
|
|
34418
34419
|
function m0(n, t, e = []) {
|
|
34419
34420
|
const i = { ...t.symbol }, s = n.map((o) => {
|
|
34420
|
-
const a =
|
|
34421
|
+
const a = Ma(o, e);
|
|
34421
34422
|
return {
|
|
34422
34423
|
position: o.points,
|
|
34423
34424
|
rotation: a.rotation || i.rotation || [0, 0, 0],
|
|
@@ -34443,7 +34444,7 @@ function v0(n, t, e = []) {
|
|
|
34443
34444
|
if (p) {
|
|
34444
34445
|
const v = l[p.toString()];
|
|
34445
34446
|
if (v) {
|
|
34446
|
-
const E =
|
|
34447
|
+
const E = Ma(d, e);
|
|
34447
34448
|
v.locations.push({
|
|
34448
34449
|
position: d.points,
|
|
34449
34450
|
rotation: E.rotation || a.rotation || [0, 0, 0],
|
|
@@ -34482,7 +34483,7 @@ function y0(n, t, e = []) {
|
|
|
34482
34483
|
else {
|
|
34483
34484
|
const p = u.findIndex((v) => d <= v.maxValue && d >= v.minValue);
|
|
34484
34485
|
if (p !== -1) {
|
|
34485
|
-
const v =
|
|
34486
|
+
const v = Ma(h, e);
|
|
34486
34487
|
u[p].locations.push({
|
|
34487
34488
|
position: h.points,
|
|
34488
34489
|
rotation: v.rotation || o.rotation || [0, 0, 0],
|
|
@@ -34514,13 +34515,13 @@ class _0 extends Y {
|
|
|
34514
34515
|
const { visualVariables: a } = i;
|
|
34515
34516
|
if (i.symbol.type === "simple-point" && (!a || a.length == 0)) {
|
|
34516
34517
|
console.log("PointLayer:大批量点渲染!");
|
|
34517
|
-
const u =
|
|
34518
|
+
const u = Dd(o, i);
|
|
34518
34519
|
this._simplePointAllRender(u.points, u.symbol);
|
|
34519
34520
|
return;
|
|
34520
34521
|
}
|
|
34521
34522
|
if (i.symbol.type === "ESImageLabel" && (!a || a.length == 0)) {
|
|
34522
34523
|
console.log("PointLayer:大批量点渲染成图标!");
|
|
34523
|
-
const u =
|
|
34524
|
+
const u = Dd(o, i);
|
|
34524
34525
|
this._imageAllRender(u.points, u.symbol);
|
|
34525
34526
|
return;
|
|
34526
34527
|
}
|
|
@@ -34900,9 +34901,9 @@ class S0 extends Y {
|
|
|
34900
34901
|
let d = [];
|
|
34901
34902
|
if (!l && h) {
|
|
34902
34903
|
let p = await fetch(h).then((v) => v.json());
|
|
34903
|
-
return p = (p == null ? void 0 : p.features) ?? p, c === "polylineVector" ? d = await Td(r, p, u) : c === "polygonVector" ? d = await
|
|
34904
|
+
return p = (p == null ? void 0 : p.features) ?? p, c === "polylineVector" ? d = await Td(r, p, u) : c === "polygonVector" ? d = await Md(r, p, u) : c === "pointVector" && (d = await Od(r, p, u)), d;
|
|
34904
34905
|
} else
|
|
34905
|
-
c === "polylineVector" ? d = await Td(r, l, u) : c === "polygonVector" ? d = await
|
|
34906
|
+
c === "polylineVector" ? d = await Td(r, l, u) : c === "polygonVector" ? d = await Md(r, l, u) : c === "pointVector" && (d = await Od(r, l, u));
|
|
34906
34907
|
return d;
|
|
34907
34908
|
} catch (a) {
|
|
34908
34909
|
console.error(a);
|
|
@@ -35399,7 +35400,7 @@ class O0 extends Y {
|
|
|
35399
35400
|
function Bd(n, t) {
|
|
35400
35401
|
return n.length === t.length && n.every((e, r) => e === t[r]);
|
|
35401
35402
|
}
|
|
35402
|
-
class
|
|
35403
|
+
class M0 extends Y {
|
|
35403
35404
|
/**
|
|
35404
35405
|
* 构造函数。
|
|
35405
35406
|
* @param _viewer - ESViewer 实例,用于获取和设置当前时间和模拟时间。
|
|
@@ -35420,7 +35421,7 @@ class D0 extends Y {
|
|
|
35420
35421
|
// this.d(updateEvent.don(update));
|
|
35421
35422
|
// }
|
|
35422
35423
|
}
|
|
35423
|
-
class
|
|
35424
|
+
class D0 extends Y {
|
|
35424
35425
|
/**
|
|
35425
35426
|
* 构造函数。
|
|
35426
35427
|
* @param _viewer - 需要同步的 ESViewer 实例。
|
|
@@ -35844,14 +35845,14 @@ const bi = class bi extends Y {
|
|
|
35844
35845
|
f(this, "_syncEventDon", this.dv(new Te(this.syncViewerChanged, () => {
|
|
35845
35846
|
const e = this.syncViewer;
|
|
35846
35847
|
if (e)
|
|
35847
|
-
return new
|
|
35848
|
+
return new D0(this, e);
|
|
35848
35849
|
})));
|
|
35849
35850
|
/**
|
|
35850
35851
|
* 时间同步重置对象,根据时间同步变化事件进行重置。
|
|
35851
35852
|
*/
|
|
35852
35853
|
f(this, "_timeSyncdon", this.dv(new Te(this.timeSyncChanged, () => {
|
|
35853
35854
|
if (this.timeSync)
|
|
35854
|
-
return new
|
|
35855
|
+
return new M0(this);
|
|
35855
35856
|
})));
|
|
35856
35857
|
/**
|
|
35857
35858
|
* 鼠标悬停事件。
|
|
@@ -37346,7 +37347,7 @@ f(Gs, "setEnv", et.context.setEnv.bind(et.context));
|
|
|
37346
37347
|
})(Gs || (Gs = {}));
|
|
37347
37348
|
qi(Gs.prototype, Gs.createDefaultProps);
|
|
37348
37349
|
export {
|
|
37349
|
-
|
|
37350
|
+
ag as BasePropTreeItem,
|
|
37350
37351
|
hw as Boolean2Property,
|
|
37351
37352
|
pw as Boolean2sProperty,
|
|
37352
37353
|
fw as Boolean3Property,
|
|
@@ -37387,9 +37388,9 @@ export {
|
|
|
37387
37388
|
al as ESExcavate,
|
|
37388
37389
|
Fd as ESFeatureLayer,
|
|
37389
37390
|
Of as ESFireParticleSystem,
|
|
37390
|
-
|
|
37391
|
+
Mf as ESForestTileset,
|
|
37391
37392
|
bd as ESGaussianSplatting,
|
|
37392
|
-
|
|
37393
|
+
Df as ESGeoDiv,
|
|
37393
37394
|
wd as ESGeoDivTextPoi,
|
|
37394
37395
|
Ca as ESGeoExtrudedPolygon,
|
|
37395
37396
|
ll as ESGeoJson,
|
|
@@ -37397,7 +37398,7 @@ export {
|
|
|
37397
37398
|
hl as ESGeoPoints,
|
|
37398
37399
|
jt as ESGeoPolygon,
|
|
37399
37400
|
Lf as ESGeoRectangle,
|
|
37400
|
-
|
|
37401
|
+
bt as ESGeoVector,
|
|
37401
37402
|
sd as ESGeoWater,
|
|
37402
37403
|
oo as ESGltfModel,
|
|
37403
37404
|
wc as ESHeatMap,
|
|
@@ -37490,7 +37491,7 @@ export {
|
|
|
37490
37491
|
li as Number4Property,
|
|
37491
37492
|
lw as Number4WithUndefinedProperty,
|
|
37492
37493
|
cw as Number4sProperty,
|
|
37493
|
-
|
|
37494
|
+
M as NumberProperty,
|
|
37494
37495
|
Iw as NumberRangeProperty,
|
|
37495
37496
|
qe as NumberSliderProperty,
|
|
37496
37497
|
rw as NumbersProperty,
|
|
@@ -37508,7 +37509,7 @@ export {
|
|
|
37508
37509
|
qs as Property,
|
|
37509
37510
|
St as ReactVarProperty,
|
|
37510
37511
|
$d as RotationProperty,
|
|
37511
|
-
|
|
37512
|
+
np as SceneObjectFromId,
|
|
37512
37513
|
ol as SceneTree,
|
|
37513
37514
|
x_ as SceneTreeContextMenu,
|
|
37514
37515
|
lr as SceneTreeItem,
|
|
@@ -37545,18 +37546,18 @@ export {
|
|
|
37545
37546
|
v_ as createPropTreeFromSceneObject,
|
|
37546
37547
|
j_ as cutDownTreesCallFunc,
|
|
37547
37548
|
Tw as defaultInitSceneObjectOnCreatingFunc,
|
|
37548
|
-
|
|
37549
|
+
lg as defaultLight122FromEnvironmentMapManager,
|
|
37549
37550
|
Nw as defaultUpdateSceneObjectOnPickingFunc,
|
|
37550
37551
|
Hg as destroyObject,
|
|
37551
37552
|
tw as downloadLink,
|
|
37552
37553
|
mf as equalsN3,
|
|
37553
37554
|
zw as geoAlong,
|
|
37554
|
-
|
|
37555
|
+
ap as geoArea,
|
|
37555
37556
|
c_ as geoBuffer,
|
|
37556
37557
|
jw as geoCenterOfMass,
|
|
37557
37558
|
rv as geoDestination,
|
|
37558
37559
|
h_ as geoDifference,
|
|
37559
|
-
|
|
37560
|
+
Dc as geoDistance,
|
|
37560
37561
|
_l as geoHeading,
|
|
37561
37562
|
u_ as geoIntersect,
|
|
37562
37563
|
Uw as geoLineIntersect,
|
|
@@ -37580,26 +37581,27 @@ export {
|
|
|
37580
37581
|
Hi as hasSameViewerTags,
|
|
37581
37582
|
Rw as inOrderRunning,
|
|
37582
37583
|
J0 as interval,
|
|
37583
|
-
|
|
37584
|
+
ep as isJSON,
|
|
37585
|
+
Dw as isXML,
|
|
37584
37586
|
kw as lbhToWebMerc,
|
|
37585
37587
|
Li as lbhToXyz,
|
|
37586
37588
|
Vl as lerpAngle,
|
|
37587
|
-
|
|
37589
|
+
rp as lerpRotation,
|
|
37588
37590
|
y_ as map,
|
|
37589
37591
|
rm as nextAnimateFrame,
|
|
37590
37592
|
Q0 as nextMicroTask,
|
|
37591
37593
|
$g as oneTimeWarning,
|
|
37592
37594
|
Kw as optionsStr,
|
|
37593
|
-
|
|
37595
|
+
ug as reactPosition2Ds,
|
|
37594
37596
|
Hw as registerCreatedEventUpdate,
|
|
37595
37597
|
Jg as registerEventCtor,
|
|
37596
37598
|
Jw as registerEventUpdate,
|
|
37597
37599
|
B_ as removeAllTreesCallFunc,
|
|
37598
|
-
|
|
37600
|
+
Mw as rpToap,
|
|
37599
37601
|
$0 as saveOnBrowser,
|
|
37600
37602
|
kl as setSceneObjectTreeItem,
|
|
37601
37603
|
Z0 as timeout,
|
|
37602
37604
|
z_ as updateTreeParamsCallFunc,
|
|
37603
37605
|
Vw as webMercToLbh,
|
|
37604
|
-
|
|
37606
|
+
Dm as xyzToLbh
|
|
37605
37607
|
};
|