earthsdk3 3.3.0-beta.1 → 3.3.0-beta.11
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 +5 -5
- package/dist/earthsdk3.js +736 -609
- package/dist/earthsdk3.umd.cjs +5 -5
- package/dist/types/ESJTypes/properties/ESJMaterialType.d.ts +21 -0
- package/dist/types/ESJTypes/properties/ESJMaterialType.d.ts.map +1 -1
- package/dist/types/ESObjects/base/ESLabel.d.ts +4 -0
- package/dist/types/ESObjects/base/ESLabel.d.ts.map +1 -1
- package/dist/types/ESObjects/base/ESObjectWithLocation.d.ts +74 -3
- package/dist/types/ESObjects/base/ESObjectWithLocation.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ES3DTileset/index.d.ts +14 -2
- package/dist/types/ESObjects/general/ES3DTileset/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESAlarm.d.ts +6 -0
- package/dist/types/ESObjects/general/ESAlarm.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESApertureEffect.d.ts +6 -0
- package/dist/types/ESObjects/general/ESApertureEffect.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESAreaMeasurement.d.ts +10 -16
- package/dist/types/ESObjects/general/ESAreaMeasurement.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESBlastParticleSystem.d.ts +6 -0
- package/dist/types/ESObjects/general/ESBlastParticleSystem.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESBoxClipping.d.ts +6 -0
- package/dist/types/ESObjects/general/ESBoxClipping.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESCameraView.d.ts +6 -0
- package/dist/types/ESObjects/general/ESCameraView.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESCameraVisibleRange.d.ts +6 -0
- package/dist/types/ESObjects/general/ESCameraVisibleRange.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESCar.d.ts +6 -0
- package/dist/types/ESObjects/general/ESCar.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESCityBasePoint.d.ts +4 -0
- package/dist/types/ESObjects/general/ESCityBasePoint.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESClippingPlane.d.ts +6 -0
- package/dist/types/ESObjects/general/ESClippingPlane.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESDataMesh.d.ts +6 -0
- package/dist/types/ESObjects/general/ESDataMesh.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESDatasmithRuntimeModel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESDatasmithRuntimeModel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESFireParticleSystem.d.ts +6 -0
- package/dist/types/ESObjects/general/ESFireParticleSystem.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGaussianSplatting.d.ts +6 -0
- package/dist/types/ESObjects/general/ESGaussianSplatting.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoDiv/index.d.ts +6 -0
- package/dist/types/ESObjects/general/ESGeoDiv/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoDivTextPoi.d.ts +6 -4
- package/dist/types/ESObjects/general/ESGeoDivTextPoi.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGltfModel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESGltfModel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHuman.d.ts +6 -0
- package/dist/types/ESObjects/general/ESHuman.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHumanPoi.d.ts +4 -0
- package/dist/types/ESObjects/general/ESHumanPoi.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESImageLabel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESImageLabel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESImageryLayer/index.d.ts +12 -10
- package/dist/types/ESObjects/general/ESImageryLayer/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESLevelRuntimeModel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESLevelRuntimeModel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESLocalSkyBox.d.ts +6 -0
- package/dist/types/ESObjects/general/ESLocalSkyBox.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESLocationMeasurement.d.ts +6 -0
- package/dist/types/ESObjects/general/ESLocationMeasurement.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESParticleSystemPrimitive.d.ts +6 -0
- package/dist/types/ESObjects/general/ESParticleSystemPrimitive.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESPoi2D.d.ts +6 -0
- package/dist/types/ESObjects/general/ESPoi2D.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESPoi3D.d.ts +6 -0
- package/dist/types/ESObjects/general/ESPoi3D.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESStaticMesh.d.ts +6 -0
- package/dist/types/ESObjects/general/ESStaticMesh.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESSubmergingAnalysis/index.d.ts +6 -0
- package/dist/types/ESObjects/general/ESSubmergingAnalysis/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESSurfaceAreaMeasurement.d.ts +22 -13
- package/dist/types/ESObjects/general/ESSurfaceAreaMeasurement.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESTextLabel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESTextLabel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESUEWidget.d.ts +6 -0
- package/dist/types/ESObjects/general/ESUEWidget.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESUnrealActor.d.ts +4 -0
- package/dist/types/ESObjects/general/ESUnrealActor.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESVideoFusion.d.ts +6 -0
- package/dist/types/ESObjects/general/ESVideoFusion.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESViewShed.d.ts +6 -0
- package/dist/types/ESObjects/general/ESViewShed.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESWidget.d.ts +6 -0
- package/dist/types/ESObjects/general/ESWidget.d.ts.map +1 -1
- package/dist/types/ESViewer/ESViewer.d.ts +3 -2
- package/dist/types/ESViewer/ESViewer.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/earthsdk3.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
5
|
-
import * 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 Ot, extendClassProps as U, ObjResettingWithEvent as lr, reactDeepArrayWithUndefined as ch, min as Dc, objsIterator as Yo, max as Mc, Vector as jl, reactJsonWithUndefined as et, TreeItem as fp, bind as le, 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
|
+
import * as Oc from "@turf/turf";
|
|
6
6
|
import mp from "proj4";
|
|
7
7
|
class ag extends ae {
|
|
8
8
|
constructor() {
|
|
@@ -632,7 +632,7 @@ class Xi extends xe {
|
|
|
632
632
|
return "DateProperty";
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
var
|
|
635
|
+
var ce = /* @__PURE__ */ ((n) => (n.Place = "place", n.Translation = "translation", n.Rotation = "rotation", n.Scale = "scale", n.DoublePointsAppend = "doublePointsAppend", n.DoublePointsModify = "doublePointsModify", n.CircularAppend = "circularAppend", n.CircularInsert = "circularInsert", n.LineStringAppend = "lineStringAppend", n.LineStringInsert = "lineStringInsert", n.ScatterAppend = "scatterAppend", n.ScatterModify = "scatterModify", n.VisibilityAppend = "visibilityAppend", n.VisibilityModify = "visibilityModify", n.HeightModify = "heightModify", n))(ce || {}), vg = /* @__PURE__ */ ((n) => (n.DECIMAL_DEGREE = "DECIMAL_DEGREE", n.DEGREES_DECIMAL_MINUTES = "DEGREES_DECIMAL_MINUTES", n.SEXAGESIMAL_DEGREE = "SEXAGESIMAL_DEGREE", n))(vg || {});
|
|
636
636
|
class o_ {
|
|
637
637
|
/**
|
|
638
638
|
* 构造函数。
|
|
@@ -1547,7 +1547,7 @@ f(_e, "defaults", {}), f(_e, "createDefaultProps", () => ({
|
|
|
1547
1547
|
/**
|
|
1548
1548
|
* 对象类型名称相关的开发标签数组,使用 reactArrayWithUndefined 进行响应式处理,默认为 undefined。
|
|
1549
1549
|
*/
|
|
1550
|
-
devTags:
|
|
1550
|
+
devTags: Ot(void 0),
|
|
1551
1551
|
/**
|
|
1552
1552
|
* 一次性执行函数的字符串表示,默认为 undefined。
|
|
1553
1553
|
*/
|
|
@@ -1590,8 +1590,8 @@ function Xh(n, e) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
function l_(n, e) {
|
|
1592
1592
|
(n[0][0] !== n[n.length - 1][0] || n[0][1] !== n[n.length - 1][1]) && n.push(n[0]);
|
|
1593
|
-
const t =
|
|
1594
|
-
return
|
|
1593
|
+
const t = Oc.point(e), r = Oc.polygon([n]);
|
|
1594
|
+
return Oc.booleanPointInPolygon(t, r);
|
|
1595
1595
|
}
|
|
1596
1596
|
var er = 63710088e-1, wp = {
|
|
1597
1597
|
centimeters: er * 100,
|
|
@@ -1777,8 +1777,8 @@ function u_(n, e) {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
function Ul(n, e, t) {
|
|
1779
1779
|
if (n !== null)
|
|
1780
|
-
for (var r, i, s, o, a, l, u, c = 0, h = 0, p, m = n.type, _ = m === "FeatureCollection", C = m === "Feature", P = _ ? n.features.length : 1,
|
|
1781
|
-
u = _ ? n.features[
|
|
1780
|
+
for (var r, i, s, o, a, l, u, c = 0, h = 0, p, m = n.type, _ = m === "FeatureCollection", C = m === "Feature", P = _ ? n.features.length : 1, M = 0; M < P; M++) {
|
|
1781
|
+
u = _ ? n.features[M].geometry : C ? n.geometry : n, p = u ? u.type === "GeometryCollection" : !1, a = p ? u.geometries.length : 1;
|
|
1782
1782
|
for (var g = 0; g < a; g++) {
|
|
1783
1783
|
var y = 0, d = 0;
|
|
1784
1784
|
if (o = p ? u.geometries[g] : u, o !== null) {
|
|
@@ -1791,7 +1791,7 @@ function Ul(n, e, t) {
|
|
|
1791
1791
|
if (e(
|
|
1792
1792
|
l,
|
|
1793
1793
|
h,
|
|
1794
|
-
|
|
1794
|
+
M,
|
|
1795
1795
|
y,
|
|
1796
1796
|
d
|
|
1797
1797
|
) === !1)
|
|
@@ -1804,7 +1804,7 @@ function Ul(n, e, t) {
|
|
|
1804
1804
|
if (e(
|
|
1805
1805
|
l[r],
|
|
1806
1806
|
h,
|
|
1807
|
-
|
|
1807
|
+
M,
|
|
1808
1808
|
y,
|
|
1809
1809
|
d
|
|
1810
1810
|
) === !1)
|
|
@@ -1820,7 +1820,7 @@ function Ul(n, e, t) {
|
|
|
1820
1820
|
if (e(
|
|
1821
1821
|
l[r][i],
|
|
1822
1822
|
h,
|
|
1823
|
-
|
|
1823
|
+
M,
|
|
1824
1824
|
y,
|
|
1825
1825
|
d
|
|
1826
1826
|
) === !1)
|
|
@@ -1838,7 +1838,7 @@ function Ul(n, e, t) {
|
|
|
1838
1838
|
if (e(
|
|
1839
1839
|
l[r][i][s],
|
|
1840
1840
|
h,
|
|
1841
|
-
|
|
1841
|
+
M,
|
|
1842
1842
|
y,
|
|
1843
1843
|
d
|
|
1844
1844
|
) === !1)
|
|
@@ -2077,17 +2077,17 @@ function Dg(n) {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
}), t;
|
|
2079
2079
|
}
|
|
2080
|
-
var
|
|
2080
|
+
var Mu = { exports: {} }, qu = { exports: {} }, Mg = qu.exports, Qh;
|
|
2081
2081
|
function Cp() {
|
|
2082
2082
|
return Qh || (Qh = 1, function(n, e) {
|
|
2083
2083
|
(function(t, r) {
|
|
2084
2084
|
n.exports = r();
|
|
2085
|
-
})(
|
|
2085
|
+
})(Mg, function() {
|
|
2086
2086
|
function t(g, y, d, v, w) {
|
|
2087
2087
|
(function S(I, x, D, b, T) {
|
|
2088
2088
|
for (; b > D; ) {
|
|
2089
2089
|
if (b - D > 600) {
|
|
2090
|
-
var
|
|
2090
|
+
var O = b - D + 1, A = x - D + 1, $ = Math.log(O), q = 0.5 * Math.exp(2 * $ / 3), ie = 0.5 * Math.sqrt($ * q * (O - q) / O) * (A - O / 2 < 0 ? -1 : 1), fe = Math.max(D, Math.floor(x - A * q / O + ie)), ye = Math.min(b, Math.floor(x + (O - A) * q / O + ie));
|
|
2091
2091
|
S(I, x, fe, ye, T);
|
|
2092
2092
|
}
|
|
2093
2093
|
var H = I[x], ee = D, te = b;
|
|
@@ -2149,7 +2149,7 @@ function Cp() {
|
|
|
2149
2149
|
function P(g) {
|
|
2150
2150
|
return { children: g, height: 1, leaf: !0, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function M(g, y, d, v, w) {
|
|
2153
2153
|
for (var S = [y, d]; S.length; ) if (!((d = S.pop()) - (y = S.pop()) <= v)) {
|
|
2154
2154
|
var I = y + Math.ceil((d - y) / v / 2) * v;
|
|
2155
2155
|
t(g, I, y, d, w), S.push(y, I, I, d);
|
|
@@ -2231,25 +2231,25 @@ function Cp() {
|
|
|
2231
2231
|
if (S <= I) return a(w = P(g.slice(y, d + 1)), this.toBBox), w;
|
|
2232
2232
|
v || (v = Math.ceil(Math.log(S) / Math.log(I)), I = Math.ceil(S / Math.pow(I, v - 1))), (w = P([])).leaf = !1, w.height = v;
|
|
2233
2233
|
var x = Math.ceil(S / I), D = x * Math.ceil(Math.sqrt(I));
|
|
2234
|
-
|
|
2234
|
+
M(g, y, d, D, this.compareMinX);
|
|
2235
2235
|
for (var b = y; b <= d; b += D) {
|
|
2236
2236
|
var T = Math.min(b + D - 1, d);
|
|
2237
|
-
|
|
2238
|
-
for (var
|
|
2239
|
-
var A = Math.min(
|
|
2240
|
-
w.children.push(this._build(g,
|
|
2237
|
+
M(g, b, T, x, this.compareMinY);
|
|
2238
|
+
for (var O = b; O <= T; O += x) {
|
|
2239
|
+
var A = Math.min(O + x - 1, T);
|
|
2240
|
+
w.children.push(this._build(g, O, A, v - 1));
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
2243
|
return a(w, this.toBBox), w;
|
|
2244
2244
|
}, s.prototype._chooseSubtree = function(g, y, d, v) {
|
|
2245
2245
|
for (; v.push(y), !y.leaf && v.length - 1 !== d; ) {
|
|
2246
2246
|
for (var w = 1 / 0, S = 1 / 0, I = void 0, x = 0; x < y.children.length; x++) {
|
|
2247
|
-
var D = y.children[x], b = p(D), T = (
|
|
2247
|
+
var D = y.children[x], b = p(D), T = (O = g, A = D, (Math.max(A.maxX, O.maxX) - Math.min(A.minX, O.minX)) * (Math.max(A.maxY, O.maxY) - Math.min(A.minY, O.minY)) - b);
|
|
2248
2248
|
T < S ? (S = T, w = b < w ? b : w, I = D) : T === S && b < w && (w = b, I = D);
|
|
2249
2249
|
}
|
|
2250
2250
|
y = I || y.children[0];
|
|
2251
2251
|
}
|
|
2252
|
-
var
|
|
2252
|
+
var O, A;
|
|
2253
2253
|
return y;
|
|
2254
2254
|
}, s.prototype._insert = function(g, y, d) {
|
|
2255
2255
|
var v = d ? g : this.toBBox(g), w = [], S = this._chooseSubtree(v, this.data, y, w);
|
|
@@ -2263,9 +2263,9 @@ function Cp() {
|
|
|
2263
2263
|
}, s.prototype._splitRoot = function(g, y) {
|
|
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
|
-
for (var v, w, S, I, x, D, b, T = 1 / 0,
|
|
2266
|
+
for (var v, w, S, I, x, D, b, T = 1 / 0, O = 1 / 0, A = y; A <= d - y; A++) {
|
|
2267
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
|
-
ie < T ? (T = ie, v = A,
|
|
2268
|
+
ie < T ? (T = ie, v = A, O = fe < O ? fe : O) : ie === T && fe < O && (O = fe, v = A);
|
|
2269
2269
|
}
|
|
2270
2270
|
return v || d - y;
|
|
2271
2271
|
}, s.prototype._chooseSplitAxis = function(g, y, d) {
|
|
@@ -2278,8 +2278,8 @@ function Cp() {
|
|
|
2278
2278
|
u(S, g.leaf ? w(b) : b), x += m(S);
|
|
2279
2279
|
}
|
|
2280
2280
|
for (var T = d - y - 1; T >= y; T--) {
|
|
2281
|
-
var
|
|
2282
|
-
u(I, g.leaf ? w(
|
|
2281
|
+
var O = g.children[T];
|
|
2282
|
+
u(I, g.leaf ? w(O) : O), x += m(I);
|
|
2283
2283
|
}
|
|
2284
2284
|
return x;
|
|
2285
2285
|
}, s.prototype._adjustParentBBoxes = function(g, y, d) {
|
|
@@ -2290,7 +2290,7 @@ function Cp() {
|
|
|
2290
2290
|
});
|
|
2291
2291
|
}(qu)), qu.exports;
|
|
2292
2292
|
}
|
|
2293
|
-
class
|
|
2293
|
+
class Og {
|
|
2294
2294
|
constructor(e = [], t = Lg) {
|
|
2295
2295
|
if (this.data = e, this.length = this.data.length, this.compare = t, this.length > 0)
|
|
2296
2296
|
for (let r = (this.length >> 1) - 1; r >= 0; r--) this._down(r);
|
|
@@ -2331,7 +2331,7 @@ function Lg(n, e) {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
const Rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2333
2333
|
__proto__: null,
|
|
2334
|
-
default:
|
|
2334
|
+
default: Og
|
|
2335
2335
|
}, Symbol.toStringTag, { value: "Module" })), Ag = /* @__PURE__ */ Dg(Rg);
|
|
2336
2336
|
var Jl = { exports: {} }, Rc, $h;
|
|
2337
2337
|
function Fg() {
|
|
@@ -2373,53 +2373,53 @@ function Bg() {
|
|
|
2373
2373
|
r(e);
|
|
2374
2374
|
})(zg, function(t) {
|
|
2375
2375
|
const i = 33306690738754706e-32;
|
|
2376
|
-
function s(C, P,
|
|
2376
|
+
function s(C, P, M, g, y) {
|
|
2377
2377
|
let d, v, w, S, I = P[0], x = g[0], D = 0, b = 0;
|
|
2378
2378
|
x > I == x > -I ? (d = I, I = P[++D]) : (d = x, x = g[++b]);
|
|
2379
2379
|
let T = 0;
|
|
2380
|
-
if (D < C && b <
|
|
2380
|
+
if (D < C && b < M) for (x > I == x > -I ? (w = d - ((v = I + d) - I), I = P[++D]) : (w = d - ((v = x + d) - x), x = g[++b]), d = v, w !== 0 && (y[T++] = w); D < C && b < M; ) x > I == x > -I ? (w = d - ((v = d + I) - (S = v - d)) + (I - S), I = P[++D]) : (w = d - ((v = d + x) - (S = v - d)) + (x - S), x = g[++b]), d = v, w !== 0 && (y[T++] = w);
|
|
2381
2381
|
for (; D < C; ) w = d - ((v = d + I) - (S = v - d)) + (I - S), I = P[++D], d = v, w !== 0 && (y[T++] = w);
|
|
2382
|
-
for (; b <
|
|
2382
|
+
for (; b < M; ) w = d - ((v = d + x) - (S = v - d)) + (x - S), x = g[++b], d = v, w !== 0 && (y[T++] = w);
|
|
2383
2383
|
return d === 0 && T !== 0 || (y[T++] = d), T;
|
|
2384
2384
|
}
|
|
2385
2385
|
function o(C) {
|
|
2386
2386
|
return new Float64Array(C);
|
|
2387
2387
|
}
|
|
2388
2388
|
const a = 33306690738754716e-32, l = 22204460492503146e-32, u = 11093356479670487e-47, c = o(4), h = o(8), p = o(12), m = o(16), _ = o(4);
|
|
2389
|
-
t.orient2d = function(C, P,
|
|
2390
|
-
const v = (P - d) * (
|
|
2389
|
+
t.orient2d = function(C, P, M, g, y, d) {
|
|
2390
|
+
const v = (P - d) * (M - y), w = (C - y) * (g - d), S = v - w;
|
|
2391
2391
|
if (v === 0 || w === 0 || v > 0 != w > 0) return S;
|
|
2392
2392
|
const I = Math.abs(v + w);
|
|
2393
|
-
return Math.abs(S) >= a * I ? S : -function(x, D, b, T,
|
|
2394
|
-
let q, ie, fe, ye, H, ee, te, Se, Re, Te, Ne, ze, mt, ct, Dr,
|
|
2395
|
-
const Lr = x -
|
|
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))) - ((
|
|
2393
|
+
return Math.abs(S) >= a * I ? S : -function(x, D, b, T, O, A, $) {
|
|
2394
|
+
let q, ie, fe, ye, H, ee, te, Se, Re, Te, Ne, ze, mt, ct, Dr, Mr, ui, Or;
|
|
2395
|
+
const Lr = x - O, Rr = b - O, Vn = D - A, zn = T - A;
|
|
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))) - ((Mr = 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 - Mr), c[1] = mt - (Ne + H) + (H - Mr), H = (Or = ze + Ne) - ze, c[2] = ze - (Or - H) + (Ne - H), c[3] = Or;
|
|
2397
2397
|
let ds = function(qd, jh) {
|
|
2398
2398
|
let Uh = jh[0];
|
|
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 || (q = x - (Lr + (H = x - Lr)) + (H -
|
|
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))) - ((
|
|
2402
|
+
if (ds >= Hl || -ds >= Hl || (q = x - (Lr + (H = x - Lr)) + (H - O), fe = b - (Rr + (H = b - Rr)) + (H - O), 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))) - ((Mr = 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 - Mr), _[1] = mt - (Ne + H) + (H - Mr), H = (Or = ze + Ne) - ze, _[2] = ze - (Or - H) + (Ne - H), _[3] = Or;
|
|
2404
2404
|
const Ud = s(4, c, 4, _, h);
|
|
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))) - ((
|
|
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))) - ((Mr = 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 - Mr), _[1] = mt - (Ne + H) + (H - Mr), H = (Or = ze + Ne) - ze, _[2] = ze - (Or - H) + (Ne - H), _[3] = Or;
|
|
2406
2406
|
const Gd = s(Ud, h, 4, _, p);
|
|
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))) - ((
|
|
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))) - ((Mr = 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 - Mr), _[1] = mt - (Ne + H) + (H - Mr), H = (Or = ze + Ne) - ze, _[2] = ze - (Or - H) + (Ne - H), _[3] = Or;
|
|
2408
2408
|
const Wd = s(Gd, p, 4, _, m);
|
|
2409
2409
|
return m[Wd - 1];
|
|
2410
|
-
}(C, P,
|
|
2411
|
-
}, t.orient2dfast = function(C, P,
|
|
2412
|
-
return (P - d) * (
|
|
2410
|
+
}(C, P, M, g, y, d, I);
|
|
2411
|
+
}, t.orient2dfast = function(C, P, M, g, y, d) {
|
|
2412
|
+
return (P - d) * (M - y) - (C - y) * (g - d);
|
|
2413
2413
|
}, Object.defineProperty(t, "__esModule", { value: !0 });
|
|
2414
2414
|
});
|
|
2415
2415
|
}($l, $l.exports)), $l.exports;
|
|
2416
2416
|
}
|
|
2417
2417
|
var nf;
|
|
2418
2418
|
function jg() {
|
|
2419
|
-
if (nf) return
|
|
2419
|
+
if (nf) return Mu.exports;
|
|
2420
2420
|
nf = 1;
|
|
2421
2421
|
var n = Cp(), e = Ag, t = Vg(), r = Bg().orient2d;
|
|
2422
|
-
e.default && (e = e.default),
|
|
2422
|
+
e.default && (e = e.default), Mu.exports = i, Mu.exports.default = i;
|
|
2423
2423
|
function i(d, v, w) {
|
|
2424
2424
|
v = Math.max(0, v === void 0 ? 2 : v), w = w || 0;
|
|
2425
2425
|
var S = m(d), I = new n(16);
|
|
@@ -2439,13 +2439,13 @@ function jg() {
|
|
|
2439
2439
|
var T = S[D];
|
|
2440
2440
|
I.remove(T), b = _(T, b), x.push(b);
|
|
2441
2441
|
}
|
|
2442
|
-
var
|
|
2443
|
-
for (D = 0; D < x.length; D++)
|
|
2442
|
+
var O = new n(16);
|
|
2443
|
+
for (D = 0; D < x.length; D++) O.insert(p(x[D]));
|
|
2444
2444
|
for (var A = v * v, $ = w * w; x.length; ) {
|
|
2445
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, q.prev.p, ie, fe, q.next.next.p, H,
|
|
2448
|
+
T = s(I, q.prev.p, ie, fe, q.next.next.p, H, O), T && Math.min(C(T, ie), C(T, fe)) <= H && (x.push(q), x.push(_(T, q)), I.remove(T), O.remove(q), O.insert(p(q)), O.insert(p(q.next)));
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
2451
|
q = b;
|
|
@@ -2457,8 +2457,8 @@ function jg() {
|
|
|
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; ) {
|
|
2460
|
-
for (var
|
|
2461
|
-
var A = T.children[
|
|
2460
|
+
for (var O = 0; O < T.children.length; O++) {
|
|
2461
|
+
var A = T.children[O], $ = T.leaf ? P(A, w, S) : a(w, S, A);
|
|
2462
2462
|
$ > x || b.push({
|
|
2463
2463
|
node: A,
|
|
2464
2464
|
dist: $
|
|
@@ -2477,13 +2477,13 @@ function jg() {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
function a(d, v, w) {
|
|
2479
2479
|
if (l(d, w) || l(v, w)) return 0;
|
|
2480
|
-
var S =
|
|
2480
|
+
var S = M(d[0], d[1], v[0], v[1], w.minX, w.minY, w.maxX, w.minY);
|
|
2481
2481
|
if (S === 0) return 0;
|
|
2482
|
-
var I =
|
|
2482
|
+
var I = M(d[0], d[1], v[0], v[1], w.minX, w.minY, w.minX, w.maxY);
|
|
2483
2483
|
if (I === 0) return 0;
|
|
2484
|
-
var x =
|
|
2484
|
+
var x = M(d[0], d[1], v[0], v[1], w.maxX, w.minY, w.maxX, w.maxY);
|
|
2485
2485
|
if (x === 0) return 0;
|
|
2486
|
-
var D =
|
|
2486
|
+
var D = M(d[0], d[1], v[0], v[1], w.minX, w.maxY, w.maxX, w.maxY);
|
|
2487
2487
|
return D === 0 ? 0 : Math.min(S, I, x, D);
|
|
2488
2488
|
}
|
|
2489
2489
|
function l(d, v) {
|
|
@@ -2538,10 +2538,10 @@ function jg() {
|
|
|
2538
2538
|
}
|
|
2539
2539
|
return x = d[0] - S, D = d[1] - I, x * x + D * D;
|
|
2540
2540
|
}
|
|
2541
|
-
function
|
|
2542
|
-
var T = w - d,
|
|
2541
|
+
function M(d, v, w, S, I, x, D, b) {
|
|
2542
|
+
var T = w - d, O = S - v, A = D - I, $ = b - x, q = d - I, ie = v - x, fe = T * T + O * O, ye = T * A + O * $, H = A * A + $ * $, ee = T * q + O * 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
|
-
var Dr = (1 - Re) * d + Re * w,
|
|
2544
|
+
var Dr = (1 - Re) * d + Re * w, Mr = (1 - Re) * v + Re * S, ui = (1 - Ne) * I + Ne * D, Or = (1 - Ne) * x + Ne * b, Lr = ui - Dr, Rr = Or - Mr;
|
|
2545
2545
|
return Lr * Lr + Rr * Rr;
|
|
2546
2546
|
}
|
|
2547
2547
|
function g(d, v) {
|
|
@@ -2561,7 +2561,7 @@ function jg() {
|
|
|
2561
2561
|
}
|
|
2562
2562
|
return S.pop(), v.pop(), v.concat(S);
|
|
2563
2563
|
}
|
|
2564
|
-
return
|
|
2564
|
+
return Mu.exports;
|
|
2565
2565
|
}
|
|
2566
2566
|
var Ug = jg();
|
|
2567
2567
|
const Gg = /* @__PURE__ */ Sp(Ug);
|
|
@@ -2598,7 +2598,7 @@ function Pp(n, e) {
|
|
|
2598
2598
|
u = P[l], h = u[0], m = u[1], c = P[l + 1], p = c[0], _ = c[1], C = h * _ - p * m, a += C, s += (h + p) * C, o += (m + _) * C;
|
|
2599
2599
|
if (a === 0)
|
|
2600
2600
|
return r;
|
|
2601
|
-
var
|
|
2601
|
+
var M = a * 0.5, g = 1 / (6 * M);
|
|
2602
2602
|
return Ze([i[0] + g * s, i[1] + g * o], e.properties);
|
|
2603
2603
|
default:
|
|
2604
2604
|
var y = Wg(n);
|
|
@@ -2658,7 +2658,7 @@ function Yg(n, e) {
|
|
|
2658
2658
|
var t = n[0], r = n[1], i = e[0], s = e[1], o = t < i ? t : i, a = r < s ? r : s, l = t > i ? t : i, u = r > s ? r : s;
|
|
2659
2659
|
return [o, a, l, u];
|
|
2660
2660
|
}
|
|
2661
|
-
var
|
|
2661
|
+
var Ou = { exports: {} }, Fc = {}, af;
|
|
2662
2662
|
function bp() {
|
|
2663
2663
|
return af || (af = 1, function(n) {
|
|
2664
2664
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.earthRadius = 63710088e-1, n.factors = {
|
|
@@ -2709,13 +2709,13 @@ function bp() {
|
|
|
2709
2709
|
millimetres: 1e6,
|
|
2710
2710
|
yards: 1.195990046
|
|
2711
2711
|
};
|
|
2712
|
-
function e(b, T,
|
|
2713
|
-
|
|
2712
|
+
function e(b, T, O) {
|
|
2713
|
+
O === void 0 && (O = {});
|
|
2714
2714
|
var A = { type: "Feature" };
|
|
2715
|
-
return (
|
|
2715
|
+
return (O.id === 0 || O.id) && (A.id = O.id), O.bbox && (A.bbox = O.bbox), A.properties = T || {}, A.geometry = b, A;
|
|
2716
2716
|
}
|
|
2717
2717
|
n.feature = e;
|
|
2718
|
-
function t(b, T,
|
|
2718
|
+
function t(b, T, O) {
|
|
2719
2719
|
switch (b) {
|
|
2720
2720
|
case "Point":
|
|
2721
2721
|
return r(T).geometry;
|
|
@@ -2734,8 +2734,8 @@ function bp() {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
n.geometry = t;
|
|
2737
|
-
function r(b, T,
|
|
2738
|
-
if (
|
|
2737
|
+
function r(b, T, O) {
|
|
2738
|
+
if (O === void 0 && (O = {}), !b)
|
|
2739
2739
|
throw new Error("coordinates is required");
|
|
2740
2740
|
if (!Array.isArray(b))
|
|
2741
2741
|
throw new Error("coordinates must be an Array");
|
|
@@ -2747,17 +2747,17 @@ function bp() {
|
|
|
2747
2747
|
type: "Point",
|
|
2748
2748
|
coordinates: b
|
|
2749
2749
|
};
|
|
2750
|
-
return e(A, T,
|
|
2750
|
+
return e(A, T, O);
|
|
2751
2751
|
}
|
|
2752
2752
|
n.point = r;
|
|
2753
|
-
function i(b, T,
|
|
2754
|
-
return
|
|
2753
|
+
function i(b, T, O) {
|
|
2754
|
+
return O === void 0 && (O = {}), u(b.map(function(A) {
|
|
2755
2755
|
return r(A, T);
|
|
2756
|
-
}),
|
|
2756
|
+
}), O);
|
|
2757
2757
|
}
|
|
2758
2758
|
n.points = i;
|
|
2759
|
-
function s(b, T,
|
|
2760
|
-
|
|
2759
|
+
function s(b, T, O) {
|
|
2760
|
+
O === void 0 && (O = {});
|
|
2761
2761
|
for (var A = 0, $ = b; A < $.length; A++) {
|
|
2762
2762
|
var q = $[A];
|
|
2763
2763
|
if (q.length < 4)
|
|
@@ -2770,100 +2770,100 @@ function bp() {
|
|
|
2770
2770
|
type: "Polygon",
|
|
2771
2771
|
coordinates: b
|
|
2772
2772
|
};
|
|
2773
|
-
return e(fe, T,
|
|
2773
|
+
return e(fe, T, O);
|
|
2774
2774
|
}
|
|
2775
2775
|
n.polygon = s;
|
|
2776
|
-
function o(b, T,
|
|
2777
|
-
return
|
|
2776
|
+
function o(b, T, O) {
|
|
2777
|
+
return O === void 0 && (O = {}), u(b.map(function(A) {
|
|
2778
2778
|
return s(A, T);
|
|
2779
|
-
}),
|
|
2779
|
+
}), O);
|
|
2780
2780
|
}
|
|
2781
2781
|
n.polygons = o;
|
|
2782
|
-
function a(b, T,
|
|
2783
|
-
if (
|
|
2782
|
+
function a(b, T, O) {
|
|
2783
|
+
if (O === void 0 && (O = {}), b.length < 2)
|
|
2784
2784
|
throw new Error("coordinates must be an array of two or more positions");
|
|
2785
2785
|
var A = {
|
|
2786
2786
|
type: "LineString",
|
|
2787
2787
|
coordinates: b
|
|
2788
2788
|
};
|
|
2789
|
-
return e(A, T,
|
|
2789
|
+
return e(A, T, O);
|
|
2790
2790
|
}
|
|
2791
2791
|
n.lineString = a;
|
|
2792
|
-
function l(b, T,
|
|
2793
|
-
return
|
|
2792
|
+
function l(b, T, O) {
|
|
2793
|
+
return O === void 0 && (O = {}), u(b.map(function(A) {
|
|
2794
2794
|
return a(A, T);
|
|
2795
|
-
}),
|
|
2795
|
+
}), O);
|
|
2796
2796
|
}
|
|
2797
2797
|
n.lineStrings = l;
|
|
2798
2798
|
function u(b, T) {
|
|
2799
2799
|
T === void 0 && (T = {});
|
|
2800
|
-
var
|
|
2801
|
-
return T.id && (
|
|
2800
|
+
var O = { type: "FeatureCollection" };
|
|
2801
|
+
return T.id && (O.id = T.id), T.bbox && (O.bbox = T.bbox), O.features = b, O;
|
|
2802
2802
|
}
|
|
2803
2803
|
n.featureCollection = u;
|
|
2804
|
-
function c(b, T,
|
|
2805
|
-
|
|
2804
|
+
function c(b, T, O) {
|
|
2805
|
+
O === void 0 && (O = {});
|
|
2806
2806
|
var A = {
|
|
2807
2807
|
type: "MultiLineString",
|
|
2808
2808
|
coordinates: b
|
|
2809
2809
|
};
|
|
2810
|
-
return e(A, T,
|
|
2810
|
+
return e(A, T, O);
|
|
2811
2811
|
}
|
|
2812
2812
|
n.multiLineString = c;
|
|
2813
|
-
function h(b, T,
|
|
2814
|
-
|
|
2813
|
+
function h(b, T, O) {
|
|
2814
|
+
O === void 0 && (O = {});
|
|
2815
2815
|
var A = {
|
|
2816
2816
|
type: "MultiPoint",
|
|
2817
2817
|
coordinates: b
|
|
2818
2818
|
};
|
|
2819
|
-
return e(A, T,
|
|
2819
|
+
return e(A, T, O);
|
|
2820
2820
|
}
|
|
2821
2821
|
n.multiPoint = h;
|
|
2822
|
-
function p(b, T,
|
|
2823
|
-
|
|
2822
|
+
function p(b, T, O) {
|
|
2823
|
+
O === void 0 && (O = {});
|
|
2824
2824
|
var A = {
|
|
2825
2825
|
type: "MultiPolygon",
|
|
2826
2826
|
coordinates: b
|
|
2827
2827
|
};
|
|
2828
|
-
return e(A, T,
|
|
2828
|
+
return e(A, T, O);
|
|
2829
2829
|
}
|
|
2830
2830
|
n.multiPolygon = p;
|
|
2831
|
-
function m(b, T,
|
|
2832
|
-
|
|
2831
|
+
function m(b, T, O) {
|
|
2832
|
+
O === void 0 && (O = {});
|
|
2833
2833
|
var A = {
|
|
2834
2834
|
type: "GeometryCollection",
|
|
2835
2835
|
geometries: b
|
|
2836
2836
|
};
|
|
2837
|
-
return e(A, T,
|
|
2837
|
+
return e(A, T, O);
|
|
2838
2838
|
}
|
|
2839
2839
|
n.geometryCollection = m;
|
|
2840
2840
|
function _(b, T) {
|
|
2841
2841
|
if (T === void 0 && (T = 0), T && !(T >= 0))
|
|
2842
2842
|
throw new Error("precision must be a positive number");
|
|
2843
|
-
var
|
|
2844
|
-
return Math.round(b *
|
|
2843
|
+
var O = Math.pow(10, T || 0);
|
|
2844
|
+
return Math.round(b * O) / O;
|
|
2845
2845
|
}
|
|
2846
2846
|
n.round = _;
|
|
2847
2847
|
function C(b, T) {
|
|
2848
2848
|
T === void 0 && (T = "kilometers");
|
|
2849
|
-
var
|
|
2850
|
-
if (!
|
|
2849
|
+
var O = n.factors[T];
|
|
2850
|
+
if (!O)
|
|
2851
2851
|
throw new Error(T + " units is invalid");
|
|
2852
|
-
return b *
|
|
2852
|
+
return b * O;
|
|
2853
2853
|
}
|
|
2854
2854
|
n.radiansToLength = C;
|
|
2855
2855
|
function P(b, T) {
|
|
2856
2856
|
T === void 0 && (T = "kilometers");
|
|
2857
|
-
var
|
|
2858
|
-
if (!
|
|
2857
|
+
var O = n.factors[T];
|
|
2858
|
+
if (!O)
|
|
2859
2859
|
throw new Error(T + " units is invalid");
|
|
2860
|
-
return b /
|
|
2860
|
+
return b / O;
|
|
2861
2861
|
}
|
|
2862
2862
|
n.lengthToRadians = P;
|
|
2863
|
-
function
|
|
2863
|
+
function M(b, T) {
|
|
2864
2864
|
return y(P(b, T));
|
|
2865
2865
|
}
|
|
2866
|
-
n.lengthToDegrees =
|
|
2866
|
+
n.lengthToDegrees = M;
|
|
2867
2867
|
function g(b) {
|
|
2868
2868
|
var T = b % 360;
|
|
2869
2869
|
return T < 0 && (T += 360), T;
|
|
@@ -2879,19 +2879,19 @@ function bp() {
|
|
|
2879
2879
|
return T * Math.PI / 180;
|
|
2880
2880
|
}
|
|
2881
2881
|
n.degreesToRadians = d;
|
|
2882
|
-
function v(b, T,
|
|
2883
|
-
if (T === void 0 && (T = "kilometers"),
|
|
2882
|
+
function v(b, T, O) {
|
|
2883
|
+
if (T === void 0 && (T = "kilometers"), O === void 0 && (O = "kilometers"), !(b >= 0))
|
|
2884
2884
|
throw new Error("length must be a positive number");
|
|
2885
|
-
return C(P(b, T),
|
|
2885
|
+
return C(P(b, T), O);
|
|
2886
2886
|
}
|
|
2887
2887
|
n.convertLength = v;
|
|
2888
|
-
function w(b, T,
|
|
2889
|
-
if (T === void 0 && (T = "meters"),
|
|
2888
|
+
function w(b, T, O) {
|
|
2889
|
+
if (T === void 0 && (T = "meters"), O === void 0 && (O = "kilometers"), !(b >= 0))
|
|
2890
2890
|
throw new Error("area must be a positive number");
|
|
2891
2891
|
var A = n.areaFactors[T];
|
|
2892
2892
|
if (!A)
|
|
2893
2893
|
throw new Error("invalid original units");
|
|
2894
|
-
var $ = n.areaFactors[
|
|
2894
|
+
var $ = n.areaFactors[O];
|
|
2895
2895
|
if (!$)
|
|
2896
2896
|
throw new Error("invalid final units");
|
|
2897
2897
|
return b / A * $;
|
|
@@ -2934,7 +2934,7 @@ 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,
|
|
2937
|
+
for (var v, w, S, I, x, D, b, T = 0, O = 0, A, $ = g.type, q = $ === "FeatureCollection", ie = $ === "Feature", fe = q ? g.features.length : 1, ye = 0; ye < fe; ye++) {
|
|
2938
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;
|
|
@@ -2947,26 +2947,26 @@ function xp() {
|
|
|
2947
2947
|
case "Point":
|
|
2948
2948
|
if (y(
|
|
2949
2949
|
D,
|
|
2950
|
-
|
|
2950
|
+
O,
|
|
2951
2951
|
ye,
|
|
2952
2952
|
ee,
|
|
2953
2953
|
te
|
|
2954
2954
|
) === !1)
|
|
2955
2955
|
return !1;
|
|
2956
|
-
|
|
2956
|
+
O++, ee++;
|
|
2957
2957
|
break;
|
|
2958
2958
|
case "LineString":
|
|
2959
2959
|
case "MultiPoint":
|
|
2960
2960
|
for (v = 0; v < D.length; v++) {
|
|
2961
2961
|
if (y(
|
|
2962
2962
|
D[v],
|
|
2963
|
-
|
|
2963
|
+
O,
|
|
2964
2964
|
ye,
|
|
2965
2965
|
ee,
|
|
2966
2966
|
te
|
|
2967
2967
|
) === !1)
|
|
2968
2968
|
return !1;
|
|
2969
|
-
|
|
2969
|
+
O++, Se === "MultiPoint" && ee++;
|
|
2970
2970
|
}
|
|
2971
2971
|
Se === "LineString" && ee++;
|
|
2972
2972
|
break;
|
|
@@ -2976,13 +2976,13 @@ function xp() {
|
|
|
2976
2976
|
for (w = 0; w < D[v].length - T; w++) {
|
|
2977
2977
|
if (y(
|
|
2978
2978
|
D[v][w],
|
|
2979
|
-
|
|
2979
|
+
O,
|
|
2980
2980
|
ye,
|
|
2981
2981
|
ee,
|
|
2982
2982
|
te
|
|
2983
2983
|
) === !1)
|
|
2984
2984
|
return !1;
|
|
2985
|
-
|
|
2985
|
+
O++;
|
|
2986
2986
|
}
|
|
2987
2987
|
Se === "MultiLineString" && ee++, Se === "Polygon" && te++;
|
|
2988
2988
|
}
|
|
@@ -2994,13 +2994,13 @@ function xp() {
|
|
|
2994
2994
|
for (S = 0; S < D[v][w].length - T; S++) {
|
|
2995
2995
|
if (y(
|
|
2996
2996
|
D[v][w][S],
|
|
2997
|
-
|
|
2997
|
+
O,
|
|
2998
2998
|
ye,
|
|
2999
2999
|
ee,
|
|
3000
3000
|
te
|
|
3001
3001
|
) === !1)
|
|
3002
3002
|
return !1;
|
|
3003
|
-
|
|
3003
|
+
O++;
|
|
3004
3004
|
}
|
|
3005
3005
|
te++;
|
|
3006
3006
|
}
|
|
@@ -3074,16 +3074,16 @@ function xp() {
|
|
|
3074
3074
|
}), y;
|
|
3075
3075
|
}
|
|
3076
3076
|
function l(g, y) {
|
|
3077
|
-
var d, v, w, S, I, x, D, b, T,
|
|
3077
|
+
var d, v, w, S, I, x, D, b, T, O, 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 : q ? g.geometry : g, b = $ ? g.features[d].properties : q ? g.properties : {}, T = $ ? g.features[d].bbox : q ? g.bbox : void 0,
|
|
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, O = $ ? 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,
|
|
3083
3083
|
A,
|
|
3084
3084
|
b,
|
|
3085
3085
|
T,
|
|
3086
|
-
|
|
3086
|
+
O
|
|
3087
3087
|
) === !1)
|
|
3088
3088
|
return !1;
|
|
3089
3089
|
continue;
|
|
@@ -3100,7 +3100,7 @@ function xp() {
|
|
|
3100
3100
|
A,
|
|
3101
3101
|
b,
|
|
3102
3102
|
T,
|
|
3103
|
-
|
|
3103
|
+
O
|
|
3104
3104
|
) === !1)
|
|
3105
3105
|
return !1;
|
|
3106
3106
|
break;
|
|
@@ -3112,7 +3112,7 @@ function xp() {
|
|
|
3112
3112
|
A,
|
|
3113
3113
|
b,
|
|
3114
3114
|
T,
|
|
3115
|
-
|
|
3115
|
+
O
|
|
3116
3116
|
) === !1)
|
|
3117
3117
|
return !1;
|
|
3118
3118
|
break;
|
|
@@ -3167,11 +3167,11 @@ function xp() {
|
|
|
3167
3167
|
break;
|
|
3168
3168
|
}
|
|
3169
3169
|
for (var b = 0; b < d.coordinates.length; b++) {
|
|
3170
|
-
var T = d.coordinates[b],
|
|
3170
|
+
var T = d.coordinates[b], O = {
|
|
3171
3171
|
type: D,
|
|
3172
3172
|
coordinates: T
|
|
3173
3173
|
};
|
|
3174
|
-
if (y(n.feature(
|
|
3174
|
+
if (y(n.feature(O, w), v, b) === !1)
|
|
3175
3175
|
return !1;
|
|
3176
3176
|
}
|
|
3177
3177
|
});
|
|
@@ -3199,13 +3199,13 @@ function xp() {
|
|
|
3199
3199
|
var x, D = 0, b = 0, T = 0;
|
|
3200
3200
|
if (e(
|
|
3201
3201
|
d,
|
|
3202
|
-
function(
|
|
3202
|
+
function(O, A, $, q, ie) {
|
|
3203
3203
|
if (x === void 0 || v > D || q > b || ie > T) {
|
|
3204
|
-
x =
|
|
3204
|
+
x = O, D = v, b = q, T = ie, S = 0;
|
|
3205
3205
|
return;
|
|
3206
3206
|
}
|
|
3207
3207
|
var fe = n.lineString(
|
|
3208
|
-
[x,
|
|
3208
|
+
[x, O],
|
|
3209
3209
|
d.properties
|
|
3210
3210
|
);
|
|
3211
3211
|
if (y(
|
|
@@ -3216,7 +3216,7 @@ function xp() {
|
|
|
3216
3216
|
S
|
|
3217
3217
|
) === !1)
|
|
3218
3218
|
return !1;
|
|
3219
|
-
S++, x =
|
|
3219
|
+
S++, x = O;
|
|
3220
3220
|
}
|
|
3221
3221
|
) === !1)
|
|
3222
3222
|
return !1;
|
|
@@ -3343,7 +3343,7 @@ function xp() {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
throw new Error("geojson is invalid");
|
|
3345
3345
|
}
|
|
3346
|
-
function
|
|
3346
|
+
function M(g, y) {
|
|
3347
3347
|
if (y = y || {}, !n.isObject(y)) throw new Error("options is invalid");
|
|
3348
3348
|
var d = y.featureIndex || 0, v = y.multiFeatureIndex || 0, w = y.geometryIndex || 0, S = y.coordIndex || 0, I = y.properties, x;
|
|
3349
3349
|
switch (g.type) {
|
|
@@ -3387,7 +3387,7 @@ function xp() {
|
|
|
3387
3387
|
}
|
|
3388
3388
|
throw new Error("geojson is invalid");
|
|
3389
3389
|
}
|
|
3390
|
-
return St.coordAll = a, St.coordEach = e, St.coordReduce = t, St.featureEach = s, St.featureReduce = o, St.findPoint =
|
|
3390
|
+
return St.coordAll = a, St.coordEach = e, St.coordReduce = t, St.featureEach = s, St.featureReduce = o, St.findPoint = M, St.findSegment = P, St.flattenEach = c, St.flattenReduce = h, St.geomEach = l, St.geomReduce = u, St.lineEach = _, St.lineReduce = C, St.propEach = r, St.propReduce = i, St.segmentEach = p, St.segmentReduce = m, St;
|
|
3391
3391
|
}
|
|
3392
3392
|
var Lu = {}, uf;
|
|
3393
3393
|
function Hg() {
|
|
@@ -3404,7 +3404,7 @@ function Hg() {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
var cf;
|
|
3406
3406
|
function Jg() {
|
|
3407
|
-
if (cf) return
|
|
3407
|
+
if (cf) return Ou.exports;
|
|
3408
3408
|
cf = 1;
|
|
3409
3409
|
var n = Cp(), e = /* @__PURE__ */ bp(), t = /* @__PURE__ */ xp(), r = Hg().default, i = t.featureEach;
|
|
3410
3410
|
t.coordEach, e.polygon;
|
|
@@ -3456,7 +3456,7 @@ function Jg() {
|
|
|
3456
3456
|
};
|
|
3457
3457
|
}, l;
|
|
3458
3458
|
}
|
|
3459
|
-
return
|
|
3459
|
+
return Ou.exports = o, Ou.exports.default = o, Ou.exports;
|
|
3460
3460
|
}
|
|
3461
3461
|
var Zg = Jg();
|
|
3462
3462
|
const Kg = /* @__PURE__ */ Sp(Zg);
|
|
@@ -3488,8 +3488,8 @@ function hf(n, e) {
|
|
|
3488
3488
|
return null;
|
|
3489
3489
|
var C = m / p, P = _ / p;
|
|
3490
3490
|
if (C >= 0 && C <= 1 && P >= 0 && P <= 1) {
|
|
3491
|
-
var
|
|
3492
|
-
return Ze([
|
|
3491
|
+
var M = i + C * (o - i), g = s + C * (a - s);
|
|
3492
|
+
return Ze([M, g]);
|
|
3493
3493
|
}
|
|
3494
3494
|
return null;
|
|
3495
3495
|
}
|
|
@@ -3867,7 +3867,7 @@ function ym(n, e) {
|
|
|
3867
3867
|
function _m(n, e) {
|
|
3868
3868
|
var t, r = !1;
|
|
3869
3869
|
for (t = 0; t < e.coordinates.length; t++)
|
|
3870
|
-
if (
|
|
3870
|
+
if (Op(e.coordinates[t], n.coordinates)) {
|
|
3871
3871
|
r = !0;
|
|
3872
3872
|
break;
|
|
3873
3873
|
}
|
|
@@ -3876,7 +3876,7 @@ function _m(n, e) {
|
|
|
3876
3876
|
function wm(n, e) {
|
|
3877
3877
|
for (var t = 0; t < n.coordinates.length; t++) {
|
|
3878
3878
|
for (var r = !1, i = 0; i < e.coordinates.length; i++)
|
|
3879
|
-
|
|
3879
|
+
Op(n.coordinates[t], e.coordinates[i]) && (r = !0);
|
|
3880
3880
|
if (!r)
|
|
3881
3881
|
return !1;
|
|
3882
3882
|
}
|
|
@@ -3910,7 +3910,7 @@ function Cm(n, e) {
|
|
|
3910
3910
|
}
|
|
3911
3911
|
function Pm(n, e) {
|
|
3912
3912
|
var t = Qn(e), r = Qn(n);
|
|
3913
|
-
if (!
|
|
3913
|
+
if (!Mp(t, r))
|
|
3914
3914
|
return !1;
|
|
3915
3915
|
for (var i = !1, s = 0; s < n.coordinates.length - 1; s++) {
|
|
3916
3916
|
if (!Yn(n.coordinates[s], e))
|
|
@@ -3926,17 +3926,17 @@ function Pm(n, e) {
|
|
|
3926
3926
|
}
|
|
3927
3927
|
function Im(n, e) {
|
|
3928
3928
|
var t = Qn(n), r = Qn(e);
|
|
3929
|
-
if (!
|
|
3929
|
+
if (!Mp(r, t))
|
|
3930
3930
|
return !1;
|
|
3931
3931
|
for (var i = 0; i < n.coordinates[0].length; i++)
|
|
3932
3932
|
if (!Yn(n.coordinates[0][i], e))
|
|
3933
3933
|
return !1;
|
|
3934
3934
|
return !0;
|
|
3935
3935
|
}
|
|
3936
|
-
function
|
|
3936
|
+
function Mp(n, e) {
|
|
3937
3937
|
return !(n[0] > e[0] || n[2] < e[2] || n[1] > e[1] || n[3] < e[3]);
|
|
3938
3938
|
}
|
|
3939
|
-
function
|
|
3939
|
+
function Op(n, e) {
|
|
3940
3940
|
return n[0] === e[0] && n[1] === e[1];
|
|
3941
3941
|
}
|
|
3942
3942
|
function bm(n, e) {
|
|
@@ -4442,9 +4442,9 @@ F.prototype.selfAdd = function() {
|
|
|
4442
4442
|
return s = this._hi + t, a = s - this._hi, o = s - a, o = t - a + (this._hi - o), l = o + this._lo, r = s + l, i = l + (s - r), this._hi = r + i, this._lo = i + (r - this._hi), this;
|
|
4443
4443
|
}
|
|
4444
4444
|
} else if (arguments.length === 2) {
|
|
4445
|
-
var u = arguments[0], c = arguments[1], h = null, p = null, m = null, _ = null, C = null, P = null,
|
|
4446
|
-
C = this._hi + u, m = this._lo + c,
|
|
4447
|
-
var y = h +
|
|
4445
|
+
var u = arguments[0], c = arguments[1], h = null, p = null, m = null, _ = null, C = null, P = null, M = null, g = null;
|
|
4446
|
+
C = this._hi + u, m = this._lo + c, M = C - this._hi, g = m - this._lo, P = C - M, _ = m - g, P = u - M + (this._hi - P), _ = c - g + (this._lo - _), M = P + m, h = C + M, p = M + (C - h), M = _ + p;
|
|
4447
|
+
var y = h + M, d = M + (h - y);
|
|
4448
4448
|
return this._hi = y, this._lo = d, this;
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
@@ -4622,8 +4622,8 @@ F.parse = function(e) {
|
|
|
4622
4622
|
var p = e.substring(t);
|
|
4623
4623
|
try {
|
|
4624
4624
|
u = bn.parseInt(p);
|
|
4625
|
-
} catch (
|
|
4626
|
-
throw
|
|
4625
|
+
} catch (M) {
|
|
4626
|
+
throw M instanceof Error ? new Error("Invalid exponent " + p + " in string " + e) : M;
|
|
4627
4627
|
} finally {
|
|
4628
4628
|
}
|
|
4629
4629
|
break;
|
|
@@ -4714,8 +4714,8 @@ rr.signOfDet2x2 = function(e, t, r, i) {
|
|
|
4714
4714
|
return s.signum();
|
|
4715
4715
|
};
|
|
4716
4716
|
rr.intersection = function(e, t, r, i) {
|
|
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(),
|
|
4718
|
-
return new N(p,
|
|
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(), M = F.valueOf(r.y).selfAdd(F.valueOf(i.y).selfSubtract(r.y).selfMultiply(P)).doubleValue();
|
|
4718
|
+
return new N(p, M);
|
|
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;
|
|
@@ -4827,8 +4827,8 @@ var rn = function n() {
|
|
|
4827
4827
|
var l = arguments[0], u = arguments[1], c = arguments[2];
|
|
4828
4828
|
this.x = l, this.y = u, this.w = c;
|
|
4829
4829
|
} else if (arguments.length === 4) {
|
|
4830
|
-
var h = arguments[0], p = arguments[1], m = arguments[2], _ = arguments[3], C = h.y - p.y, P = p.x - h.x,
|
|
4831
|
-
this.x = P * d - y *
|
|
4830
|
+
var h = arguments[0], p = arguments[1], m = arguments[2], _ = arguments[3], C = h.y - p.y, P = p.x - h.x, M = h.x * p.y - p.x * h.y, g = m.y - _.y, y = _.x - m.x, d = m.x * _.y - _.x * m.y;
|
|
4831
|
+
this.x = P * d - y * M, this.y = g * M - C * d, this.w = C * y - g * P;
|
|
4832
4832
|
}
|
|
4833
4833
|
};
|
|
4834
4834
|
rn.prototype.getY = function() {
|
|
@@ -5528,7 +5528,7 @@ var Ys = function(n) {
|
|
|
5528
5528
|
var a = ne.intersects(r, i, s), l = ne.intersects(r, i, o), u = ne.intersects(s, o, r), c = ne.intersects(s, o, i);
|
|
5529
5529
|
return a && l ? (this._intPt[0] = s, this._intPt[1] = o, n.COLLINEAR_INTERSECTION) : u && c ? (this._intPt[0] = r, this._intPt[1] = i, n.COLLINEAR_INTERSECTION) : a && u ? (this._intPt[0] = s, this._intPt[1] = r, s.equals(r) && !l && !c ? n.POINT_INTERSECTION : n.COLLINEAR_INTERSECTION) : a && c ? (this._intPt[0] = s, this._intPt[1] = i, s.equals(i) && !l && !u ? n.POINT_INTERSECTION : n.COLLINEAR_INTERSECTION) : l && u ? (this._intPt[0] = o, this._intPt[1] = r, o.equals(r) && !a && !c ? n.POINT_INTERSECTION : n.COLLINEAR_INTERSECTION) : l && c ? (this._intPt[0] = o, this._intPt[1] = i, o.equals(i) && !a && !u ? n.POINT_INTERSECTION : n.COLLINEAR_INTERSECTION) : n.NO_INTERSECTION;
|
|
5530
5530
|
}, e.prototype.normalizeToEnvCentre = function(r, i, s, o, a) {
|
|
5531
|
-
var l = r.x < i.x ? r.x : i.x, u = r.y < i.y ? r.y : i.y, c = r.x > i.x ? r.x : i.x, h = r.y > i.y ? r.y : i.y, p = s.x < o.x ? s.x : o.x, m = s.y < o.y ? s.y : o.y, _ = s.x > o.x ? s.x : o.x, C = s.y > o.y ? s.y : o.y, P = l > p ? l : p,
|
|
5531
|
+
var l = r.x < i.x ? r.x : i.x, u = r.y < i.y ? r.y : i.y, c = r.x > i.x ? r.x : i.x, h = r.y > i.y ? r.y : i.y, p = s.x < o.x ? s.x : o.x, m = s.y < o.y ? s.y : o.y, _ = s.x > o.x ? s.x : o.x, C = s.y > o.y ? s.y : o.y, P = l > p ? l : p, M = c < _ ? c : _, g = u > m ? u : m, y = h < C ? h : C, d = (P + M) / 2, v = (g + y) / 2;
|
|
5532
5532
|
a.x = d, a.y = v, r.x -= a.x, r.y -= a.y, i.x -= a.x, i.y -= a.y, s.x -= a.x, s.y -= a.y, o.x -= a.x, o.y -= a.y;
|
|
5533
5533
|
}, e.prototype.computeIntersect = function(r, i, s, o) {
|
|
5534
5534
|
if (this._isProper = !1, !ne.intersects(r, i, s, o))
|
|
@@ -5825,56 +5825,56 @@ Ii.prototype.interfaces_ = function() {
|
|
|
5825
5825
|
Ii.prototype.getClass = function() {
|
|
5826
5826
|
return Ii;
|
|
5827
5827
|
};
|
|
5828
|
-
var
|
|
5828
|
+
var ue = function() {
|
|
5829
5829
|
var e = arguments[0];
|
|
5830
5830
|
this._envelope = null, this._factory = null, this._SRID = null, this._userData = null, this._factory = e, this._SRID = e.getSRID();
|
|
5831
5831
|
}, li = { serialVersionUID: { configurable: !0 }, SORTINDEX_POINT: { configurable: !0 }, SORTINDEX_MULTIPOINT: { configurable: !0 }, SORTINDEX_LINESTRING: { configurable: !0 }, SORTINDEX_LINEARRING: { configurable: !0 }, SORTINDEX_MULTILINESTRING: { configurable: !0 }, SORTINDEX_POLYGON: { configurable: !0 }, SORTINDEX_MULTIPOLYGON: { configurable: !0 }, SORTINDEX_GEOMETRYCOLLECTION: { configurable: !0 }, geometryChangedFilter: { configurable: !0 } };
|
|
5832
|
-
|
|
5833
|
-
return this.getSortIndex() ===
|
|
5832
|
+
ue.prototype.isGeometryCollection = function() {
|
|
5833
|
+
return this.getSortIndex() === ue.SORTINDEX_GEOMETRYCOLLECTION;
|
|
5834
5834
|
};
|
|
5835
|
-
|
|
5835
|
+
ue.prototype.getFactory = function() {
|
|
5836
5836
|
return this._factory;
|
|
5837
5837
|
};
|
|
5838
|
-
|
|
5838
|
+
ue.prototype.getGeometryN = function(e) {
|
|
5839
5839
|
return this;
|
|
5840
5840
|
};
|
|
5841
|
-
|
|
5841
|
+
ue.prototype.getArea = function() {
|
|
5842
5842
|
return 0;
|
|
5843
5843
|
};
|
|
5844
|
-
|
|
5844
|
+
ue.prototype.isRectangle = function() {
|
|
5845
5845
|
return !1;
|
|
5846
5846
|
};
|
|
5847
|
-
|
|
5848
|
-
if (arguments[0] instanceof
|
|
5847
|
+
ue.prototype.equals = function() {
|
|
5848
|
+
if (arguments[0] instanceof ue) {
|
|
5849
5849
|
var e = arguments[0];
|
|
5850
5850
|
return e === null ? !1 : this.equalsTopo(e);
|
|
5851
5851
|
} else if (arguments[0] instanceof Object) {
|
|
5852
5852
|
var t = arguments[0];
|
|
5853
|
-
if (!(t instanceof
|
|
5853
|
+
if (!(t instanceof ue))
|
|
5854
5854
|
return !1;
|
|
5855
5855
|
var r = t;
|
|
5856
5856
|
return this.equalsExact(r);
|
|
5857
5857
|
}
|
|
5858
5858
|
};
|
|
5859
|
-
|
|
5859
|
+
ue.prototype.equalsExact = function(e) {
|
|
5860
5860
|
return this === e || this.equalsExact(e, 0);
|
|
5861
5861
|
};
|
|
5862
|
-
|
|
5863
|
-
this.apply(
|
|
5862
|
+
ue.prototype.geometryChanged = function() {
|
|
5863
|
+
this.apply(ue.geometryChangedFilter);
|
|
5864
5864
|
};
|
|
5865
|
-
|
|
5865
|
+
ue.prototype.geometryChangedAction = function() {
|
|
5866
5866
|
this._envelope = null;
|
|
5867
5867
|
};
|
|
5868
|
-
|
|
5868
|
+
ue.prototype.equalsNorm = function(e) {
|
|
5869
5869
|
return e === null ? !1 : this.norm().equalsExact(e.norm());
|
|
5870
5870
|
};
|
|
5871
|
-
|
|
5871
|
+
ue.prototype.getLength = function() {
|
|
5872
5872
|
return 0;
|
|
5873
5873
|
};
|
|
5874
|
-
|
|
5874
|
+
ue.prototype.getNumGeometries = function() {
|
|
5875
5875
|
return 1;
|
|
5876
5876
|
};
|
|
5877
|
-
|
|
5877
|
+
ue.prototype.compareTo = function() {
|
|
5878
5878
|
if (arguments.length === 1) {
|
|
5879
5879
|
var e = arguments[0], t = e;
|
|
5880
5880
|
return this.getSortIndex() !== t.getSortIndex() ? this.getSortIndex() - t.getSortIndex() : this.isEmpty() && t.isEmpty() ? 0 : this.isEmpty() ? -1 : t.isEmpty() ? 1 : this.compareToSameClass(e);
|
|
@@ -5883,39 +5883,39 @@ le.prototype.compareTo = function() {
|
|
|
5883
5883
|
return this.getSortIndex() !== r.getSortIndex() ? this.getSortIndex() - r.getSortIndex() : this.isEmpty() && r.isEmpty() ? 0 : this.isEmpty() ? -1 : r.isEmpty() ? 1 : this.compareToSameClass(r, i);
|
|
5884
5884
|
}
|
|
5885
5885
|
};
|
|
5886
|
-
|
|
5886
|
+
ue.prototype.getUserData = function() {
|
|
5887
5887
|
return this._userData;
|
|
5888
5888
|
};
|
|
5889
|
-
|
|
5889
|
+
ue.prototype.getSRID = function() {
|
|
5890
5890
|
return this._SRID;
|
|
5891
5891
|
};
|
|
5892
|
-
|
|
5892
|
+
ue.prototype.getEnvelope = function() {
|
|
5893
5893
|
return this.getFactory().toGeometry(this.getEnvelopeInternal());
|
|
5894
5894
|
};
|
|
5895
|
-
|
|
5896
|
-
if (e.getSortIndex() ===
|
|
5895
|
+
ue.prototype.checkNotGeometryCollection = function(e) {
|
|
5896
|
+
if (e.getSortIndex() === ue.SORTINDEX_GEOMETRYCOLLECTION)
|
|
5897
5897
|
throw new He("This method does not support GeometryCollection arguments");
|
|
5898
5898
|
};
|
|
5899
|
-
|
|
5899
|
+
ue.prototype.equal = function(e, t, r) {
|
|
5900
5900
|
return r === 0 ? e.equals(t) : e.distance(t) <= r;
|
|
5901
5901
|
};
|
|
5902
|
-
|
|
5902
|
+
ue.prototype.norm = function() {
|
|
5903
5903
|
var e = this.copy();
|
|
5904
5904
|
return e.normalize(), e;
|
|
5905
5905
|
};
|
|
5906
|
-
|
|
5906
|
+
ue.prototype.getPrecisionModel = function() {
|
|
5907
5907
|
return this._factory.getPrecisionModel();
|
|
5908
5908
|
};
|
|
5909
|
-
|
|
5909
|
+
ue.prototype.getEnvelopeInternal = function() {
|
|
5910
5910
|
return this._envelope === null && (this._envelope = this.computeEnvelopeInternal()), new ne(this._envelope);
|
|
5911
5911
|
};
|
|
5912
|
-
|
|
5912
|
+
ue.prototype.setSRID = function(e) {
|
|
5913
5913
|
this._SRID = e;
|
|
5914
5914
|
};
|
|
5915
|
-
|
|
5915
|
+
ue.prototype.setUserData = function(e) {
|
|
5916
5916
|
this._userData = e;
|
|
5917
5917
|
};
|
|
5918
|
-
|
|
5918
|
+
ue.prototype.compare = function(e, t) {
|
|
5919
5919
|
for (var r = e.iterator(), i = t.iterator(); r.hasNext() && i.hasNext(); ) {
|
|
5920
5920
|
var s = r.next(), o = i.next(), a = s.compareTo(o);
|
|
5921
5921
|
if (a !== 0)
|
|
@@ -5923,25 +5923,25 @@ le.prototype.compare = function(e, t) {
|
|
|
5923
5923
|
}
|
|
5924
5924
|
return r.hasNext() ? 1 : i.hasNext() ? -1 : 0;
|
|
5925
5925
|
};
|
|
5926
|
-
|
|
5926
|
+
ue.prototype.hashCode = function() {
|
|
5927
5927
|
return this.getEnvelopeInternal().hashCode();
|
|
5928
5928
|
};
|
|
5929
|
-
|
|
5930
|
-
return this.getSortIndex() ===
|
|
5929
|
+
ue.prototype.isGeometryCollectionOrDerived = function() {
|
|
5930
|
+
return this.getSortIndex() === ue.SORTINDEX_GEOMETRYCOLLECTION || this.getSortIndex() === ue.SORTINDEX_MULTIPOINT || this.getSortIndex() === ue.SORTINDEX_MULTILINESTRING || this.getSortIndex() === ue.SORTINDEX_MULTIPOLYGON;
|
|
5931
5931
|
};
|
|
5932
|
-
|
|
5932
|
+
ue.prototype.interfaces_ = function() {
|
|
5933
5933
|
return [vc, Jr, Zr];
|
|
5934
5934
|
};
|
|
5935
|
-
|
|
5936
|
-
return
|
|
5935
|
+
ue.prototype.getClass = function() {
|
|
5936
|
+
return ue;
|
|
5937
5937
|
};
|
|
5938
|
-
|
|
5938
|
+
ue.hasNonEmptyElements = function(e) {
|
|
5939
5939
|
for (var t = 0; t < e.length; t++)
|
|
5940
5940
|
if (!e[t].isEmpty())
|
|
5941
5941
|
return !0;
|
|
5942
5942
|
return !1;
|
|
5943
5943
|
};
|
|
5944
|
-
|
|
5944
|
+
ue.hasNullElements = function(e) {
|
|
5945
5945
|
for (var t = 0; t < e.length; t++)
|
|
5946
5946
|
if (e[t] === null)
|
|
5947
5947
|
return !0;
|
|
@@ -5977,7 +5977,7 @@ li.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
|
|
|
5977
5977
|
li.geometryChangedFilter.get = function() {
|
|
5978
5978
|
return Eh;
|
|
5979
5979
|
};
|
|
5980
|
-
Object.defineProperties(
|
|
5980
|
+
Object.defineProperties(ue, li);
|
|
5981
5981
|
var Eh = function() {
|
|
5982
5982
|
};
|
|
5983
5983
|
Eh.interfaces_ = function() {
|
|
@@ -6236,8 +6236,8 @@ var G = function(n) {
|
|
|
6236
6236
|
for (var P = 0; P < m.length; P++)
|
|
6237
6237
|
i.add(m[P], _);
|
|
6238
6238
|
else
|
|
6239
|
-
for (var
|
|
6240
|
-
i.add(m[
|
|
6239
|
+
for (var M = m.length - 1; M >= 0; M--)
|
|
6240
|
+
i.add(m[M], _);
|
|
6241
6241
|
return !0;
|
|
6242
6242
|
} else if (typeof arguments[2] == "boolean" && Number.isInteger(arguments[0]) && arguments[1] instanceof N) {
|
|
6243
6243
|
var g = arguments[0], y = arguments[1], d = arguments[2];
|
|
@@ -6261,8 +6261,8 @@ var G = function(n) {
|
|
|
6261
6261
|
} else if (arguments.length === 4) {
|
|
6262
6262
|
var I = arguments[0], x = arguments[1], D = arguments[2], b = arguments[3], T = 1;
|
|
6263
6263
|
D > b && (T = -1);
|
|
6264
|
-
for (var
|
|
6265
|
-
i.add(I[
|
|
6264
|
+
for (var O = D; O !== b; O += T)
|
|
6265
|
+
i.add(I[O], x);
|
|
6266
6266
|
return !0;
|
|
6267
6267
|
}
|
|
6268
6268
|
}, e.prototype.closeRing = function() {
|
|
@@ -7016,14 +7016,14 @@ var Wt = function(n) {
|
|
|
7016
7016
|
}, t.serialVersionUID.get = function() {
|
|
7017
7017
|
return -5694727726395021e3;
|
|
7018
7018
|
}, Object.defineProperties(e, t), e;
|
|
7019
|
-
}(
|
|
7019
|
+
}(ue), Ls = function(n) {
|
|
7020
7020
|
function e() {
|
|
7021
7021
|
n.apply(this, arguments);
|
|
7022
7022
|
}
|
|
7023
7023
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7024
7024
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7025
7025
|
return e.prototype.getSortIndex = function() {
|
|
7026
|
-
return
|
|
7026
|
+
return ue.SORTINDEX_MULTILINESTRING;
|
|
7027
7027
|
}, e.prototype.equalsExact = function() {
|
|
7028
7028
|
if (arguments.length === 2) {
|
|
7029
7029
|
var i = arguments[0], s = arguments[1];
|
|
@@ -7132,10 +7132,10 @@ $u.prototype.interfaces_ = function() {
|
|
|
7132
7132
|
$u.prototype.getClass = function() {
|
|
7133
7133
|
return $u;
|
|
7134
7134
|
};
|
|
7135
|
-
function Om() {
|
|
7136
|
-
}
|
|
7137
7135
|
function Mm() {
|
|
7138
7136
|
}
|
|
7137
|
+
function Om() {
|
|
7138
|
+
}
|
|
7139
7139
|
var Lm = function() {
|
|
7140
7140
|
};
|
|
7141
7141
|
function Rm() {
|
|
@@ -7159,11 +7159,11 @@ Gr.chars = function(e, t) {
|
|
|
7159
7159
|
};
|
|
7160
7160
|
Gr.getStackTrace = function() {
|
|
7161
7161
|
if (arguments.length === 1) {
|
|
7162
|
-
var e = arguments[0], t = new Rm(), r = new
|
|
7162
|
+
var e = arguments[0], t = new Rm(), r = new Mm();
|
|
7163
7163
|
return e.printStackTrace(r), t.toString();
|
|
7164
7164
|
} else if (arguments.length === 2) {
|
|
7165
7165
|
var i = arguments[0], s = arguments[1], o = "";
|
|
7166
|
-
new
|
|
7166
|
+
new Om(Gr.getStackTrace(i));
|
|
7167
7167
|
for (var a = new Fm(), l = 0; l < s; l++)
|
|
7168
7168
|
try {
|
|
7169
7169
|
o += a.readLine() + Gr.NEWLINE;
|
|
@@ -7409,7 +7409,7 @@ var $e = function(n) {
|
|
|
7409
7409
|
}, t.serialVersionUID.get = function() {
|
|
7410
7410
|
return 3110669828065365500;
|
|
7411
7411
|
}, Object.defineProperties(e, t), e;
|
|
7412
|
-
}(
|
|
7412
|
+
}(ue), au = function() {
|
|
7413
7413
|
};
|
|
7414
7414
|
au.prototype.interfaces_ = function() {
|
|
7415
7415
|
return [];
|
|
@@ -7507,7 +7507,7 @@ var hr = function(n) {
|
|
|
7507
7507
|
}, t.serialVersionUID.get = function() {
|
|
7508
7508
|
return 4902022702746615e3;
|
|
7509
7509
|
}, Object.defineProperties(e, t), e;
|
|
7510
|
-
}(
|
|
7510
|
+
}(ue), ts = function() {
|
|
7511
7511
|
};
|
|
7512
7512
|
ts.prototype.interfaces_ = function() {
|
|
7513
7513
|
return [];
|
|
@@ -7630,7 +7630,7 @@ var gt = function(n) {
|
|
|
7630
7630
|
if (m !== 0)
|
|
7631
7631
|
return m;
|
|
7632
7632
|
for (var _ = this.getNumInteriorRing(), C = c.getNumInteriorRing(), P = 0; P < _ && P < C; ) {
|
|
7633
|
-
var
|
|
7633
|
+
var M = i.getInteriorRingN(P), g = c.getInteriorRingN(P), y = M.compareToSameClass(g, u);
|
|
7634
7634
|
if (y !== 0)
|
|
7635
7635
|
return y;
|
|
7636
7636
|
P++;
|
|
@@ -7689,14 +7689,14 @@ var gt = function(n) {
|
|
|
7689
7689
|
}, t.serialVersionUID.get = function() {
|
|
7690
7690
|
return -3494792200821764600;
|
|
7691
7691
|
}, Object.defineProperties(e, t), e;
|
|
7692
|
-
}(
|
|
7692
|
+
}(ue), fa = function(n) {
|
|
7693
7693
|
function e() {
|
|
7694
7694
|
n.apply(this, arguments);
|
|
7695
7695
|
}
|
|
7696
7696
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7697
7697
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7698
7698
|
return e.prototype.getSortIndex = function() {
|
|
7699
|
-
return
|
|
7699
|
+
return ue.SORTINDEX_MULTIPOINT;
|
|
7700
7700
|
}, e.prototype.isValid = function() {
|
|
7701
7701
|
return !0;
|
|
7702
7702
|
}, e.prototype.equalsExact = function() {
|
|
@@ -7737,7 +7737,7 @@ var gt = function(n) {
|
|
|
7737
7737
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7738
7738
|
var t = { MINIMUM_VALID_SIZE: { configurable: !0 }, serialVersionUID: { configurable: !0 } };
|
|
7739
7739
|
return e.prototype.getSortIndex = function() {
|
|
7740
|
-
return
|
|
7740
|
+
return ue.SORTINDEX_LINEARRING;
|
|
7741
7741
|
}, e.prototype.getBoundaryDimension = function() {
|
|
7742
7742
|
return De.FALSE;
|
|
7743
7743
|
}, e.prototype.isClosed = function() {
|
|
@@ -7772,7 +7772,7 @@ var gt = function(n) {
|
|
|
7772
7772
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7773
7773
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7774
7774
|
return e.prototype.getSortIndex = function() {
|
|
7775
|
-
return
|
|
7775
|
+
return ue.SORTINDEX_MULTIPOLYGON;
|
|
7776
7776
|
}, e.prototype.equalsExact = function() {
|
|
7777
7777
|
if (arguments.length === 2) {
|
|
7778
7778
|
var i = arguments[0], s = arguments[1];
|
|
@@ -8070,7 +8070,7 @@ var Bp = function(n) {
|
|
|
8070
8070
|
}, e.prototype.size = function() {
|
|
8071
8071
|
return this.map_.size();
|
|
8072
8072
|
}, e;
|
|
8073
|
-
}(qo),
|
|
8073
|
+
}(qo), Oe = function n() {
|
|
8074
8074
|
if (this._modelType = null, this._scale = null, arguments.length === 0)
|
|
8075
8075
|
this._modelType = n.FLOATING;
|
|
8076
8076
|
else if (arguments.length === 1) {
|
|
@@ -8086,60 +8086,60 @@ var Bp = function(n) {
|
|
|
8086
8086
|
}
|
|
8087
8087
|
}
|
|
8088
8088
|
}, bh = { serialVersionUID: { configurable: !0 }, maximumPreciseValue: { configurable: !0 } };
|
|
8089
|
-
|
|
8090
|
-
if (!(e instanceof
|
|
8089
|
+
Oe.prototype.equals = function(e) {
|
|
8090
|
+
if (!(e instanceof Oe))
|
|
8091
8091
|
return !1;
|
|
8092
8092
|
var t = e;
|
|
8093
8093
|
return this._modelType === t._modelType && this._scale === t._scale;
|
|
8094
8094
|
};
|
|
8095
|
-
|
|
8095
|
+
Oe.prototype.compareTo = function(e) {
|
|
8096
8096
|
var t = e, r = this.getMaximumSignificantDigits(), i = t.getMaximumSignificantDigits();
|
|
8097
8097
|
return new bn(r).compareTo(new bn(i));
|
|
8098
8098
|
};
|
|
8099
|
-
|
|
8099
|
+
Oe.prototype.getScale = function() {
|
|
8100
8100
|
return this._scale;
|
|
8101
8101
|
};
|
|
8102
|
-
|
|
8103
|
-
return this._modelType ===
|
|
8102
|
+
Oe.prototype.isFloating = function() {
|
|
8103
|
+
return this._modelType === Oe.FLOATING || this._modelType === Oe.FLOATING_SINGLE;
|
|
8104
8104
|
};
|
|
8105
|
-
|
|
8105
|
+
Oe.prototype.getType = function() {
|
|
8106
8106
|
return this._modelType;
|
|
8107
8107
|
};
|
|
8108
|
-
|
|
8108
|
+
Oe.prototype.toString = function() {
|
|
8109
8109
|
var e = "UNKNOWN";
|
|
8110
|
-
return this._modelType ===
|
|
8110
|
+
return this._modelType === Oe.FLOATING ? e = "Floating" : this._modelType === Oe.FLOATING_SINGLE ? e = "Floating-Single" : this._modelType === Oe.FIXED && (e = "Fixed (Scale=" + this.getScale() + ")"), e;
|
|
8111
8111
|
};
|
|
8112
|
-
|
|
8112
|
+
Oe.prototype.makePrecise = function() {
|
|
8113
8113
|
if (typeof arguments[0] == "number") {
|
|
8114
8114
|
var e = arguments[0];
|
|
8115
8115
|
if (pe.isNaN(e))
|
|
8116
8116
|
return e;
|
|
8117
|
-
if (this._modelType ===
|
|
8117
|
+
if (this._modelType === Oe.FLOATING_SINGLE) {
|
|
8118
8118
|
var t = e;
|
|
8119
8119
|
return t;
|
|
8120
8120
|
}
|
|
8121
|
-
return this._modelType ===
|
|
8121
|
+
return this._modelType === Oe.FIXED ? Math.round(e * this._scale) / this._scale : e;
|
|
8122
8122
|
} else if (arguments[0] instanceof N) {
|
|
8123
8123
|
var r = arguments[0];
|
|
8124
|
-
if (this._modelType ===
|
|
8124
|
+
if (this._modelType === Oe.FLOATING)
|
|
8125
8125
|
return null;
|
|
8126
8126
|
r.x = this.makePrecise(r.x), r.y = this.makePrecise(r.y);
|
|
8127
8127
|
}
|
|
8128
8128
|
};
|
|
8129
|
-
|
|
8129
|
+
Oe.prototype.getMaximumSignificantDigits = function() {
|
|
8130
8130
|
var e = 16;
|
|
8131
|
-
return this._modelType ===
|
|
8131
|
+
return this._modelType === Oe.FLOATING ? e = 16 : this._modelType === Oe.FLOATING_SINGLE ? e = 6 : this._modelType === Oe.FIXED && (e = 1 + Math.trunc(Math.ceil(Math.log(this.getScale()) / Math.log(10)))), e;
|
|
8132
8132
|
};
|
|
8133
|
-
|
|
8133
|
+
Oe.prototype.setScale = function(e) {
|
|
8134
8134
|
this._scale = Math.abs(e);
|
|
8135
8135
|
};
|
|
8136
|
-
|
|
8136
|
+
Oe.prototype.interfaces_ = function() {
|
|
8137
8137
|
return [Zr, Jr];
|
|
8138
8138
|
};
|
|
8139
|
-
|
|
8140
|
-
return
|
|
8139
|
+
Oe.prototype.getClass = function() {
|
|
8140
|
+
return Oe;
|
|
8141
8141
|
};
|
|
8142
|
-
|
|
8142
|
+
Oe.mostPrecise = function(e, t) {
|
|
8143
8143
|
return e.compareTo(t) >= 0 ? e : t;
|
|
8144
8144
|
};
|
|
8145
8145
|
bh.serialVersionUID.get = function() {
|
|
@@ -8148,7 +8148,7 @@ bh.serialVersionUID.get = function() {
|
|
|
8148
8148
|
bh.maximumPreciseValue.get = function() {
|
|
8149
8149
|
return 9007199254740992;
|
|
8150
8150
|
};
|
|
8151
|
-
Object.defineProperties(
|
|
8151
|
+
Object.defineProperties(Oe, bh);
|
|
8152
8152
|
var Nn = function n(e) {
|
|
8153
8153
|
this._name = e || null, n.nameToTypeMap.put(e, this);
|
|
8154
8154
|
}, xh = { serialVersionUID: { configurable: !0 }, nameToTypeMap: { configurable: !0 } };
|
|
@@ -8171,12 +8171,12 @@ xh.nameToTypeMap.get = function() {
|
|
|
8171
8171
|
return new Bp();
|
|
8172
8172
|
};
|
|
8173
8173
|
Object.defineProperties(Nn, xh);
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8174
|
+
Oe.Type = Nn;
|
|
8175
|
+
Oe.FIXED = new Nn("FIXED");
|
|
8176
|
+
Oe.FLOATING = new Nn("FLOATING");
|
|
8177
|
+
Oe.FLOATING_SINGLE = new Nn("FLOATING SINGLE");
|
|
8178
8178
|
var we = function n() {
|
|
8179
|
-
this._precisionModel = new
|
|
8179
|
+
this._precisionModel = new Oe(), this._SRID = 0, this._coordinateSequenceFactory = n.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? he(arguments[0], oa) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof Oe && (this._precisionModel = arguments[0]) : arguments.length === 2 ? (this._precisionModel = arguments[0], this._SRID = arguments[1]) : arguments.length === 3 && (this._precisionModel = arguments[0], this._SRID = arguments[1], this._coordinateSequenceFactory = arguments[2]));
|
|
8180
8180
|
}, jp = { serialVersionUID: { configurable: !0 } };
|
|
8181
8181
|
we.prototype.toGeometry = function(e) {
|
|
8182
8182
|
return e.isNull() ? this.createPoint(null) : e.getMinX() === e.getMaxX() && e.getMinY() === e.getMaxY() ? this.createPoint(new N(e.getMinX(), e.getMinY())) : e.getMinX() === e.getMaxX() || e.getMinY() === e.getMaxY() ? this.createLineString([new N(e.getMinX(), e.getMinY()), new N(e.getMaxX(), e.getMaxY())]) : this.createPolygon(this.createLinearRing([new N(e.getMinX(), e.getMinY()), new N(e.getMinX(), e.getMaxY()), new N(e.getMaxX(), e.getMaxY()), new N(e.getMaxX(), e.getMinY()), new N(e.getMinX(), e.getMinY())]), null);
|
|
@@ -8699,7 +8699,7 @@ var En = {
|
|
|
8699
8699
|
};
|
|
8700
8700
|
Th.prototype.read = function(e) {
|
|
8701
8701
|
var t = this.parser.read(e);
|
|
8702
|
-
return this.precisionModel.getType() ===
|
|
8702
|
+
return this.precisionModel.getType() === Oe.FIXED && this.reducePrecision(t), t;
|
|
8703
8703
|
};
|
|
8704
8704
|
Th.prototype.reducePrecision = function(e) {
|
|
8705
8705
|
var t = this, r, i;
|
|
@@ -9448,15 +9448,15 @@ var xc = function(n) {
|
|
|
9448
9448
|
}, e.prototype.getClass = function() {
|
|
9449
9449
|
return e;
|
|
9450
9450
|
}, e;
|
|
9451
|
-
}(br),
|
|
9451
|
+
}(br), Mn = function() {
|
|
9452
9452
|
this.nodeMap = new At(), this.nodeFact = null;
|
|
9453
9453
|
var e = arguments[0];
|
|
9454
9454
|
this.nodeFact = e;
|
|
9455
9455
|
};
|
|
9456
|
-
|
|
9456
|
+
Mn.prototype.find = function(e) {
|
|
9457
9457
|
return this.nodeMap.get(e);
|
|
9458
9458
|
};
|
|
9459
|
-
|
|
9459
|
+
Mn.prototype.addNode = function() {
|
|
9460
9460
|
if (arguments[0] instanceof N) {
|
|
9461
9461
|
var e = arguments[0], t = this.nodeMap.get(e);
|
|
9462
9462
|
return t === null && (t = this.nodeFact.createNode(e), this.nodeMap.put(e, t)), t;
|
|
@@ -9465,34 +9465,34 @@ On.prototype.addNode = function() {
|
|
|
9465
9465
|
return i === null ? (this.nodeMap.put(r.getCoordinate(), r), r) : (i.mergeLabel(r), i);
|
|
9466
9466
|
}
|
|
9467
9467
|
};
|
|
9468
|
-
|
|
9468
|
+
Mn.prototype.print = function(e) {
|
|
9469
9469
|
for (var t = this.iterator(); t.hasNext(); ) {
|
|
9470
9470
|
var r = t.next();
|
|
9471
9471
|
r.print(e);
|
|
9472
9472
|
}
|
|
9473
9473
|
};
|
|
9474
|
-
|
|
9474
|
+
Mn.prototype.iterator = function() {
|
|
9475
9475
|
return this.nodeMap.values().iterator();
|
|
9476
9476
|
};
|
|
9477
|
-
|
|
9477
|
+
Mn.prototype.values = function() {
|
|
9478
9478
|
return this.nodeMap.values();
|
|
9479
9479
|
};
|
|
9480
|
-
|
|
9480
|
+
Mn.prototype.getBoundaryNodes = function(e) {
|
|
9481
9481
|
for (var t = new G(), r = this.iterator(); r.hasNext(); ) {
|
|
9482
9482
|
var i = r.next();
|
|
9483
9483
|
i.getLabel().getLocation(e) === L.BOUNDARY && t.add(i);
|
|
9484
9484
|
}
|
|
9485
9485
|
return t;
|
|
9486
9486
|
};
|
|
9487
|
-
|
|
9487
|
+
Mn.prototype.add = function(e) {
|
|
9488
9488
|
var t = e.getCoordinate(), r = this.addNode(t);
|
|
9489
9489
|
r.add(e);
|
|
9490
9490
|
};
|
|
9491
|
-
|
|
9491
|
+
Mn.prototype.interfaces_ = function() {
|
|
9492
9492
|
return [];
|
|
9493
9493
|
};
|
|
9494
|
-
|
|
9495
|
-
return
|
|
9494
|
+
Mn.prototype.getClass = function() {
|
|
9495
|
+
return Mn;
|
|
9496
9496
|
};
|
|
9497
9497
|
var ke = function() {
|
|
9498
9498
|
}, xu = { NE: { configurable: !0 }, NW: { configurable: !0 }, SW: { configurable: !0 }, SE: { configurable: !0 } };
|
|
@@ -9708,10 +9708,10 @@ pa.prototype.getClass = function() {
|
|
|
9708
9708
|
};
|
|
9709
9709
|
var Qe = function() {
|
|
9710
9710
|
if (this._edges = new G(), this._nodes = null, this._edgeEndList = new G(), arguments.length === 0)
|
|
9711
|
-
this._nodes = new
|
|
9711
|
+
this._nodes = new Mn(new pa());
|
|
9712
9712
|
else if (arguments.length === 1) {
|
|
9713
9713
|
var e = arguments[0];
|
|
9714
|
-
this._nodes = new
|
|
9714
|
+
this._nodes = new Mn(e);
|
|
9715
9715
|
}
|
|
9716
9716
|
};
|
|
9717
9717
|
Qe.prototype.printEdges = function(e) {
|
|
@@ -10212,8 +10212,8 @@ _t.prototype.query = function() {
|
|
|
10212
10212
|
}
|
|
10213
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
|
-
var
|
|
10216
|
-
e.getIntersectsOp().intersects(
|
|
10215
|
+
var M = C.get(P);
|
|
10216
|
+
e.getIntersectsOp().intersects(M.getBounds(), p) && (M instanceof dt ? e.query(p, M, _) : M instanceof ln ? _.add(M.getItem()) : ve.shouldNeverReachHere());
|
|
10217
10217
|
}
|
|
10218
10218
|
}
|
|
10219
10219
|
};
|
|
@@ -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
|
|
10406
|
+
var M = arguments[0], g = arguments[1], y = arguments[2], d = new ln(M, g), v = new at(this.getRoot(), d, y);
|
|
10407
10407
|
return this.nearestNeighbour(v)[0];
|
|
10408
10408
|
}
|
|
10409
10409
|
}, e.prototype.interfaces_ = function() {
|
|
@@ -11170,7 +11170,7 @@ var Nh = function(n) {
|
|
|
11170
11170
|
}, e.prototype.getClass = function() {
|
|
11171
11171
|
return e;
|
|
11172
11172
|
}, e;
|
|
11173
|
-
}(fu),
|
|
11173
|
+
}(fu), Me = function n() {
|
|
11174
11174
|
if (this._quadrantSegments = n.DEFAULT_QUADRANT_SEGMENTS, this._endCapStyle = n.CAP_ROUND, this._joinStyle = n.JOIN_ROUND, this._mitreLimit = n.DEFAULT_MITRE_LIMIT, this._isSingleSided = !1, this._simplifyFactor = n.DEFAULT_SIMPLIFY_FACTOR, arguments.length !== 0) {
|
|
11175
11175
|
if (arguments.length === 1) {
|
|
11176
11176
|
var e = arguments[0];
|
|
@@ -11184,49 +11184,49 @@ var Nh = function(n) {
|
|
|
11184
11184
|
}
|
|
11185
11185
|
}
|
|
11186
11186
|
}, Ri = { CAP_ROUND: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, JOIN_ROUND: { configurable: !0 }, JOIN_MITRE: { configurable: !0 }, JOIN_BEVEL: { configurable: !0 }, DEFAULT_QUADRANT_SEGMENTS: { configurable: !0 }, DEFAULT_MITRE_LIMIT: { configurable: !0 }, DEFAULT_SIMPLIFY_FACTOR: { configurable: !0 } };
|
|
11187
|
-
|
|
11187
|
+
Me.prototype.getEndCapStyle = function() {
|
|
11188
11188
|
return this._endCapStyle;
|
|
11189
11189
|
};
|
|
11190
|
-
|
|
11190
|
+
Me.prototype.isSingleSided = function() {
|
|
11191
11191
|
return this._isSingleSided;
|
|
11192
11192
|
};
|
|
11193
|
-
|
|
11194
|
-
this._quadrantSegments = e, this._quadrantSegments === 0 && (this._joinStyle =
|
|
11193
|
+
Me.prototype.setQuadrantSegments = function(e) {
|
|
11194
|
+
this._quadrantSegments = e, this._quadrantSegments === 0 && (this._joinStyle = Me.JOIN_BEVEL), this._quadrantSegments < 0 && (this._joinStyle = Me.JOIN_MITRE, this._mitreLimit = Math.abs(this._quadrantSegments)), e <= 0 && (this._quadrantSegments = 1), this._joinStyle !== Me.JOIN_ROUND && (this._quadrantSegments = Me.DEFAULT_QUADRANT_SEGMENTS);
|
|
11195
11195
|
};
|
|
11196
|
-
|
|
11196
|
+
Me.prototype.getJoinStyle = function() {
|
|
11197
11197
|
return this._joinStyle;
|
|
11198
11198
|
};
|
|
11199
|
-
|
|
11199
|
+
Me.prototype.setJoinStyle = function(e) {
|
|
11200
11200
|
this._joinStyle = e;
|
|
11201
11201
|
};
|
|
11202
|
-
|
|
11202
|
+
Me.prototype.setSimplifyFactor = function(e) {
|
|
11203
11203
|
this._simplifyFactor = e < 0 ? 0 : e;
|
|
11204
11204
|
};
|
|
11205
|
-
|
|
11205
|
+
Me.prototype.getSimplifyFactor = function() {
|
|
11206
11206
|
return this._simplifyFactor;
|
|
11207
11207
|
};
|
|
11208
|
-
|
|
11208
|
+
Me.prototype.getQuadrantSegments = function() {
|
|
11209
11209
|
return this._quadrantSegments;
|
|
11210
11210
|
};
|
|
11211
|
-
|
|
11211
|
+
Me.prototype.setEndCapStyle = function(e) {
|
|
11212
11212
|
this._endCapStyle = e;
|
|
11213
11213
|
};
|
|
11214
|
-
|
|
11214
|
+
Me.prototype.getMitreLimit = function() {
|
|
11215
11215
|
return this._mitreLimit;
|
|
11216
11216
|
};
|
|
11217
|
-
|
|
11217
|
+
Me.prototype.setMitreLimit = function(e) {
|
|
11218
11218
|
this._mitreLimit = e;
|
|
11219
11219
|
};
|
|
11220
|
-
|
|
11220
|
+
Me.prototype.setSingleSided = function(e) {
|
|
11221
11221
|
this._isSingleSided = e;
|
|
11222
11222
|
};
|
|
11223
|
-
|
|
11223
|
+
Me.prototype.interfaces_ = function() {
|
|
11224
11224
|
return [];
|
|
11225
11225
|
};
|
|
11226
|
-
|
|
11227
|
-
return
|
|
11226
|
+
Me.prototype.getClass = function() {
|
|
11227
|
+
return Me;
|
|
11228
11228
|
};
|
|
11229
|
-
|
|
11229
|
+
Me.bufferDistanceError = function(e) {
|
|
11230
11230
|
var t = Math.PI / 2 / e;
|
|
11231
11231
|
return 1 - Math.cos(t / 2);
|
|
11232
11232
|
};
|
|
@@ -11257,7 +11257,7 @@ Ri.DEFAULT_MITRE_LIMIT.get = function() {
|
|
|
11257
11257
|
Ri.DEFAULT_SIMPLIFY_FACTOR.get = function() {
|
|
11258
11258
|
return 0.01;
|
|
11259
11259
|
};
|
|
11260
|
-
Object.defineProperties(
|
|
11260
|
+
Object.defineProperties(Me, Ri);
|
|
11261
11261
|
var tt = function(e) {
|
|
11262
11262
|
this._distanceTol = null, this._isDeleted = null, this._angleOrientation = Y.COUNTERCLOCKWISE, this._inputLine = e || null;
|
|
11263
11263
|
}, Tu = { INIT: { configurable: !0 }, DELETE: { configurable: !0 }, KEEP: { configurable: !0 }, NUM_PTS_TO_CHECK: { configurable: !0 } };
|
|
@@ -11487,7 +11487,7 @@ Object.defineProperties(Pe, Xo);
|
|
|
11487
11487
|
var We = function n() {
|
|
11488
11488
|
this._maxCurveSegmentError = 0, this._filletAngleQuantum = null, this._closingSegLengthFactor = 1, this._segList = null, this._distance = 0, this._precisionModel = null, this._bufParams = null, this._li = null, this._s0 = null, this._s1 = null, this._s2 = null, this._seg0 = new se(), this._seg1 = new se(), this._offset0 = new se(), this._offset1 = new se(), this._side = 0, this._hasNarrowConcaveAngle = !1;
|
|
11489
11489
|
var e = arguments[0], t = arguments[1], r = arguments[2];
|
|
11490
|
-
this._precisionModel = e, this._bufParams = t, this._li = new Ys(), this._filletAngleQuantum = Math.PI / 2 / t.getQuadrantSegments(), t.getQuadrantSegments() >= 8 && t.getJoinStyle() ===
|
|
11490
|
+
this._precisionModel = e, this._bufParams = t, this._li = new Ys(), this._filletAngleQuantum = Math.PI / 2 / t.getQuadrantSegments(), t.getQuadrantSegments() >= 8 && t.getJoinStyle() === Me.JOIN_ROUND && (this._closingSegLengthFactor = n.MAX_CLOSING_SEG_LEN_FACTOR), this.init(r);
|
|
11491
11491
|
}, Nu = { OFFSET_SEGMENT_SEPARATION_FACTOR: { configurable: !0 }, INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR: { configurable: !0 }, CURVE_VERTEX_SNAP_DISTANCE_FACTOR: { configurable: !0 }, MAX_CLOSING_SEG_LEN_FACTOR: { configurable: !0 } };
|
|
11492
11492
|
We.prototype.addNextSegment = function(e, t) {
|
|
11493
11493
|
if (this._s0 = this._s1, this._s1 = this._s2, this._s2 = e, this._seg0.setCoordinates(this._s0, this._s1), this.computeOffsetSegment(this._seg0, this._side, this._distance, this._offset0), this._seg1.setCoordinates(this._s1, this._s2), this.computeOffsetSegment(this._seg1, this._side, this._distance, this._offset1), this._s1.equals(this._s2))
|
|
@@ -11502,13 +11502,13 @@ We.prototype.addLineEndCap = function(e, t) {
|
|
|
11502
11502
|
this.computeOffsetSegment(r, j.RIGHT, this._distance, s);
|
|
11503
11503
|
var o = t.x - e.x, a = t.y - e.y, l = Math.atan2(a, o);
|
|
11504
11504
|
switch (this._bufParams.getEndCapStyle()) {
|
|
11505
|
-
case
|
|
11505
|
+
case Me.CAP_ROUND:
|
|
11506
11506
|
this._segList.addPt(i.p1), this.addFilletArc(t, l + Math.PI / 2, l - Math.PI / 2, Y.CLOCKWISE, this._distance), this._segList.addPt(s.p1);
|
|
11507
11507
|
break;
|
|
11508
|
-
case
|
|
11508
|
+
case Me.CAP_FLAT:
|
|
11509
11509
|
this._segList.addPt(i.p1), this._segList.addPt(s.p1);
|
|
11510
11510
|
break;
|
|
11511
|
-
case
|
|
11511
|
+
case Me.CAP_SQUARE:
|
|
11512
11512
|
var u = new N();
|
|
11513
11513
|
u.x = Math.abs(this._distance) * Math.cos(l), u.y = Math.abs(this._distance) * Math.sin(l);
|
|
11514
11514
|
var c = new N(i.p1.x + u.x, i.p1.y + u.y), h = new N(s.p1.x + u.x, s.p1.y + u.y);
|
|
@@ -11542,7 +11542,7 @@ We.prototype.addFilletCorner = function(e, t, r, i, s) {
|
|
|
11542
11542
|
We.prototype.addOutsideTurn = function(e, t) {
|
|
11543
11543
|
if (this._offset0.p1.distance(this._offset1.p0) < this._distance * We.OFFSET_SEGMENT_SEPARATION_FACTOR)
|
|
11544
11544
|
return this._segList.addPt(this._offset0.p1), null;
|
|
11545
|
-
this._bufParams.getJoinStyle() ===
|
|
11545
|
+
this._bufParams.getJoinStyle() === Me.JOIN_MITRE ? this.addMitreJoin(this._s1, this._offset0, this._offset1, this._distance) : this._bufParams.getJoinStyle() === Me.JOIN_BEVEL ? this.addBevelJoin(this._offset0, this._offset1) : (t && this._segList.addPt(this._offset0.p1), this.addFilletCorner(this._s1, this._offset0.p1, this._offset1.p0, e, this._distance), this._segList.addPt(this._offset1.p0));
|
|
11546
11546
|
};
|
|
11547
11547
|
We.prototype.createSquare = function(e) {
|
|
11548
11548
|
this._segList.addPt(new N(e.x + this._distance, e.y + this._distance)), this._segList.addPt(new N(e.x + this._distance, e.y - this._distance)), this._segList.addPt(new N(e.x - this._distance, e.y - this._distance)), this._segList.addPt(new N(e.x - this._distance, e.y + this._distance)), this._segList.closeRing();
|
|
@@ -11560,7 +11560,7 @@ We.prototype.initSideSegments = function(e, t, r) {
|
|
|
11560
11560
|
this._s1 = e, this._s2 = t, this._side = r, this._seg1.setCoordinates(e, t), this.computeOffsetSegment(this._seg1, r, this._distance, this._offset1);
|
|
11561
11561
|
};
|
|
11562
11562
|
We.prototype.addLimitedMitreJoin = function(e, t, r, i) {
|
|
11563
|
-
var s = this._seg0.p1, o = Pe.angle(s, this._seg0.p0), a = Pe.angleBetweenOriented(this._seg0.p0, s, this._seg1.p1), l = a / 2, u = Pe.normalize(o + l), c = Pe.normalize(u + Math.PI), h = i * r, p = h * Math.abs(Math.sin(l)), m = r - p, _ = s.x + h * Math.cos(c), C = s.y + h * Math.sin(c), P = new N(_, C),
|
|
11563
|
+
var s = this._seg0.p1, o = Pe.angle(s, this._seg0.p0), a = Pe.angleBetweenOriented(this._seg0.p0, s, this._seg1.p1), l = a / 2, u = Pe.normalize(o + l), c = Pe.normalize(u + Math.PI), h = i * r, p = h * Math.abs(Math.sin(l)), m = r - p, _ = s.x + h * Math.cos(c), C = s.y + h * Math.sin(c), P = new N(_, C), M = new se(s, P), g = M.pointAlongOffset(1, m), y = M.pointAlongOffset(1, -m);
|
|
11564
11564
|
this._side === j.LEFT ? (this._segList.addPt(g), this._segList.addPt(y)) : (this._segList.addPt(y), this._segList.addPt(g));
|
|
11565
11565
|
};
|
|
11566
11566
|
We.prototype.computeOffsetSegment = function(e, t, r, i) {
|
|
@@ -11605,7 +11605,7 @@ We.prototype.init = function(e) {
|
|
|
11605
11605
|
We.prototype.addCollinear = function(e) {
|
|
11606
11606
|
this._li.computeIntersection(this._s0, this._s1, this._s1, this._s2);
|
|
11607
11607
|
var t = this._li.getIntersectionNum();
|
|
11608
|
-
t >= 2 && (this._bufParams.getJoinStyle() ===
|
|
11608
|
+
t >= 2 && (this._bufParams.getJoinStyle() === Me.JOIN_BEVEL || this._bufParams.getJoinStyle() === Me.JOIN_MITRE ? (e && this._segList.addPt(this._offset0.p1), this._segList.addPt(this._offset1.p0)) : this.addFilletCorner(this._s1, this._offset0.p1, this._offset1.p0, Y.CLOCKWISE, this._distance));
|
|
11609
11609
|
};
|
|
11610
11610
|
We.prototype.closeRing = function() {
|
|
11611
11611
|
this._segList.closeRing();
|
|
@@ -11687,10 +11687,10 @@ ir.prototype.computeLineBufferCurve = function(e, t) {
|
|
|
11687
11687
|
};
|
|
11688
11688
|
ir.prototype.computePointCurve = function(e, t) {
|
|
11689
11689
|
switch (this._bufParams.getEndCapStyle()) {
|
|
11690
|
-
case
|
|
11690
|
+
case Me.CAP_ROUND:
|
|
11691
11691
|
t.createCircle(e);
|
|
11692
11692
|
break;
|
|
11693
|
-
case
|
|
11693
|
+
case Me.CAP_SQUARE:
|
|
11694
11694
|
t.createSquare(e);
|
|
11695
11695
|
break;
|
|
11696
11696
|
}
|
|
@@ -11778,9 +11778,9 @@ To.prototype.findStabbedSegments = function() {
|
|
|
11778
11778
|
}
|
|
11779
11779
|
}
|
|
11780
11780
|
else if (he(arguments[2], nn) && arguments[0] instanceof N && he(arguments[1], nn))
|
|
11781
|
-
for (var C = arguments[0], P = arguments[1],
|
|
11781
|
+
for (var C = arguments[0], P = arguments[1], M = arguments[2], g = P.iterator(); g.hasNext(); ) {
|
|
11782
11782
|
var y = g.next();
|
|
11783
|
-
y.isForward() && e.findStabbedSegments(C, y,
|
|
11783
|
+
y.isForward() && e.findStabbedSegments(C, y, M);
|
|
11784
11784
|
}
|
|
11785
11785
|
}
|
|
11786
11786
|
};
|
|
@@ -12520,41 +12520,41 @@ Tr.prototype.getClass = function() {
|
|
|
12520
12520
|
Tr.isAdjacentSegments = function(e, t) {
|
|
12521
12521
|
return Math.abs(e - t) === 1;
|
|
12522
12522
|
};
|
|
12523
|
-
var
|
|
12523
|
+
var On = function() {
|
|
12524
12524
|
this.coord = null, this.segmentIndex = null, this.dist = null;
|
|
12525
12525
|
var e = arguments[0], t = arguments[1], r = arguments[2];
|
|
12526
12526
|
this.coord = new N(e), this.segmentIndex = t, this.dist = r;
|
|
12527
12527
|
};
|
|
12528
|
-
|
|
12528
|
+
On.prototype.getSegmentIndex = function() {
|
|
12529
12529
|
return this.segmentIndex;
|
|
12530
12530
|
};
|
|
12531
|
-
|
|
12531
|
+
On.prototype.getCoordinate = function() {
|
|
12532
12532
|
return this.coord;
|
|
12533
12533
|
};
|
|
12534
|
-
|
|
12534
|
+
On.prototype.print = function(e) {
|
|
12535
12535
|
e.print(this.coord), e.print(" seg # = " + this.segmentIndex), e.println(" dist = " + this.dist);
|
|
12536
12536
|
};
|
|
12537
|
-
|
|
12537
|
+
On.prototype.compareTo = function(e) {
|
|
12538
12538
|
var t = e;
|
|
12539
12539
|
return this.compare(t.segmentIndex, t.dist);
|
|
12540
12540
|
};
|
|
12541
|
-
|
|
12541
|
+
On.prototype.isEndPoint = function(e) {
|
|
12542
12542
|
return this.segmentIndex === 0 && this.dist === 0 || this.segmentIndex === e;
|
|
12543
12543
|
};
|
|
12544
|
-
|
|
12544
|
+
On.prototype.toString = function() {
|
|
12545
12545
|
return this.coord + " seg # = " + this.segmentIndex + " dist = " + this.dist;
|
|
12546
12546
|
};
|
|
12547
|
-
|
|
12547
|
+
On.prototype.getDistance = function() {
|
|
12548
12548
|
return this.dist;
|
|
12549
12549
|
};
|
|
12550
|
-
|
|
12550
|
+
On.prototype.compare = function(e, t) {
|
|
12551
12551
|
return this.segmentIndex < e ? -1 : this.segmentIndex > e ? 1 : this.dist < t ? -1 : this.dist > t ? 1 : 0;
|
|
12552
12552
|
};
|
|
12553
|
-
|
|
12553
|
+
On.prototype.interfaces_ = function() {
|
|
12554
12554
|
return [Jr];
|
|
12555
12555
|
};
|
|
12556
|
-
|
|
12557
|
-
return
|
|
12556
|
+
On.prototype.getClass = function() {
|
|
12557
|
+
return On;
|
|
12558
12558
|
};
|
|
12559
12559
|
var ni = function() {
|
|
12560
12560
|
this._nodeMap = new At(), this.edge = null;
|
|
@@ -12593,7 +12593,7 @@ ni.prototype.createSplitEdge = function(e, t) {
|
|
|
12593
12593
|
return o && (a[l] = t.coord), new ec(a, new Ae(this.edge._label));
|
|
12594
12594
|
};
|
|
12595
12595
|
ni.prototype.add = function(e, t, r) {
|
|
12596
|
-
var i = new
|
|
12596
|
+
var i = new On(e, t, r), s = this._nodeMap.get(i);
|
|
12597
12597
|
return s !== null ? s : (this._nodeMap.put(i, i), i);
|
|
12598
12598
|
};
|
|
12599
12599
|
ni.prototype.isIntersection = function(e) {
|
|
@@ -13058,9 +13058,9 @@ Ln.prototype.checkInteriorIntersections = function() {
|
|
|
13058
13058
|
var p = arguments[0], m = arguments[1], _ = arguments[2], C = arguments[3];
|
|
13059
13059
|
if (p === _ && m === C)
|
|
13060
13060
|
return null;
|
|
13061
|
-
var P = p.getCoordinates()[m],
|
|
13062
|
-
if (this._li.computeIntersection(P,
|
|
13063
|
-
throw new Pi("found non-noded intersection at " + P + "-" +
|
|
13061
|
+
var P = p.getCoordinates()[m], M = p.getCoordinates()[m + 1], g = _.getCoordinates()[C], y = _.getCoordinates()[C + 1];
|
|
13062
|
+
if (this._li.computeIntersection(P, M, g, y), this._li.hasIntersection() && (this._li.isProper() || this.hasInteriorIntersection(this._li, P, M) || this.hasInteriorIntersection(this._li, g, y)))
|
|
13063
|
+
throw new Pi("found non-noded intersection at " + P + "-" + M + " and " + g + "-" + y);
|
|
13064
13064
|
}
|
|
13065
13065
|
};
|
|
13066
13066
|
Ln.prototype.checkValid = function() {
|
|
@@ -13312,7 +13312,7 @@ ii.prototype.getClass = function() {
|
|
|
13312
13312
|
return ii;
|
|
13313
13313
|
};
|
|
13314
13314
|
var Pt = function() {
|
|
13315
|
-
if (this._argGeom = null, this._distance = null, this._bufParams = new
|
|
13315
|
+
if (this._argGeom = null, this._distance = null, this._bufParams = new Me(), this._resultGeometry = null, this._saveException = null, arguments.length === 1) {
|
|
13316
13316
|
var e = arguments[0];
|
|
13317
13317
|
this._argGeom = e;
|
|
13318
13318
|
} else if (arguments.length === 2) {
|
|
@@ -13321,7 +13321,7 @@ var Pt = function() {
|
|
|
13321
13321
|
}
|
|
13322
13322
|
}, Xl = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
|
|
13323
13323
|
Pt.prototype.bufferFixedPrecision = function(e) {
|
|
13324
|
-
var t = new ss(new ii(new
|
|
13324
|
+
var t = new ss(new ii(new Oe(1)), e.getScale()), r = new Ut(this._bufParams);
|
|
13325
13325
|
r.setWorkingPrecisionModel(e), r.setNoder(t), this._resultGeometry = r.buffer(this._argGeom, this._distance);
|
|
13326
13326
|
};
|
|
13327
13327
|
Pt.prototype.bufferReducedPrecision = function() {
|
|
@@ -13342,7 +13342,7 @@ Pt.prototype.bufferReducedPrecision = function() {
|
|
|
13342
13342
|
}
|
|
13343
13343
|
throw this._saveException;
|
|
13344
13344
|
} else if (arguments.length === 1) {
|
|
13345
|
-
var r = arguments[0], i = Pt.precisionScaleFactor(this._argGeom, this._distance, r), s = new
|
|
13345
|
+
var r = arguments[0], i = Pt.precisionScaleFactor(this._argGeom, this._distance, r), s = new Oe(i);
|
|
13346
13346
|
this.bufferFixedPrecision(s);
|
|
13347
13347
|
}
|
|
13348
13348
|
};
|
|
@@ -13350,7 +13350,7 @@ Pt.prototype.computeGeometry = function() {
|
|
|
13350
13350
|
if (this.bufferOriginalPrecision(), this._resultGeometry !== null)
|
|
13351
13351
|
return null;
|
|
13352
13352
|
var e = this._argGeom.getFactory().getPrecisionModel();
|
|
13353
|
-
e.getType() ===
|
|
13353
|
+
e.getType() === Oe.FIXED ? this.bufferFixedPrecision(e) : this.bufferReducedPrecision();
|
|
13354
13354
|
};
|
|
13355
13355
|
Pt.prototype.setQuadrantSegments = function(e) {
|
|
13356
13356
|
this._bufParams.setQuadrantSegments(e);
|
|
@@ -13384,18 +13384,18 @@ Pt.bufferOp = function() {
|
|
|
13384
13384
|
var e = arguments[0], t = arguments[1], r = new Pt(e), i = r.getResultGeometry(t);
|
|
13385
13385
|
return i;
|
|
13386
13386
|
} else if (arguments.length === 3) {
|
|
13387
|
-
if (Number.isInteger(arguments[2]) && arguments[0] instanceof
|
|
13387
|
+
if (Number.isInteger(arguments[2]) && arguments[0] instanceof ue && typeof arguments[1] == "number") {
|
|
13388
13388
|
var s = arguments[0], o = arguments[1], a = arguments[2], l = new Pt(s);
|
|
13389
13389
|
l.setQuadrantSegments(a);
|
|
13390
13390
|
var u = l.getResultGeometry(o);
|
|
13391
13391
|
return u;
|
|
13392
|
-
} else if (arguments[2] instanceof
|
|
13392
|
+
} else if (arguments[2] instanceof Me && arguments[0] instanceof ue && typeof arguments[1] == "number") {
|
|
13393
13393
|
var c = arguments[0], h = arguments[1], p = arguments[2], m = new Pt(c, p), _ = m.getResultGeometry(h);
|
|
13394
13394
|
return _;
|
|
13395
13395
|
}
|
|
13396
13396
|
} else if (arguments.length === 4) {
|
|
13397
|
-
var C = arguments[0], P = arguments[1],
|
|
13398
|
-
y.setQuadrantSegments(
|
|
13397
|
+
var C = arguments[0], P = arguments[1], M = arguments[2], g = arguments[3], y = new Pt(C);
|
|
13398
|
+
y.setQuadrantSegments(M), y.setEndCapStyle(g);
|
|
13399
13399
|
var d = y.getResultGeometry(P);
|
|
13400
13400
|
return d;
|
|
13401
13401
|
}
|
|
@@ -13405,16 +13405,16 @@ Pt.precisionScaleFactor = function(e, t, r) {
|
|
|
13405
13405
|
return c;
|
|
13406
13406
|
};
|
|
13407
13407
|
Xl.CAP_ROUND.get = function() {
|
|
13408
|
-
return
|
|
13408
|
+
return Me.CAP_ROUND;
|
|
13409
13409
|
};
|
|
13410
13410
|
Xl.CAP_BUTT.get = function() {
|
|
13411
|
-
return
|
|
13411
|
+
return Me.CAP_FLAT;
|
|
13412
13412
|
};
|
|
13413
13413
|
Xl.CAP_FLAT.get = function() {
|
|
13414
|
-
return
|
|
13414
|
+
return Me.CAP_FLAT;
|
|
13415
13415
|
};
|
|
13416
13416
|
Xl.CAP_SQUARE.get = function() {
|
|
13417
|
-
return
|
|
13417
|
+
return Me.CAP_SQUARE;
|
|
13418
13418
|
};
|
|
13419
13419
|
Xl.MAX_PRECISION_DIGITS.get = function() {
|
|
13420
13420
|
return 12;
|
|
@@ -13493,7 +13493,7 @@ qn.computeDistance = function() {
|
|
|
13493
13493
|
qn.computeDistance(l.getExteriorRing(), u, c);
|
|
13494
13494
|
for (var h = 0; h < l.getNumInteriorRing(); h++)
|
|
13495
13495
|
qn.computeDistance(l.getInteriorRingN(h), u, c);
|
|
13496
|
-
} else if (arguments[2] instanceof zt && arguments[0] instanceof
|
|
13496
|
+
} else if (arguments[2] instanceof zt && arguments[0] instanceof ue && arguments[1] instanceof N) {
|
|
13497
13497
|
var p = arguments[0], m = arguments[1], _ = arguments[2];
|
|
13498
13498
|
if (p instanceof $e)
|
|
13499
13499
|
qn.computeDistance(p, m, _);
|
|
@@ -13501,8 +13501,8 @@ qn.computeDistance = function() {
|
|
|
13501
13501
|
qn.computeDistance(p, m, _);
|
|
13502
13502
|
else if (p instanceof Wt)
|
|
13503
13503
|
for (var C = p, P = 0; P < C.getNumGeometries(); P++) {
|
|
13504
|
-
var
|
|
13505
|
-
qn.computeDistance(
|
|
13504
|
+
var M = C.getGeometryN(P);
|
|
13505
|
+
qn.computeDistance(M, m, _);
|
|
13506
13506
|
}
|
|
13507
13507
|
else
|
|
13508
13508
|
_.setMinimum(p.getCoordinate(), m);
|
|
@@ -13646,10 +13646,10 @@ Ct.getLines = function() {
|
|
|
13646
13646
|
Ct.getLines(s, r);
|
|
13647
13647
|
}
|
|
13648
13648
|
return r;
|
|
13649
|
-
} else if (arguments[0] instanceof
|
|
13649
|
+
} else if (arguments[0] instanceof ue && typeof arguments[1] == "boolean") {
|
|
13650
13650
|
var o = arguments[0], a = arguments[1], l = new G();
|
|
13651
13651
|
return o.apply(new Ct(l, a)), l;
|
|
13652
|
-
} else if (arguments[0] instanceof
|
|
13652
|
+
} else if (arguments[0] instanceof ue && he(arguments[1], ht)) {
|
|
13653
13653
|
var u = arguments[0], c = arguments[1];
|
|
13654
13654
|
return u instanceof $e ? c.add(u) : u.apply(new Ct(c)), c;
|
|
13655
13655
|
}
|
|
@@ -13660,9 +13660,9 @@ Ct.getLines = function() {
|
|
|
13660
13660
|
Ct.getLines(C, p, m);
|
|
13661
13661
|
}
|
|
13662
13662
|
return p;
|
|
13663
|
-
} else if (typeof arguments[2] == "boolean" && arguments[0] instanceof
|
|
13664
|
-
var P = arguments[0],
|
|
13665
|
-
return P.apply(new Ct(
|
|
13663
|
+
} else if (typeof arguments[2] == "boolean" && arguments[0] instanceof ue && he(arguments[1], ht)) {
|
|
13664
|
+
var P = arguments[0], M = arguments[1], g = arguments[2];
|
|
13665
|
+
return P.apply(new Ct(M, g)), M;
|
|
13666
13666
|
}
|
|
13667
13667
|
}
|
|
13668
13668
|
};
|
|
@@ -13798,23 +13798,23 @@ Zi.getPoints = function() {
|
|
|
13798
13798
|
return t instanceof hr ? r.add(t) : t instanceof Wt && t.apply(new Zi(r)), r;
|
|
13799
13799
|
}
|
|
13800
13800
|
};
|
|
13801
|
-
var
|
|
13801
|
+
var Mo = function() {
|
|
13802
13802
|
this._locations = null;
|
|
13803
13803
|
var e = arguments[0];
|
|
13804
13804
|
this._locations = e;
|
|
13805
13805
|
};
|
|
13806
|
-
|
|
13806
|
+
Mo.prototype.filter = function(e) {
|
|
13807
13807
|
(e instanceof hr || e instanceof $e || e instanceof gt) && this._locations.add(new Bt(e, 0, e.getCoordinate()));
|
|
13808
13808
|
};
|
|
13809
|
-
|
|
13809
|
+
Mo.prototype.interfaces_ = function() {
|
|
13810
13810
|
return [Tn];
|
|
13811
13811
|
};
|
|
13812
|
-
|
|
13813
|
-
return
|
|
13812
|
+
Mo.prototype.getClass = function() {
|
|
13813
|
+
return Mo;
|
|
13814
13814
|
};
|
|
13815
|
-
|
|
13815
|
+
Mo.getLocations = function(e) {
|
|
13816
13816
|
var t = new G();
|
|
13817
|
-
return e.apply(new
|
|
13817
|
+
return e.apply(new Mo(t)), t;
|
|
13818
13818
|
};
|
|
13819
13819
|
var xt = function() {
|
|
13820
13820
|
if (this._geom = null, this._terminateDistance = 0, this._ptLocator = new hn(), this._minDistanceLocation = null, this._minDistance = pe.MAX_VALUE, arguments.length === 2) {
|
|
@@ -13835,7 +13835,7 @@ xt.prototype.computeContainmentDistance = function() {
|
|
|
13835
13835
|
} else if (arguments.length === 2) {
|
|
13836
13836
|
var r = arguments[0], i = arguments[1], s = 1 - r, o = Si.getPolygons(this._geom[r]);
|
|
13837
13837
|
if (o.size() > 0) {
|
|
13838
|
-
var a =
|
|
13838
|
+
var a = Mo.getLocations(this._geom[s]);
|
|
13839
13839
|
if (this.computeContainmentDistance(a, o, i), this._minDistance <= this._terminateDistance)
|
|
13840
13840
|
return this._minDistanceLocation[s] = i[0], this._minDistanceLocation[r] = i[1], null;
|
|
13841
13841
|
}
|
|
@@ -13846,9 +13846,9 @@ xt.prototype.computeContainmentDistance = function() {
|
|
|
13846
13846
|
if (e.computeContainmentDistance(p, u.get(m), c), e._minDistance <= e._terminateDistance)
|
|
13847
13847
|
return null;
|
|
13848
13848
|
} else if (arguments[2] instanceof Array && arguments[0] instanceof Bt && arguments[1] instanceof gt) {
|
|
13849
|
-
var _ = arguments[0], C = arguments[1], P = arguments[2],
|
|
13850
|
-
if (L.EXTERIOR !== this._ptLocator.locate(
|
|
13851
|
-
return this._minDistance = 0, P[0] = _, P[1] = new Bt(C,
|
|
13849
|
+
var _ = arguments[0], C = arguments[1], P = arguments[2], M = _.getCoordinate();
|
|
13850
|
+
if (L.EXTERIOR !== this._ptLocator.locate(M, C))
|
|
13851
|
+
return this._minDistance = 0, P[0] = _, P[1] = new Bt(C, M), null;
|
|
13852
13852
|
}
|
|
13853
13853
|
}
|
|
13854
13854
|
};
|
|
@@ -13905,12 +13905,12 @@ xt.prototype.computeMinDistance = function() {
|
|
|
13905
13905
|
if (h.getEnvelopeInternal().distance(p.getEnvelopeInternal()) > this._minDistance)
|
|
13906
13906
|
return null;
|
|
13907
13907
|
for (var _ = h.getCoordinates(), C = p.getCoordinates(), P = 0; P < _.length - 1; P++)
|
|
13908
|
-
for (var
|
|
13909
|
-
var g = Y.distanceLineLine(_[P], _[P + 1], C[
|
|
13908
|
+
for (var M = 0; M < C.length - 1; M++) {
|
|
13909
|
+
var g = Y.distanceLineLine(_[P], _[P + 1], C[M], C[M + 1]);
|
|
13910
13910
|
if (g < e._minDistance) {
|
|
13911
13911
|
e._minDistance = g;
|
|
13912
|
-
var y = new se(_[P], _[P + 1]), d = new se(C[
|
|
13913
|
-
m[0] = new Bt(h, P, v[0]), m[1] = new Bt(p,
|
|
13912
|
+
var y = new se(_[P], _[P + 1]), d = new se(C[M], C[M + 1]), v = y.closestPoints(d);
|
|
13913
|
+
m[0] = new Bt(h, P, v[0]), m[1] = new Bt(p, M, v[1]);
|
|
13914
13914
|
}
|
|
13915
13915
|
if (e._minDistance <= e._terminateDistance)
|
|
13916
13916
|
return null;
|
|
@@ -14033,7 +14033,7 @@ Cn.computeDistance = function() {
|
|
|
14033
14033
|
Cn.computeDistance(l.getExteriorRing(), u, c);
|
|
14034
14034
|
for (var h = 0; h < l.getNumInteriorRing(); h++)
|
|
14035
14035
|
Cn.computeDistance(l.getInteriorRingN(h), u, c);
|
|
14036
|
-
} else if (arguments[2] instanceof Lt && arguments[0] instanceof
|
|
14036
|
+
} else if (arguments[2] instanceof Lt && arguments[0] instanceof ue && arguments[1] instanceof N) {
|
|
14037
14037
|
var p = arguments[0], m = arguments[1], _ = arguments[2];
|
|
14038
14038
|
if (p instanceof $e)
|
|
14039
14039
|
Cn.computeDistance(p, m, _);
|
|
@@ -14041,8 +14041,8 @@ Cn.computeDistance = function() {
|
|
|
14041
14041
|
Cn.computeDistance(p, m, _);
|
|
14042
14042
|
else if (p instanceof Wt)
|
|
14043
14043
|
for (var C = p, P = 0; P < C.getNumGeometries(); P++) {
|
|
14044
|
-
var
|
|
14045
|
-
Cn.computeDistance(
|
|
14044
|
+
var M = C.getGeometryN(P);
|
|
14045
|
+
Cn.computeDistance(M, m, _);
|
|
14046
14046
|
}
|
|
14047
14047
|
else
|
|
14048
14048
|
_.setMinimum(p.getCoordinate(), m);
|
|
@@ -14055,7 +14055,7 @@ var Wr = function() {
|
|
|
14055
14055
|
this._g0 = null, this._g1 = null, this._ptDist = new Lt(), this._densifyFrac = 0;
|
|
14056
14056
|
var e = arguments[0], t = arguments[1];
|
|
14057
14057
|
this._g0 = e, this._g1 = t;
|
|
14058
|
-
},
|
|
14058
|
+
}, Mh = { MaxPointDistanceFilter: { configurable: !0 }, MaxDensifiedByFractionDistanceFilter: { configurable: !0 } };
|
|
14059
14059
|
Wr.prototype.getCoordinates = function() {
|
|
14060
14060
|
return this._ptDist.getCoordinates();
|
|
14061
14061
|
};
|
|
@@ -14071,7 +14071,7 @@ Wr.prototype.distance = function() {
|
|
|
14071
14071
|
return this.compute(this._g0, this._g1), this._ptDist.getDistance();
|
|
14072
14072
|
};
|
|
14073
14073
|
Wr.prototype.computeOrientedDistance = function(e, t, r) {
|
|
14074
|
-
var i = new
|
|
14074
|
+
var i = new Oo(t);
|
|
14075
14075
|
if (e.apply(i), r.setMaximum(i.getMaxPointDistance()), this._densifyFrac > 0) {
|
|
14076
14076
|
var s = new as(t, this._densifyFrac);
|
|
14077
14077
|
e.apply(s), r.setMaximum(s.getMaxPointDistance());
|
|
@@ -14095,29 +14095,29 @@ Wr.distance = function() {
|
|
|
14095
14095
|
return a.setDensifyFraction(o), a.distance();
|
|
14096
14096
|
}
|
|
14097
14097
|
};
|
|
14098
|
-
|
|
14099
|
-
return
|
|
14098
|
+
Mh.MaxPointDistanceFilter.get = function() {
|
|
14099
|
+
return Oo;
|
|
14100
14100
|
};
|
|
14101
|
-
|
|
14101
|
+
Mh.MaxDensifiedByFractionDistanceFilter.get = function() {
|
|
14102
14102
|
return as;
|
|
14103
14103
|
};
|
|
14104
|
-
Object.defineProperties(Wr,
|
|
14105
|
-
var
|
|
14104
|
+
Object.defineProperties(Wr, Mh);
|
|
14105
|
+
var Oo = function() {
|
|
14106
14106
|
this._maxPtDist = new Lt(), this._minPtDist = new Lt(), this._euclideanDist = new Cn(), this._geom = null;
|
|
14107
14107
|
var e = arguments[0];
|
|
14108
14108
|
this._geom = e;
|
|
14109
14109
|
};
|
|
14110
|
-
|
|
14110
|
+
Oo.prototype.filter = function(e) {
|
|
14111
14111
|
this._minPtDist.initialize(), Cn.computeDistance(this._geom, e, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
|
|
14112
14112
|
};
|
|
14113
|
-
|
|
14113
|
+
Oo.prototype.getMaxPointDistance = function() {
|
|
14114
14114
|
return this._maxPtDist;
|
|
14115
14115
|
};
|
|
14116
|
-
|
|
14116
|
+
Oo.prototype.interfaces_ = function() {
|
|
14117
14117
|
return [$n];
|
|
14118
14118
|
};
|
|
14119
|
-
|
|
14120
|
-
return
|
|
14119
|
+
Oo.prototype.getClass = function() {
|
|
14120
|
+
return Oo;
|
|
14121
14121
|
};
|
|
14122
14122
|
var as = function() {
|
|
14123
14123
|
this._maxPtDist = new Lt(), this._minPtDist = new Lt(), this._geom = null, this._numSubSegs = 0;
|
|
@@ -14150,7 +14150,7 @@ as.prototype.getClass = function() {
|
|
|
14150
14150
|
};
|
|
14151
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
|
+
}, Oh = { 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) {
|
|
@@ -14207,13 +14207,13 @@ cr.prototype.interfaces_ = function() {
|
|
|
14207
14207
|
cr.prototype.getClass = function() {
|
|
14208
14208
|
return cr;
|
|
14209
14209
|
};
|
|
14210
|
-
|
|
14210
|
+
Oh.VERBOSE.get = function() {
|
|
14211
14211
|
return !1;
|
|
14212
14212
|
};
|
|
14213
|
-
|
|
14213
|
+
Oh.MAX_DISTANCE_DIFF_FRAC.get = function() {
|
|
14214
14214
|
return 0.012;
|
|
14215
14215
|
};
|
|
14216
|
-
Object.defineProperties(cr,
|
|
14216
|
+
Object.defineProperties(cr, Oh);
|
|
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 } };
|
|
@@ -14758,7 +14758,7 @@ nt.snap = function(e, t, r) {
|
|
|
14758
14758
|
nt.computeOverlaySnapTolerance = function() {
|
|
14759
14759
|
if (arguments.length === 1) {
|
|
14760
14760
|
var e = arguments[0], t = nt.computeSizeBasedSnapTolerance(e), r = e.getPrecisionModel();
|
|
14761
|
-
if (r.getType() ===
|
|
14761
|
+
if (r.getType() === Oe.FIXED) {
|
|
14762
14762
|
var i = 1 / r.getScale() * 2 / 1.415;
|
|
14763
14763
|
i > t && (t = i);
|
|
14764
14764
|
}
|
|
@@ -15577,22 +15577,22 @@ Ea.prototype.interfaces_ = function() {
|
|
|
15577
15577
|
Ea.prototype.getClass = function() {
|
|
15578
15578
|
return Ea;
|
|
15579
15579
|
};
|
|
15580
|
-
var
|
|
15580
|
+
var Ms = function() {
|
|
15581
15581
|
};
|
|
15582
|
-
|
|
15582
|
+
Ms.prototype.interfaces_ = function() {
|
|
15583
15583
|
return [];
|
|
15584
15584
|
};
|
|
15585
|
-
|
|
15586
|
-
return
|
|
15585
|
+
Ms.prototype.getClass = function() {
|
|
15586
|
+
return Ms;
|
|
15587
15587
|
};
|
|
15588
|
-
|
|
15589
|
-
if (arguments[0] instanceof
|
|
15588
|
+
Ms.map = function() {
|
|
15589
|
+
if (arguments[0] instanceof ue && he(arguments[1], Ms.MapOp)) {
|
|
15590
15590
|
for (var e = arguments[0], t = arguments[1], r = new G(), i = 0; i < e.getNumGeometries(); i++) {
|
|
15591
15591
|
var s = t.map(e.getGeometryN(i));
|
|
15592
15592
|
s !== null && r.add(s);
|
|
15593
15593
|
}
|
|
15594
15594
|
return e.getFactory().buildGeometry(r);
|
|
15595
|
-
} else if (he(arguments[0], ht) && he(arguments[1],
|
|
15595
|
+
} else if (he(arguments[0], ht) && he(arguments[1], Ms.MapOp)) {
|
|
15596
15596
|
for (var o = arguments[0], a = arguments[1], l = new G(), u = o.iterator(); u.hasNext(); ) {
|
|
15597
15597
|
var c = u.next(), h = a.map(c);
|
|
15598
15598
|
h !== null && l.add(h);
|
|
@@ -15600,7 +15600,7 @@ Os.map = function() {
|
|
|
15600
15600
|
return l;
|
|
15601
15601
|
}
|
|
15602
15602
|
};
|
|
15603
|
-
|
|
15603
|
+
Ms.MapOp = function() {
|
|
15604
15604
|
};
|
|
15605
15605
|
var me = function(n) {
|
|
15606
15606
|
function e() {
|
|
@@ -15720,7 +15720,7 @@ me.intersection = function(n, e) {
|
|
|
15720
15720
|
var t = e;
|
|
15721
15721
|
return Lo.map(n, {
|
|
15722
15722
|
interfaces_: function() {
|
|
15723
|
-
return [
|
|
15723
|
+
return [Ms.MapOp];
|
|
15724
15724
|
},
|
|
15725
15725
|
map: function(r) {
|
|
15726
15726
|
return r.intersection(t);
|
|
@@ -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, nn) ? o = t.unionTree(s) : s instanceof
|
|
16010
|
+
he(s, nn) ? o = t.unionTree(s) : s instanceof ue && (o = s), r.add(o);
|
|
16011
16011
|
}
|
|
16012
16012
|
return r;
|
|
16013
16013
|
};
|
|
@@ -16365,13 +16365,13 @@ function ud(n, e, t, r, i) {
|
|
|
16365
16365
|
var s = [], o = [], a, l;
|
|
16366
16366
|
if (n.forEach(function(_) {
|
|
16367
16367
|
if (!((C = _.length - 1) <= 0)) {
|
|
16368
|
-
var C, P = _[0],
|
|
16369
|
-
if (Xu(P,
|
|
16368
|
+
var C, P = _[0], M = _[C], g;
|
|
16369
|
+
if (Xu(P, M)) {
|
|
16370
16370
|
for (i.lineStart(), a = 0; a < C; ++a) i.point((P = _[a])[0], P[1]);
|
|
16371
16371
|
i.lineEnd();
|
|
16372
16372
|
return;
|
|
16373
16373
|
}
|
|
16374
|
-
s.push(g = new ku(P, _, null, !0)), o.push(g.o = new ku(P, null, g, !1)), s.push(g = new ku(
|
|
16374
|
+
s.push(g = new ku(P, _, null, !0)), o.push(g.o = new ku(P, null, g, !1)), s.push(g = new ku(M, _, null, !1)), o.push(g.o = new ku(M, null, g, !0));
|
|
16375
16375
|
}
|
|
16376
16376
|
}), !!s.length) {
|
|
16377
16377
|
for (o.sort(e), Tf(s), Tf(o), a = 0, l = o.length; a < l; ++a)
|
|
@@ -16465,10 +16465,10 @@ function Qm(n, e, t, r) {
|
|
|
16465
16465
|
return h !== p ? h - p : h === 0 ? c[1] - u[1] : h === 1 ? u[0] - c[0] : h === 2 ? u[1] - c[1] : c[0] - u[0];
|
|
16466
16466
|
}
|
|
16467
16467
|
return function(u) {
|
|
16468
|
-
var c = u, h = ld(), p, m, _, C, P,
|
|
16468
|
+
var c = u, h = ld(), p, m, _, C, P, M, g, y, d, v, w, S = {
|
|
16469
16469
|
point: I,
|
|
16470
16470
|
lineStart: T,
|
|
16471
|
-
lineEnd:
|
|
16471
|
+
lineEnd: O,
|
|
16472
16472
|
polygonStart: D,
|
|
16473
16473
|
polygonEnd: b
|
|
16474
16474
|
};
|
|
@@ -16491,13 +16491,13 @@ function Qm(n, e, t, r) {
|
|
|
16491
16491
|
function T() {
|
|
16492
16492
|
S.point = A, m && m.push(_ = []), v = !0, d = !1, g = y = NaN;
|
|
16493
16493
|
}
|
|
16494
|
-
function
|
|
16495
|
-
p && (A(C, P),
|
|
16494
|
+
function O() {
|
|
16495
|
+
p && (A(C, P), M && d && h.rejoin(), p.push(h.result())), S.point = I, d && c.lineEnd();
|
|
16496
16496
|
}
|
|
16497
16497
|
function A($, q) {
|
|
16498
16498
|
var ie = i($, q);
|
|
16499
16499
|
if (m && _.push([$, q]), v)
|
|
16500
|
-
C = $, P = q,
|
|
16500
|
+
C = $, P = q, M = ie, v = !1, ie && (c.lineStart(), c.point($, q));
|
|
16501
16501
|
else if (ie && d) c.point($, q);
|
|
16502
16502
|
else {
|
|
16503
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))];
|
|
@@ -16514,15 +16514,15 @@ function $m(n, e) {
|
|
|
16514
16514
|
Bc.reset();
|
|
16515
16515
|
for (var a = 0, l = n.length; a < l; ++a)
|
|
16516
16516
|
if (c = (u = n[a]).length)
|
|
16517
|
-
for (var u, c, h = u[c - 1], p = h[0], m = h[1] / 2 + wf, _ = pt(m), C = ft(m), P = 0; P < c; ++P, p = g, _ = d, C = v, h =
|
|
16518
|
-
var
|
|
16517
|
+
for (var u, c, h = u[c - 1], p = h[0], m = h[1] / 2 + wf, _ = pt(m), C = ft(m), P = 0; P < c; ++P, p = g, _ = d, C = v, h = M) {
|
|
16518
|
+
var M = u[P], g = M[0], y = M[1] / 2 + wf, d = pt(y), v = ft(y), w = g - p, S = w >= 0 ? 1 : -1, I = S * w, x = I > Ve, D = _ * d;
|
|
16519
16519
|
if (Bc.add(Ca(D * S * pt(I), C * v + D * ft(I))), s += x ? w + S * Ni : w, x ^ p >= t ^ g >= t) {
|
|
16520
|
-
var b = sc(Pa(h), Pa(
|
|
16520
|
+
var b = sc(Pa(h), Pa(M));
|
|
16521
16521
|
$c(b);
|
|
16522
16522
|
var T = sc(i, b);
|
|
16523
16523
|
$c(T);
|
|
16524
|
-
var
|
|
16525
|
-
(r >
|
|
16524
|
+
var O = (x ^ w >= 0 ? -1 : 1) * Fo(T[2]);
|
|
16525
|
+
(r > O || r === O && (b[0] || b[1])) && (o += x ^ w >= 0 ? 1 : -1);
|
|
16526
16526
|
}
|
|
16527
16527
|
}
|
|
16528
16528
|
return (s < -1e-6 || s < ot && Bc < -1e-6) ^ o & 1;
|
|
@@ -16552,13 +16552,13 @@ function fd(n, e, t, r) {
|
|
|
16552
16552
|
return function(i, s) {
|
|
16553
16553
|
var o = e(s), a = i.invert(r[0], r[1]), l = ld(), u = e(l), c = !1, h, p, m, _ = {
|
|
16554
16554
|
point: C,
|
|
16555
|
-
lineStart:
|
|
16555
|
+
lineStart: M,
|
|
16556
16556
|
lineEnd: g,
|
|
16557
16557
|
polygonStart: function() {
|
|
16558
16558
|
_.point = y, _.lineStart = d, _.lineEnd = v, p = [], h = [];
|
|
16559
16559
|
},
|
|
16560
16560
|
polygonEnd: function() {
|
|
16561
|
-
_.point = C, _.lineStart =
|
|
16561
|
+
_.point = C, _.lineStart = M, _.lineEnd = g, p = hd(p);
|
|
16562
16562
|
var w = $m(h, a);
|
|
16563
16563
|
p.length ? (c || (s.polygonStart(), c = !0), ud(p, rv, w, t, s)) : w && (c || (s.polygonStart(), c = !0), s.lineStart(), t(null, null, 1, s), s.lineEnd()), c && (s.polygonEnd(), c = !1), p = h = null;
|
|
16564
16564
|
},
|
|
@@ -16574,7 +16574,7 @@ function fd(n, e, t, r) {
|
|
|
16574
16574
|
var I = i(w, S);
|
|
16575
16575
|
o.point(I[0], I[1]);
|
|
16576
16576
|
}
|
|
16577
|
-
function
|
|
16577
|
+
function M() {
|
|
16578
16578
|
_.point = P, o.lineStart();
|
|
16579
16579
|
}
|
|
16580
16580
|
function g() {
|
|
@@ -16611,7 +16611,7 @@ function tv(n) {
|
|
|
16611
16611
|
function rv(n, e) {
|
|
16612
16612
|
return ((n = n.x)[0] < 0 ? n[1] - Ei - ot : Ei - n[1]) - ((e = e.x)[0] < 0 ? e[1] - Ei - ot : Ei - e[1]);
|
|
16613
16613
|
}
|
|
16614
|
-
const
|
|
16614
|
+
const Mf = fd(
|
|
16615
16615
|
function() {
|
|
16616
16616
|
return !0;
|
|
16617
16617
|
},
|
|
@@ -16665,8 +16665,8 @@ function ov(n, e) {
|
|
|
16665
16665
|
lineStart: function() {
|
|
16666
16666
|
_ = m = !1, C = 1;
|
|
16667
16667
|
},
|
|
16668
|
-
point: function(P,
|
|
16669
|
-
var g = [P,
|
|
16668
|
+
point: function(P, M) {
|
|
16669
|
+
var g = [P, M], y, d = o(P, M), v = r ? d ? 0 : u(P, M) : d ? u(P + (P < 0 ? Ve : -Ve), M) : 0;
|
|
16670
16670
|
if (!h && (_ = m = d) && c.lineStart(), d !== m && (y = l(h, g), (!y || Xu(h, y) || Xu(g, y)) && (g[0] += ot, g[1] += ot, d = o(g[0], g[1]))), d !== m)
|
|
16671
16671
|
C = 0, d ? (c.lineStart(), y = l(g, h), c.point(y[0], y[1])) : (y = l(h, g), c.point(y[0], y[1]), c.lineEnd()), h = y;
|
|
16672
16672
|
else if (i && h && r ^ d) {
|
|
@@ -16686,19 +16686,19 @@ function ov(n, e) {
|
|
|
16686
16686
|
};
|
|
16687
16687
|
}
|
|
16688
16688
|
function l(c, h, p) {
|
|
16689
|
-
var m = Pa(c), _ = Pa(h), C = [1, 0, 0], P = sc(m, _),
|
|
16689
|
+
var m = Pa(c), _ = Pa(h), C = [1, 0, 0], P = sc(m, _), M = Au(P, P), g = P[0], y = M - g * g;
|
|
16690
16690
|
if (!y) return !p && c;
|
|
16691
|
-
var d = t *
|
|
16691
|
+
var d = t * M / y, v = -t * g / y, w = sc(C, P), S = Fu(C, d), I = Fu(P, v);
|
|
16692
16692
|
zc(S, I);
|
|
16693
16693
|
var x = w, D = Au(S, x), b = Au(x, x), T = D * D - b * (Au(S, S) - 1);
|
|
16694
16694
|
if (!(T < 0)) {
|
|
16695
|
-
var
|
|
16695
|
+
var O = Yl(T), A = Fu(x, (-D - O) / b);
|
|
16696
16696
|
if (zc(A, S), A = Qc(A), !p) return A;
|
|
16697
16697
|
var $ = c[0], q = h[0], ie = c[1], fe = h[1], ye;
|
|
16698
16698
|
q < $ && (ye = $, $ = q, q = ye);
|
|
16699
16699
|
var H = q - $, ee = jt(H - Ve) < ot, te = ee || H < ot;
|
|
16700
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
|
-
var Se = Fu(x, (-D +
|
|
16701
|
+
var Se = Fu(x, (-D + O) / b);
|
|
16702
16702
|
return zc(Se, S), [A, Qc(Se)];
|
|
16703
16703
|
}
|
|
16704
16704
|
}
|
|
@@ -16748,7 +16748,7 @@ function dd(n, e, t) {
|
|
|
16748
16748
|
function av(n, e, t) {
|
|
16749
16749
|
return dd(n, [[0, 0], e], t);
|
|
16750
16750
|
}
|
|
16751
|
-
var
|
|
16751
|
+
var Of = 16, lv = ft(30 * wn);
|
|
16752
16752
|
function Lf(n, e) {
|
|
16753
16753
|
return +e ? cv(n, e) : uv(n);
|
|
16754
16754
|
}
|
|
@@ -16761,15 +16761,15 @@ function uv(n) {
|
|
|
16761
16761
|
}
|
|
16762
16762
|
function cv(n, e) {
|
|
16763
16763
|
function t(r, i, s, o, a, l, u, c, h, p, m, _, C, P) {
|
|
16764
|
-
var
|
|
16764
|
+
var M = u - r, g = c - i, y = M * M + g * g;
|
|
16765
16765
|
if (y > 4 * e && C--) {
|
|
16766
|
-
var d = o + p, v = a + m, w = l + _, S = Yl(d * d + v * v + w * w), I = Fo(w /= S), x = jt(jt(w) - 1) < ot || jt(s - h) < ot ? (s + h) / 2 : Ca(v, d), D = n(x, I), b = D[0], T = D[1],
|
|
16767
|
-
($ * $ / y > e || jt((
|
|
16766
|
+
var d = o + p, v = a + m, w = l + _, S = Yl(d * d + v * v + w * w), I = Fo(w /= S), x = jt(jt(w) - 1) < ot || jt(s - h) < ot ? (s + h) / 2 : Ca(v, d), D = n(x, I), b = D[0], T = D[1], O = b - r, A = T - i, $ = g * O - M * A;
|
|
16767
|
+
($ * $ / y > e || jt((M * O + g * A) / y - 0.5) > 0.3 || o * p + a * m + l * _ < lv) && (t(r, i, s, o, a, l, b, T, x, d /= S, v /= S, w, C, P), P.point(b, T), t(b, T, x, d, v, w, u, c, h, p, m, _, C, P));
|
|
16768
16768
|
}
|
|
16769
16769
|
}
|
|
16770
16770
|
return function(r) {
|
|
16771
16771
|
var i, s, o, a, l, u, c, h, p, m, _, C, P = {
|
|
16772
|
-
point:
|
|
16772
|
+
point: M,
|
|
16773
16773
|
lineStart: g,
|
|
16774
16774
|
lineEnd: d,
|
|
16775
16775
|
polygonStart: function() {
|
|
@@ -16779,7 +16779,7 @@ function cv(n, e) {
|
|
|
16779
16779
|
r.polygonEnd(), P.lineStart = g;
|
|
16780
16780
|
}
|
|
16781
16781
|
};
|
|
16782
|
-
function
|
|
16782
|
+
function M(I, x) {
|
|
16783
16783
|
I = n(I, x), r.point(I[0], I[1]);
|
|
16784
16784
|
}
|
|
16785
16785
|
function g() {
|
|
@@ -16787,10 +16787,10 @@ function cv(n, e) {
|
|
|
16787
16787
|
}
|
|
16788
16788
|
function y(I, x) {
|
|
16789
16789
|
var D = Pa([I, x]), b = n(I, x);
|
|
16790
|
-
t(h, p, c, m, _, C, h = b[0], p = b[1], c = I, m = D[0], _ = D[1], C = D[2],
|
|
16790
|
+
t(h, p, c, m, _, C, h = b[0], p = b[1], c = I, m = D[0], _ = D[1], C = D[2], Of, r), r.point(h, p);
|
|
16791
16791
|
}
|
|
16792
16792
|
function d() {
|
|
16793
|
-
P.point =
|
|
16793
|
+
P.point = M, r.lineEnd();
|
|
16794
16794
|
}
|
|
16795
16795
|
function v() {
|
|
16796
16796
|
g(), P.point = w, P.lineEnd = S;
|
|
@@ -16799,7 +16799,7 @@ function cv(n, e) {
|
|
|
16799
16799
|
y(i = I, x), s = h, o = p, a = m, l = _, u = C, P.point = y;
|
|
16800
16800
|
}
|
|
16801
16801
|
function S() {
|
|
16802
|
-
t(h, p, c, m, _, C, s, o, i, a, l, u,
|
|
16802
|
+
t(h, p, c, m, _, C, s, o, i, a, l, u, Of, r), P.lineEnd = d, d();
|
|
16803
16803
|
}
|
|
16804
16804
|
return P;
|
|
16805
16805
|
};
|
|
@@ -16815,7 +16815,7 @@ function fv(n) {
|
|
|
16815
16815
|
})();
|
|
16816
16816
|
}
|
|
16817
16817
|
function pv(n) {
|
|
16818
|
-
var e, t = 150, r = 480, i = 250, s, o, a = 0, l = 0, u = 0, c = 0, h = 0, p, m, _ = null, C =
|
|
16818
|
+
var e, t = 150, r = 480, i = 250, s, o, a = 0, l = 0, u = 0, c = 0, h = 0, p, m, _ = null, C = Mf, P = null, M, g, y, d = Nf, v = 0.5, w = Lf(b, v), S, I;
|
|
16819
16819
|
function x(A) {
|
|
16820
16820
|
return A = m(A[0] * wn, A[1] * wn), [A[0] * t + s, o - A[1] * t];
|
|
16821
16821
|
}
|
|
@@ -16828,9 +16828,9 @@ function pv(n) {
|
|
|
16828
16828
|
x.stream = function(A) {
|
|
16829
16829
|
return S && I === A ? S : S = hv(C(p, w(d(I = A))));
|
|
16830
16830
|
}, x.clipAngle = function(A) {
|
|
16831
|
-
return arguments.length ? (C = +A ? ov(_ = A * wn, 6 * wn) : (_ = null,
|
|
16831
|
+
return arguments.length ? (C = +A ? ov(_ = A * wn, 6 * wn) : (_ = null, Mf), O()) : _ * ys;
|
|
16832
16832
|
}, x.clipExtent = function(A) {
|
|
16833
|
-
return arguments.length ? (d = A == null ? (P =
|
|
16833
|
+
return arguments.length ? (d = A == null ? (P = M = g = y = null, Nf) : Qm(P = +A[0][0], M = +A[0][1], g = +A[1][0], y = +A[1][1]), O()) : P == null ? null : [[P, M], [g, y]];
|
|
16834
16834
|
}, x.scale = function(A) {
|
|
16835
16835
|
return arguments.length ? (t = +A, T()) : t;
|
|
16836
16836
|
}, x.translate = function(A) {
|
|
@@ -16840,7 +16840,7 @@ function pv(n) {
|
|
|
16840
16840
|
}, x.rotate = function(A) {
|
|
16841
16841
|
return arguments.length ? (u = A[0] % 360 * wn, c = A[1] % 360 * wn, h = A.length > 2 ? A[2] % 360 * wn : 0, T()) : [u * ys, c * ys, h * ys];
|
|
16842
16842
|
}, x.precision = function(A) {
|
|
16843
|
-
return arguments.length ? (w = Lf(b, v = A * A),
|
|
16843
|
+
return arguments.length ? (w = Lf(b, v = A * A), O()) : Yl(v);
|
|
16844
16844
|
}, x.fitExtent = function(A, $) {
|
|
16845
16845
|
return dd(x, A, $);
|
|
16846
16846
|
}, x.fitSize = function(A, $) {
|
|
@@ -16849,9 +16849,9 @@ function pv(n) {
|
|
|
16849
16849
|
function T() {
|
|
16850
16850
|
m = ad(p = Ym(u, c, h), e);
|
|
16851
16851
|
var A = e(a, l);
|
|
16852
|
-
return s = r - A[0] * t, o = i + A[1] * t,
|
|
16852
|
+
return s = r - A[0] * t, o = i + A[1] * t, O();
|
|
16853
16853
|
}
|
|
16854
|
-
function
|
|
16854
|
+
function O() {
|
|
16855
16855
|
return S = I = null, x;
|
|
16856
16856
|
}
|
|
16857
16857
|
return function() {
|
|
@@ -17380,20 +17380,20 @@ function Du(n) {
|
|
|
17380
17380
|
}
|
|
17381
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
|
-
let a, l, u, c, h, p, m, _, C, P,
|
|
17383
|
+
let a, l, u, c, h, p, m, _, C, P, M, 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 = 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),
|
|
17386
|
-
let
|
|
17387
|
-
if (
|
|
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),
|
|
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), M = v - S, h = v - M, Ho[0] = v - (M + h) + (h - S), g = d + M, h = g - d, y = d - (g - h) + (M - h), M = y - w, h = y - M, Ho[1] = y - (M + h) + (h - w), I = g + M, h = I - g, Ho[2] = g - (I - h) + (M - h), Ho[3] = I;
|
|
17386
|
+
let O = bv(4, Ho), A = Tv * o;
|
|
17387
|
+
if (O >= A || -O >= 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(O), O += x * c + T * a - (b * u + D * l), O >= A || -O >= A)) return O;
|
|
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), M = v - S, h = v - M, gr[0] = v - (M + h) + (h - S), g = d + M, h = g - d, y = d - (g - h) + (M - h), M = y - w, h = y - M, gr[1] = y - (M + h) + (h - w), I = g + M, h = I - g, gr[2] = g - (I - h) + (M - h), gr[3] = I;
|
|
17389
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),
|
|
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), M = v - S, h = v - M, gr[0] = v - (M + h) + (h - S), g = d + M, h = g - d, y = d - (g - h) + (M - h), M = y - w, h = y - M, gr[1] = y - (M + h) + (h - w), I = g + M, h = I - g, gr[2] = g - (I - h) + (M - h), gr[3] = I;
|
|
17391
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),
|
|
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), M = v - S, h = v - M, gr[0] = v - (M + h) + (h - S), g = d + M, h = g - d, y = d - (g - h) + (M - h), M = y - w, h = y - M, gr[1] = y - (M + h) + (h - w), I = g + M, h = I - g, gr[2] = g - (I - h) + (M - h), gr[3] = I;
|
|
17393
17393
|
const ie = Uc(q, kf, 4, gr, Vf);
|
|
17394
17394
|
return Vf[ie - 1];
|
|
17395
17395
|
}
|
|
17396
|
-
function
|
|
17396
|
+
function Mv(n, e, t, r, i, s) {
|
|
17397
17397
|
const o = (e - s) * (t - i), a = (n - i) * (r - s), l = o - a, u = Math.abs(o + a);
|
|
17398
17398
|
return Math.abs(l) >= xv * u ? l : -Dv(n, e, t, r, i, s, u);
|
|
17399
17399
|
}
|
|
@@ -17413,11 +17413,11 @@ const Kl = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n
|
|
|
17413
17413
|
};
|
|
17414
17414
|
let Ns = Number.EPSILON;
|
|
17415
17415
|
Ns === void 0 && (Ns = Math.pow(2, -52));
|
|
17416
|
-
const
|
|
17416
|
+
const Ov = Ns * Ns, zf = (n, e) => {
|
|
17417
17417
|
if (-Ns < n && n < Ns && -Ns < e && e < Ns)
|
|
17418
17418
|
return 0;
|
|
17419
17419
|
const t = n - e;
|
|
17420
|
-
return t * t <
|
|
17420
|
+
return t * t < Ov * n * e ? 0 : n < e ? -1 : 1;
|
|
17421
17421
|
};
|
|
17422
17422
|
class Lv {
|
|
17423
17423
|
constructor() {
|
|
@@ -17453,7 +17453,7 @@ class Bf {
|
|
|
17453
17453
|
}
|
|
17454
17454
|
}
|
|
17455
17455
|
const yu = new Lv(), Hu = (n, e) => n.x * e.y - n.y * e.x, Ed = (n, e) => n.x * e.x + n.y * e.y, jf = (n, e, t) => {
|
|
17456
|
-
const r =
|
|
17456
|
+
const r = Mv(n.x, n.y, e.x, e.y, t.x, t.y);
|
|
17457
17457
|
return r > 0 ? -1 : r < 0 ? 1 : 0;
|
|
17458
17458
|
}, lc = (n) => Math.sqrt(Ed(n, n)), Rv = (n, e, t) => {
|
|
17459
17459
|
const r = {
|
|
@@ -17499,7 +17499,7 @@ class Sn {
|
|
|
17499
17499
|
// for ordering sweep events in the sweep event queue
|
|
17500
17500
|
static compare(e, t) {
|
|
17501
17501
|
const r = Sn.comparePoints(e.point, t.point);
|
|
17502
|
-
return r !== 0 ? r : (e.point !== t.point && e.link(t), e.isLeft !== t.isLeft ? e.isLeft ? 1 : -1 :
|
|
17502
|
+
return r !== 0 ? r : (e.point !== t.point && e.link(t), e.isLeft !== t.isLeft ? e.isLeft ? 1 : -1 : Os.compare(e.segment, t.segment));
|
|
17503
17503
|
}
|
|
17504
17504
|
// for ordering points in sweep line order
|
|
17505
17505
|
static comparePoints(e, t) {
|
|
@@ -17572,7 +17572,7 @@ class Sn {
|
|
|
17572
17572
|
}
|
|
17573
17573
|
}
|
|
17574
17574
|
let kv = 0;
|
|
17575
|
-
class
|
|
17575
|
+
class Os {
|
|
17576
17576
|
/* This compare() function is for ordering segments in the sweep
|
|
17577
17577
|
* line tree, and does so according to the following criteria:
|
|
17578
17578
|
*
|
|
@@ -17640,7 +17640,7 @@ class Ms {
|
|
|
17640
17640
|
i = t, s = e, o = -1;
|
|
17641
17641
|
else throw new Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);
|
|
17642
17642
|
const l = new Sn(i, !0), u = new Sn(s, !1);
|
|
17643
|
-
return new
|
|
17643
|
+
return new Os(l, u, [r], [o]);
|
|
17644
17644
|
}
|
|
17645
17645
|
/* When a segment is split, the rightSE is replaced with a new sweep event */
|
|
17646
17646
|
replaceRightSE(e) {
|
|
@@ -17738,7 +17738,7 @@ class Ms {
|
|
|
17738
17738
|
split(e) {
|
|
17739
17739
|
const t = [], r = e.events !== void 0, i = new Sn(e, !0), s = new Sn(e, !1), o = this.rightSE;
|
|
17740
17740
|
this.replaceRightSE(s), t.push(s), t.push(i);
|
|
17741
|
-
const a = new
|
|
17741
|
+
const a = new Os(i, o, this.rings.slice(), this.windings.slice());
|
|
17742
17742
|
return Sn.comparePoints(a.leftSE.point, a.rightSE.point) > 0 && a.swapEvents(), Sn.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), r && (i.checkForConsuming(), s.checkForConsuming()), t;
|
|
17743
17743
|
}
|
|
17744
17744
|
/* Swap which event is left and right */
|
|
@@ -17754,7 +17754,7 @@ class Ms {
|
|
|
17754
17754
|
let t = this, r = e;
|
|
17755
17755
|
for (; t.consumedBy; ) t = t.consumedBy;
|
|
17756
17756
|
for (; r.consumedBy; ) r = r.consumedBy;
|
|
17757
|
-
const i =
|
|
17757
|
+
const i = Os.compare(t, r);
|
|
17758
17758
|
if (i !== 0) {
|
|
17759
17759
|
if (i > 0) {
|
|
17760
17760
|
const s = t;
|
|
@@ -17873,9 +17873,9 @@ class Wf {
|
|
|
17873
17873
|
if (typeof e[o][0] != "number" || typeof e[o][1] != "number")
|
|
17874
17874
|
throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
|
|
17875
17875
|
let l = yu.round(e[o][0], e[o][1]);
|
|
17876
|
-
l.x === s.x && l.y === s.y || (this.segments.push(
|
|
17876
|
+
l.x === s.x && l.y === s.y || (this.segments.push(Os.fromRing(s, l, this)), l.x < this.bbox.ll.x && (this.bbox.ll.x = l.x), l.y < this.bbox.ll.y && (this.bbox.ll.y = l.y), l.x > this.bbox.ur.x && (this.bbox.ur.x = l.x), l.y > this.bbox.ur.y && (this.bbox.ur.y = l.y), s = l);
|
|
17877
17877
|
}
|
|
17878
|
-
(i.x !== s.x || i.y !== s.y) && this.segments.push(
|
|
17878
|
+
(i.x !== s.x || i.y !== s.y) && this.segments.push(Os.fromRing(s, i, this));
|
|
17879
17879
|
}
|
|
17880
17880
|
getSweepEvents() {
|
|
17881
17881
|
const e = [];
|
|
@@ -18086,7 +18086,7 @@ class zv {
|
|
|
18086
18086
|
}
|
|
18087
18087
|
class Bv {
|
|
18088
18088
|
constructor(e) {
|
|
18089
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
18089
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Os.compare;
|
|
18090
18090
|
this.queue = e, this.tree = new kh(t), this.segments = [];
|
|
18091
18091
|
}
|
|
18092
18092
|
process(e) {
|
|
@@ -18279,7 +18279,7 @@ function Hf(n, e) {
|
|
|
18279
18279
|
return um(t, r) ? "oneBig" : ym(t, r) ? "twoBig" : !1;
|
|
18280
18280
|
}
|
|
18281
18281
|
function ty(n) {
|
|
18282
|
-
const e = Dc(Yo(n, ["0"])), t = Dc(Yo(n, ["1"])), r = Dc(Yo(n, ["2"])), i =
|
|
18282
|
+
const e = Dc(Yo(n, ["0"])), t = Dc(Yo(n, ["1"])), r = Dc(Yo(n, ["2"])), i = Mc(Yo(n, ["0"])), s = Mc(Yo(n, ["1"])), o = Mc(Yo(n, ["2"]));
|
|
18283
18283
|
return {
|
|
18284
18284
|
minPos: [e, t, r],
|
|
18285
18285
|
maxPos: [i, s, o],
|
|
@@ -18581,7 +18581,7 @@ class Sr extends fp {
|
|
|
18581
18581
|
l && (l(), l = void 0);
|
|
18582
18582
|
};
|
|
18583
18583
|
this.dispose(u), this.dispose(this.sceneObjectChanged.disposableOn((c) => {
|
|
18584
|
-
u(), c && (l =
|
|
18584
|
+
u(), c && (l = le([this, "name"], [c, "name"]));
|
|
18585
18585
|
})), this.dispose(this.showChanged.disposableOn((c) => {
|
|
18586
18586
|
if (t.setSceneObjectShowFunc(this.sceneObject, c), this.tree && this.tree.forceRedraw(), this.children && !this._showChangedNotAffectChildren)
|
|
18587
18587
|
for (let h of this.children)
|
|
@@ -20013,7 +20013,7 @@ class fc extends ae {
|
|
|
20013
20013
|
/**
|
|
20014
20014
|
* 开发标签
|
|
20015
20015
|
*/
|
|
20016
|
-
devTags:
|
|
20016
|
+
devTags: Ot(void 0),
|
|
20017
20017
|
/**
|
|
20018
20018
|
* 一次性执行函数的字符串表示
|
|
20019
20019
|
*/
|
|
@@ -20029,7 +20029,7 @@ class fc extends ae {
|
|
|
20029
20029
|
});
|
|
20030
20030
|
})(fc || (fc = {}));
|
|
20031
20031
|
U(fc.prototype, fc.createDefaultProps);
|
|
20032
|
-
function
|
|
20032
|
+
function M_(n, e, t) {
|
|
20033
20033
|
var i;
|
|
20034
20034
|
((i = e.viewer) == null ? void 0 : i.getEngineObject(e)) ? t.call(n) : n.dispose(e.createdEvent.don(() => t.call(n)));
|
|
20035
20035
|
}
|
|
@@ -20488,19 +20488,19 @@ const ru = class ru extends Ce {
|
|
|
20488
20488
|
const t = [];
|
|
20489
20489
|
do {
|
|
20490
20490
|
if (this.editingBindMode == "doublePoints") {
|
|
20491
|
-
t.push(
|
|
20491
|
+
t.push(ce.DoublePointsAppend, ce.DoublePointsModify);
|
|
20492
20492
|
break;
|
|
20493
20493
|
}
|
|
20494
20494
|
if (this.editingBindMode == "lineString") {
|
|
20495
|
-
t.push(
|
|
20495
|
+
t.push(ce.LineStringAppend, ce.LineStringInsert, ce.Translation);
|
|
20496
20496
|
break;
|
|
20497
20497
|
}
|
|
20498
20498
|
if (this.editingBindMode == "circular") {
|
|
20499
|
-
t.push(
|
|
20499
|
+
t.push(ce.CircularAppend, ce.CircularInsert, ce.Translation), this.supportEditingModes().includes(ce.HeightModify) && t.push(ce.HeightModify);
|
|
20500
20500
|
break;
|
|
20501
20501
|
}
|
|
20502
20502
|
if (this.editingBindMode == "visibility") {
|
|
20503
|
-
t.push(
|
|
20503
|
+
t.push(ce.VisibilityAppend, ce.VisibilityModify);
|
|
20504
20504
|
break;
|
|
20505
20505
|
}
|
|
20506
20506
|
} while (!1);
|
|
@@ -21052,7 +21052,7 @@ const ru = class ru extends Ce {
|
|
|
21052
21052
|
*/
|
|
21053
21053
|
f(ru, "supportEditingModes", [
|
|
21054
21054
|
...Ce.supportEditingModes,
|
|
21055
|
-
|
|
21055
|
+
ce.Translation
|
|
21056
21056
|
]), /**
|
|
21057
21057
|
* ESGeoVector 类的默认属性
|
|
21058
21058
|
*/
|
|
@@ -21164,11 +21164,11 @@ class W extends Ce {
|
|
|
21164
21164
|
const t = [];
|
|
21165
21165
|
do {
|
|
21166
21166
|
if (this.editingBindMode == "singlePoint") {
|
|
21167
|
-
t.push(
|
|
21167
|
+
t.push(ce.Place, ce.Translation), ["ESLocationMeasurement"].includes(this.typeName) || t.push(ce.Rotation), ["ESClippingPlane", "ESLocationMeasurement", "ESLocalRectangle", "ESBoxClipping"].includes(this.typeName) || t.push(ce.Scale);
|
|
21168
21168
|
break;
|
|
21169
21169
|
}
|
|
21170
21170
|
if (this.editingBindMode == "doublePoints") {
|
|
21171
|
-
t.push(
|
|
21171
|
+
t.push(ce.DoublePointsAppend, ce.DoublePointsModify);
|
|
21172
21172
|
break;
|
|
21173
21173
|
}
|
|
21174
21174
|
} while (!1);
|
|
@@ -21356,27 +21356,134 @@ class W extends Ce {
|
|
|
21356
21356
|
])
|
|
21357
21357
|
];
|
|
21358
21358
|
}
|
|
21359
|
+
/**
|
|
21360
|
+
* 获取点的大小
|
|
21361
|
+
*/
|
|
21362
|
+
get pointSize() {
|
|
21363
|
+
return this.pointStyle.size;
|
|
21364
|
+
}
|
|
21365
|
+
/**
|
|
21366
|
+
* 设置点的大小
|
|
21367
|
+
* @param value - 点的大小值
|
|
21368
|
+
*/
|
|
21369
|
+
set pointSize(t) {
|
|
21370
|
+
this.pointStyle = { ...this.pointStyle, size: t };
|
|
21371
|
+
}
|
|
21372
|
+
/**
|
|
21373
|
+
* 获取点大小变化的事件
|
|
21374
|
+
*/
|
|
21375
|
+
get pointSizeChanged() {
|
|
21376
|
+
return this.pointStyleChanged;
|
|
21377
|
+
}
|
|
21378
|
+
/**
|
|
21379
|
+
* 获取点的大小类型
|
|
21380
|
+
*/
|
|
21381
|
+
get pointSizeType() {
|
|
21382
|
+
return this.pointStyle.sizeType;
|
|
21383
|
+
}
|
|
21384
|
+
/**
|
|
21385
|
+
* 设置点的大小类型
|
|
21386
|
+
* @param value - 点的大小类型值
|
|
21387
|
+
*/
|
|
21388
|
+
set pointSizeType(t) {
|
|
21389
|
+
this.pointStyle = { ...this.pointStyle, sizeType: t };
|
|
21390
|
+
}
|
|
21391
|
+
/**
|
|
21392
|
+
* 获取点大小类型变化的事件
|
|
21393
|
+
*/
|
|
21394
|
+
get pointSizeTypeChanged() {
|
|
21395
|
+
return this.pointStyleChanged;
|
|
21396
|
+
}
|
|
21397
|
+
/**
|
|
21398
|
+
* 获取点的颜色
|
|
21399
|
+
*/
|
|
21400
|
+
get pointColor() {
|
|
21401
|
+
return this.pointStyle.color;
|
|
21402
|
+
}
|
|
21403
|
+
/**
|
|
21404
|
+
* 设置点的颜色
|
|
21405
|
+
* @param value - 点的颜色值
|
|
21406
|
+
*/
|
|
21407
|
+
set pointColor(t) {
|
|
21408
|
+
this.pointStyle = { ...this.pointStyle, color: [...t] };
|
|
21409
|
+
}
|
|
21410
|
+
/**
|
|
21411
|
+
* 获取点颜色变化的事件
|
|
21412
|
+
*/
|
|
21413
|
+
get pointColorChanged() {
|
|
21414
|
+
return this.pointStyleChanged;
|
|
21415
|
+
}
|
|
21416
|
+
/**
|
|
21417
|
+
* 获取点的材质
|
|
21418
|
+
*/
|
|
21419
|
+
get pointMaterial() {
|
|
21420
|
+
return this.pointStyle.material;
|
|
21421
|
+
}
|
|
21422
|
+
/**
|
|
21423
|
+
* 设置点的材质
|
|
21424
|
+
* @param value - 点的材质值
|
|
21425
|
+
*/
|
|
21426
|
+
set pointMaterial(t) {
|
|
21427
|
+
this.pointStyle = { ...this.pointStyle, material: t };
|
|
21428
|
+
}
|
|
21429
|
+
/**
|
|
21430
|
+
* 获取点材质变化的事件
|
|
21431
|
+
*/
|
|
21432
|
+
get pointMaterialChanged() {
|
|
21433
|
+
return this.pointStyleChanged;
|
|
21434
|
+
}
|
|
21435
|
+
/**
|
|
21436
|
+
* 获取点的材质参数
|
|
21437
|
+
*/
|
|
21438
|
+
get pointMaterialParams() {
|
|
21439
|
+
return this.pointStyle.materialParams;
|
|
21440
|
+
}
|
|
21441
|
+
/**
|
|
21442
|
+
* 设置点的材质参数
|
|
21443
|
+
* @param value - 点的材质参数值
|
|
21444
|
+
*/
|
|
21445
|
+
set pointMaterialParams(t) {
|
|
21446
|
+
this.pointStyle = { ...this.pointStyle, materialParams: t };
|
|
21447
|
+
}
|
|
21448
|
+
/**
|
|
21449
|
+
* 获取点材质参数变化的事件
|
|
21450
|
+
*/
|
|
21451
|
+
get pointMaterialParamsChanged() {
|
|
21452
|
+
return this.pointStyleChanged;
|
|
21453
|
+
}
|
|
21359
21454
|
}
|
|
21360
21455
|
/**
|
|
21361
21456
|
* 该类支持的编辑模式列表。
|
|
21362
21457
|
*/
|
|
21363
21458
|
f(W, "supportEditingModes", [
|
|
21364
21459
|
...Ce.supportEditingModes,
|
|
21365
|
-
|
|
21366
|
-
|
|
21367
|
-
|
|
21368
|
-
|
|
21369
|
-
|
|
21370
|
-
|
|
21460
|
+
ce.Place,
|
|
21461
|
+
ce.Translation,
|
|
21462
|
+
ce.Rotation,
|
|
21463
|
+
ce.Scale,
|
|
21464
|
+
ce.DoublePointsAppend,
|
|
21465
|
+
ce.DoublePointsModify
|
|
21371
21466
|
]), /**
|
|
21372
21467
|
* 该类的默认属性。
|
|
21373
21468
|
*/
|
|
21374
21469
|
f(W, "defaults", {
|
|
21375
|
-
...Ce.defaults
|
|
21470
|
+
...Ce.defaults,
|
|
21471
|
+
pointStyle: {
|
|
21472
|
+
size: 1,
|
|
21473
|
+
sizeType: "screen",
|
|
21474
|
+
color: [1, 1, 1, 1],
|
|
21475
|
+
material: "",
|
|
21476
|
+
materialParams: {}
|
|
21477
|
+
},
|
|
21478
|
+
pointed: !1
|
|
21376
21479
|
});
|
|
21377
21480
|
((n) => {
|
|
21378
21481
|
n.createDefaultProps = () => ({
|
|
21379
21482
|
...Ce.createDefaultProps(),
|
|
21483
|
+
/**点样式是否启用,默认false */
|
|
21484
|
+
pointed: !1,
|
|
21485
|
+
/**点样式 */
|
|
21486
|
+
pointStyle: Ue(n.defaults.pointStyle),
|
|
21380
21487
|
/**位置点 [经,纬,高] */
|
|
21381
21488
|
position: ge([0, 0, 0]),
|
|
21382
21489
|
/**姿态 [h,p,r] */
|
|
@@ -21390,7 +21497,7 @@ f(W, "defaults", {
|
|
|
21390
21497
|
});
|
|
21391
21498
|
})(W || (W = {}));
|
|
21392
21499
|
U(W.prototype, W.createDefaultProps);
|
|
21393
|
-
class
|
|
21500
|
+
class Mi extends W {
|
|
21394
21501
|
/**
|
|
21395
21502
|
* 获取 ES 属性,包括点、线、面的样式属性。
|
|
21396
21503
|
* @returns 包含 ES 属性的对象
|
|
@@ -21802,7 +21909,7 @@ class Oi extends W {
|
|
|
21802
21909
|
* ESLocalVector 类的默认属性值。
|
|
21803
21910
|
* 包含点、线、面的默认样式设置,以及开启状态的默认值。
|
|
21804
21911
|
*/
|
|
21805
|
-
f(
|
|
21912
|
+
f(Mi, "defaults", {
|
|
21806
21913
|
...W.defaults,
|
|
21807
21914
|
pointStyle: {
|
|
21808
21915
|
size: 1,
|
|
@@ -21845,9 +21952,9 @@ f(Oi, "defaults", {
|
|
|
21845
21952
|
/**填充样式*/
|
|
21846
21953
|
fillStyle: Ue(n.defaults.fillStyle)
|
|
21847
21954
|
});
|
|
21848
|
-
})(
|
|
21849
|
-
U(
|
|
21850
|
-
class Hr extends
|
|
21955
|
+
})(Mi || (Mi = {}));
|
|
21956
|
+
U(Mi.prototype, Mi.createDefaultProps);
|
|
21957
|
+
class Hr extends Mi {
|
|
21851
21958
|
/**
|
|
21852
21959
|
* 获取实体的属性对象。
|
|
21853
21960
|
* 此方法会返回包含父类属性的属性对象。
|
|
@@ -21871,11 +21978,11 @@ class Hr extends Oi {
|
|
|
21871
21978
|
* 继承了 ESLocalVector 的默认属性。
|
|
21872
21979
|
*/
|
|
21873
21980
|
f(Hr, "defaults", {
|
|
21874
|
-
...
|
|
21981
|
+
...Mi.defaults
|
|
21875
21982
|
});
|
|
21876
21983
|
((n) => {
|
|
21877
21984
|
n.createDefaultProps = () => ({
|
|
21878
|
-
...
|
|
21985
|
+
...Mi.createDefaultProps()
|
|
21879
21986
|
});
|
|
21880
21987
|
})(Hr || (Hr = {}));
|
|
21881
21988
|
U(Hr.prototype, Hr.createDefaultProps);
|
|
@@ -22027,6 +22134,9 @@ const mr = class mr extends Ce {
|
|
|
22027
22134
|
* 私有属性,高亮特征并飞行到该特征的事件,携带特征 ID、笛卡尔坐标系的球体信息、可选的高亮颜色和可选的飞行时间作为参数。
|
|
22028
22135
|
*/
|
|
22029
22136
|
f(this, "_highlightFeatureAndFlyToEvent", this.dv(new V()));
|
|
22137
|
+
/**
|
|
22138
|
+
* 私有属性,描边特征的事件,携带特征和可选的描边颜色作为参数。
|
|
22139
|
+
*/
|
|
22030
22140
|
f(this, "_strokeFeatureEvent", this.disposeVar(new V()));
|
|
22031
22141
|
/**
|
|
22032
22142
|
* 私有属性,获取特征表的事件。
|
|
@@ -22108,7 +22218,7 @@ const mr = class mr extends Ce {
|
|
|
22108
22218
|
*/
|
|
22109
22219
|
updateEditing() {
|
|
22110
22220
|
var t;
|
|
22111
|
-
(t = this.viewer) == null || t.startEditing(this, [
|
|
22221
|
+
(t = this.viewer) == null || t.startEditing(this, [ce.Translation, ce.Rotation], { callSource: "inner" });
|
|
22112
22222
|
}
|
|
22113
22223
|
/**
|
|
22114
22224
|
* 获取刷新 Tileset 的事件。
|
|
@@ -22185,10 +22295,19 @@ const mr = class mr extends Ce {
|
|
|
22185
22295
|
highlightFeatureAndFlyTo(t, r, i, s) {
|
|
22186
22296
|
this._highlightFeatureAndFlyToEvent.emit(t, r, i, s);
|
|
22187
22297
|
}
|
|
22298
|
+
/**
|
|
22299
|
+
* 获取描边特征的事件。
|
|
22300
|
+
* @returns 描边特征的事件对象。
|
|
22301
|
+
*/
|
|
22188
22302
|
get strokeFeatureEvent() {
|
|
22189
22303
|
return this._strokeFeatureEvent;
|
|
22190
22304
|
}
|
|
22191
|
-
|
|
22305
|
+
/**
|
|
22306
|
+
* 描边特征,参数为特征数组和可选的描边颜色。
|
|
22307
|
+
* @param feature 特征数组。Cesium.Cesium3DTileFeature[],空数组时代表清空描边高亮
|
|
22308
|
+
* @param color 可选的描边颜色。 ESJColor,默认 [1, 0, 0, 1]
|
|
22309
|
+
*/
|
|
22310
|
+
strokeFeature(t, r = [1, 0, 0, 1]) {
|
|
22192
22311
|
this._strokeFeatureEvent.emit(t, r);
|
|
22193
22312
|
}
|
|
22194
22313
|
/**
|
|
@@ -22600,8 +22719,8 @@ f(mr, "type", mr.register("ES3DTileset", mr, { chsName: "3DTileset", tags: ["ESO
|
|
|
22600
22719
|
*/
|
|
22601
22720
|
f(mr, "supportEditingModes", [
|
|
22602
22721
|
...Ce.supportEditingModes,
|
|
22603
|
-
|
|
22604
|
-
|
|
22722
|
+
ce.Translation,
|
|
22723
|
+
ce.Rotation
|
|
22605
22724
|
]), /**
|
|
22606
22725
|
* 重写默认值,包含服务地址、材质模式、偏移量等默认属性。
|
|
22607
22726
|
*/
|
|
@@ -22658,7 +22777,7 @@ let Rt = mr;
|
|
|
22658
22777
|
/**
|
|
22659
22778
|
* 偏移量,三维向量,初始值为未定义。
|
|
22660
22779
|
*/
|
|
22661
|
-
offset:
|
|
22780
|
+
offset: Ot(void 0),
|
|
22662
22781
|
/**
|
|
22663
22782
|
* 旋转角度,三维向量,初始值为 [0, 0, 0]。
|
|
22664
22783
|
*/
|
|
@@ -23042,8 +23161,8 @@ f(Kr, "type", Kr.register("ESGeoPolygon", Kr, { chsName: "地理多边形", tags
|
|
|
23042
23161
|
*/
|
|
23043
23162
|
f(Kr, "supportEditingModes", [
|
|
23044
23163
|
...de.supportEditingModes,
|
|
23045
|
-
|
|
23046
|
-
|
|
23164
|
+
ce.CircularAppend,
|
|
23165
|
+
ce.CircularInsert
|
|
23047
23166
|
]), /**
|
|
23048
23167
|
* 默认属性值,包括填充样式、描边样式、是否填充、是否描边和碰撞检测等。
|
|
23049
23168
|
*/
|
|
@@ -23151,12 +23270,9 @@ f(jn, "defaults", {
|
|
|
23151
23270
|
},
|
|
23152
23271
|
// 面积单位
|
|
23153
23272
|
unitsMode: [
|
|
23154
|
-
["平方米", "
|
|
23155
|
-
["
|
|
23156
|
-
["
|
|
23157
|
-
["公顷", "Hectare"],
|
|
23158
|
-
["周长米", "PerimeterMeter"],
|
|
23159
|
-
["周长千米", "PerimeterKilometer"]
|
|
23273
|
+
["平方米_平方千米", "SquareMeter_SquareKilometer"],
|
|
23274
|
+
["亩_公顷", "MU_Hectare"],
|
|
23275
|
+
["周长米_周长千米", "PerimeterMeter_PerimeterKilometer"]
|
|
23160
23276
|
]
|
|
23161
23277
|
}), f(jn, "createDefaultProps", () => ({
|
|
23162
23278
|
...Ie.createDefaultProps(),
|
|
@@ -23165,18 +23281,15 @@ f(jn, "defaults", {
|
|
|
23165
23281
|
/**填充样式 是否启用,默认true*/
|
|
23166
23282
|
filled: !0,
|
|
23167
23283
|
/**
|
|
23168
|
-
* 面积单位,默认值 ['
|
|
23284
|
+
* 面积单位,默认值 ['SquareMeter_SquareKilometer']
|
|
23169
23285
|
* @type { string[] }
|
|
23170
|
-
*
|
|
23171
|
-
*
|
|
23172
|
-
*
|
|
23173
|
-
* ['公顷', 'Hectare'],
|
|
23174
|
-
* ['周长米', 'PerimeterMeter'],
|
|
23175
|
-
* ['周长千米', 'PerimeterKilometer']
|
|
23286
|
+
* ['平方米_平方千米', 'SquareMeter_SquareKilometer'],
|
|
23287
|
+
* ['亩_公顷', 'MU_Hectare'],
|
|
23288
|
+
* ['周长米_周长千米', 'PerimeterMeter_PerimeterKilometer']
|
|
23176
23289
|
*
|
|
23177
|
-
* 例如 :['
|
|
23290
|
+
* 例如 :['SquareMeter_SquareKilometer', 'MU_Hectare', "PerimeterMeter_PerimeterKilometer"]
|
|
23178
23291
|
*/
|
|
23179
|
-
units: ge(["
|
|
23292
|
+
units: ge(["SquareMeter_SquareKilometer", "MU_Hectare", "PerimeterMeter_PerimeterKilometer"])
|
|
23180
23293
|
}));
|
|
23181
23294
|
let pc = jn;
|
|
23182
23295
|
U(pc.prototype, pc.createDefaultProps);
|
|
@@ -24185,7 +24298,7 @@ f(ki, "defaults", {
|
|
|
24185
24298
|
modeEnum: [["警车", "policeCar"]],
|
|
24186
24299
|
mode: "policeCar"
|
|
24187
24300
|
});
|
|
24188
|
-
let
|
|
24301
|
+
let Ma = ki;
|
|
24189
24302
|
((n) => {
|
|
24190
24303
|
n.createDefaultProps = () => ({
|
|
24191
24304
|
...W.createDefaultProps(),
|
|
@@ -24194,8 +24307,8 @@ let Oa = ki;
|
|
|
24194
24307
|
/**是否允许被拾取 */
|
|
24195
24308
|
allowPicking: !0
|
|
24196
24309
|
});
|
|
24197
|
-
})(
|
|
24198
|
-
U(
|
|
24310
|
+
})(Ma || (Ma = {}));
|
|
24311
|
+
U(Ma.prototype, Ma.createDefaultProps);
|
|
24199
24312
|
const ws = class ws extends de {
|
|
24200
24313
|
/**
|
|
24201
24314
|
* 构造函数,用于创建 ESClassification 实例。
|
|
@@ -24265,9 +24378,9 @@ f(ws, "type", ws.register("ESClassification", ws, { chsName: "倾斜单体化",
|
|
|
24265
24378
|
*/
|
|
24266
24379
|
f(ws, "supportEditingModes", [
|
|
24267
24380
|
...de.supportEditingModes,
|
|
24268
|
-
|
|
24269
|
-
|
|
24270
|
-
|
|
24381
|
+
ce.CircularAppend,
|
|
24382
|
+
ce.CircularInsert,
|
|
24383
|
+
ce.HeightModify
|
|
24271
24384
|
]), /**
|
|
24272
24385
|
* 静态属性,重写默认值。
|
|
24273
24386
|
* 包含 ESGeoVector 的默认值,以及填充样式和填充状态的默认值。
|
|
@@ -24424,7 +24537,7 @@ f(Ks, "type", Ks.register("ESClippingPlane", Ks, { chsName: "裁切", tags: ["ES
|
|
|
24424
24537
|
f(Ks, "defaults", {
|
|
24425
24538
|
...W.defaults
|
|
24426
24539
|
});
|
|
24427
|
-
let
|
|
24540
|
+
let Oa = Ks;
|
|
24428
24541
|
((n) => {
|
|
24429
24542
|
n.createDefaultProps = () => ({
|
|
24430
24543
|
...W.createDefaultProps(),
|
|
@@ -24461,9 +24574,9 @@ let Ma = Ks;
|
|
|
24461
24574
|
*/
|
|
24462
24575
|
targetID: ""
|
|
24463
24576
|
});
|
|
24464
|
-
})(
|
|
24465
|
-
U(
|
|
24466
|
-
class
|
|
24577
|
+
})(Oa || (Oa = {}));
|
|
24578
|
+
U(Oa.prototype, Oa.createDefaultProps);
|
|
24579
|
+
class My extends ae {
|
|
24467
24580
|
/**
|
|
24468
24581
|
* 构造函数,初始化ViewerCustomDivInstance实例。
|
|
24469
24582
|
* @param subContainer - 用于放置自定义Div的HTMLDivElement容器。
|
|
@@ -24549,7 +24662,7 @@ const Td = `class MyDiv {
|
|
|
24549
24662
|
destroy() {
|
|
24550
24663
|
this._container.removeChild(this._div);
|
|
24551
24664
|
}
|
|
24552
|
-
}`,
|
|
24665
|
+
}`, Oy = `示例代码:
|
|
24553
24666
|
\`\`\`
|
|
24554
24667
|
${Td}
|
|
24555
24668
|
\`\`\`
|
|
@@ -24577,7 +24690,7 @@ ${Td}
|
|
|
24577
24690
|
* 私有属性,用于响应式管理容器元素。
|
|
24578
24691
|
*/
|
|
24579
24692
|
f(this, "_container", this.dv(Q(void 0)));
|
|
24580
|
-
this.registerAttachedObjectForContainer((i, s) => new
|
|
24693
|
+
this.registerAttachedObjectForContainer((i, s) => new My(s, this, i));
|
|
24581
24694
|
{
|
|
24582
24695
|
const i = () => {
|
|
24583
24696
|
try {
|
|
@@ -24774,7 +24887,7 @@ ${Td}
|
|
|
24774
24887
|
...super.getProperties(t),
|
|
24775
24888
|
new k("ESCustomDiv", "ESCustomDiv", [
|
|
24776
24889
|
new R("显示", "显示", !1, !1, [this, "show"]),
|
|
24777
|
-
new Hi("实例类", "实例类", !0, !1, [this, "instanceClassStr"], Td,
|
|
24890
|
+
new Hi("实例类", "实例类", !0, !1, [this, "instanceClassStr"], Td, Oy),
|
|
24778
24891
|
new Hi("innerHTML", "注意设置此属性设置此属性会自动更新instanceClassStr变量", !0, !1, [this, "innerHTML"], Qr.defaultInnerHTML, Qr.innerHTMLReadMe),
|
|
24779
24892
|
new oe("强制更新", "强制更新", ["string"], r, ["(divClass, dom, viewer) => divClass.update && divClass.update()"]),
|
|
24780
24893
|
new R("允许拾取", "是否允许拾取", !0, !1, [this, "allowPicking"]),
|
|
@@ -25050,8 +25163,8 @@ f(Es, "type", Es.register("ESGeoLineString", Es, { chsName: "地理折线", tags
|
|
|
25050
25163
|
*/
|
|
25051
25164
|
f(Es, "supportEditingModes", [
|
|
25052
25165
|
...de.supportEditingModes,
|
|
25053
|
-
|
|
25054
|
-
|
|
25166
|
+
ce.LineStringAppend,
|
|
25167
|
+
ce.LineStringInsert
|
|
25055
25168
|
]), /**
|
|
25056
25169
|
* 静态属性,重写默认值,包含 ESGeoVector 的默认值以及折线的默认样式信息。
|
|
25057
25170
|
*/
|
|
@@ -25846,8 +25959,8 @@ f(Ss, "type", Ss.register("ESGeoRectangle", Ss, { chsName: "矩形", tags: ["ESO
|
|
|
25846
25959
|
*/
|
|
25847
25960
|
f(Ss, "supportEditingModes", [
|
|
25848
25961
|
...de.supportEditingModes,
|
|
25849
|
-
|
|
25850
|
-
|
|
25962
|
+
ce.DoublePointsAppend,
|
|
25963
|
+
ce.DoublePointsModify
|
|
25851
25964
|
]), /**
|
|
25852
25965
|
* 默认属性对象,继承自父类的默认属性。
|
|
25853
25966
|
*
|
|
@@ -26216,7 +26329,7 @@ let za = di;
|
|
|
26216
26329
|
* @type {ESJInstances[] | undefined}
|
|
26217
26330
|
* 每个元素包含模型实例的位置、旋转、缩放矩阵信息,未设置时不启用实例化
|
|
26218
26331
|
*/
|
|
26219
|
-
instances:
|
|
26332
|
+
instances: Ot(void 0),
|
|
26220
26333
|
/**
|
|
26221
26334
|
* 环境光反射强度因子(Cesium 引擎专用)
|
|
26222
26335
|
* @type {ESJVector2D[]}
|
|
@@ -26628,7 +26741,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26628
26741
|
* @param id - 可选的实例 ID。
|
|
26629
26742
|
*/
|
|
26630
26743
|
constructor(e) {
|
|
26631
|
-
super(e), this.ad(
|
|
26744
|
+
super(e), this.ad(le([this, "czmSplitDirection"], [this, "splitDirection"])), this.ad(le([this, "czmAlpha"], [this, "opacity"]));
|
|
26632
26745
|
}
|
|
26633
26746
|
/**
|
|
26634
26747
|
* 获取 ES 属性。
|
|
@@ -26785,15 +26898,12 @@ let ja = yn;
|
|
|
26785
26898
|
minimumLevel: 0,
|
|
26786
26899
|
/** 目标 ID */
|
|
26787
26900
|
targetID: "",
|
|
26788
|
-
/** 透明度 */
|
|
26789
|
-
opacity: 1,
|
|
26790
|
-
/** 分割方向 */
|
|
26791
|
-
splitDirection: "NONE",
|
|
26792
26901
|
/**
|
|
26793
26902
|
* 分割方向
|
|
26794
26903
|
* @deprecated 未来会移除,请使用splitDirection代替 */
|
|
26795
26904
|
czmSplitDirection: "NONE",
|
|
26796
|
-
/** czm 透明度
|
|
26905
|
+
/** czm 透明度
|
|
26906
|
+
* @deprecated 未来会移除,请使用opacity代替 */
|
|
26797
26907
|
czmAlpha: 1,
|
|
26798
26908
|
/** czm 亮度 */
|
|
26799
26909
|
czmBrightness: 1,
|
|
@@ -26804,7 +26914,11 @@ let ja = yn;
|
|
|
26804
26914
|
/** czm 饱和度 */
|
|
26805
26915
|
czmSaturation: 1,
|
|
26806
26916
|
/** czm 伽马值 */
|
|
26807
|
-
czmGamma: 1
|
|
26917
|
+
czmGamma: 1,
|
|
26918
|
+
/** 透明度 */
|
|
26919
|
+
opacity: 1,
|
|
26920
|
+
/** 分割方向 */
|
|
26921
|
+
splitDirection: "NONE"
|
|
26808
26922
|
});
|
|
26809
26923
|
})(ja || (ja = {}));
|
|
26810
26924
|
U(ja.prototype, ja.createDefaultProps);
|
|
@@ -27017,7 +27131,7 @@ let Ga = eo;
|
|
|
27017
27131
|
});
|
|
27018
27132
|
})(Ga || (Ga = {}));
|
|
27019
27133
|
U(Ga.prototype, Ga.createDefaultProps);
|
|
27020
|
-
const
|
|
27134
|
+
const Mt = class Mt extends W {
|
|
27021
27135
|
/**
|
|
27022
27136
|
* 构造函数,初始化ESParticleSystemPrimitive实例。
|
|
27023
27137
|
* @param id - 场景对象的键,可选参数。
|
|
@@ -27029,8 +27143,8 @@ const Ot = class Ot extends W {
|
|
|
27029
27143
|
*/
|
|
27030
27144
|
f(this, "_player", this.dv(new Di()));
|
|
27031
27145
|
{
|
|
27032
|
-
const r =
|
|
27033
|
-
this.d(
|
|
27146
|
+
const r = Mt.defaults;
|
|
27147
|
+
this.d(le([this._player, "loop"], [this, "playingLoop"], (i) => i ?? r.playingLoop, (i) => i ?? r.playingLoop)), this.d(le([this._player, "currentTime"], [this, "currentTime"], (i) => i ?? r.currentTime, (i) => i ?? r.currentTime)), this.d(le([this._player, "duration"], [this, "duration"], (i) => i ?? r.duration, (i) => i ?? r.duration)), this.d(le([this._player, "playing"], [this, "playing"], (i) => i ?? r.playing, (i) => i ?? r.playing)), this.d(le([this._player, "speed"], [this, "playingSpeed"], (i) => i ?? r.playingSpeed, (i) => i ?? r.playingSpeed));
|
|
27034
27148
|
}
|
|
27035
27149
|
}
|
|
27036
27150
|
/**
|
|
@@ -27045,7 +27159,7 @@ const Ot = class Ot extends W {
|
|
|
27045
27159
|
* @returns 默认属性对象。
|
|
27046
27160
|
*/
|
|
27047
27161
|
get defaultProps() {
|
|
27048
|
-
return
|
|
27162
|
+
return Mt.createDefaultProps();
|
|
27049
27163
|
}
|
|
27050
27164
|
/**
|
|
27051
27165
|
* 获取播放器实例。
|
|
@@ -27091,7 +27205,7 @@ const Ot = class Ot extends W {
|
|
|
27091
27205
|
new R("是否循环", "loop,Whether the particle system should loop its bursts when it is complete.", !0, !1, [this, "loop"], !0),
|
|
27092
27206
|
new E("等级", "scale,Sets the scale to apply to the image of the particle for the duration of its particleLife.", !0, !1, [this, "particleScale"], 1),
|
|
27093
27207
|
new E("初始等级", "startScale,The initial scale to apply to the image of the particle at the beginning of its life.", !0, !1, [this, "startScale"]),
|
|
27094
|
-
new E("结束等级", "endScale,The final scale to apply to the image of the particle at the end of its life.", !0, !1, [this, "endScale"],
|
|
27208
|
+
new E("结束等级", "endScale,The final scale to apply to the image of the particle at the end of its life.", !0, !1, [this, "endScale"], Mt.defaults.endScale),
|
|
27095
27209
|
new Z("颜色", "Sets the color of a particle for the duration of its particleLife.", !0, !1, [this, "color"]),
|
|
27096
27210
|
new Z("初始颜色", "The color of the particle at the beginning of its life.", !0, !1, [this, "startColor"]),
|
|
27097
27211
|
new Z("结束颜色", "The color of the particle at the end of its life.", !0, !1, [this, "endColor"]),
|
|
@@ -27100,35 +27214,35 @@ const Ot = class Ot extends W {
|
|
|
27100
27214
|
new E("最小速度", "minimumSpeed,Sets the minimum bound in meters per second above which a particles actual speed will be randomly chosen.", !0, !1, [this, "minimumSpeed"]),
|
|
27101
27215
|
new E("最大速度", "maximumSpeed,Sets the maximum bound in meters per second below which a particles actual speed will be randomly chosen.", !0, !1, [this, "maximumSpeed"]),
|
|
27102
27216
|
new E("生命周期", "lifetime,How long the particle system will emit particles, in seconds.", !0, !1, [this, "lifetime"], Number.MAX_VALUE),
|
|
27103
|
-
new E("粒子生命周期", "particleLife,If set, overrides the minimumParticleLife and maximumParticleLife inputs with this value.", !0, !1, [this, "particleLife"],
|
|
27217
|
+
new E("粒子生命周期", "particleLife,If set, overrides the minimumParticleLife and maximumParticleLife inputs with this value.", !0, !1, [this, "particleLife"], Mt.defaults.particleLife),
|
|
27104
27218
|
new E("最小粒子生命周期", "minimumParticleLife,Sets the minimum bound in seconds for the possible duration of a particles life above which a particles actual life will be randomly chosen.", !0, !1, [this, "minimumParticleLife"]),
|
|
27105
27219
|
new E("最大粒子生命周期", "maximumParticleLife,Sets the maximum bound in seconds for the possible duration of a particles life below which a particles actual life will be randomly chosen.", !0, !1, [this, "maximumParticleLife"]),
|
|
27106
27220
|
new E("块数量", "mass,Sets the minimum and maximum mass of particles in kilograms.", !0, !1, [this, "mass"], 1),
|
|
27107
27221
|
new E("最小块数量", "minimumMass,Sets the minimum bound for the mass of a particle in kilograms. A particles actual mass will be chosen as a random amount above this value.", !0, !1, [this, "minimumMass"]),
|
|
27108
27222
|
new E("最大块数量", "maximumMass,Sets the maximum mass of particles in kilograms. A particles actual mass will be chosen as a random amount below this value.", !0, !1, [this, "maximumMass"]),
|
|
27109
|
-
new Je("图片尺寸", "imageSize", !0, !1, [this, "imageSize"],
|
|
27223
|
+
new Je("图片尺寸", "imageSize", !0, !1, [this, "imageSize"], Mt.defaults.imageSize),
|
|
27110
27224
|
//toCartesian2
|
|
27111
27225
|
new Je("最小图片尺寸", "minimumImageSize", !0, !1, [this, "minimumImageSize"]),
|
|
27112
27226
|
//toCartesian2
|
|
27113
27227
|
new Je("最大图片尺寸", "maximumImageSize", !0, !1, [this, "maximumImageSize"]),
|
|
27114
27228
|
//toCartesian2
|
|
27115
|
-
new gc("图片", "The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard.", !0, !1, [this, "image"],
|
|
27229
|
+
new gc("图片", "The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard.", !0, !1, [this, "image"], Mt.defaults.image),
|
|
27116
27230
|
// new BooleanProperty('是否编辑位置', '是否编辑位置.', true, false, [this, 'positionEditing'], false),
|
|
27117
27231
|
// new PositionProperty('位置', 'position,经度纬度高度,度为单位', true, false, [this, 'position']),
|
|
27118
27232
|
new Gt("偏移", "translation", !0, !1, [this, "translation"], [0, 0, 0]),
|
|
27119
27233
|
// new Number3Property('旋转', 'rotation,偏航俯仰翻转,度为单位', true, false, [this, 'rotation'], [0, 0, 0]),
|
|
27120
27234
|
new yp("bursts", "bursts", !0, !1, [this, "bursts"]),
|
|
27121
|
-
new B("emitter", "emitter", !1, !1, [this, "emitter"],
|
|
27235
|
+
new B("emitter", "emitter", !1, !1, [this, "emitter"], Mt.defaults.emitter)
|
|
27122
27236
|
// new NonreactiveJsonStringProperty('geoJson', '生成GeoJSON数据。', false, false, () => this.geoJsonStr, (value: string | undefined) => value && (this.geoJsonStr = value)),
|
|
27123
27237
|
]),
|
|
27124
27238
|
new k("播放器", "播放器", [
|
|
27125
|
-
new E("播放比率", "播放比率(0-1)", !0, !1, [this, "ratio"],
|
|
27239
|
+
new E("播放比率", "播放比率(0-1)", !0, !1, [this, "ratio"], Mt.defaults.ratio),
|
|
27126
27240
|
new ph("播放器", "播放器", [this, "playing"], [this, "ratio"], [this, "playingLoop"]),
|
|
27127
|
-
new R("是否循环", "是否循环.", !0, !1, [this, "playingLoop"],
|
|
27128
|
-
new E("当前时间", "当前时间", !0, !1, [this, "currentTime"],
|
|
27129
|
-
new E("过渡时间", "过渡时间", !0, !1, [this, "duration"],
|
|
27130
|
-
new R("是否播放", "是否播放.", !0, !1, [this, "playing"],
|
|
27131
|
-
new E("播放速度", "播放速度.", !0, !1, [this, "playingSpeed"],
|
|
27241
|
+
new R("是否循环", "是否循环.", !0, !1, [this, "playingLoop"], Mt.defaults.playingLoop),
|
|
27242
|
+
new E("当前时间", "当前时间", !0, !1, [this, "currentTime"], Mt.defaults.currentTime),
|
|
27243
|
+
new E("过渡时间", "过渡时间", !0, !1, [this, "duration"], Mt.defaults.duration),
|
|
27244
|
+
new R("是否播放", "是否播放.", !0, !1, [this, "playing"], Mt.defaults.playing),
|
|
27245
|
+
new E("播放速度", "播放速度.", !0, !1, [this, "playingSpeed"], Mt.defaults.playingSpeed)
|
|
27132
27246
|
])
|
|
27133
27247
|
];
|
|
27134
27248
|
}
|
|
@@ -27136,10 +27250,10 @@ const Ot = class Ot extends W {
|
|
|
27136
27250
|
/**
|
|
27137
27251
|
* 注册ESParticleSystemPrimitive类,指定类型名称、中文名称、标签和描述。
|
|
27138
27252
|
*/
|
|
27139
|
-
f(
|
|
27253
|
+
f(Mt, "type", Mt.register("ESParticleSystemPrimitive", Mt, { chsName: "粒子", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "通过Cesium的Primitive API 实现的粒子特效。" })), /**
|
|
27140
27254
|
* 默认属性值。
|
|
27141
27255
|
*/
|
|
27142
|
-
f(
|
|
27256
|
+
f(Mt, "defaults", {
|
|
27143
27257
|
...W.defaults,
|
|
27144
27258
|
playingLoop: !0,
|
|
27145
27259
|
currentTime: 0,
|
|
@@ -27157,7 +27271,7 @@ f(Ot, "defaults", {
|
|
|
27157
27271
|
radius: 0.5
|
|
27158
27272
|
}
|
|
27159
27273
|
});
|
|
27160
|
-
let Wa =
|
|
27274
|
+
let Wa = Mt;
|
|
27161
27275
|
((n) => {
|
|
27162
27276
|
n.createDefaultProps = () => ({
|
|
27163
27277
|
...W.createDefaultProps(),
|
|
@@ -27175,7 +27289,7 @@ let Wa = Ot;
|
|
|
27175
27289
|
* 三维空间偏移量(x, y, z)
|
|
27176
27290
|
* @type {ESJVector3D | undefined}
|
|
27177
27291
|
*/
|
|
27178
|
-
translation:
|
|
27292
|
+
translation: Ot(void 0),
|
|
27179
27293
|
/**
|
|
27180
27294
|
* 是否启用位置编辑模式
|
|
27181
27295
|
* @type {boolean | undefined}
|
|
@@ -27190,17 +27304,17 @@ let Wa = Ot;
|
|
|
27190
27304
|
* 粒子图片尺寸(宽, 高)
|
|
27191
27305
|
* @type {ESJVector2D}
|
|
27192
27306
|
*/
|
|
27193
|
-
imageSize:
|
|
27307
|
+
imageSize: Ot(void 0),
|
|
27194
27308
|
/**
|
|
27195
27309
|
* 粒子图片最小尺寸(宽, 高)
|
|
27196
27310
|
* @type {ESJVector2D}
|
|
27197
27311
|
*/
|
|
27198
|
-
minimumImageSize:
|
|
27312
|
+
minimumImageSize: Ot(void 0),
|
|
27199
27313
|
/**
|
|
27200
27314
|
* 粒子图片最大尺寸(宽, 高)
|
|
27201
27315
|
* @type {ESJVector2D}
|
|
27202
27316
|
*/
|
|
27203
|
-
maximumImageSize:
|
|
27317
|
+
maximumImageSize: Ot(void 0),
|
|
27204
27318
|
/**
|
|
27205
27319
|
* 粒子更新回调函数字符串(每帧执行)
|
|
27206
27320
|
* @type {string | undefined}
|
|
@@ -27235,17 +27349,17 @@ let Wa = Ot;
|
|
|
27235
27349
|
* 粒子生命周期内的颜色(RGBA 格式)
|
|
27236
27350
|
* @type {ESJColor | undefined}
|
|
27237
27351
|
*/
|
|
27238
|
-
color:
|
|
27352
|
+
color: Ot(void 0),
|
|
27239
27353
|
/**
|
|
27240
27354
|
* 粒子初始颜色(生命周期开始时的 RGBA 格式)
|
|
27241
27355
|
* @type {ESJColor | undefined}
|
|
27242
27356
|
*/
|
|
27243
|
-
startColor:
|
|
27357
|
+
startColor: Ot(void 0),
|
|
27244
27358
|
/**
|
|
27245
27359
|
* 粒子结束颜色(生命周期结束时的 RGBA 格式)
|
|
27246
27360
|
* @type {ESJColor | undefined}
|
|
27247
27361
|
*/
|
|
27248
|
-
endColor:
|
|
27362
|
+
endColor: Ot(void 0),
|
|
27249
27363
|
/**
|
|
27250
27364
|
* 尺寸单位是否为米(`true` 为米,`false` 为像素)
|
|
27251
27365
|
* @type {boolean | undefined}
|
|
@@ -28049,7 +28163,7 @@ function Gy(n, e, t) {
|
|
|
28049
28163
|
}
|
|
28050
28164
|
return new Float32Array(i, e, t);
|
|
28051
28165
|
}
|
|
28052
|
-
function
|
|
28166
|
+
function Md(n) {
|
|
28053
28167
|
if (ju(n, 0, 4) !== "glTF") {
|
|
28054
28168
|
console.error("Not a glTF file");
|
|
28055
28169
|
return;
|
|
@@ -28091,9 +28205,9 @@ function Od(n) {
|
|
|
28091
28205
|
} while (!1);
|
|
28092
28206
|
return a;
|
|
28093
28207
|
}
|
|
28094
|
-
window.parseGlb =
|
|
28095
|
-
function
|
|
28096
|
-
const e =
|
|
28208
|
+
window.parseGlb = Md;
|
|
28209
|
+
function Od(n) {
|
|
28210
|
+
const e = Md(n);
|
|
28097
28211
|
if (e === void 0 || !e.gltfBinary) return;
|
|
28098
28212
|
const t = JSON.parse(e.gltfJson);
|
|
28099
28213
|
return t.nodes.map((r) => {
|
|
@@ -28110,7 +28224,7 @@ function Md(n) {
|
|
|
28110
28224
|
};
|
|
28111
28225
|
});
|
|
28112
28226
|
}
|
|
28113
|
-
window.parseWaterGlb =
|
|
28227
|
+
window.parseWaterGlb = Od;
|
|
28114
28228
|
const Ge = class Ge extends W {
|
|
28115
28229
|
/**
|
|
28116
28230
|
* 构造函数,初始化该对象并解析 URL 获取数据。
|
|
@@ -28134,7 +28248,7 @@ const Ge = class Ge extends W {
|
|
|
28134
28248
|
const r = () => {
|
|
28135
28249
|
this.url != "" && fetch(this.url).then((i) => {
|
|
28136
28250
|
i.status == 200 && i.ok && i.arrayBuffer().then((s) => {
|
|
28137
|
-
this._submergingData =
|
|
28251
|
+
this._submergingData = Od(s);
|
|
28138
28252
|
const o = this._submergingData.map((a) => Date.parse(a.name)).sort();
|
|
28139
28253
|
this._allMoments = o, this.currentTime == 0 && (this.currentTime = o[0]), this.readyEvent.emit();
|
|
28140
28254
|
});
|
|
@@ -28401,7 +28515,7 @@ f(Cs, "type", Cs.register("ESSunshineAnalysis", Cs, { chsName: "日照分析", t
|
|
|
28401
28515
|
*/
|
|
28402
28516
|
f(Cs, "supportEditingModes", [
|
|
28403
28517
|
...Ie.supportEditingModes,
|
|
28404
|
-
|
|
28518
|
+
ce.HeightModify
|
|
28405
28519
|
]), /**
|
|
28406
28520
|
* 静态属性,默认属性值。
|
|
28407
28521
|
* 继承自 ESGeoPolygon 的默认属性。
|
|
@@ -29635,10 +29749,10 @@ f(Ps, "type", Ps.register("ESDirectionMeasurement", Ps, { chsName: "方位角测
|
|
|
29635
29749
|
*/
|
|
29636
29750
|
f(Ps, "supportEditingModes", [
|
|
29637
29751
|
...de.supportEditingModes,
|
|
29638
|
-
|
|
29639
|
-
|
|
29640
|
-
|
|
29641
|
-
|
|
29752
|
+
ce.Rotation,
|
|
29753
|
+
ce.Scale,
|
|
29754
|
+
ce.DoublePointsAppend,
|
|
29755
|
+
ce.DoublePointsModify
|
|
29642
29756
|
]), /**
|
|
29643
29757
|
* 静态属性,重写默认值,包含父类的默认值。
|
|
29644
29758
|
*/
|
|
@@ -30892,8 +31006,8 @@ f(Is, "type", Is.register("ESHeightMeasurement", Is, { chsName: "高度测量",
|
|
|
30892
31006
|
*/
|
|
30893
31007
|
f(Is, "supportEditingModes", [
|
|
30894
31008
|
...de.supportEditingModes,
|
|
30895
|
-
|
|
30896
|
-
|
|
31009
|
+
ce.DoublePointsAppend,
|
|
31010
|
+
ce.DoublePointsModify
|
|
30897
31011
|
]), /**
|
|
30898
31012
|
* 静态属性,重写默认设置,继承自 ESGeoVector 的默认设置。
|
|
30899
31013
|
*/
|
|
@@ -31147,7 +31261,7 @@ let fs = io;
|
|
|
31147
31261
|
});
|
|
31148
31262
|
})(fs || (fs = {}));
|
|
31149
31263
|
U(fs.prototype, fs.createDefaultProps);
|
|
31150
|
-
const Ko = class Ko extends
|
|
31264
|
+
const Ko = class Ko extends Mi {
|
|
31151
31265
|
/**
|
|
31152
31266
|
* 获取类的类型名称。
|
|
31153
31267
|
* @returns {string} 类的类型名称,固定为 'ESLocalPolygonZ'。
|
|
@@ -31191,7 +31305,7 @@ f(Ko, "type", Ko.register("ESLocalPolygonZ", Ko, { chsName: "局部坐标多边
|
|
|
31191
31305
|
let al = Ko;
|
|
31192
31306
|
((n) => {
|
|
31193
31307
|
n.createDefaultProps = () => ({
|
|
31194
|
-
...
|
|
31308
|
+
...Mi.createDefaultProps(),
|
|
31195
31309
|
/**
|
|
31196
31310
|
* 表示多边形顶点位置的数组,每个元素是一个包含三个数值的数组
|
|
31197
31311
|
*/
|
|
@@ -31380,8 +31494,8 @@ f(vi, "type", vi.register("ESPipeFence", vi, { chsName: "管道电子围栏", ta
|
|
|
31380
31494
|
*/
|
|
31381
31495
|
f(vi, "supportEditingModes", [
|
|
31382
31496
|
...de.supportEditingModes,
|
|
31383
|
-
|
|
31384
|
-
|
|
31497
|
+
ce.LineStringAppend,
|
|
31498
|
+
ce.LineStringInsert
|
|
31385
31499
|
]), /**
|
|
31386
31500
|
* 静态属性,重写默认值,包含笔画样式、填充样式、填充和笔画标志以及材质模式等信息。
|
|
31387
31501
|
*/
|
|
@@ -31611,9 +31725,9 @@ f(yi, "type", yi.register("ESPolygonFence", yi, { chsName: "多边形电子围
|
|
|
31611
31725
|
*/
|
|
31612
31726
|
f(yi, "supportEditingModes", [
|
|
31613
31727
|
...de.supportEditingModes,
|
|
31614
|
-
|
|
31615
|
-
|
|
31616
|
-
|
|
31728
|
+
ce.CircularAppend,
|
|
31729
|
+
ce.CircularInsert,
|
|
31730
|
+
ce.HeightModify
|
|
31617
31731
|
]), /**
|
|
31618
31732
|
* 默认属性值,包含填充样式、是否填充和材质模式等信息。
|
|
31619
31733
|
*/
|
|
@@ -31739,8 +31853,8 @@ f(Bi, "type", Bi.register("ESRectangle", Bi, { chsName: "矩形", tags: ["ESObje
|
|
|
31739
31853
|
*/
|
|
31740
31854
|
f(Bi, "supportEditingModes", [
|
|
31741
31855
|
...de.supportEditingModes,
|
|
31742
|
-
|
|
31743
|
-
|
|
31856
|
+
ce.DoublePointsAppend,
|
|
31857
|
+
ce.DoublePointsModify
|
|
31744
31858
|
]), /**
|
|
31745
31859
|
* 默认属性值。
|
|
31746
31860
|
*
|
|
@@ -31793,7 +31907,7 @@ let fl = Bi;
|
|
|
31793
31907
|
* @type {ESJVector4D | undefined}
|
|
31794
31908
|
* 默认为undefined。
|
|
31795
31909
|
*/
|
|
31796
|
-
rectangle:
|
|
31910
|
+
rectangle: Ot(void 0),
|
|
31797
31911
|
/**
|
|
31798
31912
|
* 纹理旋转角度
|
|
31799
31913
|
* @type {number}
|
|
@@ -31901,6 +32015,10 @@ const ji = class ji extends Ie {
|
|
|
31901
32015
|
* 私有属性,用于触发开始计算的事件。
|
|
31902
32016
|
*/
|
|
31903
32017
|
f(this, "_startEvent", this.disposeVar(new V()));
|
|
32018
|
+
/**
|
|
32019
|
+
* 停止事件,当调用 stop 方法时触发。
|
|
32020
|
+
*/
|
|
32021
|
+
f(this, "_stopEvent", this.dv(new V()));
|
|
31904
32022
|
/**
|
|
31905
32023
|
* 私有属性,用于存储表面积的响应式变量。
|
|
31906
32024
|
*/
|
|
@@ -31934,6 +32052,19 @@ const ji = class ji extends Ie {
|
|
|
31934
32052
|
start() {
|
|
31935
32053
|
this._startEvent.emit();
|
|
31936
32054
|
}
|
|
32055
|
+
/**
|
|
32056
|
+
* 获取停止事件。
|
|
32057
|
+
* @returns 停止事件对象。
|
|
32058
|
+
*/
|
|
32059
|
+
get stopEvent() {
|
|
32060
|
+
return this._stopEvent;
|
|
32061
|
+
}
|
|
32062
|
+
/**
|
|
32063
|
+
* 触发停止事件,停止分析计算。
|
|
32064
|
+
*/
|
|
32065
|
+
stop() {
|
|
32066
|
+
this._stopEvent.emit();
|
|
32067
|
+
}
|
|
31937
32068
|
/**
|
|
31938
32069
|
* 获取当前的表面积值。
|
|
31939
32070
|
* @returns 当前的表面积值。
|
|
@@ -31985,10 +32116,8 @@ f(ji, "defaults", {
|
|
|
31985
32116
|
//三角面整体偏移高度
|
|
31986
32117
|
// 面积单位
|
|
31987
32118
|
unitsMode: [
|
|
31988
|
-
["平方米", "
|
|
31989
|
-
["
|
|
31990
|
-
["亩", "MU"],
|
|
31991
|
-
["公顷", "Hectare"]
|
|
32119
|
+
["平方米_平方千米", "SquareMeter_SquareKilometer"],
|
|
32120
|
+
["亩_公顷", "MU_Hectare"]
|
|
31992
32121
|
]
|
|
31993
32122
|
});
|
|
31994
32123
|
let dl = ji;
|
|
@@ -32008,16 +32137,14 @@ let dl = ji;
|
|
|
32008
32137
|
*/
|
|
32009
32138
|
offsetHeight: void 0,
|
|
32010
32139
|
/**
|
|
32011
|
-
* 面积单位,默认值 ['
|
|
32140
|
+
* 面积单位,默认值 ['SquareMeter_SquareKilometer']
|
|
32012
32141
|
* @type { string[] }
|
|
32013
|
-
*
|
|
32014
|
-
*
|
|
32015
|
-
* ['亩', 'MU'],
|
|
32016
|
-
* ['公顷', 'Hectare']
|
|
32142
|
+
* ['平方米_平方千米', 'SquareMeter_SquareKilometer'],
|
|
32143
|
+
* ['亩_公顷', 'MU_Hectare'],
|
|
32017
32144
|
*
|
|
32018
|
-
* 例如 :['
|
|
32145
|
+
* 例如 :['SquareMeter_SquareKilometer', 'MU_Hectare']
|
|
32019
32146
|
*/
|
|
32020
|
-
units: ge(["
|
|
32147
|
+
units: ge(["SquareMeter_SquareKilometer", "MU_Hectare"])
|
|
32021
32148
|
});
|
|
32022
32149
|
})(dl || (dl = {}));
|
|
32023
32150
|
U(dl.prototype, dl.createDefaultProps);
|
|
@@ -32679,8 +32806,8 @@ f(zr, "type", zr.register("ESVisibilityAnalysis", zr, { chsName: "通视分析,
|
|
|
32679
32806
|
*/
|
|
32680
32807
|
f(zr, "supportEditingModes", [
|
|
32681
32808
|
...de.supportEditingModes,
|
|
32682
|
-
|
|
32683
|
-
|
|
32809
|
+
ce.VisibilityAppend,
|
|
32810
|
+
ce.VisibilityModify
|
|
32684
32811
|
]), /**
|
|
32685
32812
|
* 静态属性,重写默认值,包含 ESGeoVector 的默认值以及可视区域颜色、遮挡区域颜色和视点高度偏移的默认值。
|
|
32686
32813
|
*/
|
|
@@ -32896,7 +33023,7 @@ const Qo = class Qo extends hs {
|
|
|
32896
33023
|
this.mainClass = this._human, this._human.parentID = this.id, this._poi.parentID = this.id, this.d(this.components.disposableAdd(this._human)), this.d(this.components.disposableAdd(this._poi));
|
|
32897
33024
|
{
|
|
32898
33025
|
const { _human: r, _poi: i } = this;
|
|
32899
|
-
this.d(z([r, "show"], [this, "show"])), this.d(z([i, "show"], [this, "show"])), this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([i, "allowPicking"], [this, "allowPicking"])), this.d(
|
|
33026
|
+
this.d(z([r, "show"], [this, "show"])), this.d(z([i, "show"], [this, "show"])), this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([i, "allowPicking"], [this, "allowPicking"])), this.d(le([r, "scale"], [this, "scale"])), this.d(le([i, "scale"], [this, "scale"])), this.d(z([r, "collision"], [this, "collision"])), this.d(z([i, "collision"], [this, "collision"])), this.d(le([r, "flyInParam"], [this, "flyInParam"])), this.d(le([r, "flyToParam"], [this, "flyToParam"])), this.d(z([r, "animation"], [this, "animation"])), this.d(z([r, "mode"], [this, "mode"])), this.d(z([r, "minVisibleDistance"], [this, "minVisibleDistance"])), this.d(z([r, "maxVisibleDistance"], [this, "maxVisibleDistance"])), this.d(z([i, "name"], [this, "name"])), this.d(z([i, "mode"], [this, "poiMode"])), this.d(z([i, "autoAnchor"], [this, "autoAnchor"])), this.d(z([i, "screenRender"], [this, "screenRender"])), this.d(z([i, "size"], [this, "size"])), this.d(z([i, "anchor"], [this, "anchor"])), this.d(z([i, "sizeByContent"], [this, "sizeByContent"])), this.d(z([i, "renderMode"], [this, "renderMode"])), this.d(z([i, "rotationType"], [this, "rotationType"])), this.d(z([i, "zOrder"], [this, "zOrder"])), this.d(z([i, "minVisibleDistance"], [this, "minVisibleDistance"])), this.d(z([i, "maxVisibleDistance"], [this, "maxVisibleDistance"])), this.d(le([r, "position"], [this, "position"])), this.d(le([r, "rotation"], [this, "rotation"])), this.d(this.flyInEvent.don((s) => {
|
|
32900
33027
|
r.flyIn(s);
|
|
32901
33028
|
})), this.d(this.flyToEvent.don((s) => {
|
|
32902
33029
|
r.flyTo(s);
|
|
@@ -33185,7 +33312,7 @@ const $o = class $o extends ps {
|
|
|
33185
33312
|
this.mainClass = this._pit, this.excavate.parentID = this.id, this._pit.parentID = this.id, this.d(this.components.disposableAdd(this._excavate)), this.d(this.components.disposableAdd(this._pit));
|
|
33186
33313
|
{
|
|
33187
33314
|
const { _excavate: r, _pit: i } = this;
|
|
33188
|
-
this.d(z([r, "show"], [this, "show"])), this.d(z([i, "show"], [this, "show"])), this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([i, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(z([i, "collision"], [this, "collision"])), this.d(
|
|
33315
|
+
this.d(z([r, "show"], [this, "show"])), this.d(z([i, "show"], [this, "show"])), this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([i, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(z([i, "collision"], [this, "collision"])), this.d(le([i, "points"], [this, "points"])), this.d(z([r, "points"], [this, "points"])), this.d(z([i, "pointed"], [this, "pointed"])), this.d(z([r, "pointed"], [this, "pointed"])), this.d(z([i, "pointStyle"], [this, "pointStyle"])), this.d(z([r, "pointStyle"], [this, "pointStyle"])), this.d(z([i, "stroked"], [this, "stroked"])), this.d(z([r, "stroked"], [this, "stroked"])), this.d(z([i, "strokeStyle"], [this, "strokeStyle"])), this.d(z([r, "strokeStyle"], [this, "strokeStyle"])), this.d(z([i, "filled"], [this, "filled"])), this.d(z([i, "fillStyle"], [this, "fillStyle"])), this.d(z([r, "fillStyle"], [this, "fillStyle"])), this.d(z([r, "mode"], [this, "mode"])), this.d(z([r, "targetID"], [this, "targetID"])), this.d(z([i, "depth"], [this, "depth"])), this.d(z([i, "sideImage"], [this, "sideImage"])), this.d(z([i, "bottomImage"], [this, "bottomImage"])), this.d(z([i, "opacity"], [this, "opacity"])), this.d(z([i, "interpolation"], [this, "interpolation"])), this.d(le([i, "flyInParam"], [this, "flyInParam"])), this.d(le([i, "flyToParam"], [this, "flyToParam"])), this.d(this.flyInEvent.don((s) => {
|
|
33189
33316
|
i.flyIn(s);
|
|
33190
33317
|
})), this.d(this.flyToEvent.don((s) => {
|
|
33191
33318
|
i.flyTo(s);
|
|
@@ -33387,7 +33514,7 @@ const Bh = {
|
|
|
33387
33514
|
{
|
|
33388
33515
|
this.d(this.components.disposableAdd(this._es3DTileset));
|
|
33389
33516
|
const r = this._es3DTileset;
|
|
33390
|
-
this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(
|
|
33517
|
+
this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(le([r, "flyToParam"], [this, "flyToParam"])), this.d(le([r, "flyToParam"], [this, "flyToParam"])), this.d(z([r, "actorTag"], [this, "actorTag"])), this.d(z([r, "materialMode"], [this, "materialMode"])), this.d(z([r, "highlight"], [this, "highlight"])), this.d(z([r, "maximumScreenSpaceError"], [this, "maximumScreenSpaceError"])), this.d(z([r, "highlightID"], [this, "highlightID"])), this.d(z([r, "highlightColor"], [this, "highlightColor"])), this.d(le([r, "offset"], [this, "offset"])), this.d(le([r, "rotation"], [this, "rotation"])), this.d(z([r, "czmImageBasedLightingFactor"], [this, "czmImageBasedLightingFactor"])), this.d(z([r, "czmLuminanceAtZenith"], [this, "czmLuminanceAtZenith"])), this.d(z([r, "czmMaximumMemoryUsage"], [this, "czmMaximumMemoryUsage"])), this.d(z([r, "czmClassificationType"], [this, "czmClassificationType"])), this.d(z([r, "czmStyleJson"], [this, "czmStyleJson"])), this.d(z([r, "czmBackFaceCulling"], [this, "czmBackFaceCulling"])), this.d(z([r, "czmDebugShowBoundingVolume"], [this, "czmDebugShowBoundingVolume"])), this.d(z([r, "czmDebugShowContentBoundingVolume"], [this, "czmDebugShowContentBoundingVolume"])), this.d(z([r, "czmSkipLevelOfDetail"], [this, "czmSkipLevelOfDetail"])), this.d(z([r, "colorBlendMode"], [this, "colorBlendMode"])), this.d(z([r, "cacheBytes"], [this, "cacheBytes"])), this.d(z([r, "clippingPlaneEnabled"], [this, "clippingPlaneEnabled"])), this.d(z([r, "unionClippingRegions"], [this, "unionClippingRegions"])), this.d(z([r, "clippingPlaneEdgeColor"], [this, "clippingPlaneEdgeColor"])), this.d(z([r, "clippingPlaneEdgeWidth"], [this, "clippingPlaneEdgeWidth"])), this.d(z([r, "materialParams"], [this, "materialParams"])), this.d(le([r, "supportEdit"], [this, "supportEdit"])), this.d(le([r, "clippingPlanesId"], [this, "clippingPlanesId"])), this.d(le([r, "clippingPlaneIds"], [this, "clippingPlaneIds"])), this.d(le([r, "flattenedPlaneId"], [this, "flattenedPlaneId"])), this.d(le([r, "flattenedPlaneEnabled"], [this, "flattenedPlaneEnabled"])), this.d(le([r, "clippingPlaneId"], [this, "clippingPlaneId"])), this.d(le([r, "excavateId"], [this, "excavateId"]));
|
|
33391
33518
|
}
|
|
33392
33519
|
{
|
|
33393
33520
|
const r = this._es3DTileset;
|
|
@@ -33857,7 +33984,7 @@ const $y = async (n) => {
|
|
|
33857
33984
|
{
|
|
33858
33985
|
this.d(this.components.disposableAdd(this._es3DTileset));
|
|
33859
33986
|
const r = this._es3DTileset;
|
|
33860
|
-
this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(
|
|
33987
|
+
this.d(z([r, "allowPicking"], [this, "allowPicking"])), this.d(z([r, "collision"], [this, "collision"])), this.d(le([r, "flyToParam"], [this, "flyToParam"])), this.d(le([r, "flyToParam"], [this, "flyToParam"])), this.d(z([r, "actorTag"], [this, "actorTag"])), this.d(z([r, "materialMode"], [this, "materialMode"])), this.d(z([r, "highlight"], [this, "highlight"])), this.d(z([r, "maximumScreenSpaceError"], [this, "maximumScreenSpaceError"])), this.d(z([r, "highlightID"], [this, "highlightID"])), this.d(z([r, "highlightColor"], [this, "highlightColor"])), this.d(le([r, "offset"], [this, "offset"])), this.d(le([r, "rotation"], [this, "rotation"])), this.d(z([r, "czmImageBasedLightingFactor"], [this, "czmImageBasedLightingFactor"])), this.d(z([r, "czmLuminanceAtZenith"], [this, "czmLuminanceAtZenith"])), this.d(z([r, "czmMaximumMemoryUsage"], [this, "czmMaximumMemoryUsage"])), this.d(z([r, "czmClassificationType"], [this, "czmClassificationType"])), this.d(z([r, "czmStyleJson"], [this, "czmStyleJson"])), this.d(z([r, "czmBackFaceCulling"], [this, "czmBackFaceCulling"])), this.d(z([r, "czmDebugShowBoundingVolume"], [this, "czmDebugShowBoundingVolume"])), this.d(z([r, "czmDebugShowContentBoundingVolume"], [this, "czmDebugShowContentBoundingVolume"])), this.d(z([r, "czmSkipLevelOfDetail"], [this, "czmSkipLevelOfDetail"])), this.d(z([r, "colorBlendMode"], [this, "colorBlendMode"])), this.d(z([r, "cacheBytes"], [this, "cacheBytes"])), this.d(z([r, "clippingPlaneEnabled"], [this, "clippingPlaneEnabled"])), this.d(z([r, "unionClippingRegions"], [this, "unionClippingRegions"])), this.d(z([r, "clippingPlaneEdgeColor"], [this, "clippingPlaneEdgeColor"])), this.d(z([r, "clippingPlaneEdgeWidth"], [this, "clippingPlaneEdgeWidth"])), this.d(z([r, "materialParams"], [this, "materialParams"])), this.d(le([r, "supportEdit"], [this, "supportEdit"])), this.d(le([r, "clippingPlanesId"], [this, "clippingPlanesId"])), this.d(le([r, "clippingPlaneIds"], [this, "clippingPlaneIds"])), this.d(le([r, "flattenedPlaneId"], [this, "flattenedPlaneId"])), this.d(le([r, "flattenedPlaneEnabled"], [this, "flattenedPlaneEnabled"])), this.d(le([r, "clippingPlaneId"], [this, "clippingPlaneId"])), this.d(le([r, "excavateId"], [this, "excavateId"]));
|
|
33861
33988
|
}
|
|
33862
33989
|
{
|
|
33863
33990
|
const r = this._es3DTileset;
|
|
@@ -34331,7 +34458,7 @@ f(Br, "type", Br.register("ESGeoExtrudedPolygon", Br, { chsName: "拉升多边
|
|
|
34331
34458
|
*/
|
|
34332
34459
|
f(Br, "supportEditingModes", [
|
|
34333
34460
|
...Ie.supportEditingModes,
|
|
34334
|
-
|
|
34461
|
+
ce.HeightModify
|
|
34335
34462
|
]), /**
|
|
34336
34463
|
* 静态属性,对象的默认值,包含父类的默认值以及新增的高度、拉伸高度和是否应用每个位置高度的默认值。
|
|
34337
34464
|
*/
|
|
@@ -34376,7 +34503,7 @@ const po = class po extends Ie {
|
|
|
34376
34503
|
this.mainClass = this._geoExtrudedPolygon, this.classification.parentID = this.id, this.geoExtrudedPolygon.parentID = this.id, this.d(this.components.disposableAdd(this._classification)), this.d(this.components.disposableAdd(this._geoExtrudedPolygon));
|
|
34377
34504
|
{
|
|
34378
34505
|
const { _classification: r, _geoExtrudedPolygon: i } = this;
|
|
34379
|
-
i.perPositionHeight = !0, this.d(z([r, "collision"], [this, "collision"])), this.d(z([i, "collision"], [this, "collision"])), this.d(
|
|
34506
|
+
i.perPositionHeight = !0, this.d(z([r, "collision"], [this, "collision"])), this.d(z([i, "collision"], [this, "collision"])), this.d(le([i, "flyInParam"], [this, "flyInParam"])), this.d(le([i, "flyToParam"], [this, "flyToParam"])), this.d(le([i, "points"], [this, "points"])), this.d(le([i, "extrudedHeight"], [this, "height"])), this.d(le([r, "fillColor"], [this, "overheightColor"])), this.d(le([i, "fillColor"], [this, "standardColor"]));
|
|
34380
34507
|
{
|
|
34381
34508
|
const s = () => {
|
|
34382
34509
|
const { height: a, points: l, maxHeight: u } = this;
|
|
@@ -34494,7 +34621,7 @@ f(po, "type", po.register("ESHeightLimitAnalysis", po, { chsName: "控高分析"
|
|
|
34494
34621
|
*/
|
|
34495
34622
|
f(po, "supportEditingModes", [
|
|
34496
34623
|
...Ie.supportEditingModes,
|
|
34497
|
-
|
|
34624
|
+
ce.HeightModify
|
|
34498
34625
|
]);
|
|
34499
34626
|
let Nl = po;
|
|
34500
34627
|
((n) => {
|
|
@@ -34724,7 +34851,7 @@ class Eu extends ae {
|
|
|
34724
34851
|
};
|
|
34725
34852
|
r(), this.d(this.startTimeChanged.don(r)), this.d(this.stopTimeChanged.don(r));
|
|
34726
34853
|
}
|
|
34727
|
-
this.d(
|
|
34854
|
+
this.d(le([t, "playing"], [this, "playing"])), this.d(le([t, "loop"], [this, "loop"])), this.d(le([t, "speed"], [this, "speed"])), this.d(t.currentTimeChanged.don(() => {
|
|
34728
34855
|
this.startTime !== void 0 && t.currentTime !== void 0 && (this.currentTime = t.currentTime + this.startTime);
|
|
34729
34856
|
})), this.d(this.currentTimeChanged.don(() => {
|
|
34730
34857
|
if (this.currentTime === void 0 || this.startTime === void 0) return;
|
|
@@ -34791,7 +34918,7 @@ const go = class go extends re {
|
|
|
34791
34918
|
*/
|
|
34792
34919
|
f(this, "_absolutePlayer", this.dv(new Eu()));
|
|
34793
34920
|
const r = this.absolutePlayer;
|
|
34794
|
-
this.d(
|
|
34921
|
+
this.d(le([r, "currentTime"], [this, "currentTime"])), this.d(le([r, "startTime"], [this, "startTime"])), this.d(le([r, "stopTime"], [this, "stopTime"])), this.d(le([r, "playing"], [this, "playing"])), this.d(le([r, "loop"], [this, "loop"])), this.d(le([r, "speed"], [this, "speed"]));
|
|
34795
34922
|
}
|
|
34796
34923
|
/**
|
|
34797
34924
|
* 获取类型名称,固定返回 'ESPlayer'。
|
|
@@ -34944,9 +35071,9 @@ function t0(n, e, t) {
|
|
|
34944
35071
|
const C = _ - (i ?? (e.length == 1 ? e[0] : e[a - 1] || e[e.length - 1]) * 0.5);
|
|
34945
35072
|
let P = (C < 0 ? 0 : C) / _;
|
|
34946
35073
|
Number.isNaN(P) && (P = 0);
|
|
34947
|
-
const
|
|
35074
|
+
const M = (1 - P) * l + P * u, g = n.getCurrent(M);
|
|
34948
35075
|
if (!g) break;
|
|
34949
|
-
s.push([
|
|
35076
|
+
s.push([M, g.position, g.rotation]);
|
|
34950
35077
|
} while (!1);
|
|
34951
35078
|
t && s.push(n.timePosRots[a]);
|
|
34952
35079
|
do {
|
|
@@ -34955,8 +35082,8 @@ function t0(n, e, t) {
|
|
|
34955
35082
|
let C = (e.length == 1 ? e[0] : e[a - 1] || e[e.length - 1]) * 0.5;
|
|
34956
35083
|
const P = (e.length == 1 ? e[0] : e[a] || e[e.length - 1]) * 0.5 || 0;
|
|
34957
35084
|
C + P > _ ? (C = _ * (C / (C + P)), i = _ - C) : i = void 0;
|
|
34958
|
-
let
|
|
34959
|
-
const g = (1 -
|
|
35085
|
+
let M = (C < 0 ? 0 : C) / _;
|
|
35086
|
+
const g = (1 - M) * u + M * c, y = n.getCurrent(g);
|
|
34960
35087
|
if (!y) break;
|
|
34961
35088
|
s.push([g, y.position, y.rotation]);
|
|
34962
35089
|
} while (!1);
|
|
@@ -35172,7 +35299,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
35172
35299
|
this._scratchCurrentInfo.index = o, this._scratchCurrentInfo.position = a, this._scratchCurrentInfo.rotation = l, this._scratchCurrentInfo.ratio = u, this._currentInfo.value = this._scratchCurrentInfo;
|
|
35173
35300
|
}
|
|
35174
35301
|
};
|
|
35175
|
-
i(), this.currentTimeChanged.disposableOn(i), this.timePosRotsChanged.disposableOn(i), this.rotLerpModeChanged.disposableOn(i), this.dispose(
|
|
35302
|
+
i(), this.currentTimeChanged.disposableOn(i), this.timePosRotsChanged.disposableOn(i), this.rotLerpModeChanged.disposableOn(i), this.dispose(le([this._player, "loop"], [this, "loop"]));
|
|
35176
35303
|
{
|
|
35177
35304
|
const s = () => {
|
|
35178
35305
|
if (this.startTime === void 0 || this.currentTime === void 0) return;
|
|
@@ -35189,7 +35316,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
35189
35316
|
};
|
|
35190
35317
|
s(), this.dispose(this._player.currentTimeChanged.disposableOn(s));
|
|
35191
35318
|
}
|
|
35192
|
-
this.dispose(
|
|
35319
|
+
this.dispose(le([this._player, "duration"], [this, "duration"])), this.dispose(le([this._player, "playing"], [this, "playing"])), this.dispose(le([this._player, "speed"], [this, "speed"]));
|
|
35193
35320
|
{
|
|
35194
35321
|
const s = () => {
|
|
35195
35322
|
(this.autoComputeTimeFromTimePosRots ?? !0) && this.computeTimeFromTimePosRots();
|
|
@@ -35802,7 +35929,7 @@ let Xs = Gi;
|
|
|
35802
35929
|
/**
|
|
35803
35930
|
* 时间序列,为一个可能未定义的数字数组。
|
|
35804
35931
|
*/
|
|
35805
|
-
timeStamps:
|
|
35932
|
+
timeStamps: Ot(void 0),
|
|
35806
35933
|
/**
|
|
35807
35934
|
* 线条流速,单位为米每秒,默认值为 1。
|
|
35808
35935
|
*/
|
|
@@ -35930,7 +36057,7 @@ f(Wi, "defaults", {
|
|
|
35930
36057
|
textAlign: "left",
|
|
35931
36058
|
borderStyle: "solid"
|
|
35932
36059
|
});
|
|
35933
|
-
let
|
|
36060
|
+
let Ml = Wi;
|
|
35934
36061
|
((n) => {
|
|
35935
36062
|
n.createDefaultProps = () => ({
|
|
35936
36063
|
/**
|
|
@@ -35998,8 +36125,8 @@ let Ol = Wi;
|
|
|
35998
36125
|
*/
|
|
35999
36126
|
...W.createDefaultProps()
|
|
36000
36127
|
});
|
|
36001
|
-
})(
|
|
36002
|
-
U(
|
|
36128
|
+
})(Ml || (Ml = {}));
|
|
36129
|
+
U(Ml.prototype, Ml.createDefaultProps);
|
|
36003
36130
|
const ea = class ea extends W {
|
|
36004
36131
|
/**
|
|
36005
36132
|
* 获取类的类型名称。
|
|
@@ -36058,7 +36185,7 @@ const ea = class ea extends W {
|
|
|
36058
36185
|
* 注册 'ESCityBasePoint' 类型,包含中文名称、标签和描述信息。
|
|
36059
36186
|
*/
|
|
36060
36187
|
f(ea, "type", ea.register("ESCityBasePoint", ea, { chsName: "城市基点(Czm)", tags: ["ESObjects", "CityObjects", "_ES_Impl_Cesium"], description: "城市基点(Czm)" }));
|
|
36061
|
-
let
|
|
36188
|
+
let Ol = ea;
|
|
36062
36189
|
((n) => {
|
|
36063
36190
|
n.createDefaultProps = () => ({
|
|
36064
36191
|
...W.createDefaultProps(),
|
|
@@ -36069,8 +36196,8 @@ let Ml = ea;
|
|
|
36069
36196
|
*/
|
|
36070
36197
|
color: ge([1, 1, 0, 1])
|
|
36071
36198
|
});
|
|
36072
|
-
})(
|
|
36073
|
-
U(
|
|
36199
|
+
})(Ol || (Ol = {}));
|
|
36200
|
+
U(Ol.prototype, Ol.createDefaultProps);
|
|
36074
36201
|
const o0 = [
|
|
36075
36202
|
{
|
|
36076
36203
|
id: "document",
|
|
@@ -36994,7 +37121,7 @@ let zl = yo;
|
|
|
36994
37121
|
/** 天际线分析结果的屏幕坐标数组 */
|
|
36995
37122
|
windowPositions: _p(void 0),
|
|
36996
37123
|
// 屏幕坐标数组,用于接收分析结果
|
|
36997
|
-
depths:
|
|
37124
|
+
depths: Ot(void 0),
|
|
36998
37125
|
// 深度数组,用于接收分析结果
|
|
36999
37126
|
radius: Q(void 0)
|
|
37000
37127
|
// 半径
|
|
@@ -37364,7 +37491,7 @@ class g0 extends ae {
|
|
|
37364
37491
|
/**
|
|
37365
37492
|
* 私有变量,存储当前活动编辑信息
|
|
37366
37493
|
*/
|
|
37367
|
-
f(this, "_currentActiveEditing", this.disposeVar(
|
|
37494
|
+
f(this, "_currentActiveEditing", this.disposeVar(Ot(void 0)));
|
|
37368
37495
|
/**
|
|
37369
37496
|
* 私有变量,存储当前活动编辑信息最后一次变化的时间
|
|
37370
37497
|
*/
|
|
@@ -37532,7 +37659,7 @@ class y0 extends ae {
|
|
|
37532
37659
|
*/
|
|
37533
37660
|
constructor(e, t) {
|
|
37534
37661
|
super(), this._viewer = e, this._activeViewer = t;
|
|
37535
|
-
const r =
|
|
37662
|
+
const r = Oi.createCommonProps(), i = [];
|
|
37536
37663
|
Object.keys(r).forEach((l) => {
|
|
37537
37664
|
const u = this._activeViewer[l + "Changed"];
|
|
37538
37665
|
i.push(u);
|
|
@@ -37789,8 +37916,8 @@ class I0 extends ae {
|
|
|
37789
37916
|
const [v, w] = ms(d, r);
|
|
37790
37917
|
this._viewer.pointerOutEvent.emit({ screenPosition: [v + C, w + P], pointerEvent: d });
|
|
37791
37918
|
}));
|
|
37792
|
-
const
|
|
37793
|
-
this.d(
|
|
37919
|
+
const M = this.dv(gs.create(t, "keydown"));
|
|
37920
|
+
this.d(M.don((d) => this._viewer.keyDownEvent.emit(d)));
|
|
37794
37921
|
const g = this.dv(gs.create(t, "keyup"));
|
|
37795
37922
|
this.d(g.don((d) => this._viewer.keyUpEvent.emit(d)));
|
|
37796
37923
|
const y = this.dv(gs.create(t, "wheel"));
|
|
@@ -38638,7 +38765,7 @@ f(_i, "defaults", {
|
|
|
38638
38765
|
globeShow: !0,
|
|
38639
38766
|
splitPosition: 0
|
|
38640
38767
|
});
|
|
38641
|
-
let
|
|
38768
|
+
let Oi = _i;
|
|
38642
38769
|
((n) => {
|
|
38643
38770
|
n.createBaseProps = () => ({
|
|
38644
38771
|
/**
|
|
@@ -38652,7 +38779,7 @@ let Mi = _i;
|
|
|
38652
38779
|
/**
|
|
38653
38780
|
* 开发标签数组,使用响应式变量存储,初始值为 undefined。
|
|
38654
38781
|
*/
|
|
38655
|
-
devTags:
|
|
38782
|
+
devTags: Ot(void 0),
|
|
38656
38783
|
/**
|
|
38657
38784
|
* 是否开启调试模式,可选布尔值,初始值为 undefined。
|
|
38658
38785
|
*/
|
|
@@ -38762,11 +38889,11 @@ let Mi = _i;
|
|
|
38762
38889
|
/**
|
|
38763
38890
|
* 编辑点的颜色,使用响应式数组存储,可选值,初始值为 undefined。
|
|
38764
38891
|
*/
|
|
38765
|
-
editingPointColor:
|
|
38892
|
+
editingPointColor: Ot(void 0),
|
|
38766
38893
|
/**
|
|
38767
38894
|
* 编辑辅助点的颜色,使用响应式数组存储,可选值,初始值为 undefined。
|
|
38768
38895
|
*/
|
|
38769
|
-
editingAuxiliaryPointColor:
|
|
38896
|
+
editingAuxiliaryPointColor: Ot(void 0),
|
|
38770
38897
|
/**
|
|
38771
38898
|
* 编辑线的宽度,可选值,初始值为 undefined。
|
|
38772
38899
|
*/
|
|
@@ -38774,7 +38901,7 @@ let Mi = _i;
|
|
|
38774
38901
|
/**
|
|
38775
38902
|
* 编辑线的颜色,使用响应式数组存储,可选值,初始值为 undefined。
|
|
38776
38903
|
*/
|
|
38777
|
-
editingLineColor:
|
|
38904
|
+
editingLineColor: Ot(void 0),
|
|
38778
38905
|
/**
|
|
38779
38906
|
* 编辑坐标轴的大小,可选值,初始值为 undefined。
|
|
38780
38907
|
*/
|
|
@@ -38811,8 +38938,8 @@ let Mi = _i;
|
|
|
38811
38938
|
...(0, n.createBaseProps)(),
|
|
38812
38939
|
...(0, n.createCommonProps)()
|
|
38813
38940
|
});
|
|
38814
|
-
})(
|
|
38815
|
-
U(
|
|
38941
|
+
})(Oi || (Oi = {}));
|
|
38942
|
+
U(Oi.prototype, Oi.createDefaultProps);
|
|
38816
38943
|
function up(n, e) {
|
|
38817
38944
|
const t = n._lastCameraInfo;
|
|
38818
38945
|
if (t) {
|
|
@@ -38824,7 +38951,7 @@ function up(n, e) {
|
|
|
38824
38951
|
}
|
|
38825
38952
|
}
|
|
38826
38953
|
const T0 = (n) => {
|
|
38827
|
-
const e =
|
|
38954
|
+
const e = Oi.createCommonProps(), t = {};
|
|
38828
38955
|
try {
|
|
38829
38956
|
Object.keys(e).forEach((r) => {
|
|
38830
38957
|
t[r] = n[r];
|
|
@@ -38834,7 +38961,7 @@ const T0 = (n) => {
|
|
|
38834
38961
|
}
|
|
38835
38962
|
return t;
|
|
38836
38963
|
}, cp = (n, e) => {
|
|
38837
|
-
const t =
|
|
38964
|
+
const t = Oi.createCommonProps();
|
|
38838
38965
|
try {
|
|
38839
38966
|
Object.keys(t).forEach((r) => {
|
|
38840
38967
|
n[r] = e[r];
|
|
@@ -38939,7 +39066,7 @@ class N0 extends ae {
|
|
|
38939
39066
|
* @returns 新创建的视口实例。
|
|
38940
39067
|
*/
|
|
38941
39068
|
createViewer(t) {
|
|
38942
|
-
const r =
|
|
39069
|
+
const r = Oi.context.createViewer(t);
|
|
38943
39070
|
return this._viewers.add(r), this._viewersChanged.emit([], [r]), r;
|
|
38944
39071
|
}
|
|
38945
39072
|
/**
|
|
@@ -39438,13 +39565,13 @@ function D0() {
|
|
|
39438
39565
|
arch: t.toLocaleLowerCase()
|
|
39439
39566
|
};
|
|
39440
39567
|
}
|
|
39441
|
-
const
|
|
39568
|
+
const M0 = Date.now();
|
|
39442
39569
|
function hp(n) {
|
|
39443
39570
|
const { os: e, arch: t } = D0(), r = {
|
|
39444
39571
|
version: n.version,
|
|
39445
39572
|
commitdate: n.date,
|
|
39446
39573
|
commitId: n.commitId,
|
|
39447
|
-
runningTime: (Date.now() -
|
|
39574
|
+
runningTime: (Date.now() - M0) / 1e3 / 60 | 0,
|
|
39448
39575
|
// 产品运行时间(分钟)
|
|
39449
39576
|
date: (/* @__PURE__ */ new Date()).toLocaleString(),
|
|
39450
39577
|
// 日期
|
|
@@ -39463,7 +39590,7 @@ function hp(n) {
|
|
|
39463
39590
|
}
|
|
39464
39591
|
let Ql;
|
|
39465
39592
|
try {
|
|
39466
|
-
const n = "earthsdk3", e = "3.3.0-beta.
|
|
39593
|
+
const n = "earthsdk3", e = "3.3.0-beta.11", t = "2025-08-09T09:17:14.000Z", r = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "0726e990dfd959605c6040b45cc99223148fee71", a = ((Date.now() - 1754731034e3) / 36e5).toFixed(1), l = `%c🌏 ${n}%c ${e}.${s.slice(0, 8)}.${t} (距今${a}个小时)
|
|
39467
39594
|
%c${i ? i + `
|
|
39468
39595
|
` : ""}当前网站正在使用${n},此软件版权归${r}所有
|
|
39469
39596
|
`;
|
|
@@ -39477,7 +39604,7 @@ try {
|
|
|
39477
39604
|
},
|
|
39478
39605
|
// @ts-ignore
|
|
39479
39606
|
get gituri() {
|
|
39480
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
39607
|
+
return GITURI_ && GITURI_.replace("${commitId}", "0726e990dfd959605c6040b45cc99223148fee71");
|
|
39481
39608
|
},
|
|
39482
39609
|
// @ts-ignore
|
|
39483
39610
|
get info() {
|
|
@@ -39485,7 +39612,7 @@ try {
|
|
|
39485
39612
|
},
|
|
39486
39613
|
// @ts-ignore
|
|
39487
39614
|
get date() {
|
|
39488
|
-
return "2025-
|
|
39615
|
+
return "2025-08-09T09:17:14.000Z";
|
|
39489
39616
|
},
|
|
39490
39617
|
// @ts-ignore
|
|
39491
39618
|
get author() {
|
|
@@ -39493,7 +39620,7 @@ try {
|
|
|
39493
39620
|
},
|
|
39494
39621
|
// @ts-ignore
|
|
39495
39622
|
get version() {
|
|
39496
|
-
return "3.3.0-beta.
|
|
39623
|
+
return "3.3.0-beta.11";
|
|
39497
39624
|
},
|
|
39498
39625
|
// @ts-ignore
|
|
39499
39626
|
get name() {
|
|
@@ -39501,7 +39628,7 @@ try {
|
|
|
39501
39628
|
},
|
|
39502
39629
|
// @ts-ignore
|
|
39503
39630
|
get commitId() {
|
|
39504
|
-
return "
|
|
39631
|
+
return "0726e990dfd959605c6040b45cc99223148fee71";
|
|
39505
39632
|
},
|
|
39506
39633
|
/**
|
|
39507
39634
|
* 打印版权信息到控制台
|
|
@@ -39560,10 +39687,10 @@ export {
|
|
|
39560
39687
|
ko as ESCameraView,
|
|
39561
39688
|
Vo as ESCameraViewCollection,
|
|
39562
39689
|
Da as ESCameraVisibleRange,
|
|
39563
|
-
|
|
39564
|
-
|
|
39690
|
+
Ma as ESCar,
|
|
39691
|
+
Ol as ESCityBasePoint,
|
|
39565
39692
|
zo as ESClassification,
|
|
39566
|
-
|
|
39693
|
+
Oa as ESClippingPlane,
|
|
39567
39694
|
Bo as ESCustomDiv,
|
|
39568
39695
|
Ll as ESCzml,
|
|
39569
39696
|
La as ESDataMesh,
|
|
@@ -39577,7 +39704,7 @@ export {
|
|
|
39577
39704
|
Fa as ESForestTileset,
|
|
39578
39705
|
kl as ESGaussianSplatting,
|
|
39579
39706
|
ka as ESGeoDiv,
|
|
39580
|
-
|
|
39707
|
+
Ml as ESGeoDivTextPoi,
|
|
39581
39708
|
Ws as ESGeoExtrudedPolygon,
|
|
39582
39709
|
il as ESGeoJson,
|
|
39583
39710
|
pn as ESGeoLineString,
|
|
@@ -39594,7 +39721,7 @@ export {
|
|
|
39594
39721
|
Sl as ESHumanPoi,
|
|
39595
39722
|
Ba as ESImageLabel,
|
|
39596
39723
|
ja as ESImageryLayer,
|
|
39597
|
-
|
|
39724
|
+
ce as ESJEditingMode,
|
|
39598
39725
|
vg as ESJLonLatFormat,
|
|
39599
39726
|
a_ as ESJPickedResult,
|
|
39600
39727
|
Dt as ESLabel,
|
|
@@ -39604,7 +39731,7 @@ export {
|
|
|
39604
39731
|
al as ESLocalPolygonZ,
|
|
39605
39732
|
ll as ESLocalRectangle,
|
|
39606
39733
|
Ua as ESLocalSkyBox,
|
|
39607
|
-
|
|
39734
|
+
Mi as ESLocalVector,
|
|
39608
39735
|
Hr as ESLocalVector2D,
|
|
39609
39736
|
Ga as ESLocationMeasurement,
|
|
39610
39737
|
bl as ESMsTileset,
|
|
@@ -39643,7 +39770,7 @@ export {
|
|
|
39643
39770
|
$a as ESUnrealActor,
|
|
39644
39771
|
el as ESVideoFusion,
|
|
39645
39772
|
tl as ESViewShed,
|
|
39646
|
-
|
|
39773
|
+
Oi as ESViewer,
|
|
39647
39774
|
Al as ESViewerStatusBar,
|
|
39648
39775
|
Fl as ESViewerStatusBarScale,
|
|
39649
39776
|
wl as ESVisibilityAnalysis,
|
|
@@ -39759,7 +39886,7 @@ export {
|
|
|
39759
39886
|
Sg as map,
|
|
39760
39887
|
Ay as optionsStr,
|
|
39761
39888
|
_p as reactPosition2Ds,
|
|
39762
|
-
|
|
39889
|
+
M_ as registerCreatedEventUpdate,
|
|
39763
39890
|
T_ as registerEventUpdate,
|
|
39764
39891
|
ky as removeAllTreesCallFunc,
|
|
39765
39892
|
P_ as rpToap,
|