earthsdk3 3.2.0-beta.7 → 3.2.0
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 +16 -16
- package/dist/earthsdk3.js +677 -677
- package/dist/earthsdk3.umd.cjs +19 -19
- package/package.json +1 -1
package/dist/earthsdk3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Xd = Object.defineProperty;
|
|
2
2
|
var Yd = (n, e, t) => e in n ? Xd(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var f = (n, e, t) => Yd(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { Destroyable as ae, Event as V, reactJson as Ue, getReactFuncs as wo, react as Q, setExtProp as nu, createGuid as lh, getExtProp as ta, ObservableSet as Hd, ReactiveVariable as Ju, createAnimateFrame as uh, reactArrayWithUndefined as Mt, extendClassProps as U, ObjResettingWithEvent as
|
|
4
|
+
import { Destroyable as ae, Event as V, reactJson as Ue, getReactFuncs as wo, react as Q, setExtProp as nu, createGuid as lh, getExtProp as ta, ObservableSet as Hd, ReactiveVariable as Ju, createAnimateFrame as uh, reactArrayWithUndefined as Mt, extendClassProps as U, ObjResettingWithEvent as lr, reactDeepArrayWithUndefined as ch, min as Dc, objsIterator as Yo, max as Oc, Vector as jl, reactJsonWithUndefined as et, TreeItem as fp, bind as ce, every as Jd, createTimeoutWithStartValues as Zd, Tree as tu, createProcessingFromAsyncFunc as hh, CancelError as Kd, ObservableArray as pp, Player as Qd, createNextAnimateFrameEvent as nr, SceneObjectWithId as $d, clamp as dp, pluckProperty as Gh, reactDeepArray as eg, reactPositions as fh, reactArray as ge, nextAnimateFrame as tg, sleep as gp, reactArrayCollectionWithUndefined as rg, reactPositionsSet as ng, track as z, length as ig, DomElementEvent as gs, PointerClick as sg, PointerHover as og, getDomEventCurrentTargetPos as ms } from "xbsj-base";
|
|
5
5
|
import * as Mc from "@turf/turf";
|
|
6
6
|
import mp from "proj4";
|
|
7
7
|
class ag extends ae {
|
|
@@ -122,7 +122,7 @@ class lg extends ae {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
const
|
|
125
|
+
const vn = class vn extends ae {
|
|
126
126
|
/**
|
|
127
127
|
* 构造一个新的引擎对象实例。
|
|
128
128
|
*
|
|
@@ -139,7 +139,7 @@ const yn = class yn extends ae {
|
|
|
139
139
|
/**
|
|
140
140
|
* 引擎对象的唯一 ID。
|
|
141
141
|
*/
|
|
142
|
-
f(this, "_id", ++
|
|
142
|
+
f(this, "_id", ++vn._accumId);
|
|
143
143
|
this._sceneObject = t, this._viewer = r;
|
|
144
144
|
{
|
|
145
145
|
if (i) return;
|
|
@@ -181,20 +181,20 @@ const yn = class yn extends ae {
|
|
|
181
181
|
/**
|
|
182
182
|
* 引擎对象的全局上下文实例,用于注册非编辑模式下的引擎对象。
|
|
183
183
|
*/
|
|
184
|
-
f(
|
|
184
|
+
f(vn, "context", new ag()), /**
|
|
185
185
|
* 编辑模式下引擎对象的全局上下文实例,用于注册编辑模式下的引擎对象。
|
|
186
186
|
*/
|
|
187
|
-
f(
|
|
187
|
+
f(vn, "contextEditing", new lg()), /**
|
|
188
188
|
* 注册非编辑模式下的引擎对象到全局上下文的方法。
|
|
189
189
|
*/
|
|
190
|
-
f(
|
|
190
|
+
f(vn, "register", vn.context.register.bind(vn.context)), /**
|
|
191
191
|
* 注册编辑模式下的引擎对象到全局上下文的方法。
|
|
192
192
|
*/
|
|
193
|
-
f(
|
|
193
|
+
f(vn, "registerEditing", vn.contextEditing.register.bind(vn.contextEditing)), /**
|
|
194
194
|
* 用于生成唯一 ID 的累加器。
|
|
195
195
|
*/
|
|
196
|
-
f(
|
|
197
|
-
let ra =
|
|
196
|
+
f(vn, "_accumId", -1);
|
|
197
|
+
let ra = vn;
|
|
198
198
|
const dc = class dc extends ae {
|
|
199
199
|
constructor(t, r) {
|
|
200
200
|
super();
|
|
@@ -393,7 +393,7 @@ class e_ extends E {
|
|
|
393
393
|
return "DashPatternProperty";
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class X extends xe {
|
|
397
397
|
constructor(e, t, r, i, s, o, a) {
|
|
398
398
|
super(e, t, r, i, s, a), this._enums = o;
|
|
399
399
|
}
|
|
@@ -1570,7 +1570,7 @@ class Eg extends ae {
|
|
|
1570
1570
|
* @param createFunc - 用于创建关联对象的函数。
|
|
1571
1571
|
*/
|
|
1572
1572
|
constructor(e, t) {
|
|
1573
|
-
super(), this.dv(new
|
|
1573
|
+
super(), this.dv(new lr(e.subContainerChanged, () => {
|
|
1574
1574
|
if (e.subContainer)
|
|
1575
1575
|
return t(e, e.subContainer);
|
|
1576
1576
|
}));
|
|
@@ -1593,22 +1593,22 @@ function l_(n, e) {
|
|
|
1593
1593
|
const t = Mc.point(e), r = Mc.polygon([n]);
|
|
1594
1594
|
return Mc.booleanPointInPolygon(t, r);
|
|
1595
1595
|
}
|
|
1596
|
-
var
|
|
1597
|
-
centimeters:
|
|
1598
|
-
centimetres:
|
|
1599
|
-
degrees:
|
|
1600
|
-
feet:
|
|
1601
|
-
inches:
|
|
1602
|
-
kilometers:
|
|
1603
|
-
kilometres:
|
|
1604
|
-
meters:
|
|
1605
|
-
metres:
|
|
1606
|
-
miles:
|
|
1607
|
-
millimeters:
|
|
1608
|
-
millimetres:
|
|
1609
|
-
nauticalmiles:
|
|
1596
|
+
var er = 63710088e-1, wp = {
|
|
1597
|
+
centimeters: er * 100,
|
|
1598
|
+
centimetres: er * 100,
|
|
1599
|
+
degrees: er / 111325,
|
|
1600
|
+
feet: er * 3.28084,
|
|
1601
|
+
inches: er * 39.37,
|
|
1602
|
+
kilometers: er / 1e3,
|
|
1603
|
+
kilometres: er / 1e3,
|
|
1604
|
+
meters: er,
|
|
1605
|
+
metres: er,
|
|
1606
|
+
miles: er / 1609.344,
|
|
1607
|
+
millimeters: er * 1e3,
|
|
1608
|
+
millimetres: er * 1e3,
|
|
1609
|
+
nauticalmiles: er / 1852,
|
|
1610
1610
|
radians: 1,
|
|
1611
|
-
yards:
|
|
1611
|
+
yards: er * 1.0936
|
|
1612
1612
|
};
|
|
1613
1613
|
function Zn(n, e, t) {
|
|
1614
1614
|
t === void 0 && (t = {});
|
|
@@ -1686,7 +1686,7 @@ function Zu(n) {
|
|
|
1686
1686
|
var e = n % (2 * Math.PI);
|
|
1687
1687
|
return e * 180 / Math.PI;
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function ur(n) {
|
|
1690
1690
|
var e = n % 360;
|
|
1691
1691
|
return e * Math.PI / 180;
|
|
1692
1692
|
}
|
|
@@ -1731,7 +1731,7 @@ function Hh(n, e, t) {
|
|
|
1731
1731
|
if (!n.geometry || n.geometry.type !== e)
|
|
1732
1732
|
throw new Error("Invalid input to " + t + ": must be a " + e + ", given " + n.geometry.type);
|
|
1733
1733
|
}
|
|
1734
|
-
function
|
|
1734
|
+
function sn(n) {
|
|
1735
1735
|
return n.type === "Feature" ? n.geometry : n;
|
|
1736
1736
|
}
|
|
1737
1737
|
function Cg(n, e) {
|
|
@@ -1740,7 +1740,7 @@ function Cg(n, e) {
|
|
|
1740
1740
|
function Su(n, e, t) {
|
|
1741
1741
|
if (t === void 0 && (t = {}), t.final === !0)
|
|
1742
1742
|
return Pg(n, e);
|
|
1743
|
-
var r = Er(n), i = Er(e), s =
|
|
1743
|
+
var r = Er(n), i = Er(e), s = ur(r[0]), o = ur(i[0]), a = ur(r[1]), l = ur(i[1]), u = Math.sin(o - s) * Math.cos(l), c = Math.cos(a) * Math.sin(l) - Math.sin(a) * Math.cos(l) * Math.cos(o - s);
|
|
1744
1744
|
return Zu(Math.atan2(u, c));
|
|
1745
1745
|
}
|
|
1746
1746
|
function Pg(n, e) {
|
|
@@ -1749,17 +1749,17 @@ function Pg(n, e) {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
function ia(n, e, t, r) {
|
|
1751
1751
|
r === void 0 && (r = {});
|
|
1752
|
-
var i = Er(n), s =
|
|
1752
|
+
var i = Er(n), s = ur(i[0]), o = ur(i[1]), a = ur(t), l = mh(e, r.units), u = Math.asin(Math.sin(o) * Math.cos(l) + Math.cos(o) * Math.sin(l) * Math.cos(a)), c = s + Math.atan2(Math.sin(a) * Math.sin(l) * Math.cos(o), Math.cos(l) - Math.sin(o) * Math.sin(u)), h = Zu(c), p = Zu(u);
|
|
1753
1753
|
return Ze([h, p], r.properties);
|
|
1754
1754
|
}
|
|
1755
1755
|
function Yi(n, e, t) {
|
|
1756
1756
|
t === void 0 && (t = {});
|
|
1757
|
-
var r = Er(n), i = Er(e), s =
|
|
1757
|
+
var r = Er(n), i = Er(e), s = ur(i[1] - r[1]), o = ur(i[0] - r[0]), a = ur(r[1]), l = ur(i[1]), u = Math.pow(Math.sin(s / 2), 2) + Math.pow(Math.sin(o / 2), 2) * Math.cos(a) * Math.cos(l);
|
|
1758
1758
|
return gh(2 * Math.atan2(Math.sqrt(u), Math.sqrt(1 - u)), t.units);
|
|
1759
1759
|
}
|
|
1760
1760
|
function Ig(n, e, t) {
|
|
1761
1761
|
t === void 0 && (t = {});
|
|
1762
|
-
for (var r =
|
|
1762
|
+
for (var r = sn(n), i = r.coordinates, s = 0, o = 0; o < i.length && !(e >= s && o === i.length - 1); o++)
|
|
1763
1763
|
if (s >= e) {
|
|
1764
1764
|
var a = e - s;
|
|
1765
1765
|
if (a) {
|
|
@@ -2087,7 +2087,7 @@ function Cp() {
|
|
|
2087
2087
|
(function S(I, x, D, b, T) {
|
|
2088
2088
|
for (; b > D; ) {
|
|
2089
2089
|
if (b - D > 600) {
|
|
2090
|
-
var M = b - D + 1, A = x - D + 1, $ = Math.log(M),
|
|
2090
|
+
var M = b - D + 1, A = x - D + 1, $ = Math.log(M), q = 0.5 * Math.exp(2 * $ / 3), ie = 0.5 * Math.sqrt($ * q * (M - q) / M) * (A - M / 2 < 0 ? -1 : 1), fe = Math.max(D, Math.floor(x - A * q / M + ie)), ye = Math.min(b, Math.floor(x + (M - A) * q / M + ie));
|
|
2091
2091
|
S(I, x, fe, ye, T);
|
|
2092
2092
|
}
|
|
2093
2093
|
var H = I[x], ee = D, te = b;
|
|
@@ -2264,7 +2264,7 @@ function Cp() {
|
|
|
2264
2264
|
this.data = P([g, y]), this.data.height = g.height + 1, this.data.leaf = !1, a(this.data, this.toBBox);
|
|
2265
2265
|
}, s.prototype._chooseSplitIndex = function(g, y, d) {
|
|
2266
2266
|
for (var v, w, S, I, x, D, b, T = 1 / 0, M = 1 / 0, A = y; A <= d - y; A++) {
|
|
2267
|
-
var $ = l(g, 0, A, this.toBBox),
|
|
2267
|
+
var $ = l(g, 0, A, this.toBBox), q = l(g, A, d, this.toBBox), ie = (w = $, S = q, I = void 0, x = void 0, D = void 0, b = void 0, I = Math.max(w.minX, S.minX), x = Math.max(w.minY, S.minY), D = Math.min(w.maxX, S.maxX), b = Math.min(w.maxY, S.maxY), Math.max(0, D - I) * Math.max(0, b - x)), fe = p($) + p(q);
|
|
2268
2268
|
ie < T ? (T = ie, v = A, M = fe < M ? fe : M) : ie === T && fe < M && (M = fe, v = A);
|
|
2269
2269
|
}
|
|
2270
2270
|
return v || d - y;
|
|
@@ -2391,7 +2391,7 @@ function Bg() {
|
|
|
2391
2391
|
if (v === 0 || w === 0 || v > 0 != w > 0) return S;
|
|
2392
2392
|
const I = Math.abs(v + w);
|
|
2393
2393
|
return Math.abs(S) >= a * I ? S : -function(x, D, b, T, M, A, $) {
|
|
2394
|
-
let
|
|
2394
|
+
let q, ie, fe, ye, H, ee, te, Se, Re, Te, Ne, ze, mt, ct, Dr, Or, ui, Mr;
|
|
2395
2395
|
const Lr = x - M, Rr = b - M, Vn = D - A, zn = T - A;
|
|
2396
2396
|
H = (Dr = (Se = Lr - (te = (ee = 134217729 * Lr) - (ee - Lr))) * (Te = zn - (Re = (ee = 134217729 * zn) - (ee - zn))) - ((ct = Lr * zn) - te * Re - Se * Re - te * Te)) - (Ne = Dr - (ui = (Se = Vn - (te = (ee = 134217729 * Vn) - (ee - Vn))) * (Te = Rr - (Re = (ee = 134217729 * Rr) - (ee - Rr))) - ((Or = Vn * Rr) - te * Re - Se * Re - te * Te))), c[0] = Dr - (Ne + H) + (H - ui), H = (mt = ct - ((ze = ct + Ne) - (H = ze - ct)) + (Ne - H)) - (Ne = mt - Or), c[1] = mt - (Ne + H) + (H - Or), H = (Mr = ze + Ne) - ze, c[2] = ze - (Mr - H) + (Ne - H), c[3] = Mr;
|
|
2397
2397
|
let ds = function(qd, jh) {
|
|
@@ -2399,12 +2399,12 @@ function Bg() {
|
|
|
2399
2399
|
for (let Nc = 1; Nc < qd; Nc++) Uh += jh[Nc];
|
|
2400
2400
|
return Uh;
|
|
2401
2401
|
}(4, c), Hl = l * $;
|
|
2402
|
-
if (ds >= Hl || -ds >= Hl || (
|
|
2403
|
-
H = (Dr = (Se =
|
|
2402
|
+
if (ds >= Hl || -ds >= Hl || (q = x - (Lr + (H = x - Lr)) + (H - M), fe = b - (Rr + (H = b - Rr)) + (H - M), ie = D - (Vn + (H = D - Vn)) + (H - A), ye = T - (zn + (H = T - zn)) + (H - A), q === 0 && ie === 0 && fe === 0 && ye === 0) || (Hl = u * $ + i * Math.abs(ds), (ds += Lr * ye + zn * q - (Vn * fe + Rr * ie)) >= Hl || -ds >= Hl)) return ds;
|
|
2403
|
+
H = (Dr = (Se = q - (te = (ee = 134217729 * q) - (ee - q))) * (Te = zn - (Re = (ee = 134217729 * zn) - (ee - zn))) - ((ct = q * zn) - te * Re - Se * Re - te * Te)) - (Ne = Dr - (ui = (Se = ie - (te = (ee = 134217729 * ie) - (ee - ie))) * (Te = Rr - (Re = (ee = 134217729 * Rr) - (ee - Rr))) - ((Or = ie * Rr) - te * Re - Se * Re - te * Te))), _[0] = Dr - (Ne + H) + (H - ui), H = (mt = ct - ((ze = ct + Ne) - (H = ze - ct)) + (Ne - H)) - (Ne = mt - Or), _[1] = mt - (Ne + H) + (H - Or), H = (Mr = ze + Ne) - ze, _[2] = ze - (Mr - H) + (Ne - H), _[3] = Mr;
|
|
2404
2404
|
const Ud = s(4, c, 4, _, h);
|
|
2405
2405
|
H = (Dr = (Se = Lr - (te = (ee = 134217729 * Lr) - (ee - Lr))) * (Te = ye - (Re = (ee = 134217729 * ye) - (ee - ye))) - ((ct = Lr * ye) - te * Re - Se * Re - te * Te)) - (Ne = Dr - (ui = (Se = Vn - (te = (ee = 134217729 * Vn) - (ee - Vn))) * (Te = fe - (Re = (ee = 134217729 * fe) - (ee - fe))) - ((Or = Vn * fe) - te * Re - Se * Re - te * Te))), _[0] = Dr - (Ne + H) + (H - ui), H = (mt = ct - ((ze = ct + Ne) - (H = ze - ct)) + (Ne - H)) - (Ne = mt - Or), _[1] = mt - (Ne + H) + (H - Or), H = (Mr = ze + Ne) - ze, _[2] = ze - (Mr - H) + (Ne - H), _[3] = Mr;
|
|
2406
2406
|
const Gd = s(Ud, h, 4, _, p);
|
|
2407
|
-
H = (Dr = (Se =
|
|
2407
|
+
H = (Dr = (Se = q - (te = (ee = 134217729 * q) - (ee - q))) * (Te = ye - (Re = (ee = 134217729 * ye) - (ee - ye))) - ((ct = q * ye) - te * Re - Se * Re - te * Te)) - (Ne = Dr - (ui = (Se = ie - (te = (ee = 134217729 * ie) - (ee - ie))) * (Te = fe - (Re = (ee = 134217729 * fe) - (ee - fe))) - ((Or = ie * fe) - te * Re - Se * Re - te * Te))), _[0] = Dr - (Ne + H) + (H - ui), H = (mt = ct - ((ze = ct + Ne) - (H = ze - ct)) + (Ne - H)) - (Ne = mt - Or), _[1] = mt - (Ne + H) + (H - Or), H = (Mr = ze + Ne) - ze, _[2] = ze - (Mr - H) + (Ne - H), _[3] = Mr;
|
|
2408
2408
|
const Wd = s(Gd, p, 4, _, m);
|
|
2409
2409
|
return m[Wd - 1];
|
|
2410
2410
|
}(C, P, O, g, y, d, I);
|
|
@@ -2442,18 +2442,18 @@ function jg() {
|
|
|
2442
2442
|
var M = new n(16);
|
|
2443
2443
|
for (D = 0; D < x.length; D++) M.insert(p(x[D]));
|
|
2444
2444
|
for (var A = v * v, $ = w * w; x.length; ) {
|
|
2445
|
-
var
|
|
2445
|
+
var q = x.shift(), ie = q.p, fe = q.next.p, ye = C(ie, fe);
|
|
2446
2446
|
if (!(ye < $)) {
|
|
2447
2447
|
var H = ye / A;
|
|
2448
|
-
T = s(I,
|
|
2448
|
+
T = s(I, q.prev.p, ie, fe, q.next.next.p, H, M), T && Math.min(C(T, ie), C(T, fe)) <= H && (x.push(q), x.push(_(T, q)), I.remove(T), M.remove(q), M.insert(p(q)), M.insert(p(q.next)));
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
|
-
|
|
2451
|
+
q = b;
|
|
2452
2452
|
var ee = [];
|
|
2453
2453
|
do
|
|
2454
|
-
ee.push(
|
|
2455
|
-
while (
|
|
2456
|
-
return ee.push(
|
|
2454
|
+
ee.push(q.p), q = q.next;
|
|
2455
|
+
while (q !== b);
|
|
2456
|
+
return ee.push(q.p), ee;
|
|
2457
2457
|
}
|
|
2458
2458
|
function s(d, v, w, S, I, x, D) {
|
|
2459
2459
|
for (var b = new e([], o), T = d.data; T; ) {
|
|
@@ -2465,8 +2465,8 @@ function jg() {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
}
|
|
2467
2467
|
for (; b.length && !b.peek().node.children; ) {
|
|
2468
|
-
var
|
|
2469
|
-
if (
|
|
2468
|
+
var q = b.pop(), ie = q.node, fe = P(ie, v, w), ye = P(ie, S, I);
|
|
2469
|
+
if (q.dist < fe && q.dist < ye && u(w, ie, D) && u(S, ie, D)) return ie;
|
|
2470
2470
|
}
|
|
2471
2471
|
T = b.pop(), T && (T = T.node);
|
|
2472
2472
|
}
|
|
@@ -2539,7 +2539,7 @@ function jg() {
|
|
|
2539
2539
|
return x = d[0] - S, D = d[1] - I, x * x + D * D;
|
|
2540
2540
|
}
|
|
2541
2541
|
function O(d, v, w, S, I, x, D, b) {
|
|
2542
|
-
var T = w - d, M = S - v, A = D - I, $ = b - x,
|
|
2542
|
+
var T = w - d, M = S - v, A = D - I, $ = b - x, q = d - I, ie = v - x, fe = T * T + M * M, ye = T * A + M * $, H = A * A + $ * $, ee = T * q + M * ie, te = A * q + $ * ie, Se = fe * H - ye * ye, Re, Te, Ne, ze, mt = Se, ct = Se;
|
|
2543
2543
|
Se === 0 ? (Te = 0, mt = 1, ze = te, ct = H) : (Te = ye * te - H * ee, ze = fe * te - ye * ee, Te < 0 ? (Te = 0, ze = te, ct = H) : Te > mt && (Te = mt, ze = te + ye, ct = H)), ze < 0 ? (ze = 0, -ee < 0 ? Te = 0 : -ee > fe ? Te = mt : (Te = -ee, mt = fe)) : ze > ct && (ze = ct, -ee + ye < 0 ? Te = 0 : -ee + ye > fe ? Te = mt : (Te = -ee + ye, mt = fe)), Re = Te === 0 ? 0 : Te / mt, Ne = ze === 0 ? 0 : ze / ct;
|
|
2544
2544
|
var Dr = (1 - Re) * d + Re * w, Or = (1 - Re) * v + Re * S, ui = (1 - Ne) * I + Ne * D, Mr = (1 - Ne) * x + Ne * b, Lr = ui - Dr, Rr = Mr - Or;
|
|
2545
2545
|
return Lr * Lr + Rr * Rr;
|
|
@@ -2759,11 +2759,11 @@ function bp() {
|
|
|
2759
2759
|
function s(b, T, M) {
|
|
2760
2760
|
M === void 0 && (M = {});
|
|
2761
2761
|
for (var A = 0, $ = b; A < $.length; A++) {
|
|
2762
|
-
var
|
|
2763
|
-
if (
|
|
2762
|
+
var q = $[A];
|
|
2763
|
+
if (q.length < 4)
|
|
2764
2764
|
throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");
|
|
2765
|
-
for (var ie = 0; ie <
|
|
2766
|
-
if (
|
|
2765
|
+
for (var ie = 0; ie < q[q.length - 1].length; ie++)
|
|
2766
|
+
if (q[q.length - 1][ie] !== q[0][ie])
|
|
2767
2767
|
throw new Error("First and last Position are not equivalent.");
|
|
2768
2768
|
}
|
|
2769
2769
|
var fe = {
|
|
@@ -2934,8 +2934,8 @@ function xp() {
|
|
|
2934
2934
|
var n = /* @__PURE__ */ bp();
|
|
2935
2935
|
function e(g, y, d) {
|
|
2936
2936
|
if (g !== null)
|
|
2937
|
-
for (var v, w, S, I, x, D, b, T = 0, M = 0, A, $ = g.type,
|
|
2938
|
-
b =
|
|
2937
|
+
for (var v, w, S, I, x, D, b, T = 0, M = 0, A, $ = g.type, q = $ === "FeatureCollection", ie = $ === "Feature", fe = q ? g.features.length : 1, ye = 0; ye < fe; ye++) {
|
|
2938
|
+
b = q ? g.features[ye].geometry : ie ? g.geometry : g, A = b ? b.type === "GeometryCollection" : !1, x = A ? b.geometries.length : 1;
|
|
2939
2939
|
for (var H = 0; H < x; H++) {
|
|
2940
2940
|
var ee = 0, te = 0;
|
|
2941
2941
|
if (I = A ? b.geometries[H] : b, I !== null) {
|
|
@@ -3074,9 +3074,9 @@ function xp() {
|
|
|
3074
3074
|
}), y;
|
|
3075
3075
|
}
|
|
3076
3076
|
function l(g, y) {
|
|
3077
|
-
var d, v, w, S, I, x, D, b, T, M, A = 0, $ = g.type === "FeatureCollection",
|
|
3077
|
+
var d, v, w, S, I, x, D, b, T, M, A = 0, $ = g.type === "FeatureCollection", q = g.type === "Feature", ie = $ ? g.features.length : 1;
|
|
3078
3078
|
for (d = 0; d < ie; d++) {
|
|
3079
|
-
for (x = $ ? g.features[d].geometry :
|
|
3079
|
+
for (x = $ ? g.features[d].geometry : q ? g.geometry : g, b = $ ? g.features[d].properties : q ? g.properties : {}, T = $ ? g.features[d].bbox : q ? g.bbox : void 0, M = $ ? g.features[d].id : q ? g.id : void 0, D = x ? x.type === "GeometryCollection" : !1, I = D ? x.geometries.length : 1, w = 0; w < I; w++) {
|
|
3080
3080
|
if (S = D ? x.geometries[w] : x, S === null) {
|
|
3081
3081
|
if (y(
|
|
3082
3082
|
null,
|
|
@@ -3199,9 +3199,9 @@ function xp() {
|
|
|
3199
3199
|
var x, D = 0, b = 0, T = 0;
|
|
3200
3200
|
if (e(
|
|
3201
3201
|
d,
|
|
3202
|
-
function(M, A, $,
|
|
3203
|
-
if (x === void 0 || v > D ||
|
|
3204
|
-
x = M, D = v, b =
|
|
3202
|
+
function(M, A, $, q, ie) {
|
|
3203
|
+
if (x === void 0 || v > D || q > b || ie > T) {
|
|
3204
|
+
x = M, D = v, b = q, T = ie, S = 0;
|
|
3205
3205
|
return;
|
|
3206
3206
|
}
|
|
3207
3207
|
var fe = n.lineString(
|
|
@@ -3535,7 +3535,7 @@ function Np(n, e, t) {
|
|
|
3535
3535
|
return o;
|
|
3536
3536
|
}
|
|
3537
3537
|
function em(n, e, t) {
|
|
3538
|
-
t = t === void 0 ?
|
|
3538
|
+
t = t === void 0 ? er : Number(t);
|
|
3539
3539
|
var r = t, i = n[1] * Math.PI / 180, s = e[1] * Math.PI / 180, o = s - i, a = Math.abs(e[0] - n[0]) * Math.PI / 180;
|
|
3540
3540
|
a > Math.PI && (a -= 2 * Math.PI);
|
|
3541
3541
|
var l = Math.log(Math.tan(s / 2 + Math.PI / 4) / Math.tan(i / 2 + Math.PI / 4)), u = Math.abs(l) > 1e-11 ? o / l : Math.cos(i), c = Math.sqrt(o * o + u * u * a * a), h = c * r;
|
|
@@ -3581,8 +3581,8 @@ function nm(n, e, t, r) {
|
|
|
3581
3581
|
return a[0] += a[0] - o[0] > 180 ? -360 : o[0] - a[0] > 180 ? 360 : 0, Ze(a, r.properties);
|
|
3582
3582
|
}
|
|
3583
3583
|
function im(n, e, t, r) {
|
|
3584
|
-
r = r === void 0 ?
|
|
3585
|
-
var i = e / r, s = n[0] * Math.PI / 180, o =
|
|
3584
|
+
r = r === void 0 ? er : Number(r);
|
|
3585
|
+
var i = e / r, s = n[0] * Math.PI / 180, o = ur(n[1]), a = ur(t), l = i * Math.cos(a), u = o + l;
|
|
3586
3586
|
Math.abs(u) > Math.PI / 2 && (u = u > 0 ? Math.PI - u : -Math.PI - u);
|
|
3587
3587
|
var c = Math.log(Math.tan(u / 2 + Math.PI / 4) / Math.tan(o / 2 + Math.PI / 4)), h = Math.abs(c) > 1e-11 ? l / c : Math.cos(o), p = i * Math.sin(a) / h, m = s + p;
|
|
3588
3588
|
return [
|
|
@@ -3606,7 +3606,7 @@ function om(n, e, t) {
|
|
|
3606
3606
|
return i;
|
|
3607
3607
|
}
|
|
3608
3608
|
function pf(n, e) {
|
|
3609
|
-
var t =
|
|
3609
|
+
var t = ur(n[1]), r = ur(e[1]), i = ur(e[0] - n[0]);
|
|
3610
3610
|
i > Math.PI && (i -= 2 * Math.PI), i < -Math.PI && (i += 2 * Math.PI);
|
|
3611
3611
|
var s = Math.log(Math.tan(r / 2 + Math.PI / 4) / Math.tan(t / 2 + Math.PI / 4)), o = Math.atan2(i, s);
|
|
3612
3612
|
return (Zu(o) + 360) % 360;
|
|
@@ -3626,7 +3626,7 @@ function Yn(n, e, t) {
|
|
|
3626
3626
|
throw new Error("point is required");
|
|
3627
3627
|
if (!e)
|
|
3628
3628
|
throw new Error("polygon is required");
|
|
3629
|
-
var r = Er(n), i =
|
|
3629
|
+
var r = Er(n), i = sn(e), s = i.type, o = e.bbox, a = i.coordinates;
|
|
3630
3630
|
if (o && am(r, o) === !1)
|
|
3631
3631
|
return !1;
|
|
3632
3632
|
s === "Polygon" && (a = [a]);
|
|
@@ -3680,7 +3680,7 @@ function lm(n, e, t, r, i) {
|
|
|
3680
3680
|
return !1;
|
|
3681
3681
|
}
|
|
3682
3682
|
function um(n, e) {
|
|
3683
|
-
var t =
|
|
3683
|
+
var t = sn(n), r = sn(e), i = t.type, s = r.type, o = t.coordinates, a = r.coordinates;
|
|
3684
3684
|
switch (i) {
|
|
3685
3685
|
case "Point":
|
|
3686
3686
|
switch (s) {
|
|
@@ -3798,7 +3798,7 @@ function mm(n, e) {
|
|
|
3798
3798
|
var t = Qn(n), r = Qn(e);
|
|
3799
3799
|
if (!Dp(t, r))
|
|
3800
3800
|
return !1;
|
|
3801
|
-
for (var i =
|
|
3801
|
+
for (var i = sn(e).coordinates, s = 0, o = i; s < o.length; s++)
|
|
3802
3802
|
for (var a = o[s], l = 0, u = a; l < u.length; l++) {
|
|
3803
3803
|
var c = u[l];
|
|
3804
3804
|
if (!Yn(c, n))
|
|
@@ -3816,7 +3816,7 @@ function vm(n, e) {
|
|
|
3816
3816
|
return [(n[0] + e[0]) / 2, (n[1] + e[1]) / 2];
|
|
3817
3817
|
}
|
|
3818
3818
|
function ym(n, e) {
|
|
3819
|
-
var t =
|
|
3819
|
+
var t = sn(n), r = sn(e), i = t.type, s = r.type;
|
|
3820
3820
|
switch (i) {
|
|
3821
3821
|
case "Point":
|
|
3822
3822
|
switch (s) {
|
|
@@ -4295,7 +4295,7 @@ var F = function n() {
|
|
|
4295
4295
|
var i = arguments[0], s = arguments[1];
|
|
4296
4296
|
this.init(i, s);
|
|
4297
4297
|
}
|
|
4298
|
-
},
|
|
4298
|
+
}, dn = { PI: { configurable: !0 }, TWO_PI: { configurable: !0 }, PI_2: { configurable: !0 }, E: { configurable: !0 }, NaN: { configurable: !0 }, EPS: { configurable: !0 }, SPLIT: { configurable: !0 }, MAX_PRINT_DIGITS: { configurable: !0 }, TEN: { configurable: !0 }, ONE: { configurable: !0 }, SCI_NOT_EXPONENT_CHAR: { configurable: !0 }, SCI_NOT_ZERO: { configurable: !0 } };
|
|
4299
4299
|
F.prototype.le = function(e) {
|
|
4300
4300
|
return (this._hi < e._hi || this._hi === e._hi) && this._lo <= e._lo;
|
|
4301
4301
|
};
|
|
@@ -4657,88 +4657,88 @@ F.stringOfChar = function(e, t) {
|
|
|
4657
4657
|
r.append(e);
|
|
4658
4658
|
return r.toString();
|
|
4659
4659
|
};
|
|
4660
|
-
|
|
4660
|
+
dn.PI.get = function() {
|
|
4661
4661
|
return new F(3.141592653589793, 12246467991473532e-32);
|
|
4662
4662
|
};
|
|
4663
|
-
|
|
4663
|
+
dn.TWO_PI.get = function() {
|
|
4664
4664
|
return new F(6.283185307179586, 24492935982947064e-32);
|
|
4665
4665
|
};
|
|
4666
|
-
|
|
4666
|
+
dn.PI_2.get = function() {
|
|
4667
4667
|
return new F(1.5707963267948966, 6123233995736766e-32);
|
|
4668
4668
|
};
|
|
4669
|
-
|
|
4669
|
+
dn.E.get = function() {
|
|
4670
4670
|
return new F(2.718281828459045, 14456468917292502e-32);
|
|
4671
4671
|
};
|
|
4672
|
-
|
|
4672
|
+
dn.NaN.get = function() {
|
|
4673
4673
|
return new F(pe.NaN, pe.NaN);
|
|
4674
4674
|
};
|
|
4675
|
-
|
|
4675
|
+
dn.EPS.get = function() {
|
|
4676
4676
|
return 123259516440783e-46;
|
|
4677
4677
|
};
|
|
4678
|
-
|
|
4678
|
+
dn.SPLIT.get = function() {
|
|
4679
4679
|
return 134217729;
|
|
4680
4680
|
};
|
|
4681
|
-
|
|
4681
|
+
dn.MAX_PRINT_DIGITS.get = function() {
|
|
4682
4682
|
return 32;
|
|
4683
4683
|
};
|
|
4684
|
-
|
|
4684
|
+
dn.TEN.get = function() {
|
|
4685
4685
|
return F.valueOf(10);
|
|
4686
4686
|
};
|
|
4687
|
-
|
|
4687
|
+
dn.ONE.get = function() {
|
|
4688
4688
|
return F.valueOf(1);
|
|
4689
4689
|
};
|
|
4690
|
-
|
|
4690
|
+
dn.SCI_NOT_EXPONENT_CHAR.get = function() {
|
|
4691
4691
|
return "E";
|
|
4692
4692
|
};
|
|
4693
|
-
|
|
4693
|
+
dn.SCI_NOT_ZERO.get = function() {
|
|
4694
4694
|
return "0.0E0";
|
|
4695
4695
|
};
|
|
4696
|
-
Object.defineProperties(F,
|
|
4697
|
-
var
|
|
4696
|
+
Object.defineProperties(F, dn);
|
|
4697
|
+
var rr = function() {
|
|
4698
4698
|
}, Ap = { DP_SAFE_EPSILON: { configurable: !0 } };
|
|
4699
|
-
|
|
4699
|
+
rr.prototype.interfaces_ = function() {
|
|
4700
4700
|
return [];
|
|
4701
4701
|
};
|
|
4702
|
-
|
|
4703
|
-
return
|
|
4702
|
+
rr.prototype.getClass = function() {
|
|
4703
|
+
return rr;
|
|
4704
4704
|
};
|
|
4705
|
-
|
|
4706
|
-
var i =
|
|
4705
|
+
rr.orientationIndex = function(e, t, r) {
|
|
4706
|
+
var i = rr.orientationIndexFilter(e, t, r);
|
|
4707
4707
|
if (i <= 1)
|
|
4708
4708
|
return i;
|
|
4709
4709
|
var s = F.valueOf(t.x).selfAdd(-e.x), o = F.valueOf(t.y).selfAdd(-e.y), a = F.valueOf(r.x).selfAdd(-t.x), l = F.valueOf(r.y).selfAdd(-t.y);
|
|
4710
4710
|
return s.selfMultiply(l).selfSubtract(o.selfMultiply(a)).signum();
|
|
4711
4711
|
};
|
|
4712
|
-
|
|
4712
|
+
rr.signOfDet2x2 = function(e, t, r, i) {
|
|
4713
4713
|
var s = e.multiply(i).selfSubtract(t.multiply(r));
|
|
4714
4714
|
return s.signum();
|
|
4715
4715
|
};
|
|
4716
|
-
|
|
4716
|
+
rr.intersection = function(e, t, r, i) {
|
|
4717
4717
|
var s = F.valueOf(i.y).selfSubtract(r.y).selfMultiply(F.valueOf(t.x).selfSubtract(e.x)), o = F.valueOf(i.x).selfSubtract(r.x).selfMultiply(F.valueOf(t.y).selfSubtract(e.y)), a = s.subtract(o), l = F.valueOf(i.x).selfSubtract(r.x).selfMultiply(F.valueOf(e.y).selfSubtract(r.y)), u = F.valueOf(i.y).selfSubtract(r.y).selfMultiply(F.valueOf(e.x).selfSubtract(r.x)), c = l.subtract(u), h = c.selfDivide(a).doubleValue(), p = F.valueOf(e.x).selfAdd(F.valueOf(t.x).selfSubtract(e.x).selfMultiply(h)).doubleValue(), m = F.valueOf(t.x).selfSubtract(e.x).selfMultiply(F.valueOf(e.y).selfSubtract(r.y)), _ = F.valueOf(t.y).selfSubtract(e.y).selfMultiply(F.valueOf(e.x).selfSubtract(r.x)), C = m.subtract(_), P = C.selfDivide(a).doubleValue(), O = F.valueOf(r.y).selfAdd(F.valueOf(i.y).selfSubtract(r.y).selfMultiply(P)).doubleValue();
|
|
4718
4718
|
return new N(p, O);
|
|
4719
4719
|
};
|
|
4720
|
-
|
|
4720
|
+
rr.orientationIndexFilter = function(e, t, r) {
|
|
4721
4721
|
var i = null, s = (e.x - r.x) * (t.y - r.y), o = (e.y - r.y) * (t.x - r.x), a = s - o;
|
|
4722
4722
|
if (s > 0) {
|
|
4723
4723
|
if (o <= 0)
|
|
4724
|
-
return
|
|
4724
|
+
return rr.signum(a);
|
|
4725
4725
|
i = s + o;
|
|
4726
4726
|
} else if (s < 0) {
|
|
4727
4727
|
if (o >= 0)
|
|
4728
|
-
return
|
|
4728
|
+
return rr.signum(a);
|
|
4729
4729
|
i = -s - o;
|
|
4730
4730
|
} else
|
|
4731
|
-
return
|
|
4732
|
-
var l =
|
|
4733
|
-
return a >= l || -a >= l ?
|
|
4731
|
+
return rr.signum(a);
|
|
4732
|
+
var l = rr.DP_SAFE_EPSILON * i;
|
|
4733
|
+
return a >= l || -a >= l ? rr.signum(a) : 2;
|
|
4734
4734
|
};
|
|
4735
|
-
|
|
4735
|
+
rr.signum = function(e) {
|
|
4736
4736
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
4737
4737
|
};
|
|
4738
4738
|
Ap.DP_SAFE_EPSILON.get = function() {
|
|
4739
4739
|
return 1e-15;
|
|
4740
4740
|
};
|
|
4741
|
-
Object.defineProperties(
|
|
4741
|
+
Object.defineProperties(rr, Ap);
|
|
4742
4742
|
var be = function() {
|
|
4743
4743
|
}, Pu = { X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 }, M: { configurable: !0 } };
|
|
4744
4744
|
Pu.X.get = function() {
|
|
@@ -4806,7 +4806,7 @@ bt.getProperty = function(e) {
|
|
|
4806
4806
|
`
|
|
4807
4807
|
}[e];
|
|
4808
4808
|
};
|
|
4809
|
-
var
|
|
4809
|
+
var rn = function n() {
|
|
4810
4810
|
if (this.x = null, this.y = null, this.w = null, arguments.length === 0)
|
|
4811
4811
|
this.x = 0, this.y = 0, this.w = 1;
|
|
4812
4812
|
else if (arguments.length === 1) {
|
|
@@ -4831,29 +4831,29 @@ var nn = function n() {
|
|
|
4831
4831
|
this.x = P * d - y * O, this.y = g * O - C * d, this.w = C * y - g * P;
|
|
4832
4832
|
}
|
|
4833
4833
|
};
|
|
4834
|
-
|
|
4834
|
+
rn.prototype.getY = function() {
|
|
4835
4835
|
var e = this.y / this.w;
|
|
4836
4836
|
if (pe.isNaN(e) || pe.isInfinite(e))
|
|
4837
4837
|
throw new Gl();
|
|
4838
4838
|
return e;
|
|
4839
4839
|
};
|
|
4840
|
-
|
|
4840
|
+
rn.prototype.getX = function() {
|
|
4841
4841
|
var e = this.x / this.w;
|
|
4842
4842
|
if (pe.isNaN(e) || pe.isInfinite(e))
|
|
4843
4843
|
throw new Gl();
|
|
4844
4844
|
return e;
|
|
4845
4845
|
};
|
|
4846
|
-
|
|
4846
|
+
rn.prototype.getCoordinate = function() {
|
|
4847
4847
|
var e = new N();
|
|
4848
4848
|
return e.x = this.getX(), e.y = this.getY(), e;
|
|
4849
4849
|
};
|
|
4850
|
-
|
|
4850
|
+
rn.prototype.interfaces_ = function() {
|
|
4851
4851
|
return [];
|
|
4852
4852
|
};
|
|
4853
|
-
|
|
4854
|
-
return
|
|
4853
|
+
rn.prototype.getClass = function() {
|
|
4854
|
+
return rn;
|
|
4855
4855
|
};
|
|
4856
|
-
|
|
4856
|
+
rn.intersection = function(e, t, r, i) {
|
|
4857
4857
|
var s = e.y - t.y, o = t.x - e.x, a = e.x * t.y - t.x * e.y, l = r.y - i.y, u = i.x - r.x, c = r.x * i.y - i.x * r.y, h = o * c - u * a, p = l * a - s * c, m = s * u - l * o, _ = h / m, C = p / m;
|
|
4858
4858
|
if (pe.isNaN(_) || pe.isInfinite(_) || pe.isNaN(C) || pe.isInfinite(C))
|
|
4859
4859
|
throw new Gl();
|
|
@@ -5063,7 +5063,7 @@ kp.serialVersionUID.get = function() {
|
|
|
5063
5063
|
return 5873921885273102e3;
|
|
5064
5064
|
};
|
|
5065
5065
|
Object.defineProperties(ne, kp);
|
|
5066
|
-
var
|
|
5066
|
+
var mn = {
|
|
5067
5067
|
typeStr: /^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,
|
|
5068
5068
|
emptyTypeStr: /^\s*(\w+)\s*EMPTY\s*$/,
|
|
5069
5069
|
spaces: /\s+/,
|
|
@@ -5077,8 +5077,8 @@ var vn = {
|
|
|
5077
5077
|
yc.prototype.read = function(e) {
|
|
5078
5078
|
var t, r, i;
|
|
5079
5079
|
e = e.replace(/[\n\r]/g, " ");
|
|
5080
|
-
var s =
|
|
5081
|
-
if (e.search("EMPTY") !== -1 && (s =
|
|
5080
|
+
var s = mn.typeStr.exec(e);
|
|
5081
|
+
if (e.search("EMPTY") !== -1 && (s = mn.emptyTypeStr.exec(e), s[2] = void 0), s && (r = s[1].toLowerCase(), i = s[2], Jo[r] && (t = Jo[r].apply(this, [i]))), t === void 0)
|
|
5082
5082
|
throw new Error("Could not parse WKT " + e);
|
|
5083
5083
|
return t;
|
|
5084
5084
|
};
|
|
@@ -5194,7 +5194,7 @@ var hi = {
|
|
|
5194
5194
|
point: function(e) {
|
|
5195
5195
|
if (e === void 0)
|
|
5196
5196
|
return this.geometryFactory.createPoint();
|
|
5197
|
-
var t = e.trim().split(
|
|
5197
|
+
var t = e.trim().split(mn.spaces);
|
|
5198
5198
|
return this.geometryFactory.createPoint(new N(
|
|
5199
5199
|
Number.parseFloat(t[0]),
|
|
5200
5200
|
Number.parseFloat(t[1])
|
|
@@ -5212,7 +5212,7 @@ var hi = {
|
|
|
5212
5212
|
if (e === void 0)
|
|
5213
5213
|
return this.geometryFactory.createMultiPoint();
|
|
5214
5214
|
for (var r, i = e.trim().split(","), s = [], o = 0, a = i.length; o < a; ++o)
|
|
5215
|
-
r = i[o].replace(
|
|
5215
|
+
r = i[o].replace(mn.trimParens, "$1"), s.push(Jo.point.apply(t, [r]));
|
|
5216
5216
|
return this.geometryFactory.createMultiPoint(s);
|
|
5217
5217
|
},
|
|
5218
5218
|
/**
|
|
@@ -5226,7 +5226,7 @@ var hi = {
|
|
|
5226
5226
|
if (e === void 0)
|
|
5227
5227
|
return this.geometryFactory.createLineString();
|
|
5228
5228
|
for (var t = e.trim().split(","), r = [], i, s = 0, o = t.length; s < o; ++s)
|
|
5229
|
-
i = t[s].trim().split(
|
|
5229
|
+
i = t[s].trim().split(mn.spaces), r.push(new N(Number.parseFloat(i[0]), Number.parseFloat(i[1])));
|
|
5230
5230
|
return this.geometryFactory.createLineString(r);
|
|
5231
5231
|
},
|
|
5232
5232
|
/**
|
|
@@ -5240,7 +5240,7 @@ var hi = {
|
|
|
5240
5240
|
if (e === void 0)
|
|
5241
5241
|
return this.geometryFactory.createLinearRing();
|
|
5242
5242
|
for (var t = e.trim().split(","), r = [], i, s = 0, o = t.length; s < o; ++s)
|
|
5243
|
-
i = t[s].trim().split(
|
|
5243
|
+
i = t[s].trim().split(mn.spaces), r.push(new N(Number.parseFloat(i[0]), Number.parseFloat(i[1])));
|
|
5244
5244
|
return this.geometryFactory.createLinearRing(r);
|
|
5245
5245
|
},
|
|
5246
5246
|
/**
|
|
@@ -5254,8 +5254,8 @@ var hi = {
|
|
|
5254
5254
|
var t = this;
|
|
5255
5255
|
if (e === void 0)
|
|
5256
5256
|
return this.geometryFactory.createMultiLineString();
|
|
5257
|
-
for (var r, i = e.trim().split(
|
|
5258
|
-
r = i[o].replace(
|
|
5257
|
+
for (var r, i = e.trim().split(mn.parenComma), s = [], o = 0, a = i.length; o < a; ++o)
|
|
5258
|
+
r = i[o].replace(mn.trimParens, "$1"), s.push(Jo.linestring.apply(t, [r]));
|
|
5259
5259
|
return this.geometryFactory.createMultiLineString(s);
|
|
5260
5260
|
},
|
|
5261
5261
|
/**
|
|
@@ -5269,8 +5269,8 @@ var hi = {
|
|
|
5269
5269
|
var t = this;
|
|
5270
5270
|
if (e === void 0)
|
|
5271
5271
|
return this.geometryFactory.createPolygon();
|
|
5272
|
-
for (var r, i, s, o = e.trim().split(
|
|
5273
|
-
r = o[u].replace(
|
|
5272
|
+
for (var r, i, s, o = e.trim().split(mn.parenComma), a, l = [], u = 0, c = o.length; u < c; ++u)
|
|
5273
|
+
r = o[u].replace(mn.trimParens, "$1"), i = Jo.linestring.apply(t, [r]), s = t.geometryFactory.createLinearRing(i._points), u === 0 ? a = s : l.push(s);
|
|
5274
5274
|
return this.geometryFactory.createPolygon(a, l);
|
|
5275
5275
|
},
|
|
5276
5276
|
/**
|
|
@@ -5284,8 +5284,8 @@ var hi = {
|
|
|
5284
5284
|
var t = this;
|
|
5285
5285
|
if (e === void 0)
|
|
5286
5286
|
return this.geometryFactory.createMultiPolygon();
|
|
5287
|
-
for (var r, i = e.trim().split(
|
|
5288
|
-
r = i[o].replace(
|
|
5287
|
+
for (var r, i = e.trim().split(mn.doubleParenComma), s = [], o = 0, a = i.length; o < a; ++o)
|
|
5288
|
+
r = i[o].replace(mn.trimParens, "$1"), s.push(Jo.polygon.apply(t, [r]));
|
|
5289
5289
|
return this.geometryFactory.createMultiPolygon(s);
|
|
5290
5290
|
},
|
|
5291
5291
|
/**
|
|
@@ -5304,13 +5304,13 @@ var hi = {
|
|
|
5304
5304
|
i.push(t.read(r[s]));
|
|
5305
5305
|
return this.geometryFactory.createGeometryCollection(i);
|
|
5306
5306
|
}
|
|
5307
|
-
},
|
|
5307
|
+
}, on = function(e) {
|
|
5308
5308
|
this.parser = new yc(e);
|
|
5309
5309
|
};
|
|
5310
|
-
|
|
5310
|
+
on.prototype.write = function(e) {
|
|
5311
5311
|
return this.parser.write(e);
|
|
5312
5312
|
};
|
|
5313
|
-
|
|
5313
|
+
on.toLineString = function(e, t) {
|
|
5314
5314
|
if (arguments.length !== 2)
|
|
5315
5315
|
throw new Error("Not implemented");
|
|
5316
5316
|
return "LINESTRING ( " + e.x + " " + e.y + ", " + t.x + " " + t.y + " )";
|
|
@@ -5426,7 +5426,7 @@ Ke.prototype.isCollinear = function() {
|
|
|
5426
5426
|
return this._result === Ke.COLLINEAR_INTERSECTION;
|
|
5427
5427
|
};
|
|
5428
5428
|
Ke.prototype.toString = function() {
|
|
5429
|
-
return
|
|
5429
|
+
return on.toLineString(this._inputLines[0][0], this._inputLines[0][1]) + " - " + on.toLineString(this._inputLines[1][0], this._inputLines[1][1]) + this.getTopologySummary();
|
|
5430
5430
|
};
|
|
5431
5431
|
Ke.prototype.getEndpoint = function(e, t) {
|
|
5432
5432
|
return this._inputLines[e][t];
|
|
@@ -5501,7 +5501,7 @@ var Ys = function(n) {
|
|
|
5501
5501
|
}, e.prototype.safeHCoordinateIntersection = function(r, i, s, o) {
|
|
5502
5502
|
var a = null;
|
|
5503
5503
|
try {
|
|
5504
|
-
a =
|
|
5504
|
+
a = rn.intersection(r, i, s, o);
|
|
5505
5505
|
} catch (l) {
|
|
5506
5506
|
if (l instanceof Gl)
|
|
5507
5507
|
a = e.nearestEndpoint(r, i, s, o);
|
|
@@ -5517,7 +5517,7 @@ var Ys = function(n) {
|
|
|
5517
5517
|
var a = r, l = Math.abs(a);
|
|
5518
5518
|
return Math.abs(i) < l && (a = i, l = Math.abs(i)), Math.abs(s) < l && (a = s, l = Math.abs(s)), Math.abs(o) < l && (a = o), a;
|
|
5519
5519
|
}, e.prototype.checkDD = function(r, i, s, o, a) {
|
|
5520
|
-
var l =
|
|
5520
|
+
var l = rr.intersection(r, i, s, o), u = this.isInSegmentEnvelopes(l);
|
|
5521
5521
|
bt.out.println("DD in env = " + u + " --------------------- " + l), a.distance(l) > 1e-4 && bt.out.println("Distance = " + a.distance(l));
|
|
5522
5522
|
}, e.prototype.intersectionWithNormalization = function(r, i, s, o) {
|
|
5523
5523
|
var a = new N(r), l = new N(i), u = new N(s), c = new N(o), h = new N();
|
|
@@ -5673,7 +5673,7 @@ Y.prototype.getClass = function() {
|
|
|
5673
5673
|
return Y;
|
|
5674
5674
|
};
|
|
5675
5675
|
Y.orientationIndex = function(e, t, r) {
|
|
5676
|
-
return
|
|
5676
|
+
return rr.orientationIndex(e, t, r);
|
|
5677
5677
|
};
|
|
5678
5678
|
Y.signedArea = function() {
|
|
5679
5679
|
if (arguments[0] instanceof Array) {
|
|
@@ -6107,7 +6107,7 @@ Wl.prototype.next = function() {
|
|
|
6107
6107
|
};
|
|
6108
6108
|
Wl.prototype.remove = function() {
|
|
6109
6109
|
};
|
|
6110
|
-
var
|
|
6110
|
+
var nn = function(n) {
|
|
6111
6111
|
function e() {
|
|
6112
6112
|
n.apply(this, arguments);
|
|
6113
6113
|
}
|
|
@@ -6161,7 +6161,7 @@ var G = function(n) {
|
|
|
6161
6161
|
}
|
|
6162
6162
|
return s;
|
|
6163
6163
|
}, e;
|
|
6164
|
-
}(
|
|
6164
|
+
}(nn), Tm = function(n) {
|
|
6165
6165
|
function e(t) {
|
|
6166
6166
|
n.call(this), this.arrayList_ = t, this.position_ = 0;
|
|
6167
6167
|
}
|
|
@@ -6784,41 +6784,41 @@ Ds.asList = function(e) {
|
|
|
6784
6784
|
return t;
|
|
6785
6785
|
};
|
|
6786
6786
|
var De = function() {
|
|
6787
|
-
},
|
|
6788
|
-
|
|
6787
|
+
}, gn = { P: { configurable: !0 }, L: { configurable: !0 }, A: { configurable: !0 }, FALSE: { configurable: !0 }, TRUE: { configurable: !0 }, DONTCARE: { configurable: !0 }, SYM_FALSE: { configurable: !0 }, SYM_TRUE: { configurable: !0 }, SYM_DONTCARE: { configurable: !0 }, SYM_P: { configurable: !0 }, SYM_L: { configurable: !0 }, SYM_A: { configurable: !0 } };
|
|
6788
|
+
gn.P.get = function() {
|
|
6789
6789
|
return 0;
|
|
6790
6790
|
};
|
|
6791
|
-
|
|
6791
|
+
gn.L.get = function() {
|
|
6792
6792
|
return 1;
|
|
6793
6793
|
};
|
|
6794
|
-
|
|
6794
|
+
gn.A.get = function() {
|
|
6795
6795
|
return 2;
|
|
6796
6796
|
};
|
|
6797
|
-
|
|
6797
|
+
gn.FALSE.get = function() {
|
|
6798
6798
|
return -1;
|
|
6799
6799
|
};
|
|
6800
|
-
|
|
6800
|
+
gn.TRUE.get = function() {
|
|
6801
6801
|
return -2;
|
|
6802
6802
|
};
|
|
6803
|
-
|
|
6803
|
+
gn.DONTCARE.get = function() {
|
|
6804
6804
|
return -3;
|
|
6805
6805
|
};
|
|
6806
|
-
|
|
6806
|
+
gn.SYM_FALSE.get = function() {
|
|
6807
6807
|
return "F";
|
|
6808
6808
|
};
|
|
6809
|
-
|
|
6809
|
+
gn.SYM_TRUE.get = function() {
|
|
6810
6810
|
return "T";
|
|
6811
6811
|
};
|
|
6812
|
-
|
|
6812
|
+
gn.SYM_DONTCARE.get = function() {
|
|
6813
6813
|
return "*";
|
|
6814
6814
|
};
|
|
6815
|
-
|
|
6815
|
+
gn.SYM_P.get = function() {
|
|
6816
6816
|
return "0";
|
|
6817
6817
|
};
|
|
6818
|
-
|
|
6818
|
+
gn.SYM_L.get = function() {
|
|
6819
6819
|
return "1";
|
|
6820
6820
|
};
|
|
6821
|
-
|
|
6821
|
+
gn.SYM_A.get = function() {
|
|
6822
6822
|
return "2";
|
|
6823
6823
|
};
|
|
6824
6824
|
De.prototype.interfaces_ = function() {
|
|
@@ -6861,7 +6861,7 @@ De.toDimensionValue = function(e) {
|
|
|
6861
6861
|
}
|
|
6862
6862
|
throw new He("Unknown dimension symbol: " + e);
|
|
6863
6863
|
};
|
|
6864
|
-
Object.defineProperties(De,
|
|
6864
|
+
Object.defineProperties(De, gn);
|
|
6865
6865
|
var Tn = function() {
|
|
6866
6866
|
};
|
|
6867
6867
|
Tn.prototype.filter = function(e) {
|
|
@@ -6872,19 +6872,19 @@ Tn.prototype.interfaces_ = function() {
|
|
|
6872
6872
|
Tn.prototype.getClass = function() {
|
|
6873
6873
|
return Tn;
|
|
6874
6874
|
};
|
|
6875
|
-
var
|
|
6875
|
+
var an = function() {
|
|
6876
6876
|
};
|
|
6877
|
-
|
|
6877
|
+
an.prototype.filter = function(e, t) {
|
|
6878
6878
|
};
|
|
6879
|
-
|
|
6879
|
+
an.prototype.isDone = function() {
|
|
6880
6880
|
};
|
|
6881
|
-
|
|
6881
|
+
an.prototype.isGeometryChanged = function() {
|
|
6882
6882
|
};
|
|
6883
|
-
|
|
6883
|
+
an.prototype.interfaces_ = function() {
|
|
6884
6884
|
return [];
|
|
6885
6885
|
};
|
|
6886
|
-
|
|
6887
|
-
return
|
|
6886
|
+
an.prototype.getClass = function() {
|
|
6887
|
+
return an;
|
|
6888
6888
|
};
|
|
6889
6889
|
var Wt = function(n) {
|
|
6890
6890
|
function e(r, i) {
|
|
@@ -6972,7 +6972,7 @@ var Wt = function(n) {
|
|
|
6972
6972
|
if (he(arguments[0], $n))
|
|
6973
6973
|
for (var s = arguments[0], o = 0; o < this._geometries.length; o++)
|
|
6974
6974
|
i._geometries[o].apply(s);
|
|
6975
|
-
else if (he(arguments[0],
|
|
6975
|
+
else if (he(arguments[0], an)) {
|
|
6976
6976
|
var a = arguments[0];
|
|
6977
6977
|
if (this._geometries.length === 0)
|
|
6978
6978
|
return null;
|
|
@@ -7358,7 +7358,7 @@ var $e = function(n) {
|
|
|
7358
7358
|
if (he(arguments[0], $n))
|
|
7359
7359
|
for (var s = arguments[0], o = 0; o < this._points.size(); o++)
|
|
7360
7360
|
s.filter(i._points.getCoordinate(o));
|
|
7361
|
-
else if (he(arguments[0],
|
|
7361
|
+
else if (he(arguments[0], an)) {
|
|
7362
7362
|
var a = arguments[0];
|
|
7363
7363
|
if (this._points.size() === 0)
|
|
7364
7364
|
return null;
|
|
@@ -7417,7 +7417,7 @@ au.prototype.interfaces_ = function() {
|
|
|
7417
7417
|
au.prototype.getClass = function() {
|
|
7418
7418
|
return au;
|
|
7419
7419
|
};
|
|
7420
|
-
var
|
|
7420
|
+
var hr = function(n) {
|
|
7421
7421
|
function e(r, i) {
|
|
7422
7422
|
n.call(this, i), this._coordinates = r || null, this.init(this._coordinates);
|
|
7423
7423
|
}
|
|
@@ -7467,7 +7467,7 @@ var fr = function(n) {
|
|
|
7467
7467
|
if (this.isEmpty())
|
|
7468
7468
|
return null;
|
|
7469
7469
|
i.filter(this.getCoordinate());
|
|
7470
|
-
} else if (he(arguments[0],
|
|
7470
|
+
} else if (he(arguments[0], an)) {
|
|
7471
7471
|
var s = arguments[0];
|
|
7472
7472
|
if (this.isEmpty())
|
|
7473
7473
|
return null;
|
|
@@ -7643,7 +7643,7 @@ var gt = function(n) {
|
|
|
7643
7643
|
this._shell.apply(i);
|
|
7644
7644
|
for (var o = 0; o < this._holes.length; o++)
|
|
7645
7645
|
s._holes[o].apply(i);
|
|
7646
|
-
} else if (he(i,
|
|
7646
|
+
} else if (he(i, an)) {
|
|
7647
7647
|
if (this._shell.apply(i), !i.isDone())
|
|
7648
7648
|
for (var a = 0; a < this._holes.length && (s._holes[a].apply(i), !i.isDone()); a++)
|
|
7649
7649
|
;
|
|
@@ -7822,7 +7822,7 @@ Xr.prototype.edit = function(e, t) {
|
|
|
7822
7822
|
return this._isUserDataCopied && r.setUserData(e.getUserData()), r;
|
|
7823
7823
|
};
|
|
7824
7824
|
Xr.prototype.editInternal = function(e, t) {
|
|
7825
|
-
return this._factory === null && (this._factory = e.getFactory()), e instanceof Wt ? this.editGeometryCollection(e, t) : e instanceof gt ? this.editPolygon(e, t) : e instanceof
|
|
7825
|
+
return this._factory === null && (this._factory = e.getFactory()), e instanceof Wt ? this.editGeometryCollection(e, t) : e instanceof gt ? this.editPolygon(e, t) : e instanceof hr ? t.edit(e, this._factory) : e instanceof $e ? t.edit(e, this._factory) : (ve.shouldNeverReachHere("Unsupported Geometry class: " + e.getClass().getName()), null);
|
|
7826
7826
|
};
|
|
7827
7827
|
Xr.prototype.editGeometryCollection = function(e, t) {
|
|
7828
7828
|
for (var r = this, i = t.edit(e, this._factory), s = new G(), o = 0; o < i.getNumGeometries(); o++) {
|
|
@@ -7877,7 +7877,7 @@ var uu = function() {
|
|
|
7877
7877
|
};
|
|
7878
7878
|
uu.prototype.edit = function(e, t) {
|
|
7879
7879
|
var r = this.editCoordinates(e.getCoordinates(), e);
|
|
7880
|
-
return r === null ? e : e instanceof ei ? t.createLinearRing(r) : e instanceof $e ? t.createLineString(r) : e instanceof
|
|
7880
|
+
return r === null ? e : e instanceof ei ? t.createLinearRing(r) : e instanceof $e ? t.createLineString(r) : e instanceof hr ? r.length > 0 ? t.createPoint(r[0]) : t.createPoint() : e;
|
|
7881
7881
|
};
|
|
7882
7882
|
uu.prototype.interfaces_ = function() {
|
|
7883
7883
|
return [Xr.GeometryEditorOperation];
|
|
@@ -7888,7 +7888,7 @@ uu.prototype.getClass = function() {
|
|
|
7888
7888
|
var cu = function() {
|
|
7889
7889
|
};
|
|
7890
7890
|
cu.prototype.edit = function(e, t) {
|
|
7891
|
-
return e instanceof ei ? t.createLinearRing(this.edit(e.getCoordinateSequence(), e)) : e instanceof $e ? t.createLineString(this.edit(e.getCoordinateSequence(), e)) : e instanceof
|
|
7891
|
+
return e instanceof ei ? t.createLinearRing(this.edit(e.getCoordinateSequence(), e)) : e instanceof $e ? t.createLineString(this.edit(e.getCoordinateSequence(), e)) : e instanceof hr ? t.createPoint(this.edit(e.getCoordinateSequence(), e)) : e;
|
|
7892
7892
|
};
|
|
7893
7893
|
cu.prototype.interfaces_ = function() {
|
|
7894
7894
|
return [Xr.GeometryEditorOperation];
|
|
@@ -8212,7 +8212,7 @@ we.prototype.buildGeometry = function(e) {
|
|
|
8212
8212
|
return this.createMultiPolygon(we.toPolygonArray(e));
|
|
8213
8213
|
if (l instanceof $e)
|
|
8214
8214
|
return this.createMultiLineString(we.toLineStringArray(e));
|
|
8215
|
-
if (l instanceof
|
|
8215
|
+
if (l instanceof hr)
|
|
8216
8216
|
return this.createMultiPoint(we.toPointArray(e));
|
|
8217
8217
|
ve.shouldNeverReachHere("Unhandled class: " + l.getClass().getName());
|
|
8218
8218
|
}
|
|
@@ -8230,7 +8230,7 @@ we.prototype.createPoint = function() {
|
|
|
8230
8230
|
return this.createPoint(e !== null ? this.getCoordinateSequenceFactory().create([e]) : null);
|
|
8231
8231
|
} else if (he(arguments[0], be)) {
|
|
8232
8232
|
var t = arguments[0];
|
|
8233
|
-
return new
|
|
8233
|
+
return new hr(t, this);
|
|
8234
8234
|
}
|
|
8235
8235
|
}
|
|
8236
8236
|
};
|
|
@@ -8747,7 +8747,7 @@ Ic.prototype.name = "EmptyStackException";
|
|
|
8747
8747
|
function kn() {
|
|
8748
8748
|
this.array_ = [];
|
|
8749
8749
|
}
|
|
8750
|
-
kn.prototype = new
|
|
8750
|
+
kn.prototype = new nn();
|
|
8751
8751
|
kn.prototype.add = function(n) {
|
|
8752
8752
|
return this.array_.push(n), !0;
|
|
8753
8753
|
};
|
|
@@ -9825,25 +9825,25 @@ Qe.linkResultDirectedEdges = function(e) {
|
|
|
9825
9825
|
r.getEdges().linkResultDirectedEdges();
|
|
9826
9826
|
}
|
|
9827
9827
|
};
|
|
9828
|
-
var
|
|
9828
|
+
var fr = function() {
|
|
9829
9829
|
this._geometryFactory = null, this._shellList = new G();
|
|
9830
9830
|
var e = arguments[0];
|
|
9831
9831
|
this._geometryFactory = e;
|
|
9832
9832
|
};
|
|
9833
|
-
|
|
9833
|
+
fr.prototype.sortShellsAndHoles = function(e, t, r) {
|
|
9834
9834
|
for (var i = e.iterator(); i.hasNext(); ) {
|
|
9835
9835
|
var s = i.next();
|
|
9836
9836
|
s.isHole() ? r.add(s) : t.add(s);
|
|
9837
9837
|
}
|
|
9838
9838
|
};
|
|
9839
|
-
|
|
9839
|
+
fr.prototype.computePolygons = function(e) {
|
|
9840
9840
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
9841
9841
|
var s = i.next(), o = s.toPolygon(t._geometryFactory);
|
|
9842
9842
|
r.add(o);
|
|
9843
9843
|
}
|
|
9844
9844
|
return r;
|
|
9845
9845
|
};
|
|
9846
|
-
|
|
9846
|
+
fr.prototype.placeFreeHoles = function(e, t) {
|
|
9847
9847
|
for (var r = this, i = t.iterator(); i.hasNext(); ) {
|
|
9848
9848
|
var s = i.next();
|
|
9849
9849
|
if (s.getShell() === null) {
|
|
@@ -9854,7 +9854,7 @@ pr.prototype.placeFreeHoles = function(e, t) {
|
|
|
9854
9854
|
}
|
|
9855
9855
|
}
|
|
9856
9856
|
};
|
|
9857
|
-
|
|
9857
|
+
fr.prototype.buildMinimalEdgeRings = function(e, t, r) {
|
|
9858
9858
|
for (var i = this, s = new G(), o = e.iterator(); o.hasNext(); ) {
|
|
9859
9859
|
var a = o.next();
|
|
9860
9860
|
if (a.getMaxNodeDegree() > 2) {
|
|
@@ -9866,7 +9866,7 @@ pr.prototype.buildMinimalEdgeRings = function(e, t, r) {
|
|
|
9866
9866
|
}
|
|
9867
9867
|
return s;
|
|
9868
9868
|
};
|
|
9869
|
-
|
|
9869
|
+
fr.prototype.containsPoint = function(e) {
|
|
9870
9870
|
for (var t = this._shellList.iterator(); t.hasNext(); ) {
|
|
9871
9871
|
var r = t.next();
|
|
9872
9872
|
if (r.containsPoint(e))
|
|
@@ -9874,7 +9874,7 @@ pr.prototype.containsPoint = function(e) {
|
|
|
9874
9874
|
}
|
|
9875
9875
|
return !1;
|
|
9876
9876
|
};
|
|
9877
|
-
|
|
9877
|
+
fr.prototype.buildMaximalEdgeRings = function(e) {
|
|
9878
9878
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
9879
9879
|
var s = i.next();
|
|
9880
9880
|
if (s.isInResult() && s.getLabel().isArea() && s.getEdgeRing() === null) {
|
|
@@ -9884,17 +9884,17 @@ pr.prototype.buildMaximalEdgeRings = function(e) {
|
|
|
9884
9884
|
}
|
|
9885
9885
|
return r;
|
|
9886
9886
|
};
|
|
9887
|
-
|
|
9887
|
+
fr.prototype.placePolygonHoles = function(e, t) {
|
|
9888
9888
|
for (var r = t.iterator(); r.hasNext(); ) {
|
|
9889
9889
|
var i = r.next();
|
|
9890
9890
|
i.isHole() && i.setShell(e);
|
|
9891
9891
|
}
|
|
9892
9892
|
};
|
|
9893
|
-
|
|
9893
|
+
fr.prototype.getPolygons = function() {
|
|
9894
9894
|
var e = this.computePolygons(this._shellList);
|
|
9895
9895
|
return e;
|
|
9896
9896
|
};
|
|
9897
|
-
|
|
9897
|
+
fr.prototype.findEdgeRingContaining = function(e, t) {
|
|
9898
9898
|
for (var r = e.getLinearRing(), i = r.getEnvelopeInternal(), s = r.getCoordinateN(0), o = null, a = null, l = t.iterator(); l.hasNext(); ) {
|
|
9899
9899
|
var u = l.next(), c = u.getLinearRing(), h = c.getEnvelopeInternal();
|
|
9900
9900
|
o !== null && (a = o.getLinearRing().getEnvelopeInternal());
|
|
@@ -9903,14 +9903,14 @@ pr.prototype.findEdgeRingContaining = function(e, t) {
|
|
|
9903
9903
|
}
|
|
9904
9904
|
return o;
|
|
9905
9905
|
};
|
|
9906
|
-
|
|
9906
|
+
fr.prototype.findShell = function(e) {
|
|
9907
9907
|
for (var t = 0, r = null, i = e.iterator(); i.hasNext(); ) {
|
|
9908
9908
|
var s = i.next();
|
|
9909
9909
|
s.isHole() || (r = s, t++);
|
|
9910
9910
|
}
|
|
9911
9911
|
return ve.isTrue(t <= 1, "found two shells in MinimalEdgeRing list"), r;
|
|
9912
9912
|
};
|
|
9913
|
-
|
|
9913
|
+
fr.prototype.add = function() {
|
|
9914
9914
|
if (arguments.length === 1) {
|
|
9915
9915
|
var e = arguments[0];
|
|
9916
9916
|
this.add(e.getEdgeEnds(), e.getNodes());
|
|
@@ -9921,11 +9921,11 @@ pr.prototype.add = function() {
|
|
|
9921
9921
|
this.sortShellsAndHoles(o, this._shellList, s), this.placeFreeHoles(this._shellList, s);
|
|
9922
9922
|
}
|
|
9923
9923
|
};
|
|
9924
|
-
|
|
9924
|
+
fr.prototype.interfaces_ = function() {
|
|
9925
9925
|
return [];
|
|
9926
9926
|
};
|
|
9927
|
-
|
|
9928
|
-
return
|
|
9927
|
+
fr.prototype.getClass = function() {
|
|
9928
|
+
return fr;
|
|
9929
9929
|
};
|
|
9930
9930
|
var da = function() {
|
|
9931
9931
|
};
|
|
@@ -9937,22 +9937,22 @@ da.prototype.interfaces_ = function() {
|
|
|
9937
9937
|
da.prototype.getClass = function() {
|
|
9938
9938
|
return da;
|
|
9939
9939
|
};
|
|
9940
|
-
var
|
|
9940
|
+
var ln = function() {
|
|
9941
9941
|
this._bounds = null, this._item = null;
|
|
9942
9942
|
var e = arguments[0], t = arguments[1];
|
|
9943
9943
|
this._bounds = e, this._item = t;
|
|
9944
9944
|
};
|
|
9945
|
-
|
|
9945
|
+
ln.prototype.getItem = function() {
|
|
9946
9946
|
return this._item;
|
|
9947
9947
|
};
|
|
9948
|
-
|
|
9948
|
+
ln.prototype.getBounds = function() {
|
|
9949
9949
|
return this._bounds;
|
|
9950
9950
|
};
|
|
9951
|
-
|
|
9951
|
+
ln.prototype.interfaces_ = function() {
|
|
9952
9952
|
return [da, Zr];
|
|
9953
9953
|
};
|
|
9954
|
-
|
|
9955
|
-
return
|
|
9954
|
+
ln.prototype.getClass = function() {
|
|
9955
|
+
return ln;
|
|
9956
9956
|
};
|
|
9957
9957
|
var xi = function() {
|
|
9958
9958
|
this._size = null, this._items = null, this._size = 0, this._items = new G(), this._items.add(null);
|
|
@@ -10051,25 +10051,25 @@ Gp.serialVersionUID.get = function() {
|
|
|
10051
10051
|
return 6493722185909574e3;
|
|
10052
10052
|
};
|
|
10053
10053
|
Object.defineProperties(dt, Gp);
|
|
10054
|
-
var
|
|
10054
|
+
var un = function() {
|
|
10055
10055
|
};
|
|
10056
|
-
|
|
10056
|
+
un.reverseOrder = function() {
|
|
10057
10057
|
return {
|
|
10058
10058
|
compare: function(t, r) {
|
|
10059
10059
|
return r.compareTo(t);
|
|
10060
10060
|
}
|
|
10061
10061
|
};
|
|
10062
10062
|
};
|
|
10063
|
-
|
|
10064
|
-
return
|
|
10063
|
+
un.min = function(e) {
|
|
10064
|
+
return un.sort(e), e.get(0);
|
|
10065
10065
|
};
|
|
10066
|
-
|
|
10066
|
+
un.sort = function(e, t) {
|
|
10067
10067
|
var r = e.toArray();
|
|
10068
10068
|
t ? Ds.sort(r, t) : Ds.sort(r);
|
|
10069
10069
|
for (var i = e.iterator(), s = 0, o = r.length; s < o; s++)
|
|
10070
10070
|
i.next(), i.set(r[s]);
|
|
10071
10071
|
};
|
|
10072
|
-
|
|
10072
|
+
un.singletonList = function(e) {
|
|
10073
10073
|
var t = new G();
|
|
10074
10074
|
return t.add(e), t;
|
|
10075
10075
|
};
|
|
@@ -10144,7 +10144,7 @@ _t.prototype.size = function() {
|
|
|
10144
10144
|
if (arguments.length === 1) {
|
|
10145
10145
|
for (var t = arguments[0], r = 0, i = t.getChildBoundables().iterator(); i.hasNext(); ) {
|
|
10146
10146
|
var s = i.next();
|
|
10147
|
-
s instanceof dt ? r += e.size(s) : s instanceof
|
|
10147
|
+
s instanceof dt ? r += e.size(s) : s instanceof ln && (r += 1);
|
|
10148
10148
|
}
|
|
10149
10149
|
return r;
|
|
10150
10150
|
}
|
|
@@ -10152,7 +10152,7 @@ _t.prototype.size = function() {
|
|
|
10152
10152
|
_t.prototype.removeItem = function(e, t) {
|
|
10153
10153
|
for (var r = null, i = e.getChildBoundables().iterator(); i.hasNext(); ) {
|
|
10154
10154
|
var s = i.next();
|
|
10155
|
-
s instanceof
|
|
10155
|
+
s instanceof ln && s.getItem() === t && (r = s);
|
|
10156
10156
|
}
|
|
10157
10157
|
return r !== null ? (e.getChildBoundables().remove(r), !0) : !1;
|
|
10158
10158
|
};
|
|
@@ -10168,13 +10168,13 @@ _t.prototype.itemsTree = function() {
|
|
|
10168
10168
|
if (o instanceof dt) {
|
|
10169
10169
|
var a = e.itemsTree(o);
|
|
10170
10170
|
a !== null && i.add(a);
|
|
10171
|
-
} else o instanceof
|
|
10171
|
+
} else o instanceof ln ? i.add(o.getItem()) : ve.shouldNeverReachHere();
|
|
10172
10172
|
}
|
|
10173
10173
|
return i.size() <= 0 ? null : i;
|
|
10174
10174
|
}
|
|
10175
10175
|
};
|
|
10176
10176
|
_t.prototype.insert = function(e, t) {
|
|
10177
|
-
ve.isTrue(!this._built, "Cannot insert items into an STR packed R-tree after it has been built."), this._itemBoundables.add(new
|
|
10177
|
+
ve.isTrue(!this._built, "Cannot insert items into an STR packed R-tree after it has been built."), this._itemBoundables.add(new ln(e, t));
|
|
10178
10178
|
};
|
|
10179
10179
|
_t.prototype.boundablesAtLevel = function() {
|
|
10180
10180
|
var e = this;
|
|
@@ -10187,7 +10187,7 @@ _t.prototype.boundablesAtLevel = function() {
|
|
|
10187
10187
|
return o.add(s), null;
|
|
10188
10188
|
for (var a = s.getChildBoundables().iterator(); a.hasNext(); ) {
|
|
10189
10189
|
var l = a.next();
|
|
10190
|
-
l instanceof dt ? e.boundablesAtLevel(i, l, o) : (ve.isTrue(l instanceof
|
|
10190
|
+
l instanceof dt ? e.boundablesAtLevel(i, l, o) : (ve.isTrue(l instanceof ln), i === -1 && o.add(l));
|
|
10191
10191
|
}
|
|
10192
10192
|
return null;
|
|
10193
10193
|
}
|
|
@@ -10208,12 +10208,12 @@ _t.prototype.query = function() {
|
|
|
10208
10208
|
if (he(arguments[2], rs) && arguments[0] instanceof Object && arguments[1] instanceof dt)
|
|
10209
10209
|
for (var o = arguments[0], a = arguments[1], l = arguments[2], u = a.getChildBoundables(), c = 0; c < u.size(); c++) {
|
|
10210
10210
|
var h = u.get(c);
|
|
10211
|
-
e.getIntersectsOp().intersects(h.getBounds(), o) && (h instanceof dt ? e.query(o, h, l) : h instanceof
|
|
10211
|
+
e.getIntersectsOp().intersects(h.getBounds(), o) && (h instanceof dt ? e.query(o, h, l) : h instanceof ln ? l.visitItem(h.getItem()) : ve.shouldNeverReachHere());
|
|
10212
10212
|
}
|
|
10213
|
-
else if (he(arguments[2],
|
|
10213
|
+
else if (he(arguments[2], nn) && arguments[0] instanceof Object && arguments[1] instanceof dt)
|
|
10214
10214
|
for (var p = arguments[0], m = arguments[1], _ = arguments[2], C = m.getChildBoundables(), P = 0; P < C.size(); P++) {
|
|
10215
10215
|
var O = C.get(P);
|
|
10216
|
-
e.getIntersectsOp().intersects(O.getBounds(), p) && (O instanceof dt ? e.query(p, O, _) : O instanceof
|
|
10216
|
+
e.getIntersectsOp().intersects(O.getBounds(), p) && (O instanceof dt ? e.query(p, O, _) : O instanceof ln ? _.add(O.getItem()) : ve.shouldNeverReachHere());
|
|
10217
10217
|
}
|
|
10218
10218
|
}
|
|
10219
10219
|
};
|
|
@@ -10270,7 +10270,7 @@ _t.prototype.createParentBoundables = function(e, t) {
|
|
|
10270
10270
|
var i = new G();
|
|
10271
10271
|
i.add(this.createNode(t));
|
|
10272
10272
|
var s = new G(e);
|
|
10273
|
-
|
|
10273
|
+
un.sort(s, this.getComparator());
|
|
10274
10274
|
for (var o = s.iterator(); o.hasNext(); ) {
|
|
10275
10275
|
var a = o.next();
|
|
10276
10276
|
r.lastNode(i).getChildBoundables().size() === r.getNodeCapacity() && i.add(r.createNode(t)), r.lastNode(i).addChildBoundable(a);
|
|
@@ -10356,7 +10356,7 @@ var Wp = function(n) {
|
|
|
10356
10356
|
if (he(arguments[2], rs) && arguments[0] instanceof Object && arguments[1] instanceof dt) {
|
|
10357
10357
|
var a = arguments[0], l = arguments[1], u = arguments[2];
|
|
10358
10358
|
n.prototype.query.call(this, a, l, u);
|
|
10359
|
-
} else if (he(arguments[2],
|
|
10359
|
+
} else if (he(arguments[2], nn) && arguments[0] instanceof Object && arguments[1] instanceof dt) {
|
|
10360
10360
|
var c = arguments[0], h = arguments[1], p = arguments[2];
|
|
10361
10361
|
n.prototype.query.call(this, c, h, p);
|
|
10362
10362
|
}
|
|
@@ -10376,7 +10376,7 @@ var Wp = function(n) {
|
|
|
10376
10376
|
}, e.prototype.createParentBoundables = function(i, s) {
|
|
10377
10377
|
ve.isTrue(!i.isEmpty());
|
|
10378
10378
|
var o = Math.trunc(Math.ceil(i.size() / this.getNodeCapacity())), a = new G(i);
|
|
10379
|
-
|
|
10379
|
+
un.sort(a, e.xComparator);
|
|
10380
10380
|
var l = this.verticalSlices(a, Math.trunc(Math.ceil(Math.sqrt(o))));
|
|
10381
10381
|
return this.createParentBoundablesFromVerticalSlices(l, s);
|
|
10382
10382
|
}, e.prototype.nearestNeighbour = function() {
|
|
@@ -10403,7 +10403,7 @@ var Wp = function(n) {
|
|
|
10403
10403
|
return [m.getBoundable(0).getItem(), m.getBoundable(1).getItem()];
|
|
10404
10404
|
}
|
|
10405
10405
|
} else if (arguments.length === 3) {
|
|
10406
|
-
var O = arguments[0], g = arguments[1], y = arguments[2], d = new
|
|
10406
|
+
var O = arguments[0], g = arguments[1], y = arguments[2], d = new ln(O, g), v = new at(this.getRoot(), d, y);
|
|
10407
10407
|
return this.nearestNeighbour(v)[0];
|
|
10408
10408
|
}
|
|
10409
10409
|
}, e.prototype.interfaces_ = function() {
|
|
@@ -10466,42 +10466,42 @@ var Wp = function(n) {
|
|
|
10466
10466
|
}, e.prototype.getClass = function() {
|
|
10467
10467
|
return e;
|
|
10468
10468
|
}, e;
|
|
10469
|
-
}(dt),
|
|
10469
|
+
}(dt), tr = function() {
|
|
10470
10470
|
};
|
|
10471
|
-
|
|
10471
|
+
tr.prototype.interfaces_ = function() {
|
|
10472
10472
|
return [];
|
|
10473
10473
|
};
|
|
10474
|
-
|
|
10475
|
-
return
|
|
10474
|
+
tr.prototype.getClass = function() {
|
|
10475
|
+
return tr;
|
|
10476
10476
|
};
|
|
10477
|
-
|
|
10477
|
+
tr.relativeSign = function(e, t) {
|
|
10478
10478
|
return e < t ? -1 : e > t ? 1 : 0;
|
|
10479
10479
|
};
|
|
10480
|
-
|
|
10480
|
+
tr.compare = function(e, t, r) {
|
|
10481
10481
|
if (t.equals2D(r))
|
|
10482
10482
|
return 0;
|
|
10483
|
-
var i =
|
|
10483
|
+
var i = tr.relativeSign(t.x, r.x), s = tr.relativeSign(t.y, r.y);
|
|
10484
10484
|
switch (e) {
|
|
10485
10485
|
case 0:
|
|
10486
|
-
return
|
|
10486
|
+
return tr.compareValue(i, s);
|
|
10487
10487
|
case 1:
|
|
10488
|
-
return
|
|
10488
|
+
return tr.compareValue(s, i);
|
|
10489
10489
|
case 2:
|
|
10490
|
-
return
|
|
10490
|
+
return tr.compareValue(s, -i);
|
|
10491
10491
|
case 3:
|
|
10492
|
-
return
|
|
10492
|
+
return tr.compareValue(-i, s);
|
|
10493
10493
|
case 4:
|
|
10494
|
-
return
|
|
10494
|
+
return tr.compareValue(-i, -s);
|
|
10495
10495
|
case 5:
|
|
10496
|
-
return
|
|
10496
|
+
return tr.compareValue(-s, -i);
|
|
10497
10497
|
case 6:
|
|
10498
|
-
return
|
|
10498
|
+
return tr.compareValue(-s, i);
|
|
10499
10499
|
case 7:
|
|
10500
|
-
return
|
|
10500
|
+
return tr.compareValue(i, -s);
|
|
10501
10501
|
}
|
|
10502
10502
|
return ve.shouldNeverReachHere("invalid octant value"), 0;
|
|
10503
10503
|
};
|
|
10504
|
-
|
|
10504
|
+
tr.compareValue = function(e, t) {
|
|
10505
10505
|
return e < 0 ? -1 : e > 0 ? 1 : t < 0 ? -1 : t > 0 ? 1 : 0;
|
|
10506
10506
|
};
|
|
10507
10507
|
var ns = function() {
|
|
@@ -10517,7 +10517,7 @@ ns.prototype.print = function(e) {
|
|
|
10517
10517
|
};
|
|
10518
10518
|
ns.prototype.compareTo = function(e) {
|
|
10519
10519
|
var t = e;
|
|
10520
|
-
return this.segmentIndex < t.segmentIndex ? -1 : this.segmentIndex > t.segmentIndex ? 1 : this.coord.equals2D(t.coord) ? 0 :
|
|
10520
|
+
return this.segmentIndex < t.segmentIndex ? -1 : this.segmentIndex > t.segmentIndex ? 1 : this.coord.equals2D(t.coord) ? 0 : tr.compare(this._segmentOctant, this.coord, t.coord);
|
|
10521
10521
|
};
|
|
10522
10522
|
ns.prototype.isEndPoint = function(e) {
|
|
10523
10523
|
return this.segmentIndex === 0 && !this._isInterior || this.segmentIndex === e;
|
|
@@ -10721,7 +10721,7 @@ st.prototype.addIntersection = function() {
|
|
|
10721
10721
|
}
|
|
10722
10722
|
};
|
|
10723
10723
|
st.prototype.toString = function() {
|
|
10724
|
-
return
|
|
10724
|
+
return on.toLineString(new rt(this._pts));
|
|
10725
10725
|
};
|
|
10726
10726
|
st.prototype.getNodeList = function() {
|
|
10727
10727
|
return this._nodeList;
|
|
@@ -10881,7 +10881,7 @@ se.prototype.equalsTopo = function(e) {
|
|
|
10881
10881
|
};
|
|
10882
10882
|
se.prototype.lineIntersection = function(e) {
|
|
10883
10883
|
try {
|
|
10884
|
-
var t =
|
|
10884
|
+
var t = rn.intersection(this.p0, this.p1, e.p0, e.p1);
|
|
10885
10885
|
return t;
|
|
10886
10886
|
} catch (r) {
|
|
10887
10887
|
if (!(r instanceof Gl)) throw r;
|
|
@@ -10972,15 +10972,15 @@ fu.prototype.interfaces_ = function() {
|
|
|
10972
10972
|
fu.prototype.getClass = function() {
|
|
10973
10973
|
return fu;
|
|
10974
10974
|
};
|
|
10975
|
-
var
|
|
10975
|
+
var pr = function() {
|
|
10976
10976
|
this._pts = null, this._start = null, this._end = null, this._env = null, this._context = null, this._id = null;
|
|
10977
10977
|
var e = arguments[0], t = arguments[1], r = arguments[2], i = arguments[3];
|
|
10978
10978
|
this._pts = e, this._start = t, this._end = r, this._context = i;
|
|
10979
10979
|
};
|
|
10980
|
-
|
|
10980
|
+
pr.prototype.getLineSegment = function(e, t) {
|
|
10981
10981
|
t.p0 = this._pts[e], t.p1 = this._pts[e + 1];
|
|
10982
10982
|
};
|
|
10983
|
-
|
|
10983
|
+
pr.prototype.computeSelect = function(e, t, r, i) {
|
|
10984
10984
|
var s = this._pts[t], o = this._pts[r];
|
|
10985
10985
|
if (i.tempEnv1.init(s, o), r - t === 1)
|
|
10986
10986
|
return i.select(this, t), null;
|
|
@@ -10989,40 +10989,40 @@ dr.prototype.computeSelect = function(e, t, r, i) {
|
|
|
10989
10989
|
var a = Math.trunc((t + r) / 2);
|
|
10990
10990
|
t < a && this.computeSelect(e, t, a, i), a < r && this.computeSelect(e, a, r, i);
|
|
10991
10991
|
};
|
|
10992
|
-
|
|
10992
|
+
pr.prototype.getCoordinates = function() {
|
|
10993
10993
|
for (var e = this, t = new Array(this._end - this._start + 1).fill(null), r = 0, i = this._start; i <= this._end; i++)
|
|
10994
10994
|
t[r++] = e._pts[i];
|
|
10995
10995
|
return t;
|
|
10996
10996
|
};
|
|
10997
|
-
|
|
10997
|
+
pr.prototype.computeOverlaps = function(e, t) {
|
|
10998
10998
|
this.computeOverlapsInternal(this._start, this._end, e, e._start, e._end, t);
|
|
10999
10999
|
};
|
|
11000
|
-
|
|
11000
|
+
pr.prototype.setId = function(e) {
|
|
11001
11001
|
this._id = e;
|
|
11002
11002
|
};
|
|
11003
|
-
|
|
11003
|
+
pr.prototype.select = function(e, t) {
|
|
11004
11004
|
this.computeSelect(e, this._start, this._end, t);
|
|
11005
11005
|
};
|
|
11006
|
-
|
|
11006
|
+
pr.prototype.getEnvelope = function() {
|
|
11007
11007
|
if (this._env === null) {
|
|
11008
11008
|
var e = this._pts[this._start], t = this._pts[this._end];
|
|
11009
11009
|
this._env = new ne(e, t);
|
|
11010
11010
|
}
|
|
11011
11011
|
return this._env;
|
|
11012
11012
|
};
|
|
11013
|
-
|
|
11013
|
+
pr.prototype.getEndIndex = function() {
|
|
11014
11014
|
return this._end;
|
|
11015
11015
|
};
|
|
11016
|
-
|
|
11016
|
+
pr.prototype.getStartIndex = function() {
|
|
11017
11017
|
return this._start;
|
|
11018
11018
|
};
|
|
11019
|
-
|
|
11019
|
+
pr.prototype.getContext = function() {
|
|
11020
11020
|
return this._context;
|
|
11021
11021
|
};
|
|
11022
|
-
|
|
11022
|
+
pr.prototype.getId = function() {
|
|
11023
11023
|
return this._id;
|
|
11024
11024
|
};
|
|
11025
|
-
|
|
11025
|
+
pr.prototype.computeOverlapsInternal = function(e, t, r, i, s, o) {
|
|
11026
11026
|
var a = this._pts[e], l = this._pts[t], u = r._pts[i], c = r._pts[s];
|
|
11027
11027
|
if (t - e === 1 && s - i === 1)
|
|
11028
11028
|
return o.overlap(this, e, r, i), null;
|
|
@@ -11031,11 +11031,11 @@ dr.prototype.computeOverlapsInternal = function(e, t, r, i, s, o) {
|
|
|
11031
11031
|
var h = Math.trunc((e + t) / 2), p = Math.trunc((i + s) / 2);
|
|
11032
11032
|
e < h && (i < p && this.computeOverlapsInternal(e, h, r, i, p, o), p < s && this.computeOverlapsInternal(e, h, r, p, s, o)), h < t && (i < p && this.computeOverlapsInternal(h, t, r, i, p, o), p < s && this.computeOverlapsInternal(h, t, r, p, s, o));
|
|
11033
11033
|
};
|
|
11034
|
-
|
|
11034
|
+
pr.prototype.interfaces_ = function() {
|
|
11035
11035
|
return [];
|
|
11036
11036
|
};
|
|
11037
|
-
|
|
11038
|
-
return
|
|
11037
|
+
pr.prototype.getClass = function() {
|
|
11038
|
+
return pr;
|
|
11039
11039
|
};
|
|
11040
11040
|
var In = function() {
|
|
11041
11041
|
};
|
|
@@ -11076,7 +11076,7 @@ In.getChains = function() {
|
|
|
11076
11076
|
return In.getChains(e, null);
|
|
11077
11077
|
} else if (arguments.length === 2) {
|
|
11078
11078
|
for (var t = arguments[0], r = arguments[1], i = new G(), s = In.getChainStartIndices(t), o = 0; o < s.length - 1; o++) {
|
|
11079
|
-
var a = new
|
|
11079
|
+
var a = new pr(t, s[o], s[o + 1], r);
|
|
11080
11080
|
i.add(a);
|
|
11081
11081
|
}
|
|
11082
11082
|
return i;
|
|
@@ -11523,7 +11523,7 @@ We.prototype.getCoordinates = function() {
|
|
|
11523
11523
|
We.prototype.addMitreJoin = function(e, t, r, i) {
|
|
11524
11524
|
var s = !0, o = null;
|
|
11525
11525
|
try {
|
|
11526
|
-
o =
|
|
11526
|
+
o = rn.intersection(t.p0, t.p1, r.p0, r.p1);
|
|
11527
11527
|
var a = i <= 0 ? 1 : o.distance(e) / Math.abs(i);
|
|
11528
11528
|
a > this._bufParams.getMitreLimit() && (s = !1);
|
|
11529
11529
|
} catch (l) {
|
|
@@ -11632,12 +11632,12 @@ Nu.MAX_CLOSING_SEG_LEN_FACTOR.get = function() {
|
|
|
11632
11632
|
return 80;
|
|
11633
11633
|
};
|
|
11634
11634
|
Object.defineProperties(We, Nu);
|
|
11635
|
-
var
|
|
11635
|
+
var ir = function() {
|
|
11636
11636
|
this._distance = 0, this._precisionModel = null, this._bufParams = null;
|
|
11637
11637
|
var e = arguments[0], t = arguments[1];
|
|
11638
11638
|
this._precisionModel = e, this._bufParams = t;
|
|
11639
11639
|
};
|
|
11640
|
-
|
|
11640
|
+
ir.prototype.getOffsetCurve = function(e, t) {
|
|
11641
11641
|
if (this._distance = t, t === 0)
|
|
11642
11642
|
return null;
|
|
11643
11643
|
var r = t < 0, i = Math.abs(t), s = this.getSegGen(i);
|
|
@@ -11645,7 +11645,7 @@ sr.prototype.getOffsetCurve = function(e, t) {
|
|
|
11645
11645
|
var o = s.getCoordinates();
|
|
11646
11646
|
return r && Ee.reverse(o), o;
|
|
11647
11647
|
};
|
|
11648
|
-
|
|
11648
|
+
ir.prototype.computeSingleSidedBufferCurve = function(e, t, r) {
|
|
11649
11649
|
var i = this.simplifyTolerance(this._distance);
|
|
11650
11650
|
if (t) {
|
|
11651
11651
|
r.addSegments(e, !0);
|
|
@@ -11662,7 +11662,7 @@ sr.prototype.computeSingleSidedBufferCurve = function(e, t, r) {
|
|
|
11662
11662
|
}
|
|
11663
11663
|
r.addLastSegment(), r.closeRing();
|
|
11664
11664
|
};
|
|
11665
|
-
|
|
11665
|
+
ir.prototype.computeRingBufferCurve = function(e, t, r) {
|
|
11666
11666
|
var i = this.simplifyTolerance(this._distance);
|
|
11667
11667
|
t === j.RIGHT && (i = -i);
|
|
11668
11668
|
var s = tt.simplify(e, i), o = s.length - 1;
|
|
@@ -11673,7 +11673,7 @@ sr.prototype.computeRingBufferCurve = function(e, t, r) {
|
|
|
11673
11673
|
}
|
|
11674
11674
|
r.closeRing();
|
|
11675
11675
|
};
|
|
11676
|
-
|
|
11676
|
+
ir.prototype.computeLineBufferCurve = function(e, t) {
|
|
11677
11677
|
var r = this.simplifyTolerance(this._distance), i = tt.simplify(e, r), s = i.length - 1;
|
|
11678
11678
|
t.initSideSegments(i[0], i[1], j.LEFT);
|
|
11679
11679
|
for (var o = 2; o <= s; o++)
|
|
@@ -11685,7 +11685,7 @@ sr.prototype.computeLineBufferCurve = function(e, t) {
|
|
|
11685
11685
|
t.addNextSegment(a[u], !0);
|
|
11686
11686
|
t.addLastSegment(), t.addLineEndCap(a[1], a[0]), t.closeRing();
|
|
11687
11687
|
};
|
|
11688
|
-
|
|
11688
|
+
ir.prototype.computePointCurve = function(e, t) {
|
|
11689
11689
|
switch (this._bufParams.getEndCapStyle()) {
|
|
11690
11690
|
case Oe.CAP_ROUND:
|
|
11691
11691
|
t.createCircle(e);
|
|
@@ -11695,7 +11695,7 @@ sr.prototype.computePointCurve = function(e, t) {
|
|
|
11695
11695
|
break;
|
|
11696
11696
|
}
|
|
11697
11697
|
};
|
|
11698
|
-
|
|
11698
|
+
ir.prototype.getLineCurve = function(e, t) {
|
|
11699
11699
|
if (this._distance = t, t < 0 && !this._bufParams.isSingleSided() || t === 0)
|
|
11700
11700
|
return null;
|
|
11701
11701
|
var r = Math.abs(t), i = this.getSegGen(r);
|
|
@@ -11709,21 +11709,21 @@ sr.prototype.getLineCurve = function(e, t) {
|
|
|
11709
11709
|
var o = i.getCoordinates();
|
|
11710
11710
|
return o;
|
|
11711
11711
|
};
|
|
11712
|
-
|
|
11712
|
+
ir.prototype.getBufferParameters = function() {
|
|
11713
11713
|
return this._bufParams;
|
|
11714
11714
|
};
|
|
11715
|
-
|
|
11715
|
+
ir.prototype.simplifyTolerance = function(e) {
|
|
11716
11716
|
return e * this._bufParams.getSimplifyFactor();
|
|
11717
11717
|
};
|
|
11718
|
-
|
|
11718
|
+
ir.prototype.getRingCurve = function(e, t, r) {
|
|
11719
11719
|
if (this._distance = r, e.length <= 2)
|
|
11720
11720
|
return this.getLineCurve(e, r);
|
|
11721
11721
|
if (r === 0)
|
|
11722
|
-
return
|
|
11722
|
+
return ir.copyCoordinates(e);
|
|
11723
11723
|
var i = this.getSegGen(r);
|
|
11724
11724
|
return this.computeRingBufferCurve(e, t, i), i.getCoordinates();
|
|
11725
11725
|
};
|
|
11726
|
-
|
|
11726
|
+
ir.prototype.computeOffsetCurve = function(e, t, r) {
|
|
11727
11727
|
var i = this.simplifyTolerance(this._distance);
|
|
11728
11728
|
if (t) {
|
|
11729
11729
|
var s = tt.simplify(e, -i), o = s.length - 1;
|
|
@@ -11738,16 +11738,16 @@ sr.prototype.computeOffsetCurve = function(e, t, r) {
|
|
|
11738
11738
|
}
|
|
11739
11739
|
r.addLastSegment();
|
|
11740
11740
|
};
|
|
11741
|
-
|
|
11741
|
+
ir.prototype.getSegGen = function(e) {
|
|
11742
11742
|
return new We(this._precisionModel, this._bufParams, e);
|
|
11743
11743
|
};
|
|
11744
|
-
|
|
11744
|
+
ir.prototype.interfaces_ = function() {
|
|
11745
11745
|
return [];
|
|
11746
11746
|
};
|
|
11747
|
-
|
|
11748
|
-
return
|
|
11747
|
+
ir.prototype.getClass = function() {
|
|
11748
|
+
return ir;
|
|
11749
11749
|
};
|
|
11750
|
-
|
|
11750
|
+
ir.copyCoordinates = function(e) {
|
|
11751
11751
|
for (var t = new Array(e.length).fill(null), r = 0; r < t.length; r++)
|
|
11752
11752
|
t[r] = new N(e[r]);
|
|
11753
11753
|
return t;
|
|
@@ -11766,7 +11766,7 @@ To.prototype.findStabbedSegments = function() {
|
|
|
11766
11766
|
}
|
|
11767
11767
|
return r;
|
|
11768
11768
|
} else if (arguments.length === 3) {
|
|
11769
|
-
if (he(arguments[2],
|
|
11769
|
+
if (he(arguments[2], nn) && arguments[0] instanceof N && arguments[1] instanceof Zc)
|
|
11770
11770
|
for (var a = arguments[0], l = arguments[1], u = arguments[2], c = l.getEdge().getCoordinates(), h = 0; h < c.length - 1; h++) {
|
|
11771
11771
|
e._seg.p0 = c[h], e._seg.p1 = c[h + 1], e._seg.p0.y > e._seg.p1.y && e._seg.reverse();
|
|
11772
11772
|
var p = Math.max(e._seg.p0.x, e._seg.p1.x);
|
|
@@ -11777,7 +11777,7 @@ To.prototype.findStabbedSegments = function() {
|
|
|
11777
11777
|
u.add(_);
|
|
11778
11778
|
}
|
|
11779
11779
|
}
|
|
11780
|
-
else if (he(arguments[2],
|
|
11780
|
+
else if (he(arguments[2], nn) && arguments[0] instanceof N && he(arguments[1], nn))
|
|
11781
11781
|
for (var C = arguments[0], P = arguments[1], O = arguments[2], g = P.iterator(); g.hasNext(); ) {
|
|
11782
11782
|
var y = g.next();
|
|
11783
11783
|
y.isForward() && e.findStabbedSegments(C, y, O);
|
|
@@ -11788,7 +11788,7 @@ To.prototype.getDepth = function(e) {
|
|
|
11788
11788
|
var t = this.findStabbedSegments(e);
|
|
11789
11789
|
if (t.size() === 0)
|
|
11790
11790
|
return 0;
|
|
11791
|
-
var r =
|
|
11791
|
+
var r = un.min(t);
|
|
11792
11792
|
return r._leftDepth;
|
|
11793
11793
|
};
|
|
11794
11794
|
To.prototype.interfaces_ = function() {
|
|
@@ -11891,8 +11891,8 @@ Le.circumcentre = function(e, t, r) {
|
|
|
11891
11891
|
return new N(m, _);
|
|
11892
11892
|
};
|
|
11893
11893
|
Le.perpendicularBisector = function(e, t) {
|
|
11894
|
-
var r = t.x - e.x, i = t.y - e.y, s = new
|
|
11895
|
-
return new
|
|
11894
|
+
var r = t.x - e.x, i = t.y - e.y, s = new rn(e.x + r / 2, e.y + i / 2, 1), o = new rn(e.x - i + r / 2, e.y + r + i / 2, 1);
|
|
11895
|
+
return new rn(s, o);
|
|
11896
11896
|
};
|
|
11897
11897
|
Le.angleBisector = function(e, t, r) {
|
|
11898
11898
|
var i = t.distance(e), s = t.distance(r), o = i / (i + s), a = r.x - e.x, l = r.y - e.y, u = new N(e.x + o * a, e.y + o * l);
|
|
@@ -11963,7 +11963,7 @@ Yr.prototype.addPolygonRing = function(e, t, r, i, s) {
|
|
|
11963
11963
|
Yr.prototype.add = function(e) {
|
|
11964
11964
|
if (e.isEmpty())
|
|
11965
11965
|
return null;
|
|
11966
|
-
e instanceof gt ? this.addPolygon(e) : e instanceof $e ? this.addLineString(e) : e instanceof
|
|
11966
|
+
e instanceof gt ? this.addPolygon(e) : e instanceof $e ? this.addLineString(e) : e instanceof hr ? this.addPoint(e) : e instanceof fa ? this.addCollection(e) : e instanceof Ls ? this.addCollection(e) : e instanceof Hn ? this.addCollection(e) : e instanceof Wt && this.addCollection(e);
|
|
11967
11967
|
};
|
|
11968
11968
|
Yr.prototype.isErodedCompletely = function(e, t) {
|
|
11969
11969
|
var r = e.getCoordinates();
|
|
@@ -12405,10 +12405,10 @@ is.compareOriented = function(e, t, r, i) {
|
|
|
12405
12405
|
return 0;
|
|
12406
12406
|
}
|
|
12407
12407
|
};
|
|
12408
|
-
var
|
|
12408
|
+
var cn = function() {
|
|
12409
12409
|
this._edges = new G(), this._ocaMap = new At();
|
|
12410
12410
|
};
|
|
12411
|
-
|
|
12411
|
+
cn.prototype.print = function(e) {
|
|
12412
12412
|
var t = this;
|
|
12413
12413
|
e.print("MULTILINESTRING ( ");
|
|
12414
12414
|
for (var r = 0; r < this._edges.size(); r++) {
|
|
@@ -12420,39 +12420,39 @@ hn.prototype.print = function(e) {
|
|
|
12420
12420
|
}
|
|
12421
12421
|
e.print(") ");
|
|
12422
12422
|
};
|
|
12423
|
-
|
|
12423
|
+
cn.prototype.addAll = function(e) {
|
|
12424
12424
|
for (var t = this, r = e.iterator(); r.hasNext(); )
|
|
12425
12425
|
t.add(r.next());
|
|
12426
12426
|
};
|
|
12427
|
-
|
|
12427
|
+
cn.prototype.findEdgeIndex = function(e) {
|
|
12428
12428
|
for (var t = this, r = 0; r < this._edges.size(); r++)
|
|
12429
12429
|
if (t._edges.get(r).equals(e))
|
|
12430
12430
|
return r;
|
|
12431
12431
|
return -1;
|
|
12432
12432
|
};
|
|
12433
|
-
|
|
12433
|
+
cn.prototype.iterator = function() {
|
|
12434
12434
|
return this._edges.iterator();
|
|
12435
12435
|
};
|
|
12436
|
-
|
|
12436
|
+
cn.prototype.getEdges = function() {
|
|
12437
12437
|
return this._edges;
|
|
12438
12438
|
};
|
|
12439
|
-
|
|
12439
|
+
cn.prototype.get = function(e) {
|
|
12440
12440
|
return this._edges.get(e);
|
|
12441
12441
|
};
|
|
12442
|
-
|
|
12442
|
+
cn.prototype.findEqualEdge = function(e) {
|
|
12443
12443
|
var t = new is(e.getCoordinates()), r = this._ocaMap.get(t);
|
|
12444
12444
|
return r;
|
|
12445
12445
|
};
|
|
12446
|
-
|
|
12446
|
+
cn.prototype.add = function(e) {
|
|
12447
12447
|
this._edges.add(e);
|
|
12448
12448
|
var t = new is(e.getCoordinates());
|
|
12449
12449
|
this._ocaMap.put(t, e);
|
|
12450
12450
|
};
|
|
12451
|
-
|
|
12451
|
+
cn.prototype.interfaces_ = function() {
|
|
12452
12452
|
return [];
|
|
12453
12453
|
};
|
|
12454
|
-
|
|
12455
|
-
return
|
|
12454
|
+
cn.prototype.getClass = function() {
|
|
12455
|
+
return cn;
|
|
12456
12456
|
};
|
|
12457
12457
|
var Fs = function() {
|
|
12458
12458
|
};
|
|
@@ -12882,7 +12882,7 @@ var ec = function(n) {
|
|
|
12882
12882
|
return n.prototype.updateIM.apply(this, arguments);
|
|
12883
12883
|
}, e;
|
|
12884
12884
|
}(br), Ut = function(e) {
|
|
12885
|
-
this._workingPrecisionModel = null, this._workingNoder = null, this._geomFact = null, this._graph = null, this._edgeList = new
|
|
12885
|
+
this._workingPrecisionModel = null, this._workingNoder = null, this._geomFact = null, this._graph = null, this._edgeList = new cn(), this._bufParams = e || null;
|
|
12886
12886
|
};
|
|
12887
12887
|
Ut.prototype.setWorkingPrecisionModel = function(e) {
|
|
12888
12888
|
this._workingPrecisionModel = e;
|
|
@@ -12911,7 +12911,7 @@ Ut.prototype.createSubgraphs = function(e) {
|
|
|
12911
12911
|
s.create(i), t.add(s);
|
|
12912
12912
|
}
|
|
12913
12913
|
}
|
|
12914
|
-
return
|
|
12914
|
+
return un.sort(t, un.reverseOrder()), t;
|
|
12915
12915
|
};
|
|
12916
12916
|
Ut.prototype.createEmptyResultGeometry = function() {
|
|
12917
12917
|
var e = this._geomFact.createPolygon();
|
|
@@ -12926,11 +12926,11 @@ Ut.prototype.getNoder = function(e) {
|
|
|
12926
12926
|
Ut.prototype.buffer = function(e, t) {
|
|
12927
12927
|
var r = this._workingPrecisionModel;
|
|
12928
12928
|
r === null && (r = e.getPrecisionModel()), this._geomFact = e.getFactory();
|
|
12929
|
-
var i = new
|
|
12929
|
+
var i = new ir(r, this._bufParams), s = new Yr(e, t, i), o = s.getCurves();
|
|
12930
12930
|
if (o.size() <= 0)
|
|
12931
12931
|
return this.createEmptyResultGeometry();
|
|
12932
12932
|
this.computeNodedEdges(o, r), this._graph = new Qe(new Hp()), this._graph.addEdges(this._edgeList.getEdges());
|
|
12933
|
-
var a = this.createSubgraphs(this._graph), l = new
|
|
12933
|
+
var a = this.createSubgraphs(this._graph), l = new fr(this._geomFact);
|
|
12934
12934
|
this.buildSubgraphs(a, l);
|
|
12935
12935
|
var u = l.getPolygons();
|
|
12936
12936
|
if (u.size() <= 0)
|
|
@@ -13099,64 +13099,64 @@ Zp.fact.get = function() {
|
|
|
13099
13099
|
return new we();
|
|
13100
13100
|
};
|
|
13101
13101
|
Object.defineProperties(Ln, Zp);
|
|
13102
|
-
var
|
|
13102
|
+
var sr = function() {
|
|
13103
13103
|
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;
|
|
13104
13104
|
var e = arguments[0], t = arguments[1], r = arguments[2];
|
|
13105
13105
|
if (this._originalPt = e, this._pt = e, this._scaleFactor = t, this._li = r, t <= 0)
|
|
13106
13106
|
throw new He("Scale factor must be non-zero");
|
|
13107
13107
|
t !== 1 && (this._pt = new N(this.scale(e.x), this.scale(e.y)), this._p0Scaled = new N(), this._p1Scaled = new N()), this.initCorners(this._pt);
|
|
13108
13108
|
}, Kp = { SAFE_ENV_EXPANSION_FACTOR: { configurable: !0 } };
|
|
13109
|
-
|
|
13109
|
+
sr.prototype.intersectsScaled = function(e, t) {
|
|
13110
13110
|
var r = Math.min(e.x, t.x), i = Math.max(e.x, t.x), s = Math.min(e.y, t.y), o = Math.max(e.y, t.y), a = this._maxx < r || this._minx > i || this._maxy < s || this._miny > o;
|
|
13111
13111
|
if (a)
|
|
13112
13112
|
return !1;
|
|
13113
13113
|
var l = this.intersectsToleranceSquare(e, t);
|
|
13114
13114
|
return ve.isTrue(!(a && l), "Found bad envelope test"), l;
|
|
13115
13115
|
};
|
|
13116
|
-
|
|
13116
|
+
sr.prototype.initCorners = function(e) {
|
|
13117
13117
|
var t = 0.5;
|
|
13118
13118
|
this._minx = e.x - t, this._maxx = e.x + t, this._miny = e.y - t, this._maxy = e.y + t, this._corner[0] = new N(this._maxx, this._maxy), this._corner[1] = new N(this._minx, this._maxy), this._corner[2] = new N(this._minx, this._miny), this._corner[3] = new N(this._maxx, this._miny);
|
|
13119
13119
|
};
|
|
13120
|
-
|
|
13120
|
+
sr.prototype.intersects = function(e, t) {
|
|
13121
13121
|
return this._scaleFactor === 1 ? this.intersectsScaled(e, t) : (this.copyScaled(e, this._p0Scaled), this.copyScaled(t, this._p1Scaled), this.intersectsScaled(this._p0Scaled, this._p1Scaled));
|
|
13122
13122
|
};
|
|
13123
|
-
|
|
13123
|
+
sr.prototype.scale = function(e) {
|
|
13124
13124
|
return Math.round(e * this._scaleFactor);
|
|
13125
13125
|
};
|
|
13126
|
-
|
|
13126
|
+
sr.prototype.getCoordinate = function() {
|
|
13127
13127
|
return this._originalPt;
|
|
13128
13128
|
};
|
|
13129
|
-
|
|
13129
|
+
sr.prototype.copyScaled = function(e, t) {
|
|
13130
13130
|
t.x = this.scale(e.x), t.y = this.scale(e.y);
|
|
13131
13131
|
};
|
|
13132
|
-
|
|
13132
|
+
sr.prototype.getSafeEnvelope = function() {
|
|
13133
13133
|
if (this._safeEnv === null) {
|
|
13134
|
-
var e =
|
|
13134
|
+
var e = sr.SAFE_ENV_EXPANSION_FACTOR / this._scaleFactor;
|
|
13135
13135
|
this._safeEnv = new ne(this._originalPt.x - e, this._originalPt.x + e, this._originalPt.y - e, this._originalPt.y + e);
|
|
13136
13136
|
}
|
|
13137
13137
|
return this._safeEnv;
|
|
13138
13138
|
};
|
|
13139
|
-
|
|
13139
|
+
sr.prototype.intersectsPixelClosure = function(e, t) {
|
|
13140
13140
|
return this._li.computeIntersection(e, t, this._corner[0], this._corner[1]), !!(this._li.hasIntersection() || (this._li.computeIntersection(e, t, this._corner[1], this._corner[2]), this._li.hasIntersection()) || (this._li.computeIntersection(e, t, this._corner[2], this._corner[3]), this._li.hasIntersection()) || (this._li.computeIntersection(e, t, this._corner[3], this._corner[0]), this._li.hasIntersection()));
|
|
13141
13141
|
};
|
|
13142
|
-
|
|
13142
|
+
sr.prototype.intersectsToleranceSquare = function(e, t) {
|
|
13143
13143
|
var r = !1, i = !1;
|
|
13144
13144
|
return this._li.computeIntersection(e, t, this._corner[0], this._corner[1]), !!(this._li.isProper() || (this._li.computeIntersection(e, t, this._corner[1], this._corner[2]), this._li.isProper()) || (this._li.hasIntersection() && (r = !0), this._li.computeIntersection(e, t, this._corner[2], this._corner[3]), this._li.isProper()) || (this._li.hasIntersection() && (i = !0), this._li.computeIntersection(e, t, this._corner[3], this._corner[0]), this._li.isProper()) || r && i || e.equals(this._pt) || t.equals(this._pt));
|
|
13145
13145
|
};
|
|
13146
|
-
|
|
13146
|
+
sr.prototype.addSnappedNode = function(e, t) {
|
|
13147
13147
|
var r = e.getCoordinate(t), i = e.getCoordinate(t + 1);
|
|
13148
13148
|
return this.intersects(r, i) ? (e.addIntersection(this.getCoordinate(), t), !0) : !1;
|
|
13149
13149
|
};
|
|
13150
|
-
|
|
13150
|
+
sr.prototype.interfaces_ = function() {
|
|
13151
13151
|
return [];
|
|
13152
13152
|
};
|
|
13153
|
-
|
|
13154
|
-
return
|
|
13153
|
+
sr.prototype.getClass = function() {
|
|
13154
|
+
return sr;
|
|
13155
13155
|
};
|
|
13156
13156
|
Kp.SAFE_ENV_EXPANSION_FACTOR.get = function() {
|
|
13157
13157
|
return 0.75;
|
|
13158
13158
|
};
|
|
13159
|
-
Object.defineProperties(
|
|
13159
|
+
Object.defineProperties(sr, Kp);
|
|
13160
13160
|
var du = function() {
|
|
13161
13161
|
this.tempEnv1 = new ne(), this.selectedSegment = new se();
|
|
13162
13162
|
};
|
|
@@ -13292,7 +13292,7 @@ ii.prototype.computeVertexSnaps = function() {
|
|
|
13292
13292
|
}
|
|
13293
13293
|
else if (arguments[0] instanceof st)
|
|
13294
13294
|
for (var s = arguments[0], o = s.getCoordinates(), a = 0; a < o.length; a++) {
|
|
13295
|
-
var l = new
|
|
13295
|
+
var l = new sr(o[a], e._scaleFactor, e._li), u = e._pointSnapper.snap(l, s, a);
|
|
13296
13296
|
u && s.addIntersection(o[a], a);
|
|
13297
13297
|
}
|
|
13298
13298
|
};
|
|
@@ -13301,7 +13301,7 @@ ii.prototype.computeNodes = function(e) {
|
|
|
13301
13301
|
};
|
|
13302
13302
|
ii.prototype.computeIntersectionSnaps = function(e) {
|
|
13303
13303
|
for (var t = this, r = e.iterator(); r.hasNext(); ) {
|
|
13304
|
-
var i = r.next(), s = new
|
|
13304
|
+
var i = r.next(), s = new sr(i, t._scaleFactor, t._li);
|
|
13305
13305
|
t._pointSnapper.snap(s);
|
|
13306
13306
|
}
|
|
13307
13307
|
};
|
|
@@ -13575,7 +13575,7 @@ os.prototype.getMaxPointDistance = function() {
|
|
|
13575
13575
|
return this._maxPtDist;
|
|
13576
13576
|
};
|
|
13577
13577
|
os.prototype.interfaces_ = function() {
|
|
13578
|
-
return [
|
|
13578
|
+
return [an];
|
|
13579
13579
|
};
|
|
13580
13580
|
os.prototype.getClass = function() {
|
|
13581
13581
|
return os;
|
|
@@ -13666,7 +13666,7 @@ Ct.getLines = function() {
|
|
|
13666
13666
|
}
|
|
13667
13667
|
}
|
|
13668
13668
|
};
|
|
13669
|
-
var
|
|
13669
|
+
var hn = function() {
|
|
13670
13670
|
if (this._boundaryRule = qr.OGC_SFS_BOUNDARY_RULE, this._isIn = null, this._numBoundaries = null, arguments.length !== 0) {
|
|
13671
13671
|
if (arguments.length === 1) {
|
|
13672
13672
|
var e = arguments[0];
|
|
@@ -13676,7 +13676,7 @@ var fn = function() {
|
|
|
13676
13676
|
}
|
|
13677
13677
|
}
|
|
13678
13678
|
};
|
|
13679
|
-
|
|
13679
|
+
hn.prototype.locateInternal = function() {
|
|
13680
13680
|
var e = this;
|
|
13681
13681
|
if (arguments[0] instanceof N && arguments[1] instanceof gt) {
|
|
13682
13682
|
var t = arguments[0], r = arguments[1];
|
|
@@ -13701,23 +13701,23 @@ fn.prototype.locateInternal = function() {
|
|
|
13701
13701
|
return L.EXTERIOR;
|
|
13702
13702
|
var h = c.getCoordinates();
|
|
13703
13703
|
return !c.isClosed() && (u.equals(h[0]) || u.equals(h[h.length - 1])) ? L.BOUNDARY : Y.isOnLine(u, h) ? L.INTERIOR : L.EXTERIOR;
|
|
13704
|
-
} else if (arguments[0] instanceof N && arguments[1] instanceof
|
|
13704
|
+
} else if (arguments[0] instanceof N && arguments[1] instanceof hr) {
|
|
13705
13705
|
var p = arguments[0], m = arguments[1], _ = m.getCoordinate();
|
|
13706
13706
|
return _.equals2D(p) ? L.INTERIOR : L.EXTERIOR;
|
|
13707
13707
|
}
|
|
13708
13708
|
};
|
|
13709
|
-
|
|
13709
|
+
hn.prototype.locateInPolygonRing = function(e, t) {
|
|
13710
13710
|
return t.getEnvelopeInternal().intersects(e) ? Y.locatePointInRing(e, t.getCoordinates()) : L.EXTERIOR;
|
|
13711
13711
|
};
|
|
13712
|
-
|
|
13712
|
+
hn.prototype.intersects = function(e, t) {
|
|
13713
13713
|
return this.locate(e, t) !== L.EXTERIOR;
|
|
13714
13714
|
};
|
|
13715
|
-
|
|
13715
|
+
hn.prototype.updateLocationInfo = function(e) {
|
|
13716
13716
|
e === L.INTERIOR && (this._isIn = !0), e === L.BOUNDARY && this._numBoundaries++;
|
|
13717
13717
|
};
|
|
13718
|
-
|
|
13718
|
+
hn.prototype.computeLocation = function(e, t) {
|
|
13719
13719
|
var r = this;
|
|
13720
|
-
if (t instanceof
|
|
13720
|
+
if (t instanceof hr && this.updateLocationInfo(this.locateInternal(e, t)), t instanceof $e)
|
|
13721
13721
|
this.updateLocationInfo(this.locateInternal(e, t));
|
|
13722
13722
|
else if (t instanceof gt)
|
|
13723
13723
|
this.updateLocationInfo(this.locateInternal(e, t));
|
|
@@ -13737,14 +13737,14 @@ fn.prototype.computeLocation = function(e, t) {
|
|
|
13737
13737
|
h !== t && r.computeLocation(e, h);
|
|
13738
13738
|
}
|
|
13739
13739
|
};
|
|
13740
|
-
|
|
13740
|
+
hn.prototype.locate = function(e, t) {
|
|
13741
13741
|
return t.isEmpty() ? L.EXTERIOR : t instanceof $e ? this.locateInternal(e, t) : t instanceof gt ? this.locateInternal(e, t) : (this._isIn = !1, this._numBoundaries = 0, this.computeLocation(e, t), this._boundaryRule.isInBoundary(this._numBoundaries) ? L.BOUNDARY : this._numBoundaries > 0 || this._isIn ? L.INTERIOR : L.EXTERIOR);
|
|
13742
13742
|
};
|
|
13743
|
-
|
|
13743
|
+
hn.prototype.interfaces_ = function() {
|
|
13744
13744
|
return [];
|
|
13745
13745
|
};
|
|
13746
|
-
|
|
13747
|
-
return
|
|
13746
|
+
hn.prototype.getClass = function() {
|
|
13747
|
+
return hn;
|
|
13748
13748
|
};
|
|
13749
13749
|
var Bt = function n() {
|
|
13750
13750
|
if (this._component = null, this._segIndex = null, this._pt = null, arguments.length === 2) {
|
|
@@ -13781,7 +13781,7 @@ var Zi = function(e) {
|
|
|
13781
13781
|
this._pts = e || null;
|
|
13782
13782
|
};
|
|
13783
13783
|
Zi.prototype.filter = function(e) {
|
|
13784
|
-
e instanceof
|
|
13784
|
+
e instanceof hr && this._pts.add(e);
|
|
13785
13785
|
};
|
|
13786
13786
|
Zi.prototype.interfaces_ = function() {
|
|
13787
13787
|
return [Tn];
|
|
@@ -13792,10 +13792,10 @@ Zi.prototype.getClass = function() {
|
|
|
13792
13792
|
Zi.getPoints = function() {
|
|
13793
13793
|
if (arguments.length === 1) {
|
|
13794
13794
|
var e = arguments[0];
|
|
13795
|
-
return e instanceof
|
|
13795
|
+
return e instanceof hr ? un.singletonList(e) : Zi.getPoints(e, new G());
|
|
13796
13796
|
} else if (arguments.length === 2) {
|
|
13797
13797
|
var t = arguments[0], r = arguments[1];
|
|
13798
|
-
return t instanceof
|
|
13798
|
+
return t instanceof hr ? r.add(t) : t instanceof Wt && t.apply(new Zi(r)), r;
|
|
13799
13799
|
}
|
|
13800
13800
|
};
|
|
13801
13801
|
var Oo = function() {
|
|
@@ -13804,7 +13804,7 @@ var Oo = function() {
|
|
|
13804
13804
|
this._locations = e;
|
|
13805
13805
|
};
|
|
13806
13806
|
Oo.prototype.filter = function(e) {
|
|
13807
|
-
(e instanceof
|
|
13807
|
+
(e instanceof hr || e instanceof $e || e instanceof gt) && this._locations.add(new Bt(e, 0, e.getCoordinate()));
|
|
13808
13808
|
};
|
|
13809
13809
|
Oo.prototype.interfaces_ = function() {
|
|
13810
13810
|
return [Tn];
|
|
@@ -13817,7 +13817,7 @@ Oo.getLocations = function(e) {
|
|
|
13817
13817
|
return e.apply(new Oo(t)), t;
|
|
13818
13818
|
};
|
|
13819
13819
|
var xt = function() {
|
|
13820
|
-
if (this._geom = null, this._terminateDistance = 0, this._ptLocator = new
|
|
13820
|
+
if (this._geom = null, this._terminateDistance = 0, this._ptLocator = new hn(), this._minDistanceLocation = null, this._minDistance = pe.MAX_VALUE, arguments.length === 2) {
|
|
13821
13821
|
var e = arguments[0], t = arguments[1];
|
|
13822
13822
|
this._geom = [e, t], this._terminateDistance = 0;
|
|
13823
13823
|
} else if (arguments.length === 3) {
|
|
@@ -13840,7 +13840,7 @@ xt.prototype.computeContainmentDistance = function() {
|
|
|
13840
13840
|
return this._minDistanceLocation[s] = i[0], this._minDistanceLocation[r] = i[1], null;
|
|
13841
13841
|
}
|
|
13842
13842
|
} else if (arguments.length === 3) {
|
|
13843
|
-
if (arguments[2] instanceof Array && he(arguments[0],
|
|
13843
|
+
if (arguments[2] instanceof Array && he(arguments[0], nn) && he(arguments[1], nn)) {
|
|
13844
13844
|
for (var l = arguments[0], u = arguments[1], c = arguments[2], h = 0; h < l.size(); h++)
|
|
13845
13845
|
for (var p = l.get(h), m = 0; m < u.size(); m++)
|
|
13846
13846
|
if (e.computeContainmentDistance(p, u.get(m), c), e._minDistance <= e._terminateDistance)
|
|
@@ -13886,7 +13886,7 @@ xt.prototype.computeMinDistance = function() {
|
|
|
13886
13886
|
return null;
|
|
13887
13887
|
this.computeFacetDistance();
|
|
13888
13888
|
} else if (arguments.length === 3) {
|
|
13889
|
-
if (arguments[2] instanceof Array && arguments[0] instanceof $e && arguments[1] instanceof
|
|
13889
|
+
if (arguments[2] instanceof Array && arguments[0] instanceof $e && arguments[1] instanceof hr) {
|
|
13890
13890
|
var t = arguments[0], r = arguments[1], i = arguments[2];
|
|
13891
13891
|
if (t.getEnvelopeInternal().distance(r.getEnvelopeInternal()) > this._minDistance)
|
|
13892
13892
|
return null;
|
|
@@ -13990,7 +13990,7 @@ Lt.prototype.initialize = function() {
|
|
|
13990
13990
|
}
|
|
13991
13991
|
};
|
|
13992
13992
|
Lt.prototype.toString = function() {
|
|
13993
|
-
return
|
|
13993
|
+
return on.toLineString(this._pt[0], this._pt[1]);
|
|
13994
13994
|
};
|
|
13995
13995
|
Lt.prototype.getDistance = function() {
|
|
13996
13996
|
return this._distance;
|
|
@@ -14143,27 +14143,27 @@ as.prototype.getMaxPointDistance = function() {
|
|
|
14143
14143
|
return this._maxPtDist;
|
|
14144
14144
|
};
|
|
14145
14145
|
as.prototype.interfaces_ = function() {
|
|
14146
|
-
return [
|
|
14146
|
+
return [an];
|
|
14147
14147
|
};
|
|
14148
14148
|
as.prototype.getClass = function() {
|
|
14149
14149
|
return as;
|
|
14150
14150
|
};
|
|
14151
|
-
var
|
|
14151
|
+
var cr = function(e, t, r) {
|
|
14152
14152
|
this._minValidDistance = null, this._maxValidDistance = null, this._minDistanceFound = null, this._maxDistanceFound = null, this._isValid = !0, this._errMsg = null, this._errorLocation = null, this._errorIndicator = null, this._input = e || null, this._bufDistance = t || null, this._result = r || null;
|
|
14153
14153
|
}, Mh = { VERBOSE: { configurable: !0 }, MAX_DISTANCE_DIFF_FRAC: { configurable: !0 } };
|
|
14154
|
-
|
|
14154
|
+
cr.prototype.checkMaximumDistance = function(e, t, r) {
|
|
14155
14155
|
var i = new Wr(t, e);
|
|
14156
14156
|
if (i.setDensifyFraction(0.25), this._maxDistanceFound = i.orientedDistance(), this._maxDistanceFound > r) {
|
|
14157
14157
|
this._isValid = !1;
|
|
14158
14158
|
var s = i.getCoordinates();
|
|
14159
|
-
this._errorLocation = s[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too large (" + this._maxDistanceFound + " at " +
|
|
14159
|
+
this._errorLocation = s[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too large (" + this._maxDistanceFound + " at " + on.toLineString(s[0], s[1]) + ")";
|
|
14160
14160
|
}
|
|
14161
14161
|
};
|
|
14162
|
-
|
|
14163
|
-
var e = Math.abs(this._bufDistance), t =
|
|
14164
|
-
return this._minValidDistance = e - t, this._maxValidDistance = e + t, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(),
|
|
14162
|
+
cr.prototype.isValid = function() {
|
|
14163
|
+
var e = Math.abs(this._bufDistance), t = cr.MAX_DISTANCE_DIFF_FRAC * e;
|
|
14164
|
+
return this._minValidDistance = e - t, this._maxValidDistance = e + t, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), cr.VERBOSE && bt.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
|
|
14165
14165
|
};
|
|
14166
|
-
|
|
14166
|
+
cr.prototype.checkNegativeValid = function() {
|
|
14167
14167
|
if (!(this._input instanceof gt || this._input instanceof Hn || this._input instanceof Wt))
|
|
14168
14168
|
return null;
|
|
14169
14169
|
var e = this.getPolygonLines(this._input);
|
|
@@ -14171,41 +14171,41 @@ hr.prototype.checkNegativeValid = function() {
|
|
|
14171
14171
|
return null;
|
|
14172
14172
|
this.checkMaximumDistance(e, this._result, this._maxValidDistance);
|
|
14173
14173
|
};
|
|
14174
|
-
|
|
14174
|
+
cr.prototype.getErrorIndicator = function() {
|
|
14175
14175
|
return this._errorIndicator;
|
|
14176
14176
|
};
|
|
14177
|
-
|
|
14177
|
+
cr.prototype.checkMinimumDistance = function(e, t, r) {
|
|
14178
14178
|
var i = new xt(e, t, r);
|
|
14179
14179
|
if (this._minDistanceFound = i.distance(), this._minDistanceFound < r) {
|
|
14180
14180
|
this._isValid = !1;
|
|
14181
14181
|
var s = i.nearestPoints();
|
|
14182
|
-
this._errorLocation = i.nearestPoints()[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too small (" + this._minDistanceFound + " at " +
|
|
14182
|
+
this._errorLocation = i.nearestPoints()[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too small (" + this._minDistanceFound + " at " + on.toLineString(s[0], s[1]) + " )";
|
|
14183
14183
|
}
|
|
14184
14184
|
};
|
|
14185
|
-
|
|
14185
|
+
cr.prototype.checkPositiveValid = function() {
|
|
14186
14186
|
var e = this._result.getBoundary();
|
|
14187
14187
|
if (this.checkMinimumDistance(this._input, e, this._minValidDistance), !this._isValid)
|
|
14188
14188
|
return null;
|
|
14189
14189
|
this.checkMaximumDistance(this._input, e, this._maxValidDistance);
|
|
14190
14190
|
};
|
|
14191
|
-
|
|
14191
|
+
cr.prototype.getErrorLocation = function() {
|
|
14192
14192
|
return this._errorLocation;
|
|
14193
14193
|
};
|
|
14194
|
-
|
|
14194
|
+
cr.prototype.getPolygonLines = function(e) {
|
|
14195
14195
|
for (var t = new G(), r = new Ct(t), i = Si.getPolygons(e), s = i.iterator(); s.hasNext(); ) {
|
|
14196
14196
|
var o = s.next();
|
|
14197
14197
|
o.apply(r);
|
|
14198
14198
|
}
|
|
14199
14199
|
return e.getFactory().buildGeometry(t);
|
|
14200
14200
|
};
|
|
14201
|
-
|
|
14201
|
+
cr.prototype.getErrorMessage = function() {
|
|
14202
14202
|
return this._errMsg;
|
|
14203
14203
|
};
|
|
14204
|
-
|
|
14204
|
+
cr.prototype.interfaces_ = function() {
|
|
14205
14205
|
return [];
|
|
14206
14206
|
};
|
|
14207
|
-
|
|
14208
|
-
return
|
|
14207
|
+
cr.prototype.getClass = function() {
|
|
14208
|
+
return cr;
|
|
14209
14209
|
};
|
|
14210
14210
|
Mh.VERBOSE.get = function() {
|
|
14211
14211
|
return !1;
|
|
@@ -14213,7 +14213,7 @@ Mh.VERBOSE.get = function() {
|
|
|
14213
14213
|
Mh.MAX_DISTANCE_DIFF_FRAC.get = function() {
|
|
14214
14214
|
return 0.012;
|
|
14215
14215
|
};
|
|
14216
|
-
Object.defineProperties(
|
|
14216
|
+
Object.defineProperties(cr, Mh);
|
|
14217
14217
|
var Tt = function(e, t, r) {
|
|
14218
14218
|
this._isValid = !0, this._errorMsg = null, this._errorLocation = null, this._errorIndicator = null, this._input = e || null, this._distance = t || null, this._result = r || null;
|
|
14219
14219
|
}, Lh = { VERBOSE: { configurable: !0 }, MAX_ENV_DIFF_FRAC: { configurable: !0 } };
|
|
@@ -14231,7 +14231,7 @@ Tt.prototype.checkEnvelope = function() {
|
|
|
14231
14231
|
r.expandBy(e), r.contains(t) || (this._isValid = !1, this._errorMsg = "Buffer envelope is incorrect", this._errorIndicator = this._input.getFactory().toGeometry(r)), this.report("Envelope");
|
|
14232
14232
|
};
|
|
14233
14233
|
Tt.prototype.checkDistance = function() {
|
|
14234
|
-
var e = new
|
|
14234
|
+
var e = new cr(this._input, this._distance, this._result);
|
|
14235
14235
|
e.isValid() || (this._isValid = !1, this._errorMsg = e.getErrorMessage(), this._errorLocation = e.getErrorLocation(), this._errorIndicator = e.getErrorIndicator()), this.report("Distance");
|
|
14236
14236
|
};
|
|
14237
14237
|
Tt.prototype.checkArea = function() {
|
|
@@ -14308,7 +14308,7 @@ Rn.prototype.getData = function() {
|
|
|
14308
14308
|
return this._data;
|
|
14309
14309
|
};
|
|
14310
14310
|
Rn.prototype.toString = function() {
|
|
14311
|
-
return
|
|
14311
|
+
return on.toLineString(new rt(this._pts));
|
|
14312
14312
|
};
|
|
14313
14313
|
Rn.prototype.interfaces_ = function() {
|
|
14314
14314
|
return [ri];
|
|
@@ -14379,55 +14379,55 @@ wt.createIntersectionCounter = function(e) {
|
|
|
14379
14379
|
var t = new wt(e);
|
|
14380
14380
|
return t.setFindAllIntersections(!0), t.setKeepIntersections(!1), t;
|
|
14381
14381
|
};
|
|
14382
|
-
var
|
|
14382
|
+
var fn = function() {
|
|
14383
14383
|
this._li = new Ys(), this._segStrings = null, this._findAllIntersections = !1, this._segInt = null, this._isValid = !0;
|
|
14384
14384
|
var e = arguments[0];
|
|
14385
14385
|
this._segStrings = e;
|
|
14386
14386
|
};
|
|
14387
|
-
|
|
14387
|
+
fn.prototype.execute = function() {
|
|
14388
14388
|
if (this._segInt !== null)
|
|
14389
14389
|
return null;
|
|
14390
14390
|
this.checkInteriorIntersections();
|
|
14391
14391
|
};
|
|
14392
|
-
|
|
14392
|
+
fn.prototype.getIntersections = function() {
|
|
14393
14393
|
return this._segInt.getIntersections();
|
|
14394
14394
|
};
|
|
14395
|
-
|
|
14395
|
+
fn.prototype.isValid = function() {
|
|
14396
14396
|
return this.execute(), this._isValid;
|
|
14397
14397
|
};
|
|
14398
|
-
|
|
14398
|
+
fn.prototype.setFindAllIntersections = function(e) {
|
|
14399
14399
|
this._findAllIntersections = e;
|
|
14400
14400
|
};
|
|
14401
|
-
|
|
14401
|
+
fn.prototype.checkInteriorIntersections = function() {
|
|
14402
14402
|
this._isValid = !0, this._segInt = new wt(this._li), this._segInt.setFindAllIntersections(this._findAllIntersections);
|
|
14403
14403
|
var e = new Nh();
|
|
14404
14404
|
if (e.setSegmentIntersector(this._segInt), e.computeNodes(this._segStrings), this._segInt.hasIntersection())
|
|
14405
14405
|
return this._isValid = !1, null;
|
|
14406
14406
|
};
|
|
14407
|
-
|
|
14407
|
+
fn.prototype.checkValid = function() {
|
|
14408
14408
|
if (this.execute(), !this._isValid)
|
|
14409
14409
|
throw new bi(this.getErrorMessage(), this._segInt.getInteriorIntersection());
|
|
14410
14410
|
};
|
|
14411
|
-
|
|
14411
|
+
fn.prototype.getErrorMessage = function() {
|
|
14412
14412
|
if (this._isValid)
|
|
14413
14413
|
return "no intersections found";
|
|
14414
14414
|
var e = this._segInt.getIntersectionSegments();
|
|
14415
|
-
return "found non-noded intersection between " +
|
|
14415
|
+
return "found non-noded intersection between " + on.toLineString(e[0], e[1]) + " and " + on.toLineString(e[2], e[3]);
|
|
14416
14416
|
};
|
|
14417
|
-
|
|
14417
|
+
fn.prototype.interfaces_ = function() {
|
|
14418
14418
|
return [];
|
|
14419
14419
|
};
|
|
14420
|
-
|
|
14421
|
-
return
|
|
14420
|
+
fn.prototype.getClass = function() {
|
|
14421
|
+
return fn;
|
|
14422
14422
|
};
|
|
14423
|
-
|
|
14424
|
-
var t = new
|
|
14423
|
+
fn.computeIntersections = function(e) {
|
|
14424
|
+
var t = new fn(e);
|
|
14425
14425
|
return t.setFindAllIntersections(!0), t.isValid(), t.getIntersections();
|
|
14426
14426
|
};
|
|
14427
14427
|
var zs = function n() {
|
|
14428
14428
|
this._nv = null;
|
|
14429
14429
|
var e = arguments[0];
|
|
14430
|
-
this._nv = new
|
|
14430
|
+
this._nv = new fn(n.toSegmentStrings(e));
|
|
14431
14431
|
};
|
|
14432
14432
|
zs.prototype.checkValid = function() {
|
|
14433
14433
|
this._nv.checkValid();
|
|
@@ -14558,13 +14558,13 @@ Ro.prototype.interfaces_ = function() {
|
|
|
14558
14558
|
Ro.prototype.getClass = function() {
|
|
14559
14559
|
return Ro;
|
|
14560
14560
|
};
|
|
14561
|
-
var
|
|
14561
|
+
var or = function() {
|
|
14562
14562
|
this._inputGeom = null, this._factory = null, this._pruneEmptyGeometry = !0, this._preserveGeometryCollectionType = !0, this._preserveCollections = !1, this._preserveType = !1;
|
|
14563
14563
|
};
|
|
14564
|
-
|
|
14564
|
+
or.prototype.transformPoint = function(e, t) {
|
|
14565
14565
|
return this._factory.createPoint(this.transformCoordinates(e.getCoordinateSequence(), e));
|
|
14566
14566
|
};
|
|
14567
|
-
|
|
14567
|
+
or.prototype.transformPolygon = function(e, t) {
|
|
14568
14568
|
var r = this, i = !0, s = this.transformLinearRing(e.getExteriorRing(), e);
|
|
14569
14569
|
(s === null || !(s instanceof ei) || s.isEmpty()) && (i = !1);
|
|
14570
14570
|
for (var o = new G(), a = 0; a < e.getNumInteriorRing(); a++) {
|
|
@@ -14576,51 +14576,51 @@ ar.prototype.transformPolygon = function(e, t) {
|
|
|
14576
14576
|
var u = new G();
|
|
14577
14577
|
return s !== null && u.add(s), u.addAll(o), this._factory.buildGeometry(u);
|
|
14578
14578
|
};
|
|
14579
|
-
|
|
14579
|
+
or.prototype.createCoordinateSequence = function(e) {
|
|
14580
14580
|
return this._factory.getCoordinateSequenceFactory().create(e);
|
|
14581
14581
|
};
|
|
14582
|
-
|
|
14582
|
+
or.prototype.getInputGeometry = function() {
|
|
14583
14583
|
return this._inputGeom;
|
|
14584
14584
|
};
|
|
14585
|
-
|
|
14585
|
+
or.prototype.transformMultiLineString = function(e, t) {
|
|
14586
14586
|
for (var r = this, i = new G(), s = 0; s < e.getNumGeometries(); s++) {
|
|
14587
14587
|
var o = r.transformLineString(e.getGeometryN(s), e);
|
|
14588
14588
|
o !== null && (o.isEmpty() || i.add(o));
|
|
14589
14589
|
}
|
|
14590
14590
|
return this._factory.buildGeometry(i);
|
|
14591
14591
|
};
|
|
14592
|
-
|
|
14592
|
+
or.prototype.transformCoordinates = function(e, t) {
|
|
14593
14593
|
return this.copy(e);
|
|
14594
14594
|
};
|
|
14595
|
-
|
|
14595
|
+
or.prototype.transformLineString = function(e, t) {
|
|
14596
14596
|
return this._factory.createLineString(this.transformCoordinates(e.getCoordinateSequence(), e));
|
|
14597
14597
|
};
|
|
14598
|
-
|
|
14598
|
+
or.prototype.transformMultiPoint = function(e, t) {
|
|
14599
14599
|
for (var r = this, i = new G(), s = 0; s < e.getNumGeometries(); s++) {
|
|
14600
14600
|
var o = r.transformPoint(e.getGeometryN(s), e);
|
|
14601
14601
|
o !== null && (o.isEmpty() || i.add(o));
|
|
14602
14602
|
}
|
|
14603
14603
|
return this._factory.buildGeometry(i);
|
|
14604
14604
|
};
|
|
14605
|
-
|
|
14605
|
+
or.prototype.transformMultiPolygon = function(e, t) {
|
|
14606
14606
|
for (var r = this, i = new G(), s = 0; s < e.getNumGeometries(); s++) {
|
|
14607
14607
|
var o = r.transformPolygon(e.getGeometryN(s), e);
|
|
14608
14608
|
o !== null && (o.isEmpty() || i.add(o));
|
|
14609
14609
|
}
|
|
14610
14610
|
return this._factory.buildGeometry(i);
|
|
14611
14611
|
};
|
|
14612
|
-
|
|
14612
|
+
or.prototype.copy = function(e) {
|
|
14613
14613
|
return e.copy();
|
|
14614
14614
|
};
|
|
14615
|
-
|
|
14615
|
+
or.prototype.transformGeometryCollection = function(e, t) {
|
|
14616
14616
|
for (var r = this, i = new G(), s = 0; s < e.getNumGeometries(); s++) {
|
|
14617
14617
|
var o = r.transform(e.getGeometryN(s));
|
|
14618
14618
|
o !== null && (r._pruneEmptyGeometry && o.isEmpty() || i.add(o));
|
|
14619
14619
|
}
|
|
14620
14620
|
return this._preserveGeometryCollectionType ? this._factory.createGeometryCollection(we.toGeometryArray(i)) : this._factory.buildGeometry(i);
|
|
14621
14621
|
};
|
|
14622
|
-
|
|
14623
|
-
if (this._inputGeom = e, this._factory = e.getFactory(), e instanceof
|
|
14622
|
+
or.prototype.transform = function(e) {
|
|
14623
|
+
if (this._inputGeom = e, this._factory = e.getFactory(), e instanceof hr)
|
|
14624
14624
|
return this.transformPoint(e, null);
|
|
14625
14625
|
if (e instanceof fa)
|
|
14626
14626
|
return this.transformMultiPoint(e, null);
|
|
@@ -14638,18 +14638,18 @@ ar.prototype.transform = function(e) {
|
|
|
14638
14638
|
return this.transformGeometryCollection(e, null);
|
|
14639
14639
|
throw new He("Unknown Geometry subtype: " + e.getClass().getName());
|
|
14640
14640
|
};
|
|
14641
|
-
|
|
14641
|
+
or.prototype.transformLinearRing = function(e, t) {
|
|
14642
14642
|
var r = this.transformCoordinates(e.getCoordinateSequence(), e);
|
|
14643
14643
|
if (r === null)
|
|
14644
14644
|
return this._factory.createLinearRing(null);
|
|
14645
14645
|
var i = r.size();
|
|
14646
14646
|
return i > 0 && i < 4 && !this._preserveType ? this._factory.createLineString(r) : this._factory.createLinearRing(r);
|
|
14647
14647
|
};
|
|
14648
|
-
|
|
14648
|
+
or.prototype.interfaces_ = function() {
|
|
14649
14649
|
return [];
|
|
14650
14650
|
};
|
|
14651
|
-
|
|
14652
|
-
return
|
|
14651
|
+
or.prototype.getClass = function() {
|
|
14652
|
+
return or;
|
|
14653
14653
|
};
|
|
14654
14654
|
var si = function n() {
|
|
14655
14655
|
if (this._snapTolerance = 0, this._srcPts = null, this._seg = new se(), this._allowSnappingToSourceVertices = !1, this._isClosed = !1, arguments[0] instanceof $e && typeof arguments[1] == "number") {
|
|
@@ -14795,7 +14795,7 @@ var rd = function(n) {
|
|
|
14795
14795
|
}, e.prototype.getClass = function() {
|
|
14796
14796
|
return e;
|
|
14797
14797
|
}, e;
|
|
14798
|
-
}(
|
|
14798
|
+
}(or), Vt = function() {
|
|
14799
14799
|
this._isFirst = !0, this._commonMantissaBitsCount = 53, this._commonBits = 0, this._commonSignExp = null;
|
|
14800
14800
|
};
|
|
14801
14801
|
Vt.prototype.getCommon = function() {
|
|
@@ -14906,7 +14906,7 @@ us.prototype.isGeometryChanged = function() {
|
|
|
14906
14906
|
return !0;
|
|
14907
14907
|
};
|
|
14908
14908
|
us.prototype.interfaces_ = function() {
|
|
14909
|
-
return [
|
|
14909
|
+
return [an];
|
|
14910
14910
|
};
|
|
14911
14911
|
us.prototype.getClass = function() {
|
|
14912
14912
|
return us;
|
|
@@ -15023,7 +15023,7 @@ gu.prototype.interfaces_ = function() {
|
|
|
15023
15023
|
gu.prototype.getClass = function() {
|
|
15024
15024
|
return gu;
|
|
15025
15025
|
};
|
|
15026
|
-
var
|
|
15026
|
+
var dr = function n() {
|
|
15027
15027
|
if (this._label = null, this._xValue = null, this._eventType = null, this._insertEvent = null, this._deleteEventIndex = null, this._obj = null, arguments.length === 2) {
|
|
15028
15028
|
var e = arguments[0], t = arguments[1];
|
|
15029
15029
|
this._eventType = n.DELETE, this._xValue = e, this._insertEvent = t;
|
|
@@ -15032,36 +15032,36 @@ var gr = function n() {
|
|
|
15032
15032
|
this._eventType = n.INSERT, this._label = r, this._xValue = i, this._obj = s;
|
|
15033
15033
|
}
|
|
15034
15034
|
}, Ah = { INSERT: { configurable: !0 }, DELETE: { configurable: !0 } };
|
|
15035
|
-
|
|
15036
|
-
return this._eventType ===
|
|
15035
|
+
dr.prototype.isDelete = function() {
|
|
15036
|
+
return this._eventType === dr.DELETE;
|
|
15037
15037
|
};
|
|
15038
|
-
|
|
15038
|
+
dr.prototype.setDeleteEventIndex = function(e) {
|
|
15039
15039
|
this._deleteEventIndex = e;
|
|
15040
15040
|
};
|
|
15041
|
-
|
|
15041
|
+
dr.prototype.getObject = function() {
|
|
15042
15042
|
return this._obj;
|
|
15043
15043
|
};
|
|
15044
|
-
|
|
15044
|
+
dr.prototype.compareTo = function(e) {
|
|
15045
15045
|
var t = e;
|
|
15046
15046
|
return this._xValue < t._xValue ? -1 : this._xValue > t._xValue ? 1 : this._eventType < t._eventType ? -1 : this._eventType > t._eventType ? 1 : 0;
|
|
15047
15047
|
};
|
|
15048
|
-
|
|
15048
|
+
dr.prototype.getInsertEvent = function() {
|
|
15049
15049
|
return this._insertEvent;
|
|
15050
15050
|
};
|
|
15051
|
-
|
|
15052
|
-
return this._eventType ===
|
|
15051
|
+
dr.prototype.isInsert = function() {
|
|
15052
|
+
return this._eventType === dr.INSERT;
|
|
15053
15053
|
};
|
|
15054
|
-
|
|
15054
|
+
dr.prototype.isSameLabel = function(e) {
|
|
15055
15055
|
return this._label === null ? !1 : this._label === e._label;
|
|
15056
15056
|
};
|
|
15057
|
-
|
|
15057
|
+
dr.prototype.getDeleteEventIndex = function() {
|
|
15058
15058
|
return this._deleteEventIndex;
|
|
15059
15059
|
};
|
|
15060
|
-
|
|
15060
|
+
dr.prototype.interfaces_ = function() {
|
|
15061
15061
|
return [Jr];
|
|
15062
15062
|
};
|
|
15063
|
-
|
|
15064
|
-
return
|
|
15063
|
+
dr.prototype.getClass = function() {
|
|
15064
|
+
return dr;
|
|
15065
15065
|
};
|
|
15066
15066
|
Ah.INSERT.get = function() {
|
|
15067
15067
|
return 1;
|
|
@@ -15069,7 +15069,7 @@ Ah.INSERT.get = function() {
|
|
|
15069
15069
|
Ah.DELETE.get = function() {
|
|
15070
15070
|
return 2;
|
|
15071
15071
|
};
|
|
15072
|
-
Object.defineProperties(
|
|
15072
|
+
Object.defineProperties(dr, Ah);
|
|
15073
15073
|
var tc = function() {
|
|
15074
15074
|
};
|
|
15075
15075
|
tc.prototype.interfaces_ = function() {
|
|
@@ -15149,7 +15149,7 @@ var Um = function(n) {
|
|
|
15149
15149
|
}
|
|
15150
15150
|
return n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e, e.prototype.prepareEvents = function() {
|
|
15151
15151
|
var r = this;
|
|
15152
|
-
|
|
15152
|
+
un.sort(this.events);
|
|
15153
15153
|
for (var i = 0; i < this.events.size(); i++) {
|
|
15154
15154
|
var s = r.events.get(i);
|
|
15155
15155
|
s.isDelete() && s.getInsertEvent().setDeleteEventIndex(i);
|
|
@@ -15165,18 +15165,18 @@ var Um = function(n) {
|
|
|
15165
15165
|
break;
|
|
15166
15166
|
}
|
|
15167
15167
|
} else if (arguments.length === 3) {
|
|
15168
|
-
if (arguments[2] instanceof Nt && he(arguments[0],
|
|
15168
|
+
if (arguments[2] instanceof Nt && he(arguments[0], nn) && he(arguments[1], nn)) {
|
|
15169
15169
|
var a = arguments[0], l = arguments[1], u = arguments[2];
|
|
15170
15170
|
this.addEdges(a, a), this.addEdges(l, l), this.computeIntersections(u);
|
|
15171
|
-
} else if (typeof arguments[2] == "boolean" && he(arguments[0],
|
|
15171
|
+
} else if (typeof arguments[2] == "boolean" && he(arguments[0], nn) && arguments[1] instanceof Nt) {
|
|
15172
15172
|
var c = arguments[0], h = arguments[1], p = arguments[2];
|
|
15173
15173
|
p ? this.addEdges(c, null) : this.addEdges(c), this.computeIntersections(h);
|
|
15174
15174
|
}
|
|
15175
15175
|
}
|
|
15176
15176
|
}, e.prototype.addEdge = function(r, i) {
|
|
15177
15177
|
for (var s = this, o = r.getMonotoneChainEdge(), a = o.getStartIndexes(), l = 0; l < a.length - 1; l++) {
|
|
15178
|
-
var u = new gu(o, l), c = new
|
|
15179
|
-
s.events.add(c), s.events.add(new
|
|
15178
|
+
var u = new gu(o, l), c = new dr(i, o.getMinX(l), u);
|
|
15179
|
+
s.events.add(c), s.events.add(new dr(o.getMaxX(l), c));
|
|
15180
15180
|
}
|
|
15181
15181
|
}, e.prototype.processOverlaps = function(r, i, s, o) {
|
|
15182
15182
|
for (var a = this, l = s.getObject(), u = r; u < i; u++) {
|
|
@@ -15216,7 +15216,7 @@ oi.prototype.getMax = function() {
|
|
|
15216
15216
|
return this._max;
|
|
15217
15217
|
};
|
|
15218
15218
|
oi.prototype.toString = function() {
|
|
15219
|
-
return
|
|
15219
|
+
return on.toLineString(new N(this._min, 0), new N(this._max, 0));
|
|
15220
15220
|
};
|
|
15221
15221
|
oi.prototype.interfaces_ = function() {
|
|
15222
15222
|
return [];
|
|
@@ -15277,7 +15277,7 @@ var Gm = function(n) {
|
|
|
15277
15277
|
};
|
|
15278
15278
|
ai.prototype.buildTree = function() {
|
|
15279
15279
|
var e = this;
|
|
15280
|
-
|
|
15280
|
+
un.sort(this._leaves, new oi.NodeComparator());
|
|
15281
15281
|
for (var t = this._leaves, r = null, i = new G(); ; ) {
|
|
15282
15282
|
if (e.buildLevel(t, i), i.size() === 1)
|
|
15283
15283
|
return i.get(0);
|
|
@@ -15298,7 +15298,7 @@ ai.prototype.buildRoot = function() {
|
|
|
15298
15298
|
this._root = this.buildTree();
|
|
15299
15299
|
};
|
|
15300
15300
|
ai.prototype.printNode = function(e) {
|
|
15301
|
-
bt.out.println(
|
|
15301
|
+
bt.out.println(on.toLineString(new N(e._min, this._level), new N(e._max, this._level)));
|
|
15302
15302
|
};
|
|
15303
15303
|
ai.prototype.init = function() {
|
|
15304
15304
|
if (this._root !== null)
|
|
@@ -15411,7 +15411,7 @@ Bs.prototype.getClass = function() {
|
|
|
15411
15411
|
};
|
|
15412
15412
|
var Zl = function(n) {
|
|
15413
15413
|
function e() {
|
|
15414
|
-
if (n.call(this), this._parentGeom = null, this._lineEdgeMap = new Bp(), this._boundaryNodeRule = null, this._useBoundaryDeterminationRule = !0, this._argIndex = null, this._boundaryNodes = null, this._hasTooFewPoints = !1, this._invalidPoint = null, this._areaPtLocator = null, this._ptLocator = new
|
|
15414
|
+
if (n.call(this), this._parentGeom = null, this._lineEdgeMap = new Bp(), this._boundaryNodeRule = null, this._useBoundaryDeterminationRule = !0, this._argIndex = null, this._boundaryNodes = null, this._hasTooFewPoints = !1, this._invalidPoint = null, this._areaPtLocator = null, this._ptLocator = new hn(), arguments.length === 2) {
|
|
15415
15415
|
var t = arguments[0], r = arguments[1], i = qr.OGC_SFS_BOUNDARY_RULE;
|
|
15416
15416
|
this._argIndex = t, this._parentGeom = r, this._boundaryNodeRule = i, r !== null && this.add(r);
|
|
15417
15417
|
} else if (arguments.length === 3) {
|
|
@@ -15451,7 +15451,7 @@ var Zl = function(n) {
|
|
|
15451
15451
|
}, e.prototype.hasTooFewPoints = function() {
|
|
15452
15452
|
return this._hasTooFewPoints;
|
|
15453
15453
|
}, e.prototype.addPoint = function() {
|
|
15454
|
-
if (arguments[0] instanceof
|
|
15454
|
+
if (arguments[0] instanceof hr) {
|
|
15455
15455
|
var r = arguments[0], i = r.getCoordinate();
|
|
15456
15456
|
this.insertPoint(this._argIndex, i, L.INTERIOR);
|
|
15457
15457
|
} else if (arguments[0] instanceof N) {
|
|
@@ -15519,7 +15519,7 @@ var Zl = function(n) {
|
|
|
15519
15519
|
this.addPolygon(r);
|
|
15520
15520
|
else if (r instanceof $e)
|
|
15521
15521
|
this.addLineString(r);
|
|
15522
|
-
else if (r instanceof
|
|
15522
|
+
else if (r instanceof hr)
|
|
15523
15523
|
this.addPoint(r);
|
|
15524
15524
|
else if (r instanceof fa)
|
|
15525
15525
|
this.addCollection(r);
|
|
@@ -15605,7 +15605,7 @@ Os.MapOp = function() {
|
|
|
15605
15605
|
var me = function(n) {
|
|
15606
15606
|
function e() {
|
|
15607
15607
|
var t = arguments[0], r = arguments[1];
|
|
15608
|
-
n.call(this, t, r), this._ptLocator = new
|
|
15608
|
+
n.call(this, t, r), this._ptLocator = new hn(), this._geomFact = null, this._resultGeom = null, this._graph = null, this._edgeList = new cn(), this._resultPolyList = new G(), this._resultLineList = new G(), this._resultPointList = new G(), this._graph = new Qe(new Hp()), this._geomFact = t.getFactory();
|
|
15609
15609
|
}
|
|
15610
15610
|
return n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e, e.prototype.insertUniqueEdge = function(r) {
|
|
15611
15611
|
var i = this._edgeList.findEqualEdge(r);
|
|
@@ -15662,7 +15662,7 @@ var me = function(n) {
|
|
|
15662
15662
|
this.copyPoints(0), this.copyPoints(1), this._arg[0].computeSelfNodes(this._li, !1), this._arg[1].computeSelfNodes(this._li, !1), this._arg[0].computeEdgeIntersections(this._arg[1], this._li, !0);
|
|
15663
15663
|
var i = new G();
|
|
15664
15664
|
this._arg[0].computeSplitEdges(i), this._arg[1].computeSplitEdges(i), this.insertUniqueEdges(i), this.computeLabelsFromDepths(), this.replaceCollapsedEdges(), zs.checkValid(this._edgeList.getEdges()), this._graph.addEdges(this._edgeList.getEdges()), this.computeLabelling(), this.labelIncompleteNodes(), this.findResultAreaEdges(r), this.cancelDuplicateResultEdges();
|
|
15665
|
-
var s = new
|
|
15665
|
+
var s = new fr(this._geomFact);
|
|
15666
15666
|
s.add(this._graph), this._resultPolyList = s.getPolygons();
|
|
15667
15667
|
var o = new An(this, this._geomFact, this._ptLocator);
|
|
15668
15668
|
this._resultLineList = o.build(r);
|
|
@@ -15803,7 +15803,7 @@ me.UNION = 2;
|
|
|
15803
15803
|
me.DIFFERENCE = 3;
|
|
15804
15804
|
me.SYMDIFFERENCE = 4;
|
|
15805
15805
|
var Ki = function() {
|
|
15806
|
-
this._g = null, this._boundaryDistanceTolerance = null, this._linework = null, this._ptLocator = new
|
|
15806
|
+
this._g = null, this._boundaryDistanceTolerance = null, this._linework = null, this._ptLocator = new hn(), this._seg = new se();
|
|
15807
15807
|
var e = arguments[0], t = arguments[1];
|
|
15808
15808
|
this._g = e, this._boundaryDistanceTolerance = t, this._linework = this.extractLinework(e);
|
|
15809
15809
|
};
|
|
@@ -16007,7 +16007,7 @@ var lt = function() {
|
|
|
16007
16007
|
lt.prototype.reduceToGeometries = function(e) {
|
|
16008
16008
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
16009
16009
|
var s = i.next(), o = null;
|
|
16010
|
-
he(s,
|
|
16010
|
+
he(s, nn) ? o = t.unionTree(s) : s instanceof le && (o = s), r.add(o);
|
|
16011
16011
|
}
|
|
16012
16012
|
return r;
|
|
16013
16013
|
};
|
|
@@ -16472,12 +16472,12 @@ function Qm(n, e, t, r) {
|
|
|
16472
16472
|
polygonStart: D,
|
|
16473
16473
|
polygonEnd: b
|
|
16474
16474
|
};
|
|
16475
|
-
function I($,
|
|
16476
|
-
i($,
|
|
16475
|
+
function I($, q) {
|
|
16476
|
+
i($, q) && c.point($, q);
|
|
16477
16477
|
}
|
|
16478
16478
|
function x() {
|
|
16479
|
-
for (var $ = 0,
|
|
16480
|
-
for (var fe = m[
|
|
16479
|
+
for (var $ = 0, q = 0, ie = m.length; q < ie; ++q)
|
|
16480
|
+
for (var fe = m[q], ye = 1, H = fe.length, ee = fe[0], te, Se, Re = ee[0], Te = ee[1]; ye < H; ++ye)
|
|
16481
16481
|
te = Re, Se = Te, ee = fe[ye], Re = ee[0], Te = ee[1], Se <= r ? Te > r && (Re - te) * (r - Se) > (Te - Se) * (n - te) && ++$ : Te <= r && (Re - te) * (r - Se) < (Te - Se) * (n - te) && --$;
|
|
16482
16482
|
return $;
|
|
16483
16483
|
}
|
|
@@ -16485,8 +16485,8 @@ function Qm(n, e, t, r) {
|
|
|
16485
16485
|
c = h, p = [], m = [], w = !0;
|
|
16486
16486
|
}
|
|
16487
16487
|
function b() {
|
|
16488
|
-
var $ = x(),
|
|
16489
|
-
(
|
|
16488
|
+
var $ = x(), q = w && $, ie = (p = hd(p)).length;
|
|
16489
|
+
(q || ie) && (u.polygonStart(), q && (u.lineStart(), s(null, null, 1, u), u.lineEnd()), ie && ud(p, a, $, s, u), u.polygonEnd()), c = u, p = m = _ = null;
|
|
16490
16490
|
}
|
|
16491
16491
|
function T() {
|
|
16492
16492
|
S.point = A, m && m.push(_ = []), v = !0, d = !1, g = y = NaN;
|
|
@@ -16494,16 +16494,16 @@ function Qm(n, e, t, r) {
|
|
|
16494
16494
|
function M() {
|
|
16495
16495
|
p && (A(C, P), O && d && h.rejoin(), p.push(h.result())), S.point = I, d && c.lineEnd();
|
|
16496
16496
|
}
|
|
16497
|
-
function A($,
|
|
16498
|
-
var ie = i($,
|
|
16499
|
-
if (m && _.push([$,
|
|
16500
|
-
C = $, P =
|
|
16501
|
-
else if (ie && d) c.point($,
|
|
16497
|
+
function A($, q) {
|
|
16498
|
+
var ie = i($, q);
|
|
16499
|
+
if (m && _.push([$, q]), v)
|
|
16500
|
+
C = $, P = q, O = ie, v = !1, ie && (c.lineStart(), c.point($, q));
|
|
16501
|
+
else if (ie && d) c.point($, q);
|
|
16502
16502
|
else {
|
|
16503
|
-
var fe = [g = Math.max(zu, Math.min(Vu, g)), y = Math.max(zu, Math.min(Vu, y))], ye = [$ = Math.max(zu, Math.min(Vu, $)),
|
|
16504
|
-
Jm(fe, ye, n, e, t, r) ? (d || (c.lineStart(), c.point(fe[0], fe[1])), c.point(ye[0], ye[1]), ie || c.lineEnd(), w = !1) : ie && (c.lineStart(), c.point($,
|
|
16503
|
+
var fe = [g = Math.max(zu, Math.min(Vu, g)), y = Math.max(zu, Math.min(Vu, y))], ye = [$ = Math.max(zu, Math.min(Vu, $)), q = Math.max(zu, Math.min(Vu, q))];
|
|
16504
|
+
Jm(fe, ye, n, e, t, r) ? (d || (c.lineStart(), c.point(fe[0], fe[1])), c.point(ye[0], ye[1]), ie || c.lineEnd(), w = !1) : ie && (c.lineStart(), c.point($, q), w = !1);
|
|
16505
16505
|
}
|
|
16506
|
-
g = $, y =
|
|
16506
|
+
g = $, y = q, d = ie;
|
|
16507
16507
|
}
|
|
16508
16508
|
return S;
|
|
16509
16509
|
};
|
|
@@ -16694,10 +16694,10 @@ function ov(n, e) {
|
|
|
16694
16694
|
if (!(T < 0)) {
|
|
16695
16695
|
var M = Yl(T), A = Fu(x, (-D - M) / b);
|
|
16696
16696
|
if (zc(A, S), A = Qc(A), !p) return A;
|
|
16697
|
-
var $ = c[0],
|
|
16698
|
-
|
|
16699
|
-
var H =
|
|
16700
|
-
if (!ee && fe < ie && (ye = ie, ie = fe, fe = ye), te ? ee ? ie + fe > 0 ^ A[1] < (jt(A[0] - $) < ot ? ie : fe) : ie <= A[1] && A[1] <= fe : H > Ve ^ ($ <= A[0] && A[0] <=
|
|
16697
|
+
var $ = c[0], q = h[0], ie = c[1], fe = h[1], ye;
|
|
16698
|
+
q < $ && (ye = $, $ = q, q = ye);
|
|
16699
|
+
var H = q - $, ee = jt(H - Ve) < ot, te = ee || H < ot;
|
|
16700
|
+
if (!ee && fe < ie && (ye = ie, ie = fe, fe = ye), te ? ee ? ie + fe > 0 ^ A[1] < (jt(A[0] - $) < ot ? ie : fe) : ie <= A[1] && A[1] <= fe : H > Ve ^ ($ <= A[0] && A[0] <= q)) {
|
|
16701
16701
|
var Se = Fu(x, (-D + M) / b);
|
|
16702
16702
|
return zc(Se, S), [A, Qc(Se)];
|
|
16703
16703
|
}
|
|
@@ -16956,7 +16956,7 @@ function wd(n, e) {
|
|
|
16956
16956
|
}
|
|
16957
16957
|
function vv(n) {
|
|
16958
16958
|
var e = xm(n).geometry.coordinates, t = [-e[0], -e[1]];
|
|
16959
|
-
return gv().rotate(t).scale(
|
|
16959
|
+
return gv().rotate(t).scale(er);
|
|
16960
16960
|
}
|
|
16961
16961
|
function yv(n, e, t) {
|
|
16962
16962
|
t === void 0 && (t = {});
|
|
@@ -17356,7 +17356,7 @@ function sh(n, e, t, r, i) {
|
|
|
17356
17356
|
sh(n, e, t, a, i), sh(n, e, a + 1, r, i);
|
|
17357
17357
|
}
|
|
17358
17358
|
}
|
|
17359
|
-
const Qi = 11102230246251565e-32,
|
|
17359
|
+
const Qi = 11102230246251565e-32, ar = 134217729, Iv = (3 + 8 * Qi) * Qi;
|
|
17360
17360
|
function Uc(n, e, t, r, i) {
|
|
17361
17361
|
let s, o, a, l, u = e[0], c = r[0], h = 0, p = 0;
|
|
17362
17362
|
c > u == c > -u ? (s = u, u = e[++h]) : (s = c, c = r[++p]);
|
|
@@ -17378,19 +17378,19 @@ function bv(n, e) {
|
|
|
17378
17378
|
function Du(n) {
|
|
17379
17379
|
return new Float64Array(n);
|
|
17380
17380
|
}
|
|
17381
|
-
const xv = (3 + 16 * Qi) * Qi, Tv = (2 + 12 * Qi) * Qi, Nv = (9 + 64 * Qi) * Qi * Qi, Ho = Du(4), Ff = Du(8), kf = Du(12), Vf = Du(16),
|
|
17381
|
+
const xv = (3 + 16 * Qi) * Qi, Tv = (2 + 12 * Qi) * Qi, Nv = (9 + 64 * Qi) * Qi * Qi, Ho = Du(4), Ff = Du(8), kf = Du(12), Vf = Du(16), gr = Du(4);
|
|
17382
17382
|
function Dv(n, e, t, r, i, s, o) {
|
|
17383
17383
|
let a, l, u, c, h, p, m, _, C, P, O, g, y, d, v, w, S, I;
|
|
17384
17384
|
const x = n - i, D = t - i, b = e - s, T = r - s;
|
|
17385
|
-
d = x * T, p =
|
|
17385
|
+
d = x * T, p = ar * x, m = p - (p - x), _ = x - m, p = ar * T, C = p - (p - T), P = T - C, v = _ * P - (d - m * C - _ * C - m * P), w = b * D, p = ar * b, m = p - (p - b), _ = b - m, p = ar * D, C = p - (p - D), P = D - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, Ho[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, Ho[1] = y - (O + h) + (h - w), I = g + O, h = I - g, Ho[2] = g - (I - h) + (O - h), Ho[3] = I;
|
|
17386
17386
|
let M = bv(4, Ho), A = Tv * o;
|
|
17387
17387
|
if (M >= A || -M >= A || (h = n - x, a = n - (x + h) + (h - i), h = t - D, u = t - (D + h) + (h - i), h = e - b, l = e - (b + h) + (h - s), h = r - T, c = r - (T + h) + (h - s), a === 0 && l === 0 && u === 0 && c === 0) || (A = Nv * o + Iv * Math.abs(M), M += x * c + T * a - (b * u + D * l), M >= A || -M >= A)) return M;
|
|
17388
|
-
d = a * T, p =
|
|
17389
|
-
const $ = Uc(4, Ho, 4,
|
|
17390
|
-
d = x * c, p =
|
|
17391
|
-
const
|
|
17392
|
-
d = a * c, p =
|
|
17393
|
-
const ie = Uc(
|
|
17388
|
+
d = a * T, p = ar * a, m = p - (p - a), _ = a - m, p = ar * T, C = p - (p - T), P = T - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * D, p = ar * l, m = p - (p - l), _ = l - m, p = ar * D, C = p - (p - D), P = D - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17389
|
+
const $ = Uc(4, Ho, 4, gr, Ff);
|
|
17390
|
+
d = x * c, p = ar * x, m = p - (p - x), _ = x - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = b * u, p = ar * b, m = p - (p - b), _ = b - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17391
|
+
const q = Uc($, Ff, 4, gr, kf);
|
|
17392
|
+
d = a * c, p = ar * a, m = p - (p - a), _ = a - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * u, p = ar * l, m = p - (p - l), _ = l - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17393
|
+
const ie = Uc(q, kf, 4, gr, Vf);
|
|
17394
17394
|
return Vf[ie - 1];
|
|
17395
17395
|
}
|
|
17396
17396
|
function Ov(n, e, t, r, i, s) {
|
|
@@ -18231,7 +18231,7 @@ var Vh = {
|
|
|
18231
18231
|
difference: Xv
|
|
18232
18232
|
};
|
|
18233
18233
|
function Yv(n, e) {
|
|
18234
|
-
var t =
|
|
18234
|
+
var t = sn(n), r = sn(e), i = n.properties || {}, s = Vh.difference(
|
|
18235
18235
|
t.coordinates,
|
|
18236
18236
|
r.coordinates
|
|
18237
18237
|
);
|
|
@@ -18239,12 +18239,12 @@ function Yv(n, e) {
|
|
|
18239
18239
|
}
|
|
18240
18240
|
function Hv(n, e, t) {
|
|
18241
18241
|
t === void 0 && (t = {});
|
|
18242
|
-
var r =
|
|
18242
|
+
var r = sn(n), i = sn(e), s = Vh.intersection(r.coordinates, i.coordinates);
|
|
18243
18243
|
return s.length === 0 ? null : s.length === 1 ? Pr(s[0], t.properties) : dh(s, t.properties);
|
|
18244
18244
|
}
|
|
18245
18245
|
function Jv(n, e, t) {
|
|
18246
18246
|
t === void 0 && (t = {});
|
|
18247
|
-
var r =
|
|
18247
|
+
var r = sn(n), i = sn(e), s = Vh.union(r.coordinates, i.coordinates);
|
|
18248
18248
|
return s.length === 0 ? null : s.length === 1 ? Pr(s[0], t.properties) : dh(s, t.properties);
|
|
18249
18249
|
}
|
|
18250
18250
|
function Zv(n, e) {
|
|
@@ -18587,7 +18587,7 @@ class Sr extends fp {
|
|
|
18587
18587
|
for (let h of this.children)
|
|
18588
18588
|
h instanceof Sr && (h._showChangedNotAffectParent = !0, h.show = c, h._showChangedNotAffectParent = !1);
|
|
18589
18589
|
this.parent && this.parent instanceof Sr && !this._showChangedNotAffectParent && (this.parent._showChangedNotAffectChildren = !0, this.parent.show = Zf(this.parent), this.parent._showChangedNotAffectChildren = !1);
|
|
18590
|
-
})), this.dv(new
|
|
18590
|
+
})), this.dv(new lr(this.sceneObjectChanged, () => {
|
|
18591
18591
|
if (!this.sceneObject) return;
|
|
18592
18592
|
const c = new ae();
|
|
18593
18593
|
if ("show" in this.sceneObject && "showChanged" in this.sceneObject && this.sceneObject.showChanged instanceof Event) {
|
|
@@ -19459,7 +19459,7 @@ class wu extends ae {
|
|
|
19459
19459
|
* 用于跟踪属性树的响应式变量。
|
|
19460
19460
|
*/
|
|
19461
19461
|
f(this, "_propTreeReact", this.dv(Q(void 0)));
|
|
19462
|
-
this.d(() => this._propTreeReact.value = void 0), this.dv(new
|
|
19462
|
+
this.d(() => this._propTreeReact.value = void 0), this.dv(new lr(this.sceneObjectChanged, (r) => {
|
|
19463
19463
|
if (!r) return;
|
|
19464
19464
|
const i = new ae();
|
|
19465
19465
|
return i.d(r.toDestroyEvent.don(() => {
|
|
@@ -19625,7 +19625,7 @@ const Iy = `
|
|
|
19625
19625
|
o > 0 && (this._ratio.value = (this.currentTime ?? Ht.defaults.currentTime) / o);
|
|
19626
19626
|
};
|
|
19627
19627
|
r();
|
|
19628
|
-
const i = this.dv(
|
|
19628
|
+
const i = this.dv(nr(this.currentTimeChanged, this.durationChanged));
|
|
19629
19629
|
this.d(i.don(r)), this.d(() => {
|
|
19630
19630
|
const { length: o } = this._subPlayers;
|
|
19631
19631
|
for (let a = 0; a < o; ++a)
|
|
@@ -19777,7 +19777,7 @@ class N_ extends ae {
|
|
|
19777
19777
|
/**
|
|
19778
19778
|
* 用于处理重置操作的变量。
|
|
19779
19779
|
*/
|
|
19780
|
-
f(this, "_resetting", this.dv(new
|
|
19780
|
+
f(this, "_resetting", this.dv(new lr(this.idChanged, () => {
|
|
19781
19781
|
const { id: t } = this;
|
|
19782
19782
|
if (t === void 0 || t === "") {
|
|
19783
19783
|
this.sceneObject = void 0;
|
|
@@ -19840,7 +19840,7 @@ class xy extends ae {
|
|
|
19840
19840
|
* @param watcher - 监视对象的配置
|
|
19841
19841
|
*/
|
|
19842
19842
|
constructor(e, t, r, i) {
|
|
19843
|
-
super(), this.disposeVar(new
|
|
19843
|
+
super(), this.disposeVar(new lr(e.sceneObjectChanged, () => {
|
|
19844
19844
|
let s;
|
|
19845
19845
|
i.debug && console.log("正在获取Event事件...");
|
|
19846
19846
|
do {
|
|
@@ -19886,7 +19886,7 @@ let Ty = class extends ae {
|
|
|
19886
19886
|
* 执行事件
|
|
19887
19887
|
*/
|
|
19888
19888
|
f(this, "_doEvalEvent", this.dv(new V()));
|
|
19889
|
-
const s = this._doEvalEvent, o = this.disposeVar(
|
|
19889
|
+
const s = this._doEvalEvent, o = this.disposeVar(nr(s)), a = t.map(([l, u]) => {
|
|
19890
19890
|
const c = new xd(l), h = u && new xy(c, u, s, r) || void 0;
|
|
19891
19891
|
return [c, h];
|
|
19892
19892
|
});
|
|
@@ -19943,7 +19943,7 @@ class fc extends ae {
|
|
|
19943
19943
|
r(), this.dispose(this.evalFuncStrChanged.disposableOn(r));
|
|
19944
19944
|
const i = (o) => {
|
|
19945
19945
|
this.enabled && (this.debug && console.log("执行evalFunc..."), this._evalFunc && this._evalFunc(o), t.value && t.value(o));
|
|
19946
|
-
}, s = this.disposeVar(new
|
|
19946
|
+
}, s = this.disposeVar(new lr(this.objIdAndPropChangedNamesChanged, () => {
|
|
19947
19947
|
if (this.objIdAndPropChangedNames.length > 0)
|
|
19948
19948
|
return this.debug && console.log("监视对象发生变化,重新创建WatcherObjects"), new Dy(this.objIdAndPropChangedNames, this, i);
|
|
19949
19949
|
}));
|
|
@@ -20708,13 +20708,13 @@ const ru = class ru extends Ce {
|
|
|
20708
20708
|
new k("点样式", "点样式集合", []),
|
|
20709
20709
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
20710
20710
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
20711
|
-
new
|
|
20711
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
20712
20712
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
20713
20713
|
new k("线样式", "线样式集合", []),
|
|
20714
20714
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !0),
|
|
20715
20715
|
new R("贴地", "是否贴地", !1, !1, [this, "strokeGround"], !1),
|
|
20716
20716
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
20717
|
-
new
|
|
20717
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
20718
20718
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
20719
20719
|
new k("面样式", "面样式集合", []),
|
|
20720
20720
|
new R("开启", "开启填充样式", !1, !1, [this, "filled"], !1),
|
|
@@ -20737,7 +20737,7 @@ const ru = class ru extends Ce {
|
|
|
20737
20737
|
new k("点样式", "点样式", [
|
|
20738
20738
|
new R("开启点样式", "开启点样式", !1, !1, [this, "pointed"]),
|
|
20739
20739
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"]),
|
|
20740
|
-
new
|
|
20740
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]]),
|
|
20741
20741
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"]),
|
|
20742
20742
|
new J("点材质", "点材质(pointMaterial)", !1, !1, [this, "pointMaterial"]),
|
|
20743
20743
|
new B("点材质参数", "点材质参数(pointMaterialParams)", !1, !1, [this, "pointMaterialParams"])
|
|
@@ -20745,7 +20745,7 @@ const ru = class ru extends Ce {
|
|
|
20745
20745
|
new k("线样式", "线样式", [
|
|
20746
20746
|
new R("开启线样式", "开启线样式", !1, !1, [this, "stroked"]),
|
|
20747
20747
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"]),
|
|
20748
|
-
new
|
|
20748
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]]),
|
|
20749
20749
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"]),
|
|
20750
20750
|
new J("线材质", "线材质(strokeMaterial)", !1, !1, [this, "strokeMaterial"]),
|
|
20751
20751
|
new B("线材质参数", "线材质参数(strokeMaterialParams)", !1, !1, [this, "strokeMaterialParams"]),
|
|
@@ -21404,13 +21404,13 @@ class Oi extends W {
|
|
|
21404
21404
|
new k("点样式", "点样式集合", []),
|
|
21405
21405
|
new R("开启点样式", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
21406
21406
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
21407
|
-
new
|
|
21407
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
21408
21408
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
21409
21409
|
new k("线样式", "线样式集合", []),
|
|
21410
21410
|
new R("开启线样式", "开启线样式", !1, !1, [this, "stroked"], !1),
|
|
21411
21411
|
new R("是否贴地(线)", "是否贴地(线)", !1, !1, [this, "strokeGround"], !1),
|
|
21412
21412
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
21413
|
-
new
|
|
21413
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
21414
21414
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
21415
21415
|
new k("面样式", "面样式集合", []),
|
|
21416
21416
|
new R("开启填充样式", "开启填充样式", !1, !1, [this, "filled"], !1),
|
|
@@ -21434,7 +21434,7 @@ class Oi extends W {
|
|
|
21434
21434
|
new k("点样式", "点样式", [
|
|
21435
21435
|
new R("开启点样式", "开启点样式", !1, !1, [this, "pointed"]),
|
|
21436
21436
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"]),
|
|
21437
|
-
new
|
|
21437
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]]),
|
|
21438
21438
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"]),
|
|
21439
21439
|
new J("点材质", "点材质(pointMaterial)", !1, !1, [this, "pointMaterial"]),
|
|
21440
21440
|
new B("点材质参数", "点材质参数(pointMaterialParams)", !1, !1, [this, "pointMaterialParams"])
|
|
@@ -21442,7 +21442,7 @@ class Oi extends W {
|
|
|
21442
21442
|
new k("线样式", "线样式", [
|
|
21443
21443
|
new R("开启线样式", "开启线样式", !1, !1, [this, "stroked"]),
|
|
21444
21444
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"]),
|
|
21445
|
-
new
|
|
21445
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]]),
|
|
21446
21446
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"]),
|
|
21447
21447
|
new J("线材质", "线材质(strokeMaterial)", !1, !1, [this, "strokeMaterial"]),
|
|
21448
21448
|
new B("线材质参数", "线材质参数(strokeMaterialParams)", !1, !1, [this, "strokeMaterialParams"]),
|
|
@@ -21910,9 +21910,9 @@ class Dt extends W {
|
|
|
21910
21910
|
new Je("偏移比例", "偏移比例(anchor)", !1, !1, [this, "anchor"], [0.5, 1]),
|
|
21911
21911
|
new Je("像素偏移", "像素偏移(offset)", !1, !1, [this, "offset"], [0, 0]),
|
|
21912
21912
|
// new NumberProperty('渲染模式', '八种渲染模式(0~7),当Widget中透明度只有(0,1)两种时可以选择2', false, false, [this, 'renderMode']),
|
|
21913
|
-
new
|
|
21913
|
+
new X("渲染模式", "八种渲染模式(0~7),当Widget中透明度只有(0,1)两种时可以选择2", !1, !1, [this, "renderMode"], rp, 0),
|
|
21914
21914
|
// new NumberProperty('漫游旋转类型', '三种漫游旋转类型', false, false, [this, 'rotationType']),
|
|
21915
|
-
new
|
|
21915
|
+
new X("漫游旋转类型", "三种漫游旋转类型(0,1,2)", !1, !1, [this, "rotationType"], tp, 1),
|
|
21916
21916
|
// new NumberProperty('排序', 'zOrder排序', false, false, [this, 'zOrder'], 0),
|
|
21917
21917
|
// new GroupProperty('ue', 'ue', []),
|
|
21918
21918
|
new J("绑定对象", "actorTag", !1, !1, [this, "actorTag"]),
|
|
@@ -21937,9 +21937,9 @@ class Dt extends W {
|
|
|
21937
21937
|
new Je("偏移比例", "偏移比例(anchor)", !1, !1, [this, "anchor"], [0.5, 1]),
|
|
21938
21938
|
new Je("像素偏移", "像素偏移(offset)", !1, !1, [this, "offset"], [0, 0]),
|
|
21939
21939
|
// new NumberProperty('渲染模式', '八种渲染模式(0~7),当Widget中透明度只有(0,1)两种时可以选择2', false, false, [this, 'renderMode']),
|
|
21940
|
-
new
|
|
21940
|
+
new X("渲染模式", "八种渲染模式(0~7),当Widget中透明度只有(0,1)两种时可以选择2", !1, !1, [this, "renderMode"], rp, 0),
|
|
21941
21941
|
// new NumberProperty('漫游旋转类型', '三种漫游旋转类型', false, false, [this, 'rotationType']),
|
|
21942
|
-
new
|
|
21942
|
+
new X("漫游旋转类型", "三种漫游旋转类型(0,1,2)", !1, !1, [this, "rotationType"], tp, 1),
|
|
21943
21943
|
new E("排序", "zOrder排序", !1, !1, [this, "zOrder"], 0)
|
|
21944
21944
|
])
|
|
21945
21945
|
];
|
|
@@ -22003,7 +22003,7 @@ f(Dt, "defaults", {
|
|
|
22003
22003
|
});
|
|
22004
22004
|
})(Dt || (Dt = {}));
|
|
22005
22005
|
U(Dt.prototype, Dt.createDefaultProps);
|
|
22006
|
-
const
|
|
22006
|
+
const mr = class mr extends Ce {
|
|
22007
22007
|
constructor(t) {
|
|
22008
22008
|
super(t);
|
|
22009
22009
|
/**
|
|
@@ -22100,7 +22100,7 @@ const Jt = class Jt extends Ce {
|
|
|
22100
22100
|
* @returns 默认属性对象。
|
|
22101
22101
|
*/
|
|
22102
22102
|
get defaultProps() {
|
|
22103
|
-
return
|
|
22103
|
+
return mr.createDefaultProps();
|
|
22104
22104
|
}
|
|
22105
22105
|
/**
|
|
22106
22106
|
* 重写更新编辑状态的方法,启动编辑模式。
|
|
@@ -22506,15 +22506,15 @@ const Jt = class Jt extends Ce {
|
|
|
22506
22506
|
basic: [
|
|
22507
22507
|
...t.basic,
|
|
22508
22508
|
new Fe("精度", "精度.", !1, !1, [this, "maximumScreenSpaceError"], 1, [0, 256], 16),
|
|
22509
|
-
new
|
|
22510
|
-
new
|
|
22511
|
-
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"],
|
|
22509
|
+
new X("材质模式", "materialMode", !0, !1, [this, "materialMode"], mr.defaults.materialModes, "normal"),
|
|
22510
|
+
new X("颜色模式", "颜色混合模式", !1, !1, [this, "colorBlendMode"], [["默认", "HIGHLIGHT"], ["替换", "REPLACE"], ["混合", "MIX"]], "HIGHLIGHT"),
|
|
22511
|
+
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"], mr.defaults.materialOverrideMap)
|
|
22512
22512
|
/** 分割方向枚举属性 */
|
|
22513
|
-
new
|
|
22513
|
+
// new EnumProperty('splitDirection', 'The ImagerySplitDirection split to apply to this layer.', false, false, [this, 'splitDirection'], ES3DTileset.defaults.splitDirectionEnum),
|
|
22514
22514
|
],
|
|
22515
22515
|
dataSource: [
|
|
22516
22516
|
...t.dataSource,
|
|
22517
|
-
new B("服务地址", "服务地址", !0, !1, [this, "url"],
|
|
22517
|
+
new B("服务地址", "服务地址", !0, !1, [this, "url"], mr.defaults.url)
|
|
22518
22518
|
],
|
|
22519
22519
|
coordinate: [
|
|
22520
22520
|
...t.coordinate,
|
|
@@ -22533,9 +22533,9 @@ const Jt = class Jt extends Ce {
|
|
|
22533
22533
|
return [
|
|
22534
22534
|
...super.getProperties(t),
|
|
22535
22535
|
new k("ES3DTileset", "ES3DTileset", [
|
|
22536
|
-
new B("服务地址", "服务地址", !1, !1, [this, "url"],
|
|
22537
|
-
new
|
|
22538
|
-
new B("materialParams", "materialParams", !1, !1, [this, "materialParams"],
|
|
22536
|
+
new B("服务地址", "服务地址", !1, !1, [this, "url"], mr.defaults.url),
|
|
22537
|
+
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"], mr.defaults.materialModes),
|
|
22538
|
+
new B("materialParams", "materialParams", !1, !1, [this, "materialParams"], mr.defaults.materialParams),
|
|
22539
22539
|
new E("maximumScreenSpaceError", "显示精度,maximumScreenSpaceError", !1, !1, [this, "maximumScreenSpaceError"]),
|
|
22540
22540
|
new R("编辑", "编辑", !1, !1, [this, "editing"], !1),
|
|
22541
22541
|
new Ci("offset", "offset", !0, !1, [this, "offset"]),
|
|
@@ -22546,14 +22546,14 @@ const Jt = class Jt extends Ce {
|
|
|
22546
22546
|
new oe("setFeatureVisable", "setFeatureVisable", ["string", "string"], (r, i) => this.setFeatureVisable(r, i), ["", ""]),
|
|
22547
22547
|
new oe("resetFeatureStyle", "resetFeatureStyle", [], () => this.resetFeatureStyle(), []),
|
|
22548
22548
|
/** 分割方向枚举属性 */
|
|
22549
|
-
new
|
|
22549
|
+
// new EnumProperty('splitDirection', 'The ImagerySplitDirection split to apply to this layer.', false, false, [this, 'splitDirection'], ES3DTileset.defaults.splitDirectionEnum),
|
|
22550
22550
|
new k("ue", "ue", [
|
|
22551
22551
|
new oe("refreshTileset", "refreshTileset", [], () => this.refreshTileset(), []),
|
|
22552
22552
|
new J("actorTag", "actorTag", !1, !1, [this, "actorTag"]),
|
|
22553
22553
|
new R("是否高亮", "是否高亮.", !1, !1, [this, "highlight"]),
|
|
22554
22554
|
new Z("highlightColor", " highlightColor.", !1, !1, [this, "highlightColor"]),
|
|
22555
22555
|
new E("highlightID", "highlightID", !1, !1, [this, "highlightID"]),
|
|
22556
|
-
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"],
|
|
22556
|
+
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"], mr.defaults.materialOverrideMap)
|
|
22557
22557
|
]),
|
|
22558
22558
|
new k("czm", "czm", [
|
|
22559
22559
|
new k("可视化", "可视化", [
|
|
@@ -22563,11 +22563,11 @@ const Jt = class Jt extends Ce {
|
|
|
22563
22563
|
new E("czmMaximumMemoryUsage", "最大内存,maximumMemoryUsage", !1, !1, [this, "czmMaximumMemoryUsage"])
|
|
22564
22564
|
]),
|
|
22565
22565
|
new k("常用", "常用", [
|
|
22566
|
-
new
|
|
22566
|
+
new X("czmClassificationType", "Determines whether terrain, 3D Tiles or both will be classified by this tileset. See Cesium3DTileset#czmClassificationType for details about restrictions and limitations.", !0, !1, [this, "czmClassificationType"], [["NONE", "NONE"], ["TERRAIN", "TERRAIN"], ["CESIUM_3D_TILE", "CESIUM_3D_TILE"], ["BOTH", "BOTH"]]),
|
|
22567
22567
|
new B("czmStyle", "czmStyle", !1, !1, [this, "czmStyleJson"]),
|
|
22568
22568
|
new R("czmBackFaceCulling", "czmBackFaceCulling", !1, !1, [this, "czmBackFaceCulling"]),
|
|
22569
22569
|
new R("czmSkipLevelOfDetail", "czmSkipLevelOfDetail", !1, !1, [this, "czmSkipLevelOfDetail"]),
|
|
22570
|
-
new
|
|
22570
|
+
new X("colorBlendMode", "颜色混合模式", !1, !1, [this, "colorBlendMode"], [["HIGHLIGHT", "HIGHLIGHT"], ["REPLACE", "REPLACE"], ["MIX", "MIX"]], "HIGHLIGHT"),
|
|
22571
22571
|
new E("cacheBytes", "最大缓存占用,超过的会自动卸载,但是视野范围内能看见的保留。单位字节。Cesium1.110(含)以后的版本起作用。", !1, !1, [this, "cacheBytes"], 512 * 1024 * 1024)
|
|
22572
22572
|
]),
|
|
22573
22573
|
new k("调试信息", "调试信息", [
|
|
@@ -22588,17 +22588,17 @@ const Jt = class Jt extends Ce {
|
|
|
22588
22588
|
/**
|
|
22589
22589
|
* 注册 ES3DTileset 类型,设置其名称、标签和描述。
|
|
22590
22590
|
*/
|
|
22591
|
-
f(
|
|
22591
|
+
f(mr, "type", mr.register("ES3DTileset", mr, { chsName: "3DTileset", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "3DTileset" })), /**
|
|
22592
22592
|
* 重写支持的编辑模式,包含平移和旋转模式。
|
|
22593
22593
|
*/
|
|
22594
|
-
f(
|
|
22594
|
+
f(mr, "supportEditingModes", [
|
|
22595
22595
|
...Ce.supportEditingModes,
|
|
22596
22596
|
ue.Translation,
|
|
22597
22597
|
ue.Rotation
|
|
22598
22598
|
]), /**
|
|
22599
22599
|
* 重写默认值,包含服务地址、材质模式、偏移量等默认属性。
|
|
22600
22600
|
*/
|
|
22601
|
-
f(
|
|
22601
|
+
f(mr, "defaults", {
|
|
22602
22602
|
...Ce.defaults,
|
|
22603
22603
|
url: "",
|
|
22604
22604
|
actorTag: "",
|
|
@@ -22616,7 +22616,7 @@ f(Jt, "defaults", {
|
|
|
22616
22616
|
/** 分割方向的枚举值 */
|
|
22617
22617
|
splitDirectionEnum: [["LEFT", "LEFT"], ["NONE", "NONE"], ["RIGHT", "RIGHT"]]
|
|
22618
22618
|
});
|
|
22619
|
-
let Rt =
|
|
22619
|
+
let Rt = mr;
|
|
22620
22620
|
((n) => {
|
|
22621
22621
|
n.createDefaultProps = () => ({
|
|
22622
22622
|
...Ce.createDefaultProps(),
|
|
@@ -22766,7 +22766,7 @@ const Ai = class Ai extends W {
|
|
|
22766
22766
|
this.collision = !1, this.d(this.createdEvent.don(() => {
|
|
22767
22767
|
setTimeout(() => {
|
|
22768
22768
|
if ((this.editing ?? !1) || !this.position) {
|
|
22769
|
-
const i = this.dv(
|
|
22769
|
+
const i = this.dv(nr(
|
|
22770
22770
|
this.positionChanged,
|
|
22771
22771
|
this.editingChanged
|
|
22772
22772
|
));
|
|
@@ -22832,7 +22832,7 @@ const Ai = class Ai extends W {
|
|
|
22832
22832
|
...t,
|
|
22833
22833
|
basic: [
|
|
22834
22834
|
...t.basic,
|
|
22835
|
-
new
|
|
22835
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Ai.defaults.modes, "cylinder"),
|
|
22836
22836
|
new E("半径", "radius", !1, !1, [this, "radius"], 10)
|
|
22837
22837
|
]
|
|
22838
22838
|
};
|
|
@@ -22846,7 +22846,7 @@ const Ai = class Ai extends W {
|
|
|
22846
22846
|
return [
|
|
22847
22847
|
...super.getProperties(t),
|
|
22848
22848
|
new k("通用", "通用", [
|
|
22849
|
-
new
|
|
22849
|
+
new X("mode", "mode", !1, !1, [this, "mode"], Ai.defaults.modes),
|
|
22850
22850
|
new E("半径", "radius", !1, !1, [this, "radius"])
|
|
22851
22851
|
])
|
|
22852
22852
|
];
|
|
@@ -22919,7 +22919,7 @@ const Bn = class Bn extends W {
|
|
|
22919
22919
|
...e.basic,
|
|
22920
22920
|
// 创建一个数字属性,表示光圈的半径
|
|
22921
22921
|
new E("半径", "radius", !1, !1, [this, "radius"], 1),
|
|
22922
|
-
new
|
|
22922
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Bn.defaults.modes, Bn.defaults.mode)
|
|
22923
22923
|
]
|
|
22924
22924
|
};
|
|
22925
22925
|
}
|
|
@@ -22934,7 +22934,7 @@ const Bn = class Bn extends W {
|
|
|
22934
22934
|
...super.getProperties(e),
|
|
22935
22935
|
// 创建一个数字属性,表示光圈的半径
|
|
22936
22936
|
new E("半径", "radius", !1, !1, [this, "radius"]),
|
|
22937
|
-
new
|
|
22937
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Bn.defaults.modes, Bn.defaults.mode)
|
|
22938
22938
|
];
|
|
22939
22939
|
}
|
|
22940
22940
|
};
|
|
@@ -23255,7 +23255,7 @@ let Ta = Js;
|
|
|
23255
23255
|
});
|
|
23256
23256
|
})(Ta || (Ta = {}));
|
|
23257
23257
|
U(Ta.prototype, Ta.createDefaultProps);
|
|
23258
|
-
const
|
|
23258
|
+
const Jt = class Jt extends W {
|
|
23259
23259
|
/**
|
|
23260
23260
|
* 获取对象的类型名称。
|
|
23261
23261
|
* @returns {string} 类型名称 'ESBoxClipping'。
|
|
@@ -23268,7 +23268,7 @@ const Zt = class Zt extends W {
|
|
|
23268
23268
|
* @returns {object} 包含默认属性的对象。
|
|
23269
23269
|
*/
|
|
23270
23270
|
get defaultProps() {
|
|
23271
|
-
return { ...
|
|
23271
|
+
return { ...Jt.createDefaultProps() };
|
|
23272
23272
|
}
|
|
23273
23273
|
/**
|
|
23274
23274
|
* 构造函数,创建 ESBoxClipping 实例。
|
|
@@ -23287,11 +23287,11 @@ const Zt = class Zt extends W {
|
|
|
23287
23287
|
...e,
|
|
23288
23288
|
basic: [
|
|
23289
23289
|
...e.basic,
|
|
23290
|
-
new R("反转", "reverse", !1, !1, [this, "reverse"],
|
|
23291
|
-
new Gt("尺寸", "长宽高", !1, !1, [this, "size"],
|
|
23292
|
-
new Z("边框颜色", "edgeColor", !1, !1, [this, "edgeColor"],
|
|
23293
|
-
new E("边框宽度", "edgeWidth", !1, !1, [this, "edgeWidth"],
|
|
23294
|
-
new J("瓦片图层", "targetID", !1, !1, [this, "targetID"],
|
|
23290
|
+
new R("反转", "reverse", !1, !1, [this, "reverse"], Jt.defaults.reverse),
|
|
23291
|
+
new Gt("尺寸", "长宽高", !1, !1, [this, "size"], Jt.defaults.size),
|
|
23292
|
+
new Z("边框颜色", "edgeColor", !1, !1, [this, "edgeColor"], Jt.defaults.edgeColor),
|
|
23293
|
+
new E("边框宽度", "edgeWidth", !1, !1, [this, "edgeWidth"], Jt.defaults.edgeWidth),
|
|
23294
|
+
new J("瓦片图层", "targetID", !1, !1, [this, "targetID"], Jt.defaults.targetID)
|
|
23295
23295
|
]
|
|
23296
23296
|
};
|
|
23297
23297
|
}
|
|
@@ -23304,11 +23304,11 @@ const Zt = class Zt extends W {
|
|
|
23304
23304
|
return [
|
|
23305
23305
|
...super.getProperties(e),
|
|
23306
23306
|
new k("通用", "通用", [
|
|
23307
|
-
new R("reverse", "reverse", !1, !1, [this, "reverse"],
|
|
23308
|
-
new Z("edgeColor", "edgeColor", !1, !1, [this, "edgeColor"],
|
|
23309
|
-
new E("edgeWidth", "edgeWidth", !1, !1, [this, "edgeWidth"],
|
|
23310
|
-
new Gt("尺寸", "长宽高", !1, !1, [this, "size"],
|
|
23311
|
-
new J("targetID", "targetID", !1, !1, [this, "targetID"],
|
|
23307
|
+
new R("reverse", "reverse", !1, !1, [this, "reverse"], Jt.defaults.reverse),
|
|
23308
|
+
new Z("edgeColor", "edgeColor", !1, !1, [this, "edgeColor"], Jt.defaults.edgeColor),
|
|
23309
|
+
new E("edgeWidth", "edgeWidth", !1, !1, [this, "edgeWidth"], Jt.defaults.edgeWidth),
|
|
23310
|
+
new Gt("尺寸", "长宽高", !1, !1, [this, "size"], Jt.defaults.size),
|
|
23311
|
+
new J("targetID", "targetID", !1, !1, [this, "targetID"], Jt.defaults.targetID)
|
|
23312
23312
|
])
|
|
23313
23313
|
];
|
|
23314
23314
|
}
|
|
@@ -23316,10 +23316,10 @@ const Zt = class Zt extends W {
|
|
|
23316
23316
|
/**
|
|
23317
23317
|
* 注册 ESBoxClipping 类型,包含中文名、标签和描述信息。
|
|
23318
23318
|
*/
|
|
23319
|
-
f(
|
|
23319
|
+
f(Jt, "type", Jt.register("ESBoxClipping", Jt, { chsName: "体剖切", tags: ["ESObjects", "_ES_Impl_Cesium"], description: "体剖切,体裁剪,体裁切,盒裁切" })), /**
|
|
23320
23320
|
* 静态默认属性对象,包含反转标志、边框颜色、边框宽度、尺寸和目标 ID 等默认值。
|
|
23321
23321
|
*/
|
|
23322
|
-
f(
|
|
23322
|
+
f(Jt, "defaults", {
|
|
23323
23323
|
...W.defaults,
|
|
23324
23324
|
/** 是否反转剖切效果 */
|
|
23325
23325
|
reverse: !1,
|
|
@@ -23332,7 +23332,7 @@ f(Zt, "defaults", {
|
|
|
23332
23332
|
/** 目标 ES3DTileset 的 ID,为空时代表裁切地形 */
|
|
23333
23333
|
targetID: ""
|
|
23334
23334
|
});
|
|
23335
|
-
let Na =
|
|
23335
|
+
let Na = Jt;
|
|
23336
23336
|
((n) => {
|
|
23337
23337
|
n.createDefaultProps = () => ({
|
|
23338
23338
|
...W.createDefaultProps(),
|
|
@@ -23549,7 +23549,7 @@ class Bu extends ae {
|
|
|
23549
23549
|
this._view.resetWithCurrentCamera(), this._view.capture(a[0], a[1]);
|
|
23550
23550
|
}));
|
|
23551
23551
|
}
|
|
23552
|
-
const s = this._view, o = this.dv(
|
|
23552
|
+
const s = this._view, o = this.dv(nr(s.durationChanged, s.positionChanged, s.rotationChanged, s.thumbnailChanged, s.nameChanged));
|
|
23553
23553
|
this.d(o.don(() => t.emitViewsWarpper()));
|
|
23554
23554
|
}
|
|
23555
23555
|
/**
|
|
@@ -23949,7 +23949,7 @@ const vr = class vr extends re {
|
|
|
23949
23949
|
return [
|
|
23950
23950
|
...super.getProperties(t),
|
|
23951
23951
|
new k("ESCameraViewCollection", "ESCameraViewCollection", [
|
|
23952
|
-
new
|
|
23952
|
+
new X("飞行模式", "flyMode", !1, !1, [this, "flyMode"], vr.defaults.flyModes, vr.defaults.flyMode),
|
|
23953
23953
|
new oe("添加视角", "添加视角", [], () => this.addView(), []),
|
|
23954
23954
|
new oe("插入视角", "插入视角", ["number"], (r) => this.insertView(r), [0]),
|
|
23955
23955
|
new oe("清空所有视角", "清空所有视角", [], () => this.clearAllViews(), []),
|
|
@@ -24142,7 +24142,7 @@ const ki = class ki extends W {
|
|
|
24142
24142
|
...e,
|
|
24143
24143
|
basic: [
|
|
24144
24144
|
...e.basic,
|
|
24145
|
-
new
|
|
24145
|
+
new X("模式", "mode", !1, !1, [this, "mode"], ki.defaults.modeEnum, "policeCar")
|
|
24146
24146
|
]
|
|
24147
24147
|
};
|
|
24148
24148
|
}
|
|
@@ -24157,7 +24157,7 @@ const ki = class ki extends W {
|
|
|
24157
24157
|
return [
|
|
24158
24158
|
...super.getProperties(e),
|
|
24159
24159
|
new k("通用", "通用", [
|
|
24160
|
-
new
|
|
24160
|
+
new X("mode", "mode", !1, !1, [this, "mode"], ki.defaults.modeEnum)
|
|
24161
24161
|
])
|
|
24162
24162
|
];
|
|
24163
24163
|
}
|
|
@@ -24476,7 +24476,7 @@ class Oy extends ae {
|
|
|
24476
24476
|
i.style.cssText = c;
|
|
24477
24477
|
};
|
|
24478
24478
|
l();
|
|
24479
|
-
const u = this.dv(
|
|
24479
|
+
const u = this.dv(nr(
|
|
24480
24480
|
t.cssAllInitialChanged,
|
|
24481
24481
|
t.cssTextChanged,
|
|
24482
24482
|
t.showChanged
|
|
@@ -24484,7 +24484,7 @@ class Oy extends ae {
|
|
|
24484
24484
|
this.d(u.don(l));
|
|
24485
24485
|
}
|
|
24486
24486
|
e.appendChild(i), this.d(() => e.removeChild(i));
|
|
24487
|
-
const s = this.dv(
|
|
24487
|
+
const s = this.dv(nr(t.instanceClassChanged, t.containerChanged, t.shadowDomChanged)), o = this.dv(new lr(s, () => {
|
|
24488
24488
|
const { instanceClass: l, container: u } = t;
|
|
24489
24489
|
if (!l || u) return;
|
|
24490
24490
|
let c = i;
|
|
@@ -24621,7 +24621,7 @@ ${Td}
|
|
|
24621
24621
|
r.style.cssText = o;
|
|
24622
24622
|
};
|
|
24623
24623
|
i();
|
|
24624
|
-
const s = this.dv(
|
|
24624
|
+
const s = this.dv(nr(
|
|
24625
24625
|
this.cssAllInitialChanged,
|
|
24626
24626
|
this.cssTextChanged,
|
|
24627
24627
|
this.showChanged
|
|
@@ -24645,18 +24645,18 @@ ${Td}
|
|
|
24645
24645
|
super(), o.appendChild(r), this.d(() => o.removeChild(r));
|
|
24646
24646
|
}
|
|
24647
24647
|
}
|
|
24648
|
-
this.dv(new
|
|
24648
|
+
this.dv(new lr(this.containerChanged, () => {
|
|
24649
24649
|
if (this.container)
|
|
24650
24650
|
return new i(this.container);
|
|
24651
24651
|
}));
|
|
24652
24652
|
}
|
|
24653
24653
|
{
|
|
24654
|
-
const i = this.dv(
|
|
24654
|
+
const i = this.dv(nr(
|
|
24655
24655
|
this.containerChanged,
|
|
24656
24656
|
this.instanceClassChanged,
|
|
24657
24657
|
this.shadowDomChanged
|
|
24658
24658
|
));
|
|
24659
|
-
this.dv(new
|
|
24659
|
+
this.dv(new lr(i, () => {
|
|
24660
24660
|
if (!this.container || !this.instanceClass) return;
|
|
24661
24661
|
let s = r;
|
|
24662
24662
|
if (r.firstElementChild && r.removeChild(r.firstElementChild), this.shadowDom) {
|
|
@@ -25009,13 +25009,13 @@ const Es = class Es extends de {
|
|
|
25009
25009
|
new k("点样式", "点样式集合", []),
|
|
25010
25010
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
25011
25011
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
25012
|
-
new
|
|
25012
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
25013
25013
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
25014
25014
|
new k("线样式", "线样式集合", []),
|
|
25015
25015
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !0),
|
|
25016
25016
|
new R("贴地", "是否贴地(线)", !1, !1, [this, "strokeGround"]),
|
|
25017
25017
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
25018
|
-
new
|
|
25018
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
25019
25019
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1])
|
|
25020
25020
|
]
|
|
25021
25021
|
};
|
|
@@ -25060,7 +25060,7 @@ f(Es, "defaults", {
|
|
|
25060
25060
|
},
|
|
25061
25061
|
stroked: !0
|
|
25062
25062
|
});
|
|
25063
|
-
let
|
|
25063
|
+
let pn = Es;
|
|
25064
25064
|
((n) => {
|
|
25065
25065
|
n.createDefaultProps = () => ({
|
|
25066
25066
|
...de.createDefaultProps(),
|
|
@@ -25069,9 +25069,9 @@ let dn = Es;
|
|
|
25069
25069
|
/**线样式 */
|
|
25070
25070
|
strokeStyle: Ue(n.defaults.strokeStyle)
|
|
25071
25071
|
});
|
|
25072
|
-
})(
|
|
25073
|
-
U(
|
|
25074
|
-
const Qs = class Qs extends
|
|
25072
|
+
})(pn || (pn = {}));
|
|
25073
|
+
U(pn.prototype, pn.createDefaultProps);
|
|
25074
|
+
const Qs = class Qs extends pn {
|
|
25075
25075
|
/**
|
|
25076
25076
|
* 获取该对象的类型名称,固定返回 'ESDistanceMeasurement'。
|
|
25077
25077
|
* @returns {string} 类型名称 'ESDistanceMeasurement'。
|
|
@@ -25127,7 +25127,7 @@ f(Qs, "type", Qs.register("ESDistanceMeasurement", Qs, { chsName: "距离测量"
|
|
|
25127
25127
|
* 线条样式包含宽度、宽度类型、颜色、材质、材质参数和是否贴地等信息。
|
|
25128
25128
|
*/
|
|
25129
25129
|
f(Qs, "defaults", {
|
|
25130
|
-
...
|
|
25130
|
+
...pn.defaults,
|
|
25131
25131
|
strokeStyle: {
|
|
25132
25132
|
width: 2,
|
|
25133
25133
|
widthType: "screen",
|
|
@@ -25140,7 +25140,7 @@ f(Qs, "defaults", {
|
|
|
25140
25140
|
let Ra = Qs;
|
|
25141
25141
|
((n) => {
|
|
25142
25142
|
n.createDefaultProps = () => ({
|
|
25143
|
-
...
|
|
25143
|
+
...pn.createDefaultProps(),
|
|
25144
25144
|
/**
|
|
25145
25145
|
* 线条样式属性,使用 reactJson 包装,使其成为响应式对象。
|
|
25146
25146
|
* 包含线条的宽度、颜色、材质等信息。
|
|
@@ -25181,19 +25181,19 @@ const Vi = class Vi extends Ie {
|
|
|
25181
25181
|
...e,
|
|
25182
25182
|
basic: [
|
|
25183
25183
|
...e.basic,
|
|
25184
|
-
new
|
|
25184
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Vi.defaults.modes, "in"),
|
|
25185
25185
|
new J("瓦片图层", "targetID", !1, !1, [this, "targetID"], "")
|
|
25186
25186
|
],
|
|
25187
25187
|
style: [
|
|
25188
25188
|
new k("点样式", "点样式集合", []),
|
|
25189
25189
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
25190
25190
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
25191
|
-
new
|
|
25191
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
25192
25192
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
25193
25193
|
new k("线样式", "线样式集合", []),
|
|
25194
25194
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !0),
|
|
25195
25195
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
25196
|
-
new
|
|
25196
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
25197
25197
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
25198
25198
|
new R("是否贴地", "是否贴地(线)", !1, !1, [this, "strokeGround"], !1),
|
|
25199
25199
|
new k("面样式", "面样式集合", []),
|
|
@@ -25213,7 +25213,7 @@ const Vi = class Vi extends Ie {
|
|
|
25213
25213
|
return [
|
|
25214
25214
|
...super.getProperties(e),
|
|
25215
25215
|
new k("通用", "通用", [
|
|
25216
|
-
new
|
|
25216
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Vi.defaults.modes),
|
|
25217
25217
|
new J("目标ID", "targetID", !1, !1, [this, "targetID"])
|
|
25218
25218
|
])
|
|
25219
25219
|
];
|
|
@@ -26307,8 +26307,8 @@ const $r = class $r extends W {
|
|
|
26307
26307
|
...t,
|
|
26308
26308
|
basic: [
|
|
26309
26309
|
...t.basic,
|
|
26310
|
-
new
|
|
26311
|
-
new
|
|
26310
|
+
new X("模式", "mode", !0, !1, [this, "mode"], $r.defaults.modes, $r.defaults.mode),
|
|
26311
|
+
new X("动画", "animation", !0, !1, [this, "animation"], $r.defaults.animations, $r.defaults.animation)
|
|
26312
26312
|
]
|
|
26313
26313
|
};
|
|
26314
26314
|
}
|
|
@@ -26324,8 +26324,8 @@ const $r = class $r extends W {
|
|
|
26324
26324
|
new k("通用", "通用", [
|
|
26325
26325
|
new oe("自动寻路", "aiMoveTo", ["numbers", "number"], (r, i) => this.aiMoveTo(r, i), [[0, 0, 0], 0]),
|
|
26326
26326
|
new oe("stopAIMove", "stopAIMove", [], () => this.stopAIMove(), []),
|
|
26327
|
-
new
|
|
26328
|
-
new
|
|
26327
|
+
new X("mode", "mode", !1, !1, [this, "mode"], $r.defaults.modes),
|
|
26328
|
+
new X("动画", "animation", !1, !1, [this, "animation"], $r.defaults.animations)
|
|
26329
26329
|
])
|
|
26330
26330
|
];
|
|
26331
26331
|
}
|
|
@@ -26601,7 +26601,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26601
26601
|
};
|
|
26602
26602
|
|
|
26603
26603
|
\`\`\`
|
|
26604
|
-
`,
|
|
26604
|
+
`, yn = class yn extends Ce {
|
|
26605
26605
|
/**
|
|
26606
26606
|
* 获取对象的类型名称。
|
|
26607
26607
|
* @returns 类型名称 'ESImageryLayer'。
|
|
@@ -26614,7 +26614,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26614
26614
|
* @returns 默认属性对象。
|
|
26615
26615
|
*/
|
|
26616
26616
|
get defaultProps() {
|
|
26617
|
-
return
|
|
26617
|
+
return yn.createDefaultProps();
|
|
26618
26618
|
}
|
|
26619
26619
|
/**
|
|
26620
26620
|
* 构造函数,创建 ESImageryLayer 实例。
|
|
@@ -26636,18 +26636,18 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26636
26636
|
basic: [
|
|
26637
26637
|
...e.basic,
|
|
26638
26638
|
/** 层级序号属性 */
|
|
26639
|
-
new E("层级序号", "层级序号", !1, !1, [this, "zIndex"],
|
|
26639
|
+
new E("层级序号", "层级序号", !1, !1, [this, "zIndex"], yn.defaults.zIndex)
|
|
26640
26640
|
],
|
|
26641
26641
|
dataSource: [
|
|
26642
26642
|
...e.dataSource,
|
|
26643
26643
|
/** 影像服务地址属性 */
|
|
26644
26644
|
new B("影像服务地址", "影像服务地址", !1, !1, [this, "url"]),
|
|
26645
26645
|
/** 矩形范围属性 */
|
|
26646
|
-
new jr("矩形范围", "西南东北", !0, !1, [this, "rectangle"],
|
|
26646
|
+
new jr("矩形范围", "西南东北", !0, !1, [this, "rectangle"], yn.defaults.rectangle),
|
|
26647
26647
|
/** 最大级别属性 */
|
|
26648
|
-
new Fe("最大级别", "最大级别.", !0, !1, [this, "maximumLevel"], 1, [1, 24],
|
|
26648
|
+
new Fe("最大级别", "最大级别.", !0, !1, [this, "maximumLevel"], 1, [1, 24], yn.defaults.maximumLevel),
|
|
26649
26649
|
/** 选项属性 */
|
|
26650
|
-
new B("options", "options", !0, !1, [this, "options"],
|
|
26650
|
+
new B("options", "options", !0, !1, [this, "options"], yn.defaults.options),
|
|
26651
26651
|
/** 目标 ID 属性 */
|
|
26652
26652
|
new J("targetID", "targetID", !1, !1, [this, "targetID"], ""),
|
|
26653
26653
|
/** 透明度属性 */
|
|
@@ -26668,7 +26668,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26668
26668
|
new B("影像服务地址", "影像服务地址", !1, !1, [this, "url"]),
|
|
26669
26669
|
new k("通用", "通用", [
|
|
26670
26670
|
/** 矩形范围属性 */
|
|
26671
|
-
new jr("矩形范围", "西南东北", !0, !1, [this, "rectangle"],
|
|
26671
|
+
new jr("矩形范围", "西南东北", !0, !1, [this, "rectangle"], yn.defaults.rectangle),
|
|
26672
26672
|
/** 高度属性 */
|
|
26673
26673
|
new E("高度", "A numeric Property specifying the height.", !1, !1, [this, "height"]),
|
|
26674
26674
|
/** 层级属性 */
|
|
@@ -26686,9 +26686,9 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26686
26686
|
/** 目标 ID 属性 */
|
|
26687
26687
|
new J("targetID", "targetID", !1, !1, [this, "targetID"]),
|
|
26688
26688
|
/** 透明度属性 */
|
|
26689
|
-
new Fe("opacity", "opacity", !1, !1, [this, "opacity"], 0.01, [0, 1], 1)
|
|
26689
|
+
new Fe("opacity", "opacity", !1, !1, [this, "opacity"], 0.01, [0, 1], 1)
|
|
26690
26690
|
/** 分割方向枚举属性 */
|
|
26691
|
-
new
|
|
26691
|
+
// new EnumProperty('splitDirection', 'The ImagerySplitDirection split to apply to this layer.', false, false, [this, 'splitDirection'], ESImageryLayer.defaults.splitDirectionEnum),
|
|
26692
26692
|
]),
|
|
26693
26693
|
new k("czm", "czm", [
|
|
26694
26694
|
// new EnumProperty('czmSplitDirection', 'The ImagerySplitDirection split to apply to this layer.', false, false, [this, 'czmSplitDirection'], ESImageryLayer.defaults.czmSplitDirectionEnum),
|
|
@@ -26712,10 +26712,10 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26712
26712
|
/**
|
|
26713
26713
|
* 注册 ESImageryLayer 类,设置其类型名称、中文名称、标签和描述。
|
|
26714
26714
|
*/
|
|
26715
|
-
f(
|
|
26715
|
+
f(yn, "type", yn.register("ESImageryLayer", yn, { chsName: "影像图层", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "影像图层" })), /**
|
|
26716
26716
|
* ESImageryLayer 类的默认属性。
|
|
26717
26717
|
*/
|
|
26718
|
-
f(
|
|
26718
|
+
f(yn, "defaults", {
|
|
26719
26719
|
...Ce.defaults,
|
|
26720
26720
|
/** 影像服务地址 */
|
|
26721
26721
|
url: "",
|
|
@@ -26756,7 +26756,7 @@ f(en, "defaults", {
|
|
|
26756
26756
|
/** czm 子域名 */
|
|
26757
26757
|
czmSubdomains: []
|
|
26758
26758
|
});
|
|
26759
|
-
let ja =
|
|
26759
|
+
let ja = yn;
|
|
26760
26760
|
((n) => {
|
|
26761
26761
|
n.createDefaultProps = () => ({
|
|
26762
26762
|
...Ce.createDefaultProps(),
|
|
@@ -26836,7 +26836,7 @@ const Fr = class Fr extends W {
|
|
|
26836
26836
|
new E("尺寸", "圆直径或包围盒边长", !1, !1, [this, "size"], Fr.defaults.size),
|
|
26837
26837
|
new R("自动跟随", "是否跟随相机", !1, !1, [this, "autoFollow"], Fr.defaults.autoFollow),
|
|
26838
26838
|
// new NumberProperty('autoOpacityFactor', '自动消失系数', false, false, [this, 'autoOpacityFactor'], ESLocalSkyBox.defaults.autoOpacityFactor),
|
|
26839
|
-
new
|
|
26839
|
+
new X("mode", "模式", !1, !1, [this, "mode"], Fr.defaults.modes, "blueSky")
|
|
26840
26840
|
// new JsonProperty('url', '天空盒背景', false, false, [this, 'url'], ESLocalSkyBox.defaults.url),
|
|
26841
26841
|
]
|
|
26842
26842
|
};
|
|
@@ -26853,7 +26853,7 @@ const Fr = class Fr extends W {
|
|
|
26853
26853
|
new E("size", "圆直径或包围盒边长", !1, !1, [this, "size"], Fr.defaults.size),
|
|
26854
26854
|
new R("autoFollow", "是否跟随相机(自动跟随效果为渐变,会在5000米左右消失)", !1, !1, [this, "autoFollow"], Fr.defaults.autoFollow),
|
|
26855
26855
|
new E("autoOpacityFactor", "自动消失系数", !1, !1, [this, "autoOpacityFactor"], Fr.defaults.autoOpacityFactor),
|
|
26856
|
-
new
|
|
26856
|
+
new X("mode", "模式", !1, !1, [this, "mode"], Fr.defaults.modes)
|
|
26857
26857
|
// new JsonProperty('url', '天空盒背景', false, false, [this, 'url'], ESLocalSkyBox.defaults.url),
|
|
26858
26858
|
])
|
|
26859
26859
|
];
|
|
@@ -27380,7 +27380,7 @@ const kr = class kr extends Dt {
|
|
|
27380
27380
|
...t,
|
|
27381
27381
|
basic: [
|
|
27382
27382
|
...t.basic,
|
|
27383
|
-
new
|
|
27383
|
+
new X("模式", "mode", !1, !1, [this, "mode"], kr.defaults.modes, kr.defaults.mode),
|
|
27384
27384
|
new B("样式", "style", !1, !1, [this, "style"], kr.defaults.style),
|
|
27385
27385
|
new R("自动锚点对齐", "autoAnchor", !1, !1, [this, "autoAnchor"], kr.defaults.autoAnchor)
|
|
27386
27386
|
]
|
|
@@ -27395,7 +27395,7 @@ const kr = class kr extends Dt {
|
|
|
27395
27395
|
return [
|
|
27396
27396
|
...super.getProperties(t),
|
|
27397
27397
|
new k("通用", "通用", [
|
|
27398
|
-
new
|
|
27398
|
+
new X("模式", "mode", !1, !1, [this, "mode"], kr.defaults.modes),
|
|
27399
27399
|
new B("样式", "style", !1, !1, [this, "style"], kr.defaults.style),
|
|
27400
27400
|
new R("自动锚点对齐", "autoAnchor", !1, !1, [this, "autoAnchor"], kr.defaults.autoAnchor)
|
|
27401
27401
|
])
|
|
@@ -27537,7 +27537,7 @@ const Un = class Un extends W {
|
|
|
27537
27537
|
...e,
|
|
27538
27538
|
basic: [
|
|
27539
27539
|
...e.basic,
|
|
27540
|
-
new
|
|
27540
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Un.defaults.modes),
|
|
27541
27541
|
new B("样式", "style", !1, !1, [this, "style"], Un.defaults.style)
|
|
27542
27542
|
]
|
|
27543
27543
|
};
|
|
@@ -27551,7 +27551,7 @@ const Un = class Un extends W {
|
|
|
27551
27551
|
return [
|
|
27552
27552
|
...super.getProperties(e),
|
|
27553
27553
|
new k("通用", "通用", [
|
|
27554
|
-
new
|
|
27554
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Un.defaults.modes),
|
|
27555
27555
|
new B("样式", "style", !1, !1, [this, "style"], Un.defaults.style)
|
|
27556
27556
|
])
|
|
27557
27557
|
];
|
|
@@ -28183,7 +28183,7 @@ const Ge = class Ge extends W {
|
|
|
28183
28183
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Ge.defaults.frequency),
|
|
28184
28184
|
new E("当前时间", "currentTime", !1, !1, [this, "currentTime"], Ge.defaults.currentTime),
|
|
28185
28185
|
new B("材质参数", "materialParams", !1, !1, [this, "materialParams"], Ge.defaults.materialParams),
|
|
28186
|
-
new
|
|
28186
|
+
new X("水域类型", "当为custom是其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Ge.defaults.waterTypes, "river"),
|
|
28187
28187
|
new Z("水的底色", "waterColor", !1, !1, [this, "waterColor"], Ge.defaults.waterColor),
|
|
28188
28188
|
new Fe("波动频率", "控制水波纹扰动的速率", !1, !1, [this, "waveVelocity"], 0.01, [0, 1], Ge.defaults.waveVelocity),
|
|
28189
28189
|
new E("水流速度", "控制水流速度,单位 米/秒", !1, !1, [this, "flowSpeed"], Ge.defaults.flowSpeed),
|
|
@@ -28205,7 +28205,7 @@ const Ge = class Ge extends W {
|
|
|
28205
28205
|
new J("模型Url地址", "url", !1, !1, [this, "url"], Ge.defaults.url),
|
|
28206
28206
|
new E("当前时间", "currentTime", !1, !1, [this, "currentTime"], Ge.defaults.currentTime),
|
|
28207
28207
|
new B("材质参数", "materialParams", !1, !1, [this, "materialParams"], Ge.defaults.materialParams),
|
|
28208
|
-
new
|
|
28208
|
+
new X("水域类型", "当为custom是其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Ge.defaults.waterTypes),
|
|
28209
28209
|
new Z("水的底色", "waterColor", !1, !1, [this, "waterColor"], Ge.defaults.waterColor),
|
|
28210
28210
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Ge.defaults.frequency),
|
|
28211
28211
|
new Fe("波动频率", "控制水波纹扰动的速率", !1, !1, [this, "waveVelocity"], 0.01, [0, 1], Ge.defaults.waveVelocity),
|
|
@@ -28474,7 +28474,7 @@ const yr = class yr extends Ce {
|
|
|
28474
28474
|
getESProperties() {
|
|
28475
28475
|
const t = { ...super.getESProperties() }, r = [
|
|
28476
28476
|
new E("层级序号", "层级序号", !1, !1, [this, "zIndex"], yr.defaults.zIndex),
|
|
28477
|
-
new
|
|
28477
|
+
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"], yr.defaults.renderModes, "default"),
|
|
28478
28478
|
new E("透明度", "opacity", !1, !1, [this, "opacity"], yr.defaults.opacity)
|
|
28479
28479
|
], i = [
|
|
28480
28480
|
new B("地形服务地址", "地形服务地址", !1, !1, [this, "url"], yr.defaults.url),
|
|
@@ -28495,7 +28495,7 @@ const yr = class yr extends Ce {
|
|
|
28495
28495
|
new B("地形服务地址", "地形服务地址", !1, !1, [this, "url"]),
|
|
28496
28496
|
new jr("矩形范围", "西南东北", !1, !1, [this, "rectangle"]),
|
|
28497
28497
|
new E("层级", "zIndex", !1, !1, [this, "zIndex"]),
|
|
28498
|
-
new
|
|
28498
|
+
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"], yr.defaults.renderModes, yr.defaults.renderMode),
|
|
28499
28499
|
new E("透明度", "opacity", !1, !1, [this, "opacity"], yr.defaults.opacity),
|
|
28500
28500
|
new k("czm", "czm", [
|
|
28501
28501
|
new E("czmMinzoom", "czmMinzoom", !0, !1, [this, "czmMinzoom"]),
|
|
@@ -28645,9 +28645,9 @@ const _n = class _n extends Dt {
|
|
|
28645
28645
|
new E("宽度", "宽度", !0, !1, [this, "width"], _n.defaults.width),
|
|
28646
28646
|
// new Number4Property('原点比例和偏移', '原点比例和偏移.', false, false, [this, 'originRatioAndOffset']),
|
|
28647
28647
|
new E("透明度", "透明度", !1, !1, [this, "opacity"]),
|
|
28648
|
-
new
|
|
28648
|
+
new X("文字位置", "文字位置", !1, !1, [this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]]),
|
|
28649
28649
|
// new NonreactiveJsonStringProperty('geoJson', '生成GeoJSON数据。', false, false, () => this.geoJsonStr, (value: string | undefined) => value && (this.geoJsonStr = value)),
|
|
28650
|
-
new
|
|
28650
|
+
new X(
|
|
28651
28651
|
"边框类型",
|
|
28652
28652
|
"边框类型",
|
|
28653
28653
|
!1,
|
|
@@ -29106,7 +29106,7 @@ let $a = Zo;
|
|
|
29106
29106
|
});
|
|
29107
29107
|
})($a || ($a = {}));
|
|
29108
29108
|
U($a.prototype, $a.createDefaultProps);
|
|
29109
|
-
const
|
|
29109
|
+
const Zt = class Zt extends W {
|
|
29110
29110
|
/**
|
|
29111
29111
|
* 构造函数,初始化视频融合对象。
|
|
29112
29112
|
* @param id - 场景对象的唯一标识,可选参数。
|
|
@@ -29135,7 +29135,7 @@ const Kt = class Kt extends W {
|
|
|
29135
29135
|
* @returns 返回默认属性对象。
|
|
29136
29136
|
*/
|
|
29137
29137
|
get defaultProps() {
|
|
29138
|
-
return
|
|
29138
|
+
return Zt.createDefaultProps();
|
|
29139
29139
|
}
|
|
29140
29140
|
/**
|
|
29141
29141
|
* 获取以当前相机信息重置的事件对象。
|
|
@@ -29160,15 +29160,15 @@ const Kt = class Kt extends W {
|
|
|
29160
29160
|
...t,
|
|
29161
29161
|
basic: [
|
|
29162
29162
|
...t.basic,
|
|
29163
|
-
new R("循环", "looping", !1, !1, [this, "looping"],
|
|
29164
|
-
new R("视椎体", "showFrustum", !1, !1, [this, "showFrustum"],
|
|
29165
|
-
new E("宽高比", "aspectRatio", !1, !1, [this, "aspectRatio"],
|
|
29166
|
-
new E("横向夹角", "fov", !1, !1, [this, "fov"],
|
|
29167
|
-
new E("视野长度", "far", !1, !1, [this, "far"],
|
|
29168
|
-
new E("近面距离", "near", !1, !1, [this, "near"],
|
|
29169
|
-
new B("视频路径", "videoStreamUrl", !1, !1, [this, "videoStreamUrl"],
|
|
29170
|
-
new E("显示优先级", "zIndex", !1, !1, [this, "zIndex"],
|
|
29171
|
-
new
|
|
29163
|
+
new R("循环", "looping", !1, !1, [this, "looping"], Zt.defaults.looping),
|
|
29164
|
+
new R("视椎体", "showFrustum", !1, !1, [this, "showFrustum"], Zt.defaults.showFrustum),
|
|
29165
|
+
new E("宽高比", "aspectRatio", !1, !1, [this, "aspectRatio"], Zt.defaults.aspectRatio),
|
|
29166
|
+
new E("横向夹角", "fov", !1, !1, [this, "fov"], Zt.defaults.fov),
|
|
29167
|
+
new E("视野长度", "far", !1, !1, [this, "far"], Zt.defaults.far),
|
|
29168
|
+
new E("近面距离", "near", !1, !1, [this, "near"], Zt.defaults.near),
|
|
29169
|
+
new B("视频路径", "videoStreamUrl", !1, !1, [this, "videoStreamUrl"], Zt.defaults.videoStreamUrl),
|
|
29170
|
+
new E("显示优先级", "zIndex", !1, !1, [this, "zIndex"], Zt.defaults.zIndex),
|
|
29171
|
+
new X("视频类型", "视频类型", !1, !1, [this, "videoStreamType"], Zt.defaults.videoStreamTypes, "video")
|
|
29172
29172
|
]
|
|
29173
29173
|
};
|
|
29174
29174
|
}
|
|
@@ -29191,7 +29191,7 @@ const Kt = class Kt extends W {
|
|
|
29191
29191
|
new R("循环", "looping", !1, !1, [this, "looping"])
|
|
29192
29192
|
]),
|
|
29193
29193
|
new k("czm", "czm", [
|
|
29194
|
-
new
|
|
29194
|
+
new X("视频类型", "视频类型", !1, !1, [this, "videoStreamType"], Zt.defaults.videoStreamTypes),
|
|
29195
29195
|
new oe("重置", "以当前相机状态", [], () => this.resetWithCameraInfo(), [])
|
|
29196
29196
|
])
|
|
29197
29197
|
];
|
|
@@ -29200,10 +29200,10 @@ const Kt = class Kt extends W {
|
|
|
29200
29200
|
/**
|
|
29201
29201
|
* 注册视频融合类,设置其类型名称、中文名称、标签和描述信息。
|
|
29202
29202
|
*/
|
|
29203
|
-
f(
|
|
29203
|
+
f(Zt, "type", Zt.register("ESVideoFusion", Zt, { chsName: "视频融合", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "视频融合" })), /**
|
|
29204
29204
|
* 静态默认属性对象,包含视频融合的各项默认设置。
|
|
29205
29205
|
*/
|
|
29206
|
-
f(
|
|
29206
|
+
f(Zt, "defaults", {
|
|
29207
29207
|
...W.defaults,
|
|
29208
29208
|
fov: 90,
|
|
29209
29209
|
// 横向夹角默认值
|
|
@@ -29224,7 +29224,7 @@ f(Kt, "defaults", {
|
|
|
29224
29224
|
videoStreamTypes: [["video", "video"], ["hls", "hls"], ["flv", "flv"], ["img", "img"], ["gif", "gif"]]
|
|
29225
29225
|
// 视频类型列表
|
|
29226
29226
|
});
|
|
29227
|
-
let el =
|
|
29227
|
+
let el = Zt;
|
|
29228
29228
|
((n) => {
|
|
29229
29229
|
n.createDefaultProps = () => ({
|
|
29230
29230
|
...W.createDefaultProps(),
|
|
@@ -29270,7 +29270,7 @@ let el = Kt;
|
|
|
29270
29270
|
});
|
|
29271
29271
|
})(el || (el = {}));
|
|
29272
29272
|
U(el.prototype, el.createDefaultProps);
|
|
29273
|
-
const
|
|
29273
|
+
const en = class en extends W {
|
|
29274
29274
|
/**
|
|
29275
29275
|
* 构造函数,初始化 ESViewShed 实例
|
|
29276
29276
|
* @param id 场景对象的唯一标识符,可选参数
|
|
@@ -29295,7 +29295,7 @@ const tn = class tn extends W {
|
|
|
29295
29295
|
* @returns ESViewShed 的默认属性对象
|
|
29296
29296
|
*/
|
|
29297
29297
|
get defaultProps() {
|
|
29298
|
-
return
|
|
29298
|
+
return en.createDefaultProps();
|
|
29299
29299
|
}
|
|
29300
29300
|
/**
|
|
29301
29301
|
* 重写获取 ES 属性的方法,返回包含视域分析相关属性的对象
|
|
@@ -29308,17 +29308,17 @@ const tn = class tn extends W {
|
|
|
29308
29308
|
basic: [
|
|
29309
29309
|
...t.basic,
|
|
29310
29310
|
// 视椎体属性
|
|
29311
|
-
new R("视椎体", "showFrustum", !1, !1, [this, "showFrustum"],
|
|
29311
|
+
new R("视椎体", "showFrustum", !1, !1, [this, "showFrustum"], en.defaults.showFrustum),
|
|
29312
29312
|
// 宽高比属性
|
|
29313
|
-
new E("宽高比", "aspectRatio", !1, !1, [this, "aspectRatio"],
|
|
29313
|
+
new E("宽高比", "aspectRatio", !1, !1, [this, "aspectRatio"], en.defaults.aspectRatio),
|
|
29314
29314
|
// 横向夹角属性
|
|
29315
|
-
new E("横向夹角", "fov", !1, !1, [this, "fov"],
|
|
29315
|
+
new E("横向夹角", "fov", !1, !1, [this, "fov"], en.defaults.fov),
|
|
29316
29316
|
// 近面距离属性
|
|
29317
|
-
new E("近面距离", "near", !1, !1, [this, "near"],
|
|
29317
|
+
new E("近面距离", "near", !1, !1, [this, "near"], en.defaults.near),
|
|
29318
29318
|
// 视野长度属性
|
|
29319
|
-
new E("视野长度", "far", !1, !1, [this, "far"],
|
|
29319
|
+
new E("视野长度", "far", !1, !1, [this, "far"], en.defaults.far),
|
|
29320
29320
|
// 显示优先级属性
|
|
29321
|
-
new E("显示优先级", "zIndex", !1, !1, [this, "zIndex"],
|
|
29321
|
+
new E("显示优先级", "zIndex", !1, !1, [this, "zIndex"], en.defaults.zIndex)
|
|
29322
29322
|
]
|
|
29323
29323
|
};
|
|
29324
29324
|
}
|
|
@@ -29351,10 +29351,10 @@ const tn = class tn extends W {
|
|
|
29351
29351
|
* 静态属性,用于注册该类的类型信息
|
|
29352
29352
|
* 类型名称为 'ESViewShed',中文名称为 '视域分析',包含相关标签和描述信息
|
|
29353
29353
|
*/
|
|
29354
|
-
f(
|
|
29354
|
+
f(en, "type", en.register("ESViewShed", en, { chsName: "视域分析", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "信号传输器" })), /**
|
|
29355
29355
|
* 静态重写默认属性对象,包含视域分析的各项默认参数
|
|
29356
29356
|
*/
|
|
29357
|
-
f(
|
|
29357
|
+
f(en, "defaults", {
|
|
29358
29358
|
...W.defaults,
|
|
29359
29359
|
// 横向夹角默认值为 90
|
|
29360
29360
|
fov: 90,
|
|
@@ -29369,7 +29369,7 @@ f(tn, "defaults", {
|
|
|
29369
29369
|
// 是否显示视椎体默认值为 true
|
|
29370
29370
|
showFrustum: !0
|
|
29371
29371
|
});
|
|
29372
|
-
let tl =
|
|
29372
|
+
let tl = en;
|
|
29373
29373
|
((n) => {
|
|
29374
29374
|
n.createDefaultProps = () => ({
|
|
29375
29375
|
...W.createDefaultProps(),
|
|
@@ -29938,7 +29938,7 @@ const Yy = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", K = class K e
|
|
|
29938
29938
|
new B("服务地址", "服务地址", !0, !1, [this, "url"], K.defaults.url),
|
|
29939
29939
|
new E("要素最小可视距离", "要素最小可视距离", !1, !1, [this, "minFeatureVisibleDistance"], K.defaults.minFeatureVisibleDistance),
|
|
29940
29940
|
new E("要素最大可视距离", "要素最大可视距离", !1, !1, [this, "maxFeatureVisibleDistance"], K.defaults.maxFeatureVisibleDistance),
|
|
29941
|
-
new
|
|
29941
|
+
new X("高度参考", "高度参考", !1, !1, [this, "heightReference"], K.defaults.heightReferences)
|
|
29942
29942
|
],
|
|
29943
29943
|
location: [],
|
|
29944
29944
|
coordinate: [],
|
|
@@ -29964,7 +29964,7 @@ const Yy = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", K = class K e
|
|
|
29964
29964
|
new R("是否显示", "是否显示", !1, !1, [this, "stroked"], K.defaults.stroked),
|
|
29965
29965
|
new R("贴地", "贴地(线)", !1, !1, [this, "strokeGround"], K.defaults.strokeGround),
|
|
29966
29966
|
new E("线宽", "线宽", !1, !1, [this, "strokeWidth"], K.defaults.strokeWidth),
|
|
29967
|
-
new
|
|
29967
|
+
new X("线宽类型", "线宽类型", !1, !1, [this, "strokeWidthType"], K.defaults.strokeWidthTypes),
|
|
29968
29968
|
new Z("线颜色", "线颜色", !1, !1, [this, "strokeColor"], K.defaults.strokeColor),
|
|
29969
29969
|
new J("线材质", "线材质", !1, !1, [this, "strokeMaterial"], K.defaults.strokeMaterial),
|
|
29970
29970
|
new B("线材质参数", "线材质参数", !1, !1, [this, "strokeMaterialParams"], K.defaults.strokeMaterialParams),
|
|
@@ -30016,7 +30016,7 @@ const Yy = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", K = class K e
|
|
|
30016
30016
|
new k("线样式", "线样式", [
|
|
30017
30017
|
new R("是否显示", "是否显示", !1, !1, [this, "stroked"], K.defaults.stroked),
|
|
30018
30018
|
new E("线宽", "线宽", !1, !1, [this, "strokeWidth"], K.defaults.strokeWidth),
|
|
30019
|
-
new
|
|
30019
|
+
new X("线宽类型", "线宽类型", !1, !1, [this, "strokeWidthType"], K.defaults.strokeWidthTypes),
|
|
30020
30020
|
new Z("线颜色", "线颜色", !1, !1, [this, "strokeColor"], K.defaults.strokeColor),
|
|
30021
30021
|
new J("线材质", "线材质", !1, !1, [this, "strokeMaterial"], K.defaults.strokeMaterial),
|
|
30022
30022
|
new B("线材质参数", "线材质参数", !1, !1, [this, "strokeMaterialParams"], K.defaults.strokeMaterialParams),
|
|
@@ -30034,7 +30034,7 @@ const Yy = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", K = class K e
|
|
|
30034
30034
|
new Hi("loadFnStr", "loadFnStr", !0, !1, [this, "loadFuncStr"], K.defaults.defaultLoadFuncStr, K.defaults.defaultLoadFuncDocStr),
|
|
30035
30035
|
new E("要素最小可视距离", "要素最小可视距离", !1, !1, [this, "minFeatureVisibleDistance"], K.defaults.minFeatureVisibleDistance),
|
|
30036
30036
|
new E("要素最大可视距离", "要素最大可视距离", !1, !1, [this, "maxFeatureVisibleDistance"], K.defaults.maxFeatureVisibleDistance),
|
|
30037
|
-
new
|
|
30037
|
+
new X("高度参考", "高度参考", !1, !1, [this, "heightReference"], K.defaults.heightReferences)
|
|
30038
30038
|
])
|
|
30039
30039
|
];
|
|
30040
30040
|
}
|
|
@@ -31341,7 +31341,7 @@ const vi = class vi extends de {
|
|
|
31341
31341
|
...t.basic,
|
|
31342
31342
|
new E("高度", "height", !1, !1, [this, "height"], 10),
|
|
31343
31343
|
new E("宽度", "width", !1, !1, [this, "width"], 10),
|
|
31344
|
-
new
|
|
31344
|
+
new X("模式", "materialMode", !1, !1, [this, "materialMode"], vi.defaults.materialModes, "purple")
|
|
31345
31345
|
],
|
|
31346
31346
|
coordinate: [
|
|
31347
31347
|
...t.coordinate,
|
|
@@ -31360,7 +31360,7 @@ const vi = class vi extends de {
|
|
|
31360
31360
|
new k("ESPipeFence", "ESPipeFence", [
|
|
31361
31361
|
new E("高度", "height", !1, !1, [this, "height"]),
|
|
31362
31362
|
new E("宽度", "width", !1, !1, [this, "width"]),
|
|
31363
|
-
new
|
|
31363
|
+
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"], vi.defaults.materialModes)
|
|
31364
31364
|
])
|
|
31365
31365
|
];
|
|
31366
31366
|
}
|
|
@@ -31498,7 +31498,7 @@ const bs = class bs extends Rt {
|
|
|
31498
31498
|
new k("ESPipeserTileset", "ESPipeserTileset", [
|
|
31499
31499
|
new oe("setLayerVisible", "setLayerVisible", ["string", "string"], (r, i) => this.setLayerVisible(r, i), ["", ""]),
|
|
31500
31500
|
new oe("setLayerColor", "setLayerColor", ["string", "string"], (r, i) => this.setLayerColor(r, i), ["", ""]),
|
|
31501
|
-
new
|
|
31501
|
+
new X("colorMode", "colorMode", !0, !1, [this, "colorMode"], bs.description.colorMode, "default")
|
|
31502
31502
|
])
|
|
31503
31503
|
];
|
|
31504
31504
|
}
|
|
@@ -31573,7 +31573,7 @@ const yi = class yi extends de {
|
|
|
31573
31573
|
basic: [
|
|
31574
31574
|
...t.basic,
|
|
31575
31575
|
new E("高度", "height", !1, !1, [this, "height"], 10),
|
|
31576
|
-
new
|
|
31576
|
+
new X("模式", "materialMode", !1, !1, [this, "materialMode"], yi.defaults.materialModes, "danger")
|
|
31577
31577
|
]
|
|
31578
31578
|
};
|
|
31579
31579
|
}
|
|
@@ -31587,7 +31587,7 @@ const yi = class yi extends de {
|
|
|
31587
31587
|
...super.getProperties(t),
|
|
31588
31588
|
new k("通用", "通用", [
|
|
31589
31589
|
new E("高度", "height", !1, !1, [this, "height"]),
|
|
31590
|
-
new
|
|
31590
|
+
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"], yi.defaults.materialModes)
|
|
31591
31591
|
]),
|
|
31592
31592
|
new k("计算", "计算", [
|
|
31593
31593
|
new E("面积", "面积", !1, !0, [this, "area"]),
|
|
@@ -32150,7 +32150,7 @@ const Xe = class Xe extends fs {
|
|
|
32150
32150
|
...e,
|
|
32151
32151
|
basic: [
|
|
32152
32152
|
...e.basic,
|
|
32153
|
-
new
|
|
32153
|
+
new X("水域类型", "当为 custom 时其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Xe.defaults.waterTypes, Xe.defaults.waterType),
|
|
32154
32154
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Xe.defaults.frequency),
|
|
32155
32155
|
new Fe("振幅", "控制水波振幅的数值", !1, !1, [this, "amplitude"], 0.01, [0, 1], Xe.defaults.amplitude),
|
|
32156
32156
|
new Fe("流向", "控制水流方向,局部坐标方向", !1, !1, [this, "flowDirection"], 1, [0, 360], Xe.defaults.flowDirection),
|
|
@@ -32171,7 +32171,7 @@ const Xe = class Xe extends fs {
|
|
|
32171
32171
|
getProperties(e) {
|
|
32172
32172
|
return [
|
|
32173
32173
|
...super.getProperties(e),
|
|
32174
|
-
new
|
|
32174
|
+
new X("水域类型", "当为 custom 时其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Xe.defaults.waterTypes),
|
|
32175
32175
|
new B("水的图片", "waterImage", !1, !1, [this, "waterImage"], Xe.defaults.waterImage),
|
|
32176
32176
|
new Z("水的底色", "waterColor", !1, !1, [this, "waterColor"], Xe.defaults.waterColor),
|
|
32177
32177
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Xe.defaults.frequency),
|
|
@@ -32277,7 +32277,7 @@ const Ye = class Ye extends Ie {
|
|
|
32277
32277
|
defaultMenu: "basic",
|
|
32278
32278
|
basic: [
|
|
32279
32279
|
...e.basic,
|
|
32280
|
-
new
|
|
32280
|
+
new X("水域类型", "当为custom是其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Ye.defaults.waterTypes, Ye.defaults.waterType),
|
|
32281
32281
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Ye.defaults.frequency),
|
|
32282
32282
|
new Fe("振幅", "控制水波振幅的数值", !1, !1, [this, "amplitude"], 0.01, [0, 1], Ye.defaults.amplitude),
|
|
32283
32283
|
new Fe("流向", "控制水流方向,局部坐标方向", !1, !1, [this, "flowDirection"], 1, [0, 360], Ye.defaults.flowDirection),
|
|
@@ -32300,7 +32300,7 @@ const Ye = class Ye extends Ie {
|
|
|
32300
32300
|
...super.getProperties(e),
|
|
32301
32301
|
// 属性UI配置
|
|
32302
32302
|
new k("ESGeoWater", "ESGeoWater", [
|
|
32303
|
-
new
|
|
32303
|
+
new X("水域类型", "当为custom是其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果", !1, !1, [this, "waterType"], Ye.defaults.waterTypes),
|
|
32304
32304
|
new B("水的图片", "waterImage", !1, !1, [this, "waterImage"], Ye.defaults.waterImage),
|
|
32305
32305
|
new Z("水的底色", "waterColor", !1, !1, [this, "waterColor"], Ye.defaults.waterColor),
|
|
32306
32306
|
new E("频率", "控制波数的数值(次/千米)", !1, !1, [this, "frequency"], Ye.defaults.frequency),
|
|
@@ -32472,7 +32472,7 @@ let yl = ao;
|
|
|
32472
32472
|
});
|
|
32473
32473
|
})(yl || (yl = {}));
|
|
32474
32474
|
U(yl.prototype, yl.createDefaultProps);
|
|
32475
|
-
const
|
|
32475
|
+
const Kt = class Kt extends pn {
|
|
32476
32476
|
/**
|
|
32477
32477
|
* 构造函数
|
|
32478
32478
|
* @param id - 管线的可选ID
|
|
@@ -32511,7 +32511,7 @@ const Qt = class Qt extends dn {
|
|
|
32511
32511
|
* @returns 默认属性对象
|
|
32512
32512
|
*/
|
|
32513
32513
|
get defaultProps() {
|
|
32514
|
-
return
|
|
32514
|
+
return Kt.createDefaultProps();
|
|
32515
32515
|
}
|
|
32516
32516
|
/**
|
|
32517
32517
|
* 获取 ES 属性配置
|
|
@@ -32524,22 +32524,22 @@ const Qt = class Qt extends dn {
|
|
|
32524
32524
|
defaultMenu: "basic",
|
|
32525
32525
|
basic: [
|
|
32526
32526
|
...t.basic,
|
|
32527
|
-
new E("半径", "radius(米)", !1, !1, [this, "radius"],
|
|
32528
|
-
new E("圆边数", "sides(圆细分边)", !1, !1, [this, "sides"],
|
|
32529
|
-
new E("材质速度", "speed", !1, !1, [this, "speed"],
|
|
32530
|
-
new
|
|
32531
|
-
new B("材质图片和重复度", "materialImage", !1, !1, [this, "materialImage"],
|
|
32527
|
+
new E("半径", "radius(米)", !1, !1, [this, "radius"], Kt.defaults.radius),
|
|
32528
|
+
new E("圆边数", "sides(圆细分边)", !1, !1, [this, "sides"], Kt.defaults.sides),
|
|
32529
|
+
new E("材质速度", "speed", !1, !1, [this, "speed"], Kt.defaults.speed),
|
|
32530
|
+
new X("材质模式", "materialMode", !1, !1, [this, "materialMode"], Kt.defaults.materialModes),
|
|
32531
|
+
new B("材质图片和重复度", "materialImage", !1, !1, [this, "materialImage"], Kt.defaults.materialImage)
|
|
32532
32532
|
],
|
|
32533
32533
|
style: [
|
|
32534
32534
|
new k("点样式", "点样式集合", []),
|
|
32535
32535
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
32536
32536
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
32537
|
-
new
|
|
32537
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
32538
32538
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
32539
32539
|
new k("线样式", "线样式集合", []),
|
|
32540
32540
|
new R("开启线样式", "开启线样式", !1, !1, [this, "stroked"], !0),
|
|
32541
32541
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
32542
|
-
new
|
|
32542
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
32543
32543
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
32544
32544
|
new R("是否贴地", "是否贴地(线)", !1, !1, [this, "strokeGround"], !1),
|
|
32545
32545
|
new k("面样式", "面样式集合", []),
|
|
@@ -32559,11 +32559,11 @@ const Qt = class Qt extends dn {
|
|
|
32559
32559
|
...super.getProperties(t),
|
|
32560
32560
|
// 属性UI配置
|
|
32561
32561
|
new k("通用", "通用", [
|
|
32562
|
-
new E("半径", "radius(米)", !1, !1, [this, "radius"],
|
|
32563
|
-
new E("圆边数", "sides(圆细分边)", !1, !1, [this, "sides"],
|
|
32564
|
-
new B("材质图片和重复度", "materialImage", !1, !1, [this, "materialImage"],
|
|
32565
|
-
new E("材质速度", "speed", !1, !1, [this, "speed"],
|
|
32566
|
-
new
|
|
32562
|
+
new E("半径", "radius(米)", !1, !1, [this, "radius"], Kt.defaults.radius),
|
|
32563
|
+
new E("圆边数", "sides(圆细分边)", !1, !1, [this, "sides"], Kt.defaults.sides),
|
|
32564
|
+
new B("材质图片和重复度", "materialImage", !1, !1, [this, "materialImage"], Kt.defaults.materialImage),
|
|
32565
|
+
new E("材质速度", "speed", !1, !1, [this, "speed"], Kt.defaults.speed),
|
|
32566
|
+
new X("材质模式", "materialMode", !1, !1, [this, "materialMode"], Kt.defaults.materialModes)
|
|
32567
32567
|
])
|
|
32568
32568
|
];
|
|
32569
32569
|
}
|
|
@@ -32571,11 +32571,11 @@ const Qt = class Qt extends dn {
|
|
|
32571
32571
|
/**
|
|
32572
32572
|
* 注册管线类型,包含类型名称、类、中文名称、标签和描述信息
|
|
32573
32573
|
*/
|
|
32574
|
-
f(
|
|
32574
|
+
f(Kt, "type", Kt.register("ESPipeline", Kt, { chsName: "管线", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "ESPipeline" })), /**
|
|
32575
32575
|
* 管线的默认属性配置,继承自 ESGeoLineString 的默认属性,并添加了管线特有的属性
|
|
32576
32576
|
*/
|
|
32577
|
-
f(
|
|
32578
|
-
...
|
|
32577
|
+
f(Kt, "defaults", {
|
|
32578
|
+
...pn.defaults,
|
|
32579
32579
|
// 属性的类型若存在undefined的情况,这里配置为undefined时应该使用的默认值
|
|
32580
32580
|
/** 管线的半径,默认值为 10 */
|
|
32581
32581
|
radius: 10,
|
|
@@ -32588,10 +32588,10 @@ f(Qt, "defaults", {
|
|
|
32588
32588
|
/** 材质模式的选项,包含名称和对应的值 */
|
|
32589
32589
|
materialModes: [["单箭头", "singleArrow"], ["多箭头", "multipleArrows"]]
|
|
32590
32590
|
});
|
|
32591
|
-
let _l =
|
|
32591
|
+
let _l = Kt;
|
|
32592
32592
|
((n) => {
|
|
32593
32593
|
n.createDefaultProps = () => ({
|
|
32594
|
-
...
|
|
32594
|
+
...pn.createDefaultProps(),
|
|
32595
32595
|
// 属性配置
|
|
32596
32596
|
/** 管线的半径,默认值为 10 */
|
|
32597
32597
|
radius: 10,
|
|
@@ -32944,7 +32944,7 @@ const Qo = class Qo extends hs {
|
|
|
32944
32944
|
...t,
|
|
32945
32945
|
basic: [
|
|
32946
32946
|
...t.basic,
|
|
32947
|
-
new
|
|
32947
|
+
new X("poi模式", "poiMode", !1, !1, [this, "poiMode"], $i.defaults.modes, "SquareH01"),
|
|
32948
32948
|
new E("poi高度偏移", "poi高度偏移", !1, !1, [this, "poiOffsetHeight"], 1.8)
|
|
32949
32949
|
]
|
|
32950
32950
|
};
|
|
@@ -32957,7 +32957,7 @@ const Qo = class Qo extends hs {
|
|
|
32957
32957
|
getProperties(t) {
|
|
32958
32958
|
return [
|
|
32959
32959
|
...super.getProperties(t),
|
|
32960
|
-
new
|
|
32960
|
+
new X("poi模式", "poiMode", !1, !1, [this, "poiMode"], $i.defaults.modes),
|
|
32961
32961
|
new E("poi高度偏移", "poi高度偏移", !1, !1, [this, "poiOffsetHeight"], 1.8)
|
|
32962
32962
|
];
|
|
32963
32963
|
}
|
|
@@ -33020,7 +33020,7 @@ let Sl = Qo;
|
|
|
33020
33020
|
});
|
|
33021
33021
|
})(Sl || (Sl = {}));
|
|
33022
33022
|
U(Sl.prototype, Sl.createDefaultProps);
|
|
33023
|
-
const
|
|
33023
|
+
const Qt = class Qt extends Ie {
|
|
33024
33024
|
/**
|
|
33025
33025
|
* 获取对象的类型名称。
|
|
33026
33026
|
* @override
|
|
@@ -33035,7 +33035,7 @@ const $t = class $t extends Ie {
|
|
|
33035
33035
|
* @returns {any} - 对象的默认属性。
|
|
33036
33036
|
*/
|
|
33037
33037
|
get defaultProps() {
|
|
33038
|
-
return
|
|
33038
|
+
return Qt.createDefaultProps();
|
|
33039
33039
|
}
|
|
33040
33040
|
/**
|
|
33041
33041
|
* 构造函数,初始化ESPit对象。
|
|
@@ -33055,22 +33055,22 @@ const $t = class $t extends Ie {
|
|
|
33055
33055
|
...e,
|
|
33056
33056
|
basic: [
|
|
33057
33057
|
...e.basic,
|
|
33058
|
-
new E("深度", "坑深度(米)", !1, !1, [this, "depth"],
|
|
33059
|
-
new E("插值", "插值距离(米)", !1, !1, [this, "interpolation"],
|
|
33060
|
-
new E("透明度", "透明度", !1, !1, [this, "opacity"],
|
|
33061
|
-
new B("侧面图片", "侧面图片", !1, !1, [this, "sideImage"],
|
|
33062
|
-
new B("底面图片", "底面图片", !1, !1, [this, "bottomImage"],
|
|
33058
|
+
new E("深度", "坑深度(米)", !1, !1, [this, "depth"], Qt.defaults.depth),
|
|
33059
|
+
new E("插值", "插值距离(米)", !1, !1, [this, "interpolation"], Qt.defaults.interpolation),
|
|
33060
|
+
new E("透明度", "透明度", !1, !1, [this, "opacity"], Qt.defaults.opacity),
|
|
33061
|
+
new B("侧面图片", "侧面图片", !1, !1, [this, "sideImage"], Qt.defaults.sideImage),
|
|
33062
|
+
new B("底面图片", "底面图片", !1, !1, [this, "bottomImage"], Qt.defaults.bottomImage)
|
|
33063
33063
|
],
|
|
33064
33064
|
style: [
|
|
33065
33065
|
new k("点样式", "点样式集合", []),
|
|
33066
33066
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
33067
33067
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
33068
|
-
new
|
|
33068
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
33069
33069
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
33070
33070
|
new k("线样式", "线样式集合", []),
|
|
33071
33071
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !0),
|
|
33072
33072
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
33073
|
-
new
|
|
33073
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
33074
33074
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
33075
33075
|
new R("是否贴地", "是否贴地(线)", !1, !1, [this, "strokeGround"], !1),
|
|
33076
33076
|
new k("面样式", "面样式集合", []),
|
|
@@ -33090,11 +33090,11 @@ const $t = class $t extends Ie {
|
|
|
33090
33090
|
return [
|
|
33091
33091
|
...super.getProperties(e),
|
|
33092
33092
|
new k("通用", "通用", [
|
|
33093
|
-
new E("深度", "坑深度(米)", !1, !1, [this, "depth"],
|
|
33094
|
-
new E("插值", "插值距离(米)", !1, !1, [this, "interpolation"],
|
|
33095
|
-
new B("侧面图片", "侧面图片", !1, !1, [this, "sideImage"],
|
|
33096
|
-
new B("底面图片", "底面图片", !1, !1, [this, "bottomImage"],
|
|
33097
|
-
new E("opacity", "透明度", !1, !1, [this, "opacity"],
|
|
33093
|
+
new E("深度", "坑深度(米)", !1, !1, [this, "depth"], Qt.defaults.depth),
|
|
33094
|
+
new E("插值", "插值距离(米)", !1, !1, [this, "interpolation"], Qt.defaults.interpolation),
|
|
33095
|
+
new B("侧面图片", "侧面图片", !1, !1, [this, "sideImage"], Qt.defaults.sideImage),
|
|
33096
|
+
new B("底面图片", "底面图片", !1, !1, [this, "bottomImage"], Qt.defaults.bottomImage),
|
|
33097
|
+
new E("opacity", "透明度", !1, !1, [this, "opacity"], Qt.defaults.opacity)
|
|
33098
33098
|
])
|
|
33099
33099
|
];
|
|
33100
33100
|
}
|
|
@@ -33105,7 +33105,7 @@ const $t = class $t extends Ie {
|
|
|
33105
33105
|
* @readonly
|
|
33106
33106
|
* @type {any}
|
|
33107
33107
|
*/
|
|
33108
|
-
f(
|
|
33108
|
+
f(Qt, "type", Qt.register("ESPit", Qt, { chsName: "坑", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "坑" })), /**
|
|
33109
33109
|
* 静态属性,定义ESPit对象的默认参数。
|
|
33110
33110
|
*
|
|
33111
33111
|
* @override
|
|
@@ -33116,7 +33116,7 @@ f($t, "type", $t.register("ESPit", $t, { chsName: "坑", tags: ["ESObjects", "_E
|
|
|
33116
33116
|
* @property {number} opacity - 坑的透明度,默认值为1。
|
|
33117
33117
|
* @property {number} interpolation - 插值距离,单位为米,默认值为50。
|
|
33118
33118
|
*/
|
|
33119
|
-
f(
|
|
33119
|
+
f(Qt, "defaults", {
|
|
33120
33120
|
...Ie.defaults,
|
|
33121
33121
|
depth: 100,
|
|
33122
33122
|
sideImage: { url: re.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/img/ESPit/side.jpg"), uDis: 50, vDis: 50 },
|
|
@@ -33124,7 +33124,7 @@ f($t, "defaults", {
|
|
|
33124
33124
|
opacity: 1,
|
|
33125
33125
|
interpolation: 50
|
|
33126
33126
|
});
|
|
33127
|
-
let ps =
|
|
33127
|
+
let ps = Qt;
|
|
33128
33128
|
((n) => {
|
|
33129
33129
|
n.createDefaultProps = () => ({
|
|
33130
33130
|
...Ie.createDefaultProps(),
|
|
@@ -33222,7 +33222,7 @@ const $o = class $o extends ps {
|
|
|
33222
33222
|
basic: [
|
|
33223
33223
|
...t.basic,
|
|
33224
33224
|
// 添加模式的枚举属性
|
|
33225
|
-
new
|
|
33225
|
+
new X("模式", "mode", !1, !1, [this, "mode"], Gs.defaults.modes, "in"),
|
|
33226
33226
|
// 添加瓦片图层的字符串属性
|
|
33227
33227
|
new J("瓦片图层", "targetID", !1, !1, [this, "targetID"], "")
|
|
33228
33228
|
]
|
|
@@ -34203,7 +34203,7 @@ const fo = class fo extends re {
|
|
|
34203
34203
|
...super.getProperties(e),
|
|
34204
34204
|
new k("通用", "通用", [
|
|
34205
34205
|
new R("是否显示", "A boolean Property specifying the visibility .", !1, !1, [this, "show"]),
|
|
34206
|
-
new
|
|
34206
|
+
new X("定位", "放到屏幕的哪个位置", !1, !1, [this, "screenPosition"], [["left", "left"], ["right", "right"]]),
|
|
34207
34207
|
new Je("位置", "位置(bottom,right/left)", !1, !1, [this, "cssPosition"])
|
|
34208
34208
|
])
|
|
34209
34209
|
];
|
|
@@ -34284,13 +34284,13 @@ const Br = class Br extends Ie {
|
|
|
34284
34284
|
new k("点样式", "点样式集合", []),
|
|
34285
34285
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
34286
34286
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
34287
|
-
new
|
|
34287
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
34288
34288
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
34289
34289
|
new k("线样式", "线样式集合", []),
|
|
34290
34290
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !1),
|
|
34291
34291
|
new R("贴地", "是否贴地", !1, !1, [this, "strokeGround"], !1),
|
|
34292
34292
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
34293
|
-
new
|
|
34293
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
34294
34294
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
34295
34295
|
new k("面样式", "面样式集合", []),
|
|
34296
34296
|
new R("开启", "开启填充样式", !1, !1, [this, "filled"], !0),
|
|
@@ -34378,7 +34378,7 @@ const po = class po extends Ie {
|
|
|
34378
34378
|
r.points = c, r.height = u - a, u - a <= 0 ? r.show = !1 : r.show = this.show && this.filled;
|
|
34379
34379
|
};
|
|
34380
34380
|
s();
|
|
34381
|
-
const o = this.dv(
|
|
34381
|
+
const o = this.dv(nr(this.heightChanged, this.pointsChanged, this.maxHeightChanged));
|
|
34382
34382
|
this.d(o.don(s));
|
|
34383
34383
|
}
|
|
34384
34384
|
{
|
|
@@ -34387,7 +34387,7 @@ const po = class po extends Ie {
|
|
|
34387
34387
|
r.show = a && l, i.show = a && l;
|
|
34388
34388
|
};
|
|
34389
34389
|
s();
|
|
34390
|
-
const o = this.dv(
|
|
34390
|
+
const o = this.dv(nr(this.showChanged, this.filledChanged));
|
|
34391
34391
|
this.d(o.don(s));
|
|
34392
34392
|
}
|
|
34393
34393
|
this.dispose(this.flyInEvent.don((s) => {
|
|
@@ -34449,13 +34449,13 @@ const po = class po extends Ie {
|
|
|
34449
34449
|
new k("点样式", "点样式集合", []),
|
|
34450
34450
|
new R("开启", "开启点样式", !1, !1, [this, "pointed"], !1),
|
|
34451
34451
|
new E("点大小", "点大小(pointSize)", !1, !1, [this, "pointSize"], 1),
|
|
34452
|
-
new
|
|
34452
|
+
new X("点类型", "点类型(pointSizeType)", !1, !1, [this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
34453
34453
|
new Z("点颜色", "点颜色(pointColor)", !1, !1, [this, "pointColor"], [1, 1, 1, 1]),
|
|
34454
34454
|
new k("线样式", "线样式集合", []),
|
|
34455
34455
|
new R("开启", "开启线样式", !1, !1, [this, "stroked"], !1),
|
|
34456
34456
|
new R("贴地", "是否贴地", !1, !1, [this, "strokeGround"], !1),
|
|
34457
34457
|
new E("线宽", "线宽(strokeWidth)", !1, !1, [this, "strokeWidth"], 1),
|
|
34458
|
-
new
|
|
34458
|
+
new X("线类型", "线类型(strokeWidthType)", !1, !1, [this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "screen"),
|
|
34459
34459
|
new Z("线颜色", "线颜色(strokeColor)", !1, !1, [this, "strokeColor"], [1, 1, 1, 1]),
|
|
34460
34460
|
new k("面样式", "面样式集合", []),
|
|
34461
34461
|
new R("开启", "开启填充样式", !1, !1, [this, "filled"], !0),
|
|
@@ -34508,7 +34508,7 @@ let Nl = po;
|
|
|
34508
34508
|
});
|
|
34509
34509
|
})(Nl || (Nl = {}));
|
|
34510
34510
|
U(Nl.prototype, Nl.createDefaultProps);
|
|
34511
|
-
const
|
|
34511
|
+
const $t = class $t extends Ce {
|
|
34512
34512
|
/**
|
|
34513
34513
|
* 构造函数
|
|
34514
34514
|
* @param {string} [id] - 对象的ID
|
|
@@ -34562,7 +34562,7 @@ const er = class er extends Ce {
|
|
|
34562
34562
|
* @returns {any} 默认属性对象
|
|
34563
34563
|
*/
|
|
34564
34564
|
get defaultProps() {
|
|
34565
|
-
return
|
|
34565
|
+
return $t.createDefaultProps();
|
|
34566
34566
|
}
|
|
34567
34567
|
/**
|
|
34568
34568
|
* 获取小部件事件
|
|
@@ -34612,11 +34612,11 @@ const er = class er extends Ce {
|
|
|
34612
34612
|
...t,
|
|
34613
34613
|
basic: [
|
|
34614
34614
|
...t.basic,
|
|
34615
|
-
new B("地址", "数据Url地址", !1, !1, [this, "url"],
|
|
34616
|
-
new E("集合范围", "用于扩展屏幕空间边界框的像素范围", !1, !1, [this, "pixelRange"],
|
|
34617
|
-
new E("最小数量", "可以聚合的屏幕空间对象的最小数量", !1, !1, [this, "minimumClusterSize"],
|
|
34615
|
+
new B("地址", "数据Url地址", !1, !1, [this, "url"], $t.defaults.url),
|
|
34616
|
+
new E("集合范围", "用于扩展屏幕空间边界框的像素范围", !1, !1, [this, "pixelRange"], $t.defaults.pixelRange),
|
|
34617
|
+
new E("最小数量", "可以聚合的屏幕空间对象的最小数量", !1, !1, [this, "minimumClusterSize"], $t.defaults.minimumClusterSize),
|
|
34618
34618
|
// new JsonProperty('style', '用于设置聚合和非聚合的显示样式', false, false, [this, 'style'], ESEntityCluster.defaults.style),
|
|
34619
|
-
new
|
|
34619
|
+
new X("高度模式", "高度获取模式", !1, !1, [this, "heightReference"], $t.defaults.heightReferences, "None")
|
|
34620
34620
|
]
|
|
34621
34621
|
};
|
|
34622
34622
|
}
|
|
@@ -34631,14 +34631,14 @@ const er = class er extends Ce {
|
|
|
34631
34631
|
...super.getProperties(t),
|
|
34632
34632
|
// 属性UI配置
|
|
34633
34633
|
new k("通用", "通用", [
|
|
34634
|
-
new B("url", "数据Url地址", !1, !1, [this, "url"],
|
|
34635
|
-
new E("pixelRange", "用于扩展屏幕空间边界框的像素范围", !1, !1, [this, "pixelRange"],
|
|
34636
|
-
new E("minimumClusterSize", "可以聚合的屏幕空间对象的最小数量", !1, !1, [this, "minimumClusterSize"],
|
|
34637
|
-
new B("style", "用于设置聚合和非聚合的显示样式", !1, !1, [this, "style"],
|
|
34638
|
-
new
|
|
34634
|
+
new B("url", "数据Url地址", !1, !1, [this, "url"], $t.defaults.url),
|
|
34635
|
+
new E("pixelRange", "用于扩展屏幕空间边界框的像素范围", !1, !1, [this, "pixelRange"], $t.defaults.pixelRange),
|
|
34636
|
+
new E("minimumClusterSize", "可以聚合的屏幕空间对象的最小数量", !1, !1, [this, "minimumClusterSize"], $t.defaults.minimumClusterSize),
|
|
34637
|
+
new B("style", "用于设置聚合和非聚合的显示样式", !1, !1, [this, "style"], $t.defaults.style),
|
|
34638
|
+
new X("heightReference", "高度获取模式", !1, !1, [this, "heightReference"], $t.defaults.heightReferences)
|
|
34639
34639
|
]),
|
|
34640
34640
|
new k("UE", "UE", [
|
|
34641
|
-
new R("perspective", "是否启用透视效果,自动缩放远处标签", !1, !1, [this, "perspective"],
|
|
34641
|
+
new R("perspective", "是否启用透视效果,自动缩放远处标签", !1, !1, [this, "perspective"], $t.defaults.perspective)
|
|
34642
34642
|
])
|
|
34643
34643
|
];
|
|
34644
34644
|
}
|
|
@@ -34649,13 +34649,13 @@ const er = class er extends Ce {
|
|
|
34649
34649
|
* @readonly
|
|
34650
34650
|
* @type {any}
|
|
34651
34651
|
*/
|
|
34652
|
-
f(
|
|
34652
|
+
f($t, "type", $t.register("ESEntityCluster", $t, { chsName: "Poi聚合", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "用于聚合POI标注,提高性能。" })), /**
|
|
34653
34653
|
* 类的默认属性
|
|
34654
34654
|
*
|
|
34655
34655
|
* @override
|
|
34656
34656
|
* @type {Object}
|
|
34657
34657
|
*/
|
|
34658
|
-
f(
|
|
34658
|
+
f($t, "defaults", {
|
|
34659
34659
|
...Ce.defaults,
|
|
34660
34660
|
url: "",
|
|
34661
34661
|
pixelRange: 200,
|
|
@@ -34676,7 +34676,7 @@ f(er, "defaults", {
|
|
|
34676
34676
|
heightReferences: [["None", "None"], ["CLAMP_TO_GROUND", "CLAMP_TO_GROUND"], ["CLAMP_TO_TERRAIN", "CLAMP_TO_TERRAIN"]],
|
|
34677
34677
|
perspective: !1
|
|
34678
34678
|
});
|
|
34679
|
-
let Dl =
|
|
34679
|
+
let Dl = $t;
|
|
34680
34680
|
((n) => {
|
|
34681
34681
|
n.createDefaultProps = () => ({
|
|
34682
34682
|
...Ce.createDefaultProps(),
|
|
@@ -35188,7 +35188,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
35188
35188
|
(this.autoComputeTimeFromTimePosRots ?? !0) && this.computeTimeFromTimePosRots();
|
|
35189
35189
|
};
|
|
35190
35190
|
s();
|
|
35191
|
-
const o = this.disposeVar(
|
|
35191
|
+
const o = this.disposeVar(nr(
|
|
35192
35192
|
this.autoComputeTimeFromTimePosRotsChanged,
|
|
35193
35193
|
this.timePosRotsChanged
|
|
35194
35194
|
));
|
|
@@ -35606,7 +35606,7 @@ let jo = _r;
|
|
|
35606
35606
|
});
|
|
35607
35607
|
})(jo || (jo = {}));
|
|
35608
35608
|
U(jo.prototype, jo.createDefaultProps);
|
|
35609
|
-
const Gi = class Gi extends
|
|
35609
|
+
const Gi = class Gi extends pn {
|
|
35610
35610
|
/**
|
|
35611
35611
|
* 构造函数,初始化 ESPath 对象。
|
|
35612
35612
|
* @param id - 场景对象的键。
|
|
@@ -35665,7 +35665,7 @@ const Gi = class Gi extends dn {
|
|
|
35665
35665
|
for (let u = 0; u < a; ++u)
|
|
35666
35666
|
l.push([this.timeStamps[u], this.points[u]]);
|
|
35667
35667
|
this._path.timePosRots = l, this.rotationRadius.some((u) => u > 0) ? (this._path.addAroundPoints(this.rotationRadius, !0), this._path.computeRotIfUndefinedUsingLerp(!0), this._path.rotLerpMode = "Lerp") : (this._path.computeRotIfUndefinedUsingPrevLine(!0), this._path.rotLerpMode = "Next");
|
|
35668
|
-
}, i = this.disposeVar(
|
|
35668
|
+
}, i = this.disposeVar(nr(
|
|
35669
35669
|
this.timeStampsChanged,
|
|
35670
35670
|
this.pointsChanged,
|
|
35671
35671
|
this.rotationRadiusChanged
|
|
@@ -35754,7 +35754,7 @@ const Gi = class Gi extends dn {
|
|
|
35754
35754
|
new Wh("时间序列", "时间序列", !0, !1, [this, "timeStamps"], []),
|
|
35755
35755
|
// new Number3Property('当前位置', '当前位置', true, true, [this, 'currentPosition']),
|
|
35756
35756
|
new E("线条流速", "速度 m/s", !1, !1, [this, "speed"], 1),
|
|
35757
|
-
new
|
|
35757
|
+
new X("模式", "materialMode", !1, !1, [this, "materialMode"], Gi.defaults.materialModes, "singleArrow"),
|
|
35758
35758
|
new B("拐弯半径", "拐弯半径,单位米", !1, !1, [this, "rotationRadius"])
|
|
35759
35759
|
]
|
|
35760
35760
|
};
|
|
@@ -35771,7 +35771,7 @@ const Gi = class Gi extends dn {
|
|
|
35771
35771
|
new Wh("时间序列", "时间序列", !0, !1, [this, "timeStamps"], []),
|
|
35772
35772
|
new Gt("当前位置", "当前位置", !0, !0, [this, "currentPosition"]),
|
|
35773
35773
|
new E("速度", "速度 m/s", !1, !1, [this, "speed"]),
|
|
35774
|
-
new
|
|
35774
|
+
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"], Gi.defaults.materialModes),
|
|
35775
35775
|
new B("拐弯半径", "拐弯半径,单位米", !1, !1, [this, "rotationRadius"], [5])
|
|
35776
35776
|
])
|
|
35777
35777
|
];
|
|
@@ -35876,8 +35876,8 @@ const Wi = class Wi extends W {
|
|
|
35876
35876
|
new jr("边框圆角", "左上,右上,右下,左下.", !1, !1, [this, "borderRadius"]),
|
|
35877
35877
|
new Z("边框颜色", " 边框色.", !1, !1, [this, "borderColor"]),
|
|
35878
35878
|
new E("边框宽度", "边框宽度", !1, !1, [this, "borderWidth"]),
|
|
35879
|
-
new
|
|
35880
|
-
new
|
|
35879
|
+
new X("文字位置", "文字位置", !1, !1, [this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]]),
|
|
35880
|
+
new X(
|
|
35881
35881
|
"边框类型",
|
|
35882
35882
|
"边框类型",
|
|
35883
35883
|
!1,
|
|
@@ -36361,8 +36361,8 @@ const yt = class yt extends re {
|
|
|
36361
36361
|
new Xi("开始时间", "开始时间", !0, !1, [this, "startTime"], yt.defaults.startTime),
|
|
36362
36362
|
new Xi("结束时间", "结束时间", !0, !1, [this, "stopTime"], yt.defaults.stopTime),
|
|
36363
36363
|
new Xi("当前时间", "当前时间", !0, !1, [this, "currentTime"], yt.defaults.currentTime),
|
|
36364
|
-
new
|
|
36365
|
-
new
|
|
36364
|
+
new X("clockStep", "clockStep", !1, !1, [this, "clockStep"], [["TICK_DEPENDENT", "TICK_DEPENDENT"], ["SYSTEM_CLOCK_MULTIPLIER", "SYSTEM_CLOCK_MULTIPLIER"], ["SYSTEM_CLOCK", "SYSTEM_CLOCK"]], "SYSTEM_CLOCK_MULTIPLIER"),
|
|
36365
|
+
new X("clockRange", "clockRange", !1, !1, [this, "clockRange"], [["UNBOUNDED", "UNBOUNDED"], ["CLAMPED", "CLAMPED"], ["LOOP_STOP", "LOOP_STOP"]], "UNBOUNDED"),
|
|
36366
36366
|
new R("是否启用动画", "是否启用动画", !1, !1, [this, "shouldAnimate"], !1)
|
|
36367
36367
|
],
|
|
36368
36368
|
general: [
|
|
@@ -36398,8 +36398,8 @@ const yt = class yt extends re {
|
|
|
36398
36398
|
new Xi("结束时间", "结束时间", !0, !1, [this, "stopTime"], yt.defaults.stopTime),
|
|
36399
36399
|
new Xi("当前时间", "当前时间", !0, !1, [this, "currentTime"], yt.defaults.currentTime),
|
|
36400
36400
|
new E("倍速", "倍速.", !1, !1, [this, "multiplier"], yt.defaults.multiplier),
|
|
36401
|
-
new
|
|
36402
|
-
new
|
|
36401
|
+
new X("clockStep", "clockStep", !1, !1, [this, "clockStep"], [["TICK_DEPENDENT", "TICK_DEPENDENT"], ["SYSTEM_CLOCK_MULTIPLIER", "SYSTEM_CLOCK_MULTIPLIER"], ["SYSTEM_CLOCK", "SYSTEM_CLOCK"]]),
|
|
36402
|
+
new X("clockRange", "clockRange", !1, !1, [this, "clockRange"], [["UNBOUNDED", "UNBOUNDED"], ["CLAMPED", "CLAMPED"], ["LOOP_STOP", "LOOP_STOP"]]),
|
|
36403
36403
|
new R("是否启用动画", "是否启用动画", !1, !1, [this, "shouldAnimate"])
|
|
36404
36404
|
])
|
|
36405
36405
|
];
|
|
@@ -36994,12 +36994,12 @@ let zl = yo;
|
|
|
36994
36994
|
});
|
|
36995
36995
|
})(zl || (zl = {}));
|
|
36996
36996
|
U(zl.prototype, zl.createDefaultProps);
|
|
36997
|
-
const
|
|
36997
|
+
const tn = class tn extends Ce {
|
|
36998
36998
|
get typeName() {
|
|
36999
36999
|
return "ESHeatMap";
|
|
37000
37000
|
}
|
|
37001
37001
|
get defaultProps() {
|
|
37002
|
-
return
|
|
37002
|
+
return tn.createDefaultProps();
|
|
37003
37003
|
}
|
|
37004
37004
|
constructor(e) {
|
|
37005
37005
|
super(e);
|
|
@@ -37011,9 +37011,9 @@ const rn = class rn extends Ce {
|
|
|
37011
37011
|
basic: [
|
|
37012
37012
|
...e.basic,
|
|
37013
37013
|
new B("data", "数据", !0, !1, [this, "data"]),
|
|
37014
|
-
new B("gradient", "渐变", !0, !1, [this, "gradient"],
|
|
37015
|
-
new E("radius", "半径", !0, !1, [this, "radius"],
|
|
37016
|
-
new E("blur", "模糊", !0, !1, [this, "blur"],
|
|
37014
|
+
new B("gradient", "渐变", !0, !1, [this, "gradient"], tn.defaults.gradient),
|
|
37015
|
+
new E("radius", "半径", !0, !1, [this, "radius"], tn.defaults.radius),
|
|
37016
|
+
new E("blur", "模糊", !0, !1, [this, "blur"], tn.defaults.blur),
|
|
37017
37017
|
new R("is3D", "3D", !0, !1, [this, "is3D"])
|
|
37018
37018
|
]
|
|
37019
37019
|
};
|
|
@@ -37023,15 +37023,15 @@ const rn = class rn extends Ce {
|
|
|
37023
37023
|
...super.getProperties(e),
|
|
37024
37024
|
new k("通用", "通用", [
|
|
37025
37025
|
new B("data", "数据", !0, !1, [this, "data"]),
|
|
37026
|
-
new B("gradient", "渐变", !0, !1, [this, "gradient"],
|
|
37027
|
-
new E("radius", "半径", !0, !1, [this, "radius"],
|
|
37028
|
-
new E("blur", "模糊", !0, !1, [this, "blur"],
|
|
37026
|
+
new B("gradient", "渐变", !0, !1, [this, "gradient"], tn.defaults.gradient),
|
|
37027
|
+
new E("radius", "半径", !0, !1, [this, "radius"], tn.defaults.radius),
|
|
37028
|
+
new E("blur", "模糊", !0, !1, [this, "blur"], tn.defaults.blur),
|
|
37029
37029
|
new R("is3D", "3D", !0, !1, [this, "is3D"])
|
|
37030
37030
|
])
|
|
37031
37031
|
];
|
|
37032
37032
|
}
|
|
37033
37033
|
};
|
|
37034
|
-
f(
|
|
37034
|
+
f(tn, "type", tn.register("ESHeatMap", tn, { chsName: "热力图", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "用于热力图的显示" })), f(tn, "defaults", {
|
|
37035
37035
|
...Ce.defaults,
|
|
37036
37036
|
is3D: !1,
|
|
37037
37037
|
data: [],
|
|
@@ -37046,7 +37046,7 @@ f(rn, "type", rn.register("ESHeatMap", rn, { chsName: "热力图", tags: ["ESObj
|
|
|
37046
37046
|
blur: 0.85
|
|
37047
37047
|
// 热力图模糊
|
|
37048
37048
|
});
|
|
37049
|
-
let Bl =
|
|
37049
|
+
let Bl = tn;
|
|
37050
37050
|
((n) => {
|
|
37051
37051
|
n.createDefaultProps = () => ({
|
|
37052
37052
|
...Ce.createDefaultProps(),
|
|
@@ -37132,7 +37132,7 @@ class u0 extends ae {
|
|
|
37132
37132
|
* @param _esPath - ESPath对象,需要绑定时间的路径。
|
|
37133
37133
|
*/
|
|
37134
37134
|
constructor(s) {
|
|
37135
|
-
super(), this._esPath = s, this.dv(new
|
|
37135
|
+
super(), this._esPath = s, this.dv(new lr(t.activeViewerChanged, () => {
|
|
37136
37136
|
const o = t.activeViewer;
|
|
37137
37137
|
if (!o) return;
|
|
37138
37138
|
class a extends ae {
|
|
@@ -37215,7 +37215,7 @@ class h0 extends ae {
|
|
|
37215
37215
|
* 私有属性,存储通道配置的响应式数组。
|
|
37216
37216
|
*/
|
|
37217
37217
|
f(this, "_channels", this.dv(ge([])));
|
|
37218
|
-
this._objectManager = t, this._player = this._objectManager.player, this.dv(new
|
|
37218
|
+
this._objectManager = t, this._player = this._objectManager.player, this.dv(new lr(this.channelsChanged, () => {
|
|
37219
37219
|
if (this.channels.length === 0) return;
|
|
37220
37220
|
const r = [];
|
|
37221
37221
|
for (let i = 0; i < this.channels.length; i++) {
|
|
@@ -37530,7 +37530,7 @@ class y0 extends ae {
|
|
|
37530
37530
|
const u = this._activeViewer[l + "Changed"];
|
|
37531
37531
|
i.push(u);
|
|
37532
37532
|
});
|
|
37533
|
-
const s = this.dv(
|
|
37533
|
+
const s = this.dv(nr(...i)), o = () => {
|
|
37534
37534
|
this._viewer.status !== "Created" || this._activeViewer.status !== "Created" || Object.keys(r).forEach((l) => {
|
|
37535
37535
|
this._viewer[l] = this._activeViewer[l];
|
|
37536
37536
|
});
|
|
@@ -37591,7 +37591,7 @@ const _0 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preser
|
|
|
37591
37591
|
l.status === "Raw" ? P = "初始状态" : l.status === "Creating" ? P = "正在创建" : l.status === "Created" ? P = "创建完成" : l.status === "Error" ? P = "创建失败" : l.status === "Reconnecting" && (P = "重新连接"), p.innerText = `${P}(${l.status})`, m.innerText = `${l.statusLog}`, (l.status === "Creating" || l.status === "Reconnecting") && (c.innerHTML = _o.defaultsSvg.loadingSvg), l.status === "Created" && (c.innerHTML = _o.defaultsSvg.successSvg), l.status === "Error" && (c.innerHTML = _o.defaultsSvg.warnSvg);
|
|
37592
37592
|
};
|
|
37593
37593
|
_();
|
|
37594
|
-
const C = this.dv(
|
|
37594
|
+
const C = this.dv(nr(l.statusLogChanged, l.statusChanged));
|
|
37595
37595
|
this.d(C.don(_));
|
|
37596
37596
|
}
|
|
37597
37597
|
}
|
|
@@ -37793,7 +37793,7 @@ class b0 extends ae {
|
|
|
37793
37793
|
super();
|
|
37794
37794
|
f(this, "viewer");
|
|
37795
37795
|
const r = this.viewer = t;
|
|
37796
|
-
this.ad(new
|
|
37796
|
+
this.ad(new lr(r.rollerShutterChanged, () => {
|
|
37797
37797
|
const i = r.container;
|
|
37798
37798
|
if (!i || !r.rollerShutter)
|
|
37799
37799
|
return;
|
|
@@ -37874,11 +37874,11 @@ const _i = class _i extends ae {
|
|
|
37874
37874
|
/**
|
|
37875
37875
|
* 重置交互事件,根据容器变化、使用自定义交互变化和强制重新创建事件触发。
|
|
37876
37876
|
*/
|
|
37877
|
-
f(this, "_resetInteractionEvent", this.dv(
|
|
37877
|
+
f(this, "_resetInteractionEvent", this.dv(nr(this.containerChanged, this._useCustomInteraction.changed, this._forceRecreateEvent)));
|
|
37878
37878
|
/**
|
|
37879
37879
|
* 交互重置对象,根据重置交互事件进行重置。
|
|
37880
37880
|
*/
|
|
37881
|
-
f(this, "_interactionResetting", this.dv(new
|
|
37881
|
+
f(this, "_interactionResetting", this.dv(new lr(this._resetInteractionEvent, () => {
|
|
37882
37882
|
if (!(!this.container || !this._useCustomInteraction.value))
|
|
37883
37883
|
return new I0(this, this.container);
|
|
37884
37884
|
})));
|
|
@@ -37889,11 +37889,11 @@ const _i = class _i extends ae {
|
|
|
37889
37889
|
/**
|
|
37890
37890
|
* 容器重置事件,根据容器变化和强制重新创建事件触发。
|
|
37891
37891
|
*/
|
|
37892
|
-
f(this, "_containerResetEvent", this.dv(
|
|
37892
|
+
f(this, "_containerResetEvent", this.dv(nr(this.containerChanged, this._forceRecreateEvent)));
|
|
37893
37893
|
/**
|
|
37894
37894
|
* 容器重置对象,根据容器重置事件进行重置。
|
|
37895
37895
|
*/
|
|
37896
|
-
f(this, "_containerResetting", this.dv(new
|
|
37896
|
+
f(this, "_containerResetting", this.dv(new lr(this._containerResetEvent, () => {
|
|
37897
37897
|
if (this.container)
|
|
37898
37898
|
return new C0(this.container, this);
|
|
37899
37899
|
})));
|
|
@@ -37932,7 +37932,7 @@ const _i = class _i extends ae {
|
|
|
37932
37932
|
/**
|
|
37933
37933
|
* 同步事件重置对象,根据同步视口变化事件进行重置。
|
|
37934
37934
|
*/
|
|
37935
|
-
f(this, "_syncEventDon", this.dv(new
|
|
37935
|
+
f(this, "_syncEventDon", this.dv(new lr(this.syncViewerChanged, () => {
|
|
37936
37936
|
const t = this.syncViewer;
|
|
37937
37937
|
if (t)
|
|
37938
37938
|
return new y0(this, t);
|
|
@@ -37940,7 +37940,7 @@ const _i = class _i extends ae {
|
|
|
37940
37940
|
/**
|
|
37941
37941
|
* 时间同步重置对象,根据时间同步变化事件进行重置。
|
|
37942
37942
|
*/
|
|
37943
|
-
f(this, "_timeSyncdon", this.dv(new
|
|
37943
|
+
f(this, "_timeSyncdon", this.dv(new lr(this.timeSyncChanged, () => {
|
|
37944
37944
|
if (this.timeSync)
|
|
37945
37945
|
return new v0(this);
|
|
37946
37946
|
})));
|
|
@@ -38548,7 +38548,7 @@ const _i = class _i extends ae {
|
|
|
38548
38548
|
new oe("强制刷新", "重载", [], () => this.forceRecreate(), []),
|
|
38549
38549
|
new R("debug", "debug", !0, !1, [this, "debug"], _i.defaults.debug),
|
|
38550
38550
|
new R("是否可见", "是否可见", !0, !1, [this, "show"]),
|
|
38551
|
-
new
|
|
38551
|
+
new X("位置点单位", "lonLatFormat", !0, !1, [this, "lonLatFormat"], [["度", "DECIMAL_DEGREE"], ["度分", "DEGREES_DECIMAL_MINUTES"], ["度分秒", "SEXAGESIMAL_DEGREE"]]),
|
|
38552
38552
|
new R("是否开启文字避让", "textAvoidance", !0, !1, [this, "textAvoidance"], !1),
|
|
38553
38553
|
new J("ionAccessToken", "ionAccessToken", !1, !1, [this, "ionAccessToken"]),
|
|
38554
38554
|
new E("时钟", "时钟", !1, !1, [this, "currentTime"]),
|
|
@@ -39020,7 +39020,7 @@ class Eo extends ae {
|
|
|
39020
39020
|
/**
|
|
39021
39021
|
* 同步事件,在活动视口或同步状态改变时触发。
|
|
39022
39022
|
*/
|
|
39023
|
-
f(this, "syncEvent", this.dv(
|
|
39023
|
+
f(this, "syncEvent", this.dv(nr(this.activeViewerChanged, this.syncOtherViewersToActivedChanged)));
|
|
39024
39024
|
/**
|
|
39025
39025
|
* 同步事件的处理方法。
|
|
39026
39026
|
*/
|
|
@@ -39449,7 +39449,7 @@ function hp(n) {
|
|
|
39449
39449
|
}
|
|
39450
39450
|
let Ql;
|
|
39451
39451
|
try {
|
|
39452
|
-
const n = "earthsdk3", e = "3.2.0
|
|
39452
|
+
const n = "earthsdk3", e = "3.2.0", t = "2025-07-15T07:25:20.000Z", r = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "cafbc70a1827be9781b593faa191b035dbdf5482", a = ((Date.now() - 175256432e4) / 36e5).toFixed(1), l = `%c🌏 ${n}%c ${e}.${s.slice(0, 8)}.${t} (距今${a}个小时)
|
|
39453
39453
|
%c${i ? i + `
|
|
39454
39454
|
` : ""}当前网站正在使用${n},此软件版权归${r}所有
|
|
39455
39455
|
`;
|
|
@@ -39463,7 +39463,7 @@ try {
|
|
|
39463
39463
|
},
|
|
39464
39464
|
// @ts-ignore
|
|
39465
39465
|
get gituri() {
|
|
39466
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
39466
|
+
return GITURI_ && GITURI_.replace("${commitId}", "cafbc70a1827be9781b593faa191b035dbdf5482");
|
|
39467
39467
|
},
|
|
39468
39468
|
// @ts-ignore
|
|
39469
39469
|
get info() {
|
|
@@ -39471,7 +39471,7 @@ try {
|
|
|
39471
39471
|
},
|
|
39472
39472
|
// @ts-ignore
|
|
39473
39473
|
get date() {
|
|
39474
|
-
return "2025-07-
|
|
39474
|
+
return "2025-07-15T07:25:20.000Z";
|
|
39475
39475
|
},
|
|
39476
39476
|
// @ts-ignore
|
|
39477
39477
|
get author() {
|
|
@@ -39479,7 +39479,7 @@ try {
|
|
|
39479
39479
|
},
|
|
39480
39480
|
// @ts-ignore
|
|
39481
39481
|
get version() {
|
|
39482
|
-
return "3.2.0
|
|
39482
|
+
return "3.2.0";
|
|
39483
39483
|
},
|
|
39484
39484
|
// @ts-ignore
|
|
39485
39485
|
get name() {
|
|
@@ -39487,7 +39487,7 @@ try {
|
|
|
39487
39487
|
},
|
|
39488
39488
|
// @ts-ignore
|
|
39489
39489
|
get commitId() {
|
|
39490
|
-
return "
|
|
39490
|
+
return "cafbc70a1827be9781b593faa191b035dbdf5482";
|
|
39491
39491
|
},
|
|
39492
39492
|
/**
|
|
39493
39493
|
* 打印版权信息到控制台
|
|
@@ -39566,7 +39566,7 @@ export {
|
|
|
39566
39566
|
Ol as ESGeoDivTextPoi,
|
|
39567
39567
|
Ws as ESGeoExtrudedPolygon,
|
|
39568
39568
|
il as ESGeoJson,
|
|
39569
|
-
|
|
39569
|
+
pn as ESGeoLineString,
|
|
39570
39570
|
Ie as ESGeoPolygon,
|
|
39571
39571
|
Va as ESGeoRectangle,
|
|
39572
39572
|
de as ESGeoVector,
|
|
@@ -39637,7 +39637,7 @@ export {
|
|
|
39637
39637
|
El as ESVolumeMeasurement,
|
|
39638
39638
|
rl as ESWidget,
|
|
39639
39639
|
ra as EngineObject,
|
|
39640
|
-
|
|
39640
|
+
X as EnumProperty,
|
|
39641
39641
|
t_ as EnumStringsProperty,
|
|
39642
39642
|
Hi as EvalStringProperty,
|
|
39643
39643
|
oe as FunctionProperty,
|