earthsdk3 3.0.8-beta.3 → 3.0.8-beta.5
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 +6 -6
- package/dist/earthsdk3.js +1156 -531
- package/dist/earthsdk3.umd.cjs +19 -19
- package/dist/types/ESObjects/general/ESGeoExtrudedPolygon.d.ts +62 -2
- package/dist/types/ESObjects/general/ESGeoExtrudedPolygon.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoLineString.d.ts +74 -2
- package/dist/types/ESObjects/general/ESGeoLineString.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoPolygon.d.ts +66 -1
- package/dist/types/ESObjects/general/ESGeoPolygon.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoRectangle.d.ts +94 -1
- package/dist/types/ESObjects/general/ESGeoRectangle.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoWater.d.ts +76 -6
- package/dist/types/ESObjects/general/ESGeoWater.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGltfModel.d.ts +284 -7
- package/dist/types/ESObjects/general/ESGltfModel.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHeightLimitAnalysis.d.ts +85 -7
- package/dist/types/ESObjects/general/ESHeightLimitAnalysis.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHeightMeasurement.d.ts +72 -2
- package/dist/types/ESObjects/general/ESHeightMeasurement.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHole.d.ts +68 -2
- package/dist/types/ESObjects/general/ESHole.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESHuman.d.ts +97 -2
- package/dist/types/ESObjects/general/ESHuman.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESImageryLayer/index.d.ts +10 -2
- package/dist/types/ESObjects/general/ESImageryLayer/index.d.ts.map +1 -1
- package/dist/types/ESViewer/ESViewer.d.ts +25 -0
- package/dist/types/ESViewer/ESViewer.d.ts.map +1 -1
- package/dist/types/ESViewer/GeneralAnalysis/RollerShutterAnalysis.d.ts +8 -0
- package/dist/types/ESViewer/GeneralAnalysis/RollerShutterAnalysis.d.ts.map +1 -0
- package/dist/types/ESViewer/GeneralAnalysis/index.d.ts +8 -0
- package/dist/types/ESViewer/GeneralAnalysis/index.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/earthsdk3.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
4
|
+
import { Destroyable as ae, Event as V, reactJson as Ge, getReactFuncs as wo, react as ee, setExtProp as iu, createGuid as lh, getExtProp as ta, ObservableSet as Hd, ReactiveVariable as Zu, createAnimateFrame as uh, reactArrayWithUndefined as Mt, extendClassProps as U, ObjResettingWithEvent as lr, reactDeepArrayWithUndefined as ch, min as Dc, objsIterator as Yo, max as Oc, Vector as Ul, reactJsonWithUndefined as et, TreeItem as hp, bind as ce, every as Jd, createTimeoutWithStartValues as Zd, Tree as ru, createProcessingFromAsyncFunc as hh, CancelError as Kd, ObservableArray as fp, Player as Qd, createNextAnimateFrameEvent as nr, SceneObjectWithId as $d, clamp as pp, pluckProperty as Uh, reactDeepArray as eg, reactPositions as fh, reactArray as ye, nextAnimateFrame as tg, sleep as dp, reactArrayCollectionWithUndefined as rg, reactPositionsSet as ng, track as z, length as ig, DomElementEvent as ds, PointerClick as sg, PointerHover as og, getDomEventCurrentTargetPos as gs } from "xbsj-base";
|
|
5
5
|
import * as Mc from "@turf/turf";
|
|
6
6
|
import gp from "proj4";
|
|
7
|
-
class ag extends
|
|
7
|
+
class ag extends ae {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
/**
|
|
@@ -64,7 +64,7 @@ class ag extends he {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
class lg extends
|
|
67
|
+
class lg extends ae {
|
|
68
68
|
constructor() {
|
|
69
69
|
super(...arguments);
|
|
70
70
|
/**
|
|
@@ -122,7 +122,7 @@ class lg extends he {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
const yn = class yn extends
|
|
125
|
+
const yn = class yn extends ae {
|
|
126
126
|
/**
|
|
127
127
|
* 构造一个新的引擎对象实例。
|
|
128
128
|
*
|
|
@@ -195,7 +195,7 @@ f(yn, "registerEditing", yn.contextEditing.register.bind(yn.contextEditing)), /*
|
|
|
195
195
|
*/
|
|
196
196
|
f(yn, "_accumId", -1);
|
|
197
197
|
let ra = yn;
|
|
198
|
-
const dc = class dc extends
|
|
198
|
+
const dc = class dc extends ae {
|
|
199
199
|
constructor(t, r) {
|
|
200
200
|
super();
|
|
201
201
|
f(this, "_id", ++dc._accumId);
|
|
@@ -253,7 +253,7 @@ class E extends xe {
|
|
|
253
253
|
return "NumberProperty";
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
class
|
|
256
|
+
class R0 extends xe {
|
|
257
257
|
get type() {
|
|
258
258
|
return "MaximumScreenSpaceErrorProperty";
|
|
259
259
|
}
|
|
@@ -263,27 +263,27 @@ class ug extends xe {
|
|
|
263
263
|
return "StringsProperty";
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
class
|
|
266
|
+
class A0 extends xe {
|
|
267
267
|
get type() {
|
|
268
268
|
return "NumbersProperty";
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
class
|
|
271
|
+
class F0 extends xe {
|
|
272
272
|
get type() {
|
|
273
273
|
return "BooleansProperty";
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
class
|
|
276
|
+
class k0 extends xe {
|
|
277
277
|
get type() {
|
|
278
278
|
return "String2Property";
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
class
|
|
281
|
+
class V0 extends xe {
|
|
282
282
|
get type() {
|
|
283
283
|
return "String3Property";
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
class
|
|
286
|
+
class z0 extends xe {
|
|
287
287
|
get type() {
|
|
288
288
|
return "String4Property";
|
|
289
289
|
}
|
|
@@ -293,12 +293,12 @@ class cg extends xe {
|
|
|
293
293
|
return "String2sProperty";
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
class
|
|
296
|
+
class B0 extends xe {
|
|
297
297
|
get type() {
|
|
298
298
|
return "String3sProperty";
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
class
|
|
301
|
+
class j0 extends xe {
|
|
302
302
|
get type() {
|
|
303
303
|
return "String4sProperty";
|
|
304
304
|
}
|
|
@@ -318,7 +318,7 @@ class jr extends xe {
|
|
|
318
318
|
return "Number4Property";
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
class
|
|
321
|
+
class U0 extends xe {
|
|
322
322
|
get type() {
|
|
323
323
|
return "Number4WithUndefinedProperty";
|
|
324
324
|
}
|
|
@@ -333,47 +333,47 @@ class vp extends xe {
|
|
|
333
333
|
return "Number3sProperty";
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
class
|
|
336
|
+
class G0 extends xe {
|
|
337
337
|
get type() {
|
|
338
338
|
return "Number4sProperty";
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
class
|
|
341
|
+
class W0 extends xe {
|
|
342
342
|
get type() {
|
|
343
343
|
return "Boolean2Property";
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
class
|
|
346
|
+
class q0 extends xe {
|
|
347
347
|
get type() {
|
|
348
348
|
return "Boolean3Property";
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
class
|
|
351
|
+
class X0 extends xe {
|
|
352
352
|
get type() {
|
|
353
353
|
return "Boolean4Property";
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
class
|
|
356
|
+
class Y0 extends xe {
|
|
357
357
|
get type() {
|
|
358
358
|
return "Boolean2sProperty";
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
class
|
|
361
|
+
class H0 extends xe {
|
|
362
362
|
get type() {
|
|
363
363
|
return "Boolean3sProperty";
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
class
|
|
366
|
+
class J0 extends xe {
|
|
367
367
|
get type() {
|
|
368
368
|
return "Boolean4sProperty";
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
class
|
|
371
|
+
class Z0 extends xe {
|
|
372
372
|
get type() {
|
|
373
373
|
return "StringNumberProperty";
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class K0 extends xe {
|
|
377
377
|
get type() {
|
|
378
378
|
return "StringNumbersProperty";
|
|
379
379
|
}
|
|
@@ -383,12 +383,12 @@ class Z extends jr {
|
|
|
383
383
|
return "ColorProperty";
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
class
|
|
386
|
+
class Q0 extends Gt {
|
|
387
387
|
get type() {
|
|
388
388
|
return "ColorRgbProperty";
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
class
|
|
391
|
+
class $0 extends E {
|
|
392
392
|
get type() {
|
|
393
393
|
return "DashPatternProperty";
|
|
394
394
|
}
|
|
@@ -404,7 +404,7 @@ class X extends xe {
|
|
|
404
404
|
return this._enums;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class e_ extends xe {
|
|
408
408
|
constructor(e, t, r, i, s, o, a) {
|
|
409
409
|
super(e, t, r, i, s, a), this._enums = o;
|
|
410
410
|
}
|
|
@@ -491,12 +491,12 @@ class Hc extends xe {
|
|
|
491
491
|
return "LongStringProperty";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
class
|
|
494
|
+
class t_ extends Je {
|
|
495
495
|
get type() {
|
|
496
496
|
return "MinmaxProperty";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
class
|
|
499
|
+
class r_ extends jr {
|
|
500
500
|
get type() {
|
|
501
501
|
return "NearFarScalerProperty";
|
|
502
502
|
}
|
|
@@ -515,7 +515,7 @@ class pg extends mp {
|
|
|
515
515
|
return this._setJsonStringFunc;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
class
|
|
518
|
+
class n_ extends Je {
|
|
519
519
|
get type() {
|
|
520
520
|
return "NumberRangeProperty";
|
|
521
521
|
}
|
|
@@ -585,7 +585,7 @@ class gg extends xe {
|
|
|
585
585
|
return "PositionsProperty";
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
class
|
|
588
|
+
class i_ extends xe {
|
|
589
589
|
get type() {
|
|
590
590
|
return "PositionsSetPropety";
|
|
591
591
|
}
|
|
@@ -632,8 +632,8 @@ class qi extends xe {
|
|
|
632
632
|
return "DateProperty";
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
class
|
|
635
|
+
var ue = /* @__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))(ue || {}), vg = /* @__PURE__ */ ((n) => (n.DECIMAL_DEGREE = "DECIMAL_DEGREE", n.DEGREES_DECIMAL_MINUTES = "DEGREES_DECIMAL_MINUTES", n.SEXAGESIMAL_DEGREE = "SEXAGESIMAL_DEGREE", n))(vg || {});
|
|
636
|
+
class s_ {
|
|
637
637
|
/**
|
|
638
638
|
* 构造函数。
|
|
639
639
|
* @param childPickedInfo - 子拾取信息。
|
|
@@ -657,7 +657,7 @@ class n_ {
|
|
|
657
657
|
// return undefined;
|
|
658
658
|
// }
|
|
659
659
|
}
|
|
660
|
-
class
|
|
660
|
+
class o_ {
|
|
661
661
|
/**
|
|
662
662
|
* 构造函数。
|
|
663
663
|
* @param pickResult - 拾取结果。
|
|
@@ -674,7 +674,7 @@ class i_ {
|
|
|
674
674
|
e != null && e.pickedResult && (this.pickResult = e.pickedResult), e != null && e.sceneObject && (this.sceneObject = e.sceneObject), e != null && e.tilesetPickInfo && (this.tilesetPickInfo = e.tilesetPickInfo), e != null && e.geojsonPickInfo && (this.geojsonPickInfo = e.geojsonPickInfo), e != null && e.attachedInfo && (this.attachedInfo = e.attachedInfo), e != null && e.screenPosition && (this.screenPosition = e.screenPosition);
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
class yg extends
|
|
677
|
+
class yg extends ae {
|
|
678
678
|
/**
|
|
679
679
|
* 构造函数,初始化 RefsManager 实例。
|
|
680
680
|
* @param context - ESObjectsContext 实例,用于监听场景对象的创建和销毁事件。
|
|
@@ -779,7 +779,7 @@ function _g(n) {
|
|
|
779
779
|
} while (!0);
|
|
780
780
|
return n;
|
|
781
781
|
}
|
|
782
|
-
class wg extends
|
|
782
|
+
class wg extends ae {
|
|
783
783
|
/**
|
|
784
784
|
* 构造函数,初始化 ESObjectsContext 实例
|
|
785
785
|
*/
|
|
@@ -1069,7 +1069,7 @@ class wg extends he {
|
|
|
1069
1069
|
return Wh(t, r);
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
|
-
const Se = class Se extends
|
|
1072
|
+
const Se = class Se extends ae {
|
|
1073
1073
|
/**
|
|
1074
1074
|
* 构造函数,创建一个新的场景对象。
|
|
1075
1075
|
* @param id - 对象的唯一标识符,可选参数,如果未指定则自动生成。
|
|
@@ -1547,14 +1547,14 @@ let re = Se;
|
|
|
1547
1547
|
});
|
|
1548
1548
|
})(re || (re = {}));
|
|
1549
1549
|
U(re.prototype, re.createDefaultProps);
|
|
1550
|
-
class Eg extends
|
|
1550
|
+
class Eg extends ae {
|
|
1551
1551
|
/**
|
|
1552
1552
|
* 构造函数,创建一个新的 ViewerPropSceneObject 实例。
|
|
1553
1553
|
* @param viewer - 关联的视口。
|
|
1554
1554
|
* @param createFunc - 用于创建关联对象的函数。
|
|
1555
1555
|
*/
|
|
1556
1556
|
constructor(e, t) {
|
|
1557
|
-
super(), this.dv(new
|
|
1557
|
+
super(), this.dv(new lr(e.subContainerChanged, () => {
|
|
1558
1558
|
if (e.subContainer)
|
|
1559
1559
|
return t(e, e.subContainer);
|
|
1560
1560
|
}));
|
|
@@ -1572,7 +1572,7 @@ function Sg(n, e) {
|
|
|
1572
1572
|
function qh(n, e) {
|
|
1573
1573
|
return n === void 0 && e === void 0 ? !0 : !n || !e ? !1 : n[0] === e[0] && n[1] === e[1] && n[2] === e[2];
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function a_(n, e) {
|
|
1576
1576
|
(n[0][0] !== n[n.length - 1][0] || n[0][1] !== n[n.length - 1][1]) && n.push(n[0]);
|
|
1577
1577
|
const t = Mc.point(e), r = Mc.polygon([n]);
|
|
1578
1578
|
return Mc.booleanPointInPolygon(t, r);
|
|
@@ -1670,7 +1670,7 @@ function Ku(n) {
|
|
|
1670
1670
|
var e = n % (2 * Math.PI);
|
|
1671
1671
|
return e * 180 / Math.PI;
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function ur(n) {
|
|
1674
1674
|
var e = n % 360;
|
|
1675
1675
|
return e * Math.PI / 180;
|
|
1676
1676
|
}
|
|
@@ -1724,7 +1724,7 @@ function Cg(n, e) {
|
|
|
1724
1724
|
function Cu(n, e, t) {
|
|
1725
1725
|
if (t === void 0 && (t = {}), t.final === !0)
|
|
1726
1726
|
return Pg(n, e);
|
|
1727
|
-
var r = Er(n), i = Er(e), s =
|
|
1727
|
+
var r = Er(n), i = Er(e), s = ur(r[0]), o = ur(i[0]), a = ur(r[1]), l = ur(i[1]), u = Math.sin(o - s) * Math.cos(l), c = Math.cos(a) * Math.sin(l) - Math.sin(a) * Math.cos(l) * Math.cos(o - s);
|
|
1728
1728
|
return Ku(Math.atan2(u, c));
|
|
1729
1729
|
}
|
|
1730
1730
|
function Pg(n, e) {
|
|
@@ -1733,12 +1733,12 @@ function Pg(n, e) {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
function ia(n, e, t, r) {
|
|
1735
1735
|
r === void 0 && (r = {});
|
|
1736
|
-
var i = Er(n), s =
|
|
1736
|
+
var i = Er(n), s = ur(i[0]), o = ur(i[1]), a = ur(t), l = mh(e, r.units), u = Math.asin(Math.sin(o) * Math.cos(l) + Math.cos(o) * Math.sin(l) * Math.cos(a)), c = s + Math.atan2(Math.sin(a) * Math.sin(l) * Math.cos(o), Math.cos(l) - Math.sin(o) * Math.sin(u)), h = Ku(c), p = Ku(u);
|
|
1737
1737
|
return Ze([h, p], r.properties);
|
|
1738
1738
|
}
|
|
1739
1739
|
function Xi(n, e, t) {
|
|
1740
1740
|
t === void 0 && (t = {});
|
|
1741
|
-
var r = Er(n), i = Er(e), s =
|
|
1741
|
+
var r = Er(n), i = Er(e), s = ur(i[1] - r[1]), o = ur(i[0] - r[0]), a = ur(r[1]), l = ur(i[1]), u = Math.pow(Math.sin(s / 2), 2) + Math.pow(Math.sin(o / 2), 2) * Math.cos(a) * Math.cos(l);
|
|
1742
1742
|
return gh(2 * Math.atan2(Math.sqrt(u), Math.sqrt(1 - u)), t.units);
|
|
1743
1743
|
}
|
|
1744
1744
|
function Ig(n, e, t) {
|
|
@@ -1755,7 +1755,7 @@ function Ig(n, e, t) {
|
|
|
1755
1755
|
s += Xi(i[o], i[o + 1], t);
|
|
1756
1756
|
return Ze(i[i.length - 1]);
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function l_(n, e) {
|
|
1759
1759
|
const t = Jn(n);
|
|
1760
1760
|
return Ig(t, e, { units: "meters" }).geometry.coordinates;
|
|
1761
1761
|
}
|
|
@@ -2589,12 +2589,12 @@ function Cp(n, e) {
|
|
|
2589
2589
|
return y ? Cp(y, { properties: e.properties }) : nf(n, { properties: e.properties });
|
|
2590
2590
|
}
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function u_(n) {
|
|
2593
2593
|
(n[0][0] !== n[n.length - 1][0] || n[0][1] !== n[n.length - 1][1] || n[0][2] !== n[n.length - 1][2]) && n.push(n[0]);
|
|
2594
2594
|
const e = Pr([n]), r = Cp(e).geometry.coordinates;
|
|
2595
2595
|
return [r[0], r[1], r[2] ?? n[0][2] ?? 0];
|
|
2596
2596
|
}
|
|
2597
|
-
function
|
|
2597
|
+
function c_(n, e, t, r) {
|
|
2598
2598
|
const [i, s, o] = n, a = ia(Ze([i, s]), e, t, { units: "meters" });
|
|
2599
2599
|
if (!(!a || !a.geometry || !a.geometry.coordinates))
|
|
2600
2600
|
return r = r || [0, 0, 0], r[0] = a.geometry.coordinates[0], r[1] = a.geometry.coordinates[1], r[2] = o, r;
|
|
@@ -3477,14 +3477,14 @@ function cf(n, e) {
|
|
|
3477
3477
|
}
|
|
3478
3478
|
return null;
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3480
|
+
function h_(n, e) {
|
|
3481
3481
|
return xp(Jn(n), Jn(e));
|
|
3482
3482
|
}
|
|
3483
3483
|
function Qg(n, e) {
|
|
3484
3484
|
var t = Xi(n, e), r = Cu(n, e), i = ia(n, t / 2, r);
|
|
3485
3485
|
return i;
|
|
3486
3486
|
}
|
|
3487
|
-
function
|
|
3487
|
+
function f_(n, e) {
|
|
3488
3488
|
const t = Ze(n), r = Ze(e), i = Qg(t, r), s = (n[2] + e[2]) / 2;
|
|
3489
3489
|
return [...i.geometry.coordinates, s];
|
|
3490
3490
|
}
|
|
@@ -3507,7 +3507,7 @@ function $g(n, e, t) {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
}), r;
|
|
3509
3509
|
}
|
|
3510
|
-
function
|
|
3510
|
+
function p_(n, e) {
|
|
3511
3511
|
const t = Ze(e), r = Jn(n);
|
|
3512
3512
|
return $g(r, t, { units: "meters" });
|
|
3513
3513
|
}
|
|
@@ -3553,7 +3553,7 @@ function hf(n, e) {
|
|
|
3553
3553
|
function kc(n, e, t) {
|
|
3554
3554
|
return t.method === "planar" ? Tp(n, e, t) : Xi(n, e, t);
|
|
3555
3555
|
}
|
|
3556
|
-
function
|
|
3556
|
+
function d_(n, e) {
|
|
3557
3557
|
const t = Ze(n), r = Jn(e);
|
|
3558
3558
|
return tm(t, r, { units: "meters" });
|
|
3559
3559
|
}
|
|
@@ -3566,7 +3566,7 @@ function nm(n, e, t, r) {
|
|
|
3566
3566
|
}
|
|
3567
3567
|
function im(n, e, t, r) {
|
|
3568
3568
|
r = r === void 0 ? er : Number(r);
|
|
3569
|
-
var i = e / r, s = n[0] * Math.PI / 180, o =
|
|
3569
|
+
var i = e / r, s = n[0] * Math.PI / 180, o = ur(n[1]), a = ur(t), l = i * Math.cos(a), u = o + l;
|
|
3570
3570
|
Math.abs(u) > Math.PI / 2 && (u = u > 0 ? Math.PI - u : -Math.PI - u);
|
|
3571
3571
|
var c = Math.log(Math.tan(u / 2 + Math.PI / 4) / Math.tan(o / 2 + Math.PI / 4)), h = Math.abs(c) > 1e-11 ? l / c : Math.cos(o), p = i * Math.sin(a) / h, m = s + p;
|
|
3572
3572
|
return [
|
|
@@ -3574,7 +3574,7 @@ function im(n, e, t, r) {
|
|
|
3574
3574
|
u * 180 / Math.PI
|
|
3575
3575
|
];
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function g_(n, e, t, r) {
|
|
3578
3578
|
const [i, s, o] = n, a = nm(Ze([i, s]), e, t, { units: "meters" });
|
|
3579
3579
|
if (!(!a || !a.geometry || !a.geometry.coordinates))
|
|
3580
3580
|
return r = r || [0, 0, 0], r[0] = a.geometry.coordinates[0], r[1] = a.geometry.coordinates[1], r[2] = o, r;
|
|
@@ -3590,12 +3590,12 @@ function om(n, e, t) {
|
|
|
3590
3590
|
return i;
|
|
3591
3591
|
}
|
|
3592
3592
|
function ff(n, e) {
|
|
3593
|
-
var t =
|
|
3593
|
+
var t = ur(n[1]), r = ur(e[1]), i = ur(e[0] - n[0]);
|
|
3594
3594
|
i > Math.PI && (i -= 2 * Math.PI), i < -Math.PI && (i += 2 * Math.PI);
|
|
3595
3595
|
var s = Math.log(Math.tan(r / 2 + Math.PI / 4) / Math.tan(t / 2 + Math.PI / 4)), o = Math.atan2(i, s);
|
|
3596
3596
|
return (Ku(o) + 360) % 360;
|
|
3597
3597
|
}
|
|
3598
|
-
function
|
|
3598
|
+
function m_(n, e) {
|
|
3599
3599
|
return om(Ze(n), Ze(e));
|
|
3600
3600
|
}
|
|
3601
3601
|
function Zn(n) {
|
|
@@ -4183,7 +4183,7 @@ Pu.NONE.get = function() {
|
|
|
4183
4183
|
return -1;
|
|
4184
4184
|
};
|
|
4185
4185
|
Object.defineProperties(L, Pu);
|
|
4186
|
-
var
|
|
4186
|
+
var he = function(n, e) {
|
|
4187
4187
|
return n.interfaces_ && n.interfaces_().indexOf(e) > -1;
|
|
4188
4188
|
}, Ir = function() {
|
|
4189
4189
|
}, Lp = { LOG_10: { configurable: !0 } };
|
|
@@ -5634,7 +5634,7 @@ Pn.prototype.getClass = function() {
|
|
|
5634
5634
|
return Pn;
|
|
5635
5635
|
};
|
|
5636
5636
|
Pn.locatePointInRing = function() {
|
|
5637
|
-
if (arguments[0] instanceof N &&
|
|
5637
|
+
if (arguments[0] instanceof N && he(arguments[1], be)) {
|
|
5638
5638
|
for (var e = arguments[0], t = arguments[1], r = new Pn(e), i = new N(), s = new N(), o = 1; o < t.size(); o++)
|
|
5639
5639
|
if (t.getCoordinate(o, i), t.getCoordinate(o - 1, s), r.countSegment(i, s), r.isOnSegment())
|
|
5640
5640
|
return r.getLocation();
|
|
@@ -5669,7 +5669,7 @@ Y.signedArea = function() {
|
|
|
5669
5669
|
t += s * (a - o);
|
|
5670
5670
|
}
|
|
5671
5671
|
return t / 2;
|
|
5672
|
-
} else if (
|
|
5672
|
+
} else if (he(arguments[0], be)) {
|
|
5673
5673
|
var l = arguments[0], u = l.size();
|
|
5674
5674
|
if (u < 3)
|
|
5675
5675
|
return 0;
|
|
@@ -5809,56 +5809,56 @@ Pi.prototype.interfaces_ = function() {
|
|
|
5809
5809
|
Pi.prototype.getClass = function() {
|
|
5810
5810
|
return Pi;
|
|
5811
5811
|
};
|
|
5812
|
-
var
|
|
5812
|
+
var le = function() {
|
|
5813
5813
|
var e = arguments[0];
|
|
5814
5814
|
this._envelope = null, this._factory = null, this._SRID = null, this._userData = null, this._factory = e, this._SRID = e.getSRID();
|
|
5815
5815
|
}, oi = { 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 } };
|
|
5816
|
-
|
|
5817
|
-
return this.getSortIndex() ===
|
|
5816
|
+
le.prototype.isGeometryCollection = function() {
|
|
5817
|
+
return this.getSortIndex() === le.SORTINDEX_GEOMETRYCOLLECTION;
|
|
5818
5818
|
};
|
|
5819
|
-
|
|
5819
|
+
le.prototype.getFactory = function() {
|
|
5820
5820
|
return this._factory;
|
|
5821
5821
|
};
|
|
5822
|
-
|
|
5822
|
+
le.prototype.getGeometryN = function(e) {
|
|
5823
5823
|
return this;
|
|
5824
5824
|
};
|
|
5825
|
-
|
|
5825
|
+
le.prototype.getArea = function() {
|
|
5826
5826
|
return 0;
|
|
5827
5827
|
};
|
|
5828
|
-
|
|
5828
|
+
le.prototype.isRectangle = function() {
|
|
5829
5829
|
return !1;
|
|
5830
5830
|
};
|
|
5831
|
-
|
|
5832
|
-
if (arguments[0] instanceof
|
|
5831
|
+
le.prototype.equals = function() {
|
|
5832
|
+
if (arguments[0] instanceof le) {
|
|
5833
5833
|
var e = arguments[0];
|
|
5834
5834
|
return e === null ? !1 : this.equalsTopo(e);
|
|
5835
5835
|
} else if (arguments[0] instanceof Object) {
|
|
5836
5836
|
var t = arguments[0];
|
|
5837
|
-
if (!(t instanceof
|
|
5837
|
+
if (!(t instanceof le))
|
|
5838
5838
|
return !1;
|
|
5839
5839
|
var r = t;
|
|
5840
5840
|
return this.equalsExact(r);
|
|
5841
5841
|
}
|
|
5842
5842
|
};
|
|
5843
|
-
|
|
5843
|
+
le.prototype.equalsExact = function(e) {
|
|
5844
5844
|
return this === e || this.equalsExact(e, 0);
|
|
5845
5845
|
};
|
|
5846
|
-
|
|
5847
|
-
this.apply(
|
|
5846
|
+
le.prototype.geometryChanged = function() {
|
|
5847
|
+
this.apply(le.geometryChangedFilter);
|
|
5848
5848
|
};
|
|
5849
|
-
|
|
5849
|
+
le.prototype.geometryChangedAction = function() {
|
|
5850
5850
|
this._envelope = null;
|
|
5851
5851
|
};
|
|
5852
|
-
|
|
5852
|
+
le.prototype.equalsNorm = function(e) {
|
|
5853
5853
|
return e === null ? !1 : this.norm().equalsExact(e.norm());
|
|
5854
5854
|
};
|
|
5855
|
-
|
|
5855
|
+
le.prototype.getLength = function() {
|
|
5856
5856
|
return 0;
|
|
5857
5857
|
};
|
|
5858
|
-
|
|
5858
|
+
le.prototype.getNumGeometries = function() {
|
|
5859
5859
|
return 1;
|
|
5860
5860
|
};
|
|
5861
|
-
|
|
5861
|
+
le.prototype.compareTo = function() {
|
|
5862
5862
|
if (arguments.length === 1) {
|
|
5863
5863
|
var e = arguments[0], t = e;
|
|
5864
5864
|
return this.getSortIndex() !== t.getSortIndex() ? this.getSortIndex() - t.getSortIndex() : this.isEmpty() && t.isEmpty() ? 0 : this.isEmpty() ? -1 : t.isEmpty() ? 1 : this.compareToSameClass(e);
|
|
@@ -5867,39 +5867,39 @@ ae.prototype.compareTo = function() {
|
|
|
5867
5867
|
return this.getSortIndex() !== r.getSortIndex() ? this.getSortIndex() - r.getSortIndex() : this.isEmpty() && r.isEmpty() ? 0 : this.isEmpty() ? -1 : r.isEmpty() ? 1 : this.compareToSameClass(r, i);
|
|
5868
5868
|
}
|
|
5869
5869
|
};
|
|
5870
|
-
|
|
5870
|
+
le.prototype.getUserData = function() {
|
|
5871
5871
|
return this._userData;
|
|
5872
5872
|
};
|
|
5873
|
-
|
|
5873
|
+
le.prototype.getSRID = function() {
|
|
5874
5874
|
return this._SRID;
|
|
5875
5875
|
};
|
|
5876
|
-
|
|
5876
|
+
le.prototype.getEnvelope = function() {
|
|
5877
5877
|
return this.getFactory().toGeometry(this.getEnvelopeInternal());
|
|
5878
5878
|
};
|
|
5879
|
-
|
|
5880
|
-
if (e.getSortIndex() ===
|
|
5879
|
+
le.prototype.checkNotGeometryCollection = function(e) {
|
|
5880
|
+
if (e.getSortIndex() === le.SORTINDEX_GEOMETRYCOLLECTION)
|
|
5881
5881
|
throw new He("This method does not support GeometryCollection arguments");
|
|
5882
5882
|
};
|
|
5883
|
-
|
|
5883
|
+
le.prototype.equal = function(e, t, r) {
|
|
5884
5884
|
return r === 0 ? e.equals(t) : e.distance(t) <= r;
|
|
5885
5885
|
};
|
|
5886
|
-
|
|
5886
|
+
le.prototype.norm = function() {
|
|
5887
5887
|
var e = this.copy();
|
|
5888
5888
|
return e.normalize(), e;
|
|
5889
5889
|
};
|
|
5890
|
-
|
|
5890
|
+
le.prototype.getPrecisionModel = function() {
|
|
5891
5891
|
return this._factory.getPrecisionModel();
|
|
5892
5892
|
};
|
|
5893
|
-
|
|
5893
|
+
le.prototype.getEnvelopeInternal = function() {
|
|
5894
5894
|
return this._envelope === null && (this._envelope = this.computeEnvelopeInternal()), new ne(this._envelope);
|
|
5895
5895
|
};
|
|
5896
|
-
|
|
5896
|
+
le.prototype.setSRID = function(e) {
|
|
5897
5897
|
this._SRID = e;
|
|
5898
5898
|
};
|
|
5899
|
-
|
|
5899
|
+
le.prototype.setUserData = function(e) {
|
|
5900
5900
|
this._userData = e;
|
|
5901
5901
|
};
|
|
5902
|
-
|
|
5902
|
+
le.prototype.compare = function(e, t) {
|
|
5903
5903
|
for (var r = e.iterator(), i = t.iterator(); r.hasNext() && i.hasNext(); ) {
|
|
5904
5904
|
var s = r.next(), o = i.next(), a = s.compareTo(o);
|
|
5905
5905
|
if (a !== 0)
|
|
@@ -5907,25 +5907,25 @@ ae.prototype.compare = function(e, t) {
|
|
|
5907
5907
|
}
|
|
5908
5908
|
return r.hasNext() ? 1 : i.hasNext() ? -1 : 0;
|
|
5909
5909
|
};
|
|
5910
|
-
|
|
5910
|
+
le.prototype.hashCode = function() {
|
|
5911
5911
|
return this.getEnvelopeInternal().hashCode();
|
|
5912
5912
|
};
|
|
5913
|
-
|
|
5914
|
-
return this.getSortIndex() ===
|
|
5913
|
+
le.prototype.isGeometryCollectionOrDerived = function() {
|
|
5914
|
+
return this.getSortIndex() === le.SORTINDEX_GEOMETRYCOLLECTION || this.getSortIndex() === le.SORTINDEX_MULTIPOINT || this.getSortIndex() === le.SORTINDEX_MULTILINESTRING || this.getSortIndex() === le.SORTINDEX_MULTIPOLYGON;
|
|
5915
5915
|
};
|
|
5916
|
-
|
|
5916
|
+
le.prototype.interfaces_ = function() {
|
|
5917
5917
|
return [vc, Jr, Zr];
|
|
5918
5918
|
};
|
|
5919
|
-
|
|
5920
|
-
return
|
|
5919
|
+
le.prototype.getClass = function() {
|
|
5920
|
+
return le;
|
|
5921
5921
|
};
|
|
5922
|
-
|
|
5922
|
+
le.hasNonEmptyElements = function(e) {
|
|
5923
5923
|
for (var t = 0; t < e.length; t++)
|
|
5924
5924
|
if (!e[t].isEmpty())
|
|
5925
5925
|
return !0;
|
|
5926
5926
|
return !1;
|
|
5927
5927
|
};
|
|
5928
|
-
|
|
5928
|
+
le.hasNullElements = function(e) {
|
|
5929
5929
|
for (var t = 0; t < e.length; t++)
|
|
5930
5930
|
if (e[t] === null)
|
|
5931
5931
|
return !0;
|
|
@@ -5961,7 +5961,7 @@ oi.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
|
|
|
5961
5961
|
oi.geometryChangedFilter.get = function() {
|
|
5962
5962
|
return Eh;
|
|
5963
5963
|
};
|
|
5964
|
-
Object.defineProperties(
|
|
5964
|
+
Object.defineProperties(le, oi);
|
|
5965
5965
|
var Eh = function() {
|
|
5966
5966
|
};
|
|
5967
5967
|
Eh.interfaces_ = function() {
|
|
@@ -6953,22 +6953,22 @@ var Wt = function(n) {
|
|
|
6953
6953
|
}
|
|
6954
6954
|
}, e.prototype.apply = function() {
|
|
6955
6955
|
var i = this;
|
|
6956
|
-
if (
|
|
6956
|
+
if (he(arguments[0], Kn))
|
|
6957
6957
|
for (var s = arguments[0], o = 0; o < this._geometries.length; o++)
|
|
6958
6958
|
i._geometries[o].apply(s);
|
|
6959
|
-
else if (
|
|
6959
|
+
else if (he(arguments[0], ln)) {
|
|
6960
6960
|
var a = arguments[0];
|
|
6961
6961
|
if (this._geometries.length === 0)
|
|
6962
6962
|
return null;
|
|
6963
6963
|
for (var l = 0; l < this._geometries.length && (i._geometries[l].apply(a), !a.isDone()); l++)
|
|
6964
6964
|
;
|
|
6965
6965
|
a.isGeometryChanged() && this.geometryChanged();
|
|
6966
|
-
} else if (
|
|
6966
|
+
} else if (he(arguments[0], Tn)) {
|
|
6967
6967
|
var u = arguments[0];
|
|
6968
6968
|
u.filter(this);
|
|
6969
6969
|
for (var c = 0; c < this._geometries.length; c++)
|
|
6970
6970
|
i._geometries[c].apply(u);
|
|
6971
|
-
} else if (
|
|
6971
|
+
} else if (he(arguments[0], Pi)) {
|
|
6972
6972
|
var h = arguments[0];
|
|
6973
6973
|
h.filter(this);
|
|
6974
6974
|
for (var p = 0; p < this._geometries.length; p++)
|
|
@@ -7000,14 +7000,14 @@ var Wt = function(n) {
|
|
|
7000
7000
|
}, t.serialVersionUID.get = function() {
|
|
7001
7001
|
return -5694727726395021e3;
|
|
7002
7002
|
}, Object.defineProperties(e, t), e;
|
|
7003
|
-
}(
|
|
7003
|
+
}(le), Ms = function(n) {
|
|
7004
7004
|
function e() {
|
|
7005
7005
|
n.apply(this, arguments);
|
|
7006
7006
|
}
|
|
7007
7007
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7008
7008
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7009
7009
|
return e.prototype.getSortIndex = function() {
|
|
7010
|
-
return
|
|
7010
|
+
return le.SORTINDEX_MULTILINESTRING;
|
|
7011
7011
|
}, e.prototype.equalsExact = function() {
|
|
7012
7012
|
if (arguments.length === 2) {
|
|
7013
7013
|
var i = arguments[0], s = arguments[1];
|
|
@@ -7339,20 +7339,20 @@ var $e = function(n) {
|
|
|
7339
7339
|
}
|
|
7340
7340
|
}, e.prototype.apply = function() {
|
|
7341
7341
|
var i = this;
|
|
7342
|
-
if (
|
|
7342
|
+
if (he(arguments[0], Kn))
|
|
7343
7343
|
for (var s = arguments[0], o = 0; o < this._points.size(); o++)
|
|
7344
7344
|
s.filter(i._points.getCoordinate(o));
|
|
7345
|
-
else if (
|
|
7345
|
+
else if (he(arguments[0], ln)) {
|
|
7346
7346
|
var a = arguments[0];
|
|
7347
7347
|
if (this._points.size() === 0)
|
|
7348
7348
|
return null;
|
|
7349
7349
|
for (var l = 0; l < this._points.size() && (a.filter(i._points, l), !a.isDone()); l++)
|
|
7350
7350
|
;
|
|
7351
7351
|
a.isGeometryChanged() && this.geometryChanged();
|
|
7352
|
-
} else if (
|
|
7352
|
+
} else if (he(arguments[0], Tn)) {
|
|
7353
7353
|
var u = arguments[0];
|
|
7354
7354
|
u.filter(this);
|
|
7355
|
-
} else if (
|
|
7355
|
+
} else if (he(arguments[0], Pi)) {
|
|
7356
7356
|
var c = arguments[0];
|
|
7357
7357
|
c.filter(this);
|
|
7358
7358
|
}
|
|
@@ -7393,7 +7393,7 @@ var $e = function(n) {
|
|
|
7393
7393
|
}, t.serialVersionUID.get = function() {
|
|
7394
7394
|
return 3110669828065365500;
|
|
7395
7395
|
}, Object.defineProperties(e, t), e;
|
|
7396
|
-
}(
|
|
7396
|
+
}(le), lu = function() {
|
|
7397
7397
|
};
|
|
7398
7398
|
lu.prototype.interfaces_ = function() {
|
|
7399
7399
|
return [];
|
|
@@ -7401,7 +7401,7 @@ lu.prototype.interfaces_ = function() {
|
|
|
7401
7401
|
lu.prototype.getClass = function() {
|
|
7402
7402
|
return lu;
|
|
7403
7403
|
};
|
|
7404
|
-
var
|
|
7404
|
+
var hr = function(n) {
|
|
7405
7405
|
function e(r, i) {
|
|
7406
7406
|
n.call(this, i), this._coordinates = r || null, this.init(this._coordinates);
|
|
7407
7407
|
}
|
|
@@ -7446,20 +7446,20 @@ var cr = function(n) {
|
|
|
7446
7446
|
return a.compare(this._coordinates, l._coordinates);
|
|
7447
7447
|
}
|
|
7448
7448
|
}, e.prototype.apply = function() {
|
|
7449
|
-
if (
|
|
7449
|
+
if (he(arguments[0], Kn)) {
|
|
7450
7450
|
var i = arguments[0];
|
|
7451
7451
|
if (this.isEmpty())
|
|
7452
7452
|
return null;
|
|
7453
7453
|
i.filter(this.getCoordinate());
|
|
7454
|
-
} else if (
|
|
7454
|
+
} else if (he(arguments[0], ln)) {
|
|
7455
7455
|
var s = arguments[0];
|
|
7456
7456
|
if (this.isEmpty())
|
|
7457
7457
|
return null;
|
|
7458
7458
|
s.filter(this._coordinates, 0), s.isGeometryChanged() && this.geometryChanged();
|
|
7459
|
-
} else if (
|
|
7459
|
+
} else if (he(arguments[0], Tn)) {
|
|
7460
7460
|
var o = arguments[0];
|
|
7461
7461
|
o.filter(this);
|
|
7462
|
-
} else if (
|
|
7462
|
+
} else if (he(arguments[0], Pi)) {
|
|
7463
7463
|
var a = arguments[0];
|
|
7464
7464
|
a.filter(this);
|
|
7465
7465
|
}
|
|
@@ -7491,7 +7491,7 @@ var cr = function(n) {
|
|
|
7491
7491
|
}, t.serialVersionUID.get = function() {
|
|
7492
7492
|
return 4902022702746615e3;
|
|
7493
7493
|
}, Object.defineProperties(e, t), e;
|
|
7494
|
-
}(
|
|
7494
|
+
}(le), es = function() {
|
|
7495
7495
|
};
|
|
7496
7496
|
es.prototype.interfaces_ = function() {
|
|
7497
7497
|
return [];
|
|
@@ -7623,18 +7623,18 @@ var gt = function(n) {
|
|
|
7623
7623
|
}
|
|
7624
7624
|
}, e.prototype.apply = function(i) {
|
|
7625
7625
|
var s = this;
|
|
7626
|
-
if (
|
|
7626
|
+
if (he(i, Kn)) {
|
|
7627
7627
|
this._shell.apply(i);
|
|
7628
7628
|
for (var o = 0; o < this._holes.length; o++)
|
|
7629
7629
|
s._holes[o].apply(i);
|
|
7630
|
-
} else if (
|
|
7630
|
+
} else if (he(i, ln)) {
|
|
7631
7631
|
if (this._shell.apply(i), !i.isDone())
|
|
7632
7632
|
for (var a = 0; a < this._holes.length && (s._holes[a].apply(i), !i.isDone()); a++)
|
|
7633
7633
|
;
|
|
7634
7634
|
i.isGeometryChanged() && this.geometryChanged();
|
|
7635
|
-
} else if (
|
|
7635
|
+
} else if (he(i, Tn))
|
|
7636
7636
|
i.filter(this);
|
|
7637
|
-
else if (
|
|
7637
|
+
else if (he(i, Pi)) {
|
|
7638
7638
|
i.filter(this), this._shell.apply(i);
|
|
7639
7639
|
for (var l = 0; l < this._holes.length; l++)
|
|
7640
7640
|
s._holes[l].apply(i);
|
|
@@ -7673,14 +7673,14 @@ var gt = function(n) {
|
|
|
7673
7673
|
}, t.serialVersionUID.get = function() {
|
|
7674
7674
|
return -3494792200821764600;
|
|
7675
7675
|
}, Object.defineProperties(e, t), e;
|
|
7676
|
-
}(
|
|
7676
|
+
}(le), fa = function(n) {
|
|
7677
7677
|
function e() {
|
|
7678
7678
|
n.apply(this, arguments);
|
|
7679
7679
|
}
|
|
7680
7680
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7681
7681
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7682
7682
|
return e.prototype.getSortIndex = function() {
|
|
7683
|
-
return
|
|
7683
|
+
return le.SORTINDEX_MULTIPOINT;
|
|
7684
7684
|
}, e.prototype.isValid = function() {
|
|
7685
7685
|
return !0;
|
|
7686
7686
|
}, e.prototype.equalsExact = function() {
|
|
@@ -7721,7 +7721,7 @@ var gt = function(n) {
|
|
|
7721
7721
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7722
7722
|
var t = { MINIMUM_VALID_SIZE: { configurable: !0 }, serialVersionUID: { configurable: !0 } };
|
|
7723
7723
|
return e.prototype.getSortIndex = function() {
|
|
7724
|
-
return
|
|
7724
|
+
return le.SORTINDEX_LINEARRING;
|
|
7725
7725
|
}, e.prototype.getBoundaryDimension = function() {
|
|
7726
7726
|
return De.FALSE;
|
|
7727
7727
|
}, e.prototype.isClosed = function() {
|
|
@@ -7756,7 +7756,7 @@ var gt = function(n) {
|
|
|
7756
7756
|
n && (e.__proto__ = n), e.prototype = Object.create(n && n.prototype), e.prototype.constructor = e;
|
|
7757
7757
|
var t = { serialVersionUID: { configurable: !0 } };
|
|
7758
7758
|
return e.prototype.getSortIndex = function() {
|
|
7759
|
-
return
|
|
7759
|
+
return le.SORTINDEX_MULTIPOLYGON;
|
|
7760
7760
|
}, e.prototype.equalsExact = function() {
|
|
7761
7761
|
if (arguments.length === 2) {
|
|
7762
7762
|
var i = arguments[0], s = arguments[1];
|
|
@@ -7806,7 +7806,7 @@ Xr.prototype.edit = function(e, t) {
|
|
|
7806
7806
|
return this._isUserDataCopied && r.setUserData(e.getUserData()), r;
|
|
7807
7807
|
};
|
|
7808
7808
|
Xr.prototype.editInternal = function(e, t) {
|
|
7809
|
-
return this._factory === null && (this._factory = e.getFactory()), e instanceof Wt ? this.editGeometryCollection(e, t) : e instanceof gt ? this.editPolygon(e, t) : e instanceof
|
|
7809
|
+
return this._factory === null && (this._factory = e.getFactory()), e instanceof Wt ? this.editGeometryCollection(e, t) : e instanceof gt ? this.editPolygon(e, t) : e instanceof hr ? t.edit(e, this._factory) : e instanceof $e ? t.edit(e, this._factory) : (me.shouldNeverReachHere("Unsupported Geometry class: " + e.getClass().getName()), null);
|
|
7810
7810
|
};
|
|
7811
7811
|
Xr.prototype.editGeometryCollection = function(e, t) {
|
|
7812
7812
|
for (var r = this, i = t.edit(e, this._factory), s = new G(), o = 0; o < i.getNumGeometries(); o++) {
|
|
@@ -7861,7 +7861,7 @@ var cu = function() {
|
|
|
7861
7861
|
};
|
|
7862
7862
|
cu.prototype.edit = function(e, t) {
|
|
7863
7863
|
var r = this.editCoordinates(e.getCoordinates(), e);
|
|
7864
|
-
return r === null ? e : e instanceof Qn ? t.createLinearRing(r) : e instanceof $e ? t.createLineString(r) : e instanceof
|
|
7864
|
+
return r === null ? e : e instanceof Qn ? t.createLinearRing(r) : e instanceof $e ? t.createLineString(r) : e instanceof hr ? r.length > 0 ? t.createPoint(r[0]) : t.createPoint() : e;
|
|
7865
7865
|
};
|
|
7866
7866
|
cu.prototype.interfaces_ = function() {
|
|
7867
7867
|
return [Xr.GeometryEditorOperation];
|
|
@@ -7872,7 +7872,7 @@ cu.prototype.getClass = function() {
|
|
|
7872
7872
|
var hu = function() {
|
|
7873
7873
|
};
|
|
7874
7874
|
hu.prototype.edit = function(e, t) {
|
|
7875
|
-
return e instanceof Qn ? t.createLinearRing(this.edit(e.getCoordinateSequence(), e)) : e instanceof $e ? t.createLineString(this.edit(e.getCoordinateSequence(), e)) : e instanceof
|
|
7875
|
+
return e instanceof Qn ? t.createLinearRing(this.edit(e.getCoordinateSequence(), e)) : e instanceof $e ? t.createLineString(this.edit(e.getCoordinateSequence(), e)) : e instanceof hr ? t.createPoint(this.edit(e.getCoordinateSequence(), e)) : e;
|
|
7876
7876
|
};
|
|
7877
7877
|
hu.prototype.interfaces_ = function() {
|
|
7878
7878
|
return [Xr.GeometryEditorOperation];
|
|
@@ -7890,7 +7890,7 @@ var rt = function() {
|
|
|
7890
7890
|
this._coordinates = new Array(t).fill(null);
|
|
7891
7891
|
for (var r = 0; r < t; r++)
|
|
7892
7892
|
e._coordinates[r] = new N();
|
|
7893
|
-
} else if (
|
|
7893
|
+
} else if (he(arguments[0], be)) {
|
|
7894
7894
|
var i = arguments[0];
|
|
7895
7895
|
if (i === null)
|
|
7896
7896
|
return this._coordinates = new Array(0).fill(null), null;
|
|
@@ -8009,7 +8009,7 @@ $n.prototype.create = function() {
|
|
|
8009
8009
|
if (arguments[0] instanceof Array) {
|
|
8010
8010
|
var e = arguments[0];
|
|
8011
8011
|
return new rt(e);
|
|
8012
|
-
} else if (
|
|
8012
|
+
} else if (he(arguments[0], be)) {
|
|
8013
8013
|
var t = arguments[0];
|
|
8014
8014
|
return new rt(t);
|
|
8015
8015
|
}
|
|
@@ -8160,7 +8160,7 @@ Me.FIXED = new Nn("FIXED");
|
|
|
8160
8160
|
Me.FLOATING = new Nn("FLOATING");
|
|
8161
8161
|
Me.FLOATING_SINGLE = new Nn("FLOATING SINGLE");
|
|
8162
8162
|
var _e = function n() {
|
|
8163
|
-
this._precisionModel = new Me(), this._SRID = 0, this._coordinateSequenceFactory = n.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ?
|
|
8163
|
+
this._precisionModel = new Me(), this._SRID = 0, this._coordinateSequenceFactory = n.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? he(arguments[0], oa) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof Me && (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]));
|
|
8164
8164
|
}, Bp = { serialVersionUID: { configurable: !0 } };
|
|
8165
8165
|
_e.prototype.toGeometry = function(e) {
|
|
8166
8166
|
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);
|
|
@@ -8169,7 +8169,7 @@ _e.prototype.createLineString = function(e) {
|
|
|
8169
8169
|
if (e) {
|
|
8170
8170
|
if (e instanceof Array)
|
|
8171
8171
|
return new $e(this.getCoordinateSequenceFactory().create(e), this);
|
|
8172
|
-
if (
|
|
8172
|
+
if (he(e, be))
|
|
8173
8173
|
return new $e(e, this);
|
|
8174
8174
|
} else return new $e(this.getCoordinateSequenceFactory().create([]), this);
|
|
8175
8175
|
};
|
|
@@ -8196,7 +8196,7 @@ _e.prototype.buildGeometry = function(e) {
|
|
|
8196
8196
|
return this.createMultiPolygon(_e.toPolygonArray(e));
|
|
8197
8197
|
if (l instanceof $e)
|
|
8198
8198
|
return this.createMultiLineString(_e.toLineStringArray(e));
|
|
8199
|
-
if (l instanceof
|
|
8199
|
+
if (l instanceof hr)
|
|
8200
8200
|
return this.createMultiPoint(_e.toPointArray(e));
|
|
8201
8201
|
me.shouldNeverReachHere("Unhandled class: " + l.getClass().getName());
|
|
8202
8202
|
}
|
|
@@ -8212,9 +8212,9 @@ _e.prototype.createPoint = function() {
|
|
|
8212
8212
|
if (arguments[0] instanceof N) {
|
|
8213
8213
|
var e = arguments[0];
|
|
8214
8214
|
return this.createPoint(e !== null ? this.getCoordinateSequenceFactory().create([e]) : null);
|
|
8215
|
-
} else if (
|
|
8215
|
+
} else if (he(arguments[0], be)) {
|
|
8216
8216
|
var t = arguments[0];
|
|
8217
|
-
return new
|
|
8217
|
+
return new hr(t, this);
|
|
8218
8218
|
}
|
|
8219
8219
|
}
|
|
8220
8220
|
};
|
|
@@ -8225,7 +8225,7 @@ _e.prototype.createPolygon = function() {
|
|
|
8225
8225
|
if (arguments.length === 0)
|
|
8226
8226
|
return new gt(null, null, this);
|
|
8227
8227
|
if (arguments.length === 1) {
|
|
8228
|
-
if (
|
|
8228
|
+
if (he(arguments[0], be)) {
|
|
8229
8229
|
var e = arguments[0];
|
|
8230
8230
|
return this.createPolygon(this.createLinearRing(e));
|
|
8231
8231
|
} else if (arguments[0] instanceof Array) {
|
|
@@ -8272,7 +8272,7 @@ _e.prototype.createLinearRing = function() {
|
|
|
8272
8272
|
if (arguments[0] instanceof Array) {
|
|
8273
8273
|
var e = arguments[0];
|
|
8274
8274
|
return this.createLinearRing(e !== null ? this.getCoordinateSequenceFactory().create(e) : null);
|
|
8275
|
-
} else if (
|
|
8275
|
+
} else if (he(arguments[0], be)) {
|
|
8276
8276
|
var t = arguments[0];
|
|
8277
8277
|
return new Qn(t, this);
|
|
8278
8278
|
}
|
|
@@ -8297,7 +8297,7 @@ _e.prototype.createMultiPoint = function() {
|
|
|
8297
8297
|
} else if (arguments[0] instanceof Array) {
|
|
8298
8298
|
var r = arguments[0];
|
|
8299
8299
|
return this.createMultiPoint(r !== null ? this.getCoordinateSequenceFactory().create(r) : null);
|
|
8300
|
-
} else if (
|
|
8300
|
+
} else if (he(arguments[0], be)) {
|
|
8301
8301
|
var i = arguments[0];
|
|
8302
8302
|
if (i === null)
|
|
8303
8303
|
return this.createMultiPoint(new Array(0).fill(null));
|
|
@@ -9809,25 +9809,25 @@ Qe.linkResultDirectedEdges = function(e) {
|
|
|
9809
9809
|
r.getEdges().linkResultDirectedEdges();
|
|
9810
9810
|
}
|
|
9811
9811
|
};
|
|
9812
|
-
var
|
|
9812
|
+
var fr = function() {
|
|
9813
9813
|
this._geometryFactory = null, this._shellList = new G();
|
|
9814
9814
|
var e = arguments[0];
|
|
9815
9815
|
this._geometryFactory = e;
|
|
9816
9816
|
};
|
|
9817
|
-
|
|
9817
|
+
fr.prototype.sortShellsAndHoles = function(e, t, r) {
|
|
9818
9818
|
for (var i = e.iterator(); i.hasNext(); ) {
|
|
9819
9819
|
var s = i.next();
|
|
9820
9820
|
s.isHole() ? r.add(s) : t.add(s);
|
|
9821
9821
|
}
|
|
9822
9822
|
};
|
|
9823
|
-
|
|
9823
|
+
fr.prototype.computePolygons = function(e) {
|
|
9824
9824
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
9825
9825
|
var s = i.next(), o = s.toPolygon(t._geometryFactory);
|
|
9826
9826
|
r.add(o);
|
|
9827
9827
|
}
|
|
9828
9828
|
return r;
|
|
9829
9829
|
};
|
|
9830
|
-
|
|
9830
|
+
fr.prototype.placeFreeHoles = function(e, t) {
|
|
9831
9831
|
for (var r = this, i = t.iterator(); i.hasNext(); ) {
|
|
9832
9832
|
var s = i.next();
|
|
9833
9833
|
if (s.getShell() === null) {
|
|
@@ -9838,7 +9838,7 @@ hr.prototype.placeFreeHoles = function(e, t) {
|
|
|
9838
9838
|
}
|
|
9839
9839
|
}
|
|
9840
9840
|
};
|
|
9841
|
-
|
|
9841
|
+
fr.prototype.buildMinimalEdgeRings = function(e, t, r) {
|
|
9842
9842
|
for (var i = this, s = new G(), o = e.iterator(); o.hasNext(); ) {
|
|
9843
9843
|
var a = o.next();
|
|
9844
9844
|
if (a.getMaxNodeDegree() > 2) {
|
|
@@ -9850,7 +9850,7 @@ hr.prototype.buildMinimalEdgeRings = function(e, t, r) {
|
|
|
9850
9850
|
}
|
|
9851
9851
|
return s;
|
|
9852
9852
|
};
|
|
9853
|
-
|
|
9853
|
+
fr.prototype.containsPoint = function(e) {
|
|
9854
9854
|
for (var t = this._shellList.iterator(); t.hasNext(); ) {
|
|
9855
9855
|
var r = t.next();
|
|
9856
9856
|
if (r.containsPoint(e))
|
|
@@ -9858,7 +9858,7 @@ hr.prototype.containsPoint = function(e) {
|
|
|
9858
9858
|
}
|
|
9859
9859
|
return !1;
|
|
9860
9860
|
};
|
|
9861
|
-
|
|
9861
|
+
fr.prototype.buildMaximalEdgeRings = function(e) {
|
|
9862
9862
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
9863
9863
|
var s = i.next();
|
|
9864
9864
|
if (s.isInResult() && s.getLabel().isArea() && s.getEdgeRing() === null) {
|
|
@@ -9868,17 +9868,17 @@ hr.prototype.buildMaximalEdgeRings = function(e) {
|
|
|
9868
9868
|
}
|
|
9869
9869
|
return r;
|
|
9870
9870
|
};
|
|
9871
|
-
|
|
9871
|
+
fr.prototype.placePolygonHoles = function(e, t) {
|
|
9872
9872
|
for (var r = t.iterator(); r.hasNext(); ) {
|
|
9873
9873
|
var i = r.next();
|
|
9874
9874
|
i.isHole() && i.setShell(e);
|
|
9875
9875
|
}
|
|
9876
9876
|
};
|
|
9877
|
-
|
|
9877
|
+
fr.prototype.getPolygons = function() {
|
|
9878
9878
|
var e = this.computePolygons(this._shellList);
|
|
9879
9879
|
return e;
|
|
9880
9880
|
};
|
|
9881
|
-
|
|
9881
|
+
fr.prototype.findEdgeRingContaining = function(e, t) {
|
|
9882
9882
|
for (var r = e.getLinearRing(), i = r.getEnvelopeInternal(), s = r.getCoordinateN(0), o = null, a = null, l = t.iterator(); l.hasNext(); ) {
|
|
9883
9883
|
var u = l.next(), c = u.getLinearRing(), h = c.getEnvelopeInternal();
|
|
9884
9884
|
o !== null && (a = o.getLinearRing().getEnvelopeInternal());
|
|
@@ -9887,14 +9887,14 @@ hr.prototype.findEdgeRingContaining = function(e, t) {
|
|
|
9887
9887
|
}
|
|
9888
9888
|
return o;
|
|
9889
9889
|
};
|
|
9890
|
-
|
|
9890
|
+
fr.prototype.findShell = function(e) {
|
|
9891
9891
|
for (var t = 0, r = null, i = e.iterator(); i.hasNext(); ) {
|
|
9892
9892
|
var s = i.next();
|
|
9893
9893
|
s.isHole() || (r = s, t++);
|
|
9894
9894
|
}
|
|
9895
9895
|
return me.isTrue(t <= 1, "found two shells in MinimalEdgeRing list"), r;
|
|
9896
9896
|
};
|
|
9897
|
-
|
|
9897
|
+
fr.prototype.add = function() {
|
|
9898
9898
|
if (arguments.length === 1) {
|
|
9899
9899
|
var e = arguments[0];
|
|
9900
9900
|
this.add(e.getEdgeEnds(), e.getNodes());
|
|
@@ -9905,11 +9905,11 @@ hr.prototype.add = function() {
|
|
|
9905
9905
|
this.sortShellsAndHoles(o, this._shellList, s), this.placeFreeHoles(this._shellList, s);
|
|
9906
9906
|
}
|
|
9907
9907
|
};
|
|
9908
|
-
|
|
9908
|
+
fr.prototype.interfaces_ = function() {
|
|
9909
9909
|
return [];
|
|
9910
9910
|
};
|
|
9911
|
-
|
|
9912
|
-
return
|
|
9911
|
+
fr.prototype.getClass = function() {
|
|
9912
|
+
return fr;
|
|
9913
9913
|
};
|
|
9914
9914
|
var da = function() {
|
|
9915
9915
|
};
|
|
@@ -10189,12 +10189,12 @@ yt.prototype.query = function() {
|
|
|
10189
10189
|
return null;
|
|
10190
10190
|
this.getIntersectsOp().intersects(this._root.getBounds(), i) && this.query(i, this._root, s);
|
|
10191
10191
|
} else if (arguments.length === 3) {
|
|
10192
|
-
if (
|
|
10192
|
+
if (he(arguments[2], ts) && arguments[0] instanceof Object && arguments[1] instanceof dt)
|
|
10193
10193
|
for (var o = arguments[0], a = arguments[1], l = arguments[2], u = a.getChildBoundables(), c = 0; c < u.size(); c++) {
|
|
10194
10194
|
var h = u.get(c);
|
|
10195
10195
|
e.getIntersectsOp().intersects(h.getBounds(), o) && (h instanceof dt ? e.query(o, h, l) : h instanceof un ? l.visitItem(h.getItem()) : me.shouldNeverReachHere());
|
|
10196
10196
|
}
|
|
10197
|
-
else if (
|
|
10197
|
+
else if (he(arguments[2], sn) && arguments[0] instanceof Object && arguments[1] instanceof dt)
|
|
10198
10198
|
for (var p = arguments[0], m = arguments[1], _ = arguments[2], C = m.getChildBoundables(), P = 0; P < C.size(); P++) {
|
|
10199
10199
|
var O = C.get(P);
|
|
10200
10200
|
e.getIntersectsOp().intersects(O.getBounds(), p) && (O instanceof dt ? e.query(p, O, _) : O instanceof un ? _.add(O.getItem()) : me.shouldNeverReachHere());
|
|
@@ -10337,10 +10337,10 @@ var Gp = function(n) {
|
|
|
10337
10337
|
var s = arguments[0], o = arguments[1];
|
|
10338
10338
|
n.prototype.query.call(this, s, o);
|
|
10339
10339
|
} else if (arguments.length === 3) {
|
|
10340
|
-
if (
|
|
10340
|
+
if (he(arguments[2], ts) && arguments[0] instanceof Object && arguments[1] instanceof dt) {
|
|
10341
10341
|
var a = arguments[0], l = arguments[1], u = arguments[2];
|
|
10342
10342
|
n.prototype.query.call(this, a, l, u);
|
|
10343
|
-
} else if (
|
|
10343
|
+
} else if (he(arguments[2], sn) && arguments[0] instanceof Object && arguments[1] instanceof dt) {
|
|
10344
10344
|
var c = arguments[0], h = arguments[1], p = arguments[2];
|
|
10345
10345
|
n.prototype.query.call(this, c, h, p);
|
|
10346
10346
|
}
|
|
@@ -10365,7 +10365,7 @@ var Gp = function(n) {
|
|
|
10365
10365
|
return this.createParentBoundablesFromVerticalSlices(l, s);
|
|
10366
10366
|
}, e.prototype.nearestNeighbour = function() {
|
|
10367
10367
|
if (arguments.length === 1) {
|
|
10368
|
-
if (
|
|
10368
|
+
if (he(arguments[0], ga)) {
|
|
10369
10369
|
var i = arguments[0], s = new at(this.getRoot(), this.getRoot(), i);
|
|
10370
10370
|
return this.nearestNeighbour(s);
|
|
10371
10371
|
} else if (arguments[0] instanceof at) {
|
|
@@ -10373,7 +10373,7 @@ var Gp = function(n) {
|
|
|
10373
10373
|
return this.nearestNeighbour(o, pe.POSITIVE_INFINITY);
|
|
10374
10374
|
}
|
|
10375
10375
|
} else if (arguments.length === 2) {
|
|
10376
|
-
if (arguments[0] instanceof e &&
|
|
10376
|
+
if (arguments[0] instanceof e && he(arguments[1], ga)) {
|
|
10377
10377
|
var a = arguments[0], l = arguments[1], u = new at(this.getRoot(), a.getRoot(), l);
|
|
10378
10378
|
return this.nearestNeighbour(u);
|
|
10379
10379
|
} else if (arguments[0] instanceof at && typeof arguments[1] == "number") {
|
|
@@ -10956,15 +10956,15 @@ pu.prototype.interfaces_ = function() {
|
|
|
10956
10956
|
pu.prototype.getClass = function() {
|
|
10957
10957
|
return pu;
|
|
10958
10958
|
};
|
|
10959
|
-
var
|
|
10959
|
+
var pr = function() {
|
|
10960
10960
|
this._pts = null, this._start = null, this._end = null, this._env = null, this._context = null, this._id = null;
|
|
10961
10961
|
var e = arguments[0], t = arguments[1], r = arguments[2], i = arguments[3];
|
|
10962
10962
|
this._pts = e, this._start = t, this._end = r, this._context = i;
|
|
10963
10963
|
};
|
|
10964
|
-
|
|
10964
|
+
pr.prototype.getLineSegment = function(e, t) {
|
|
10965
10965
|
t.p0 = this._pts[e], t.p1 = this._pts[e + 1];
|
|
10966
10966
|
};
|
|
10967
|
-
|
|
10967
|
+
pr.prototype.computeSelect = function(e, t, r, i) {
|
|
10968
10968
|
var s = this._pts[t], o = this._pts[r];
|
|
10969
10969
|
if (i.tempEnv1.init(s, o), r - t === 1)
|
|
10970
10970
|
return i.select(this, t), null;
|
|
@@ -10973,40 +10973,40 @@ fr.prototype.computeSelect = function(e, t, r, i) {
|
|
|
10973
10973
|
var a = Math.trunc((t + r) / 2);
|
|
10974
10974
|
t < a && this.computeSelect(e, t, a, i), a < r && this.computeSelect(e, a, r, i);
|
|
10975
10975
|
};
|
|
10976
|
-
|
|
10976
|
+
pr.prototype.getCoordinates = function() {
|
|
10977
10977
|
for (var e = this, t = new Array(this._end - this._start + 1).fill(null), r = 0, i = this._start; i <= this._end; i++)
|
|
10978
10978
|
t[r++] = e._pts[i];
|
|
10979
10979
|
return t;
|
|
10980
10980
|
};
|
|
10981
|
-
|
|
10981
|
+
pr.prototype.computeOverlaps = function(e, t) {
|
|
10982
10982
|
this.computeOverlapsInternal(this._start, this._end, e, e._start, e._end, t);
|
|
10983
10983
|
};
|
|
10984
|
-
|
|
10984
|
+
pr.prototype.setId = function(e) {
|
|
10985
10985
|
this._id = e;
|
|
10986
10986
|
};
|
|
10987
|
-
|
|
10987
|
+
pr.prototype.select = function(e, t) {
|
|
10988
10988
|
this.computeSelect(e, this._start, this._end, t);
|
|
10989
10989
|
};
|
|
10990
|
-
|
|
10990
|
+
pr.prototype.getEnvelope = function() {
|
|
10991
10991
|
if (this._env === null) {
|
|
10992
10992
|
var e = this._pts[this._start], t = this._pts[this._end];
|
|
10993
10993
|
this._env = new ne(e, t);
|
|
10994
10994
|
}
|
|
10995
10995
|
return this._env;
|
|
10996
10996
|
};
|
|
10997
|
-
|
|
10997
|
+
pr.prototype.getEndIndex = function() {
|
|
10998
10998
|
return this._end;
|
|
10999
10999
|
};
|
|
11000
|
-
|
|
11000
|
+
pr.prototype.getStartIndex = function() {
|
|
11001
11001
|
return this._start;
|
|
11002
11002
|
};
|
|
11003
|
-
|
|
11003
|
+
pr.prototype.getContext = function() {
|
|
11004
11004
|
return this._context;
|
|
11005
11005
|
};
|
|
11006
|
-
|
|
11006
|
+
pr.prototype.getId = function() {
|
|
11007
11007
|
return this._id;
|
|
11008
11008
|
};
|
|
11009
|
-
|
|
11009
|
+
pr.prototype.computeOverlapsInternal = function(e, t, r, i, s, o) {
|
|
11010
11010
|
var a = this._pts[e], l = this._pts[t], u = r._pts[i], c = r._pts[s];
|
|
11011
11011
|
if (t - e === 1 && s - i === 1)
|
|
11012
11012
|
return o.overlap(this, e, r, i), null;
|
|
@@ -11015,11 +11015,11 @@ fr.prototype.computeOverlapsInternal = function(e, t, r, i, s, o) {
|
|
|
11015
11015
|
var h = Math.trunc((e + t) / 2), p = Math.trunc((i + s) / 2);
|
|
11016
11016
|
e < h && (i < p && this.computeOverlapsInternal(e, h, r, i, p, o), p < s && this.computeOverlapsInternal(e, h, r, p, s, o)), h < t && (i < p && this.computeOverlapsInternal(h, t, r, i, p, o), p < s && this.computeOverlapsInternal(h, t, r, p, s, o));
|
|
11017
11017
|
};
|
|
11018
|
-
|
|
11018
|
+
pr.prototype.interfaces_ = function() {
|
|
11019
11019
|
return [];
|
|
11020
11020
|
};
|
|
11021
|
-
|
|
11022
|
-
return
|
|
11021
|
+
pr.prototype.getClass = function() {
|
|
11022
|
+
return pr;
|
|
11023
11023
|
};
|
|
11024
11024
|
var In = function() {
|
|
11025
11025
|
};
|
|
@@ -11060,7 +11060,7 @@ In.getChains = function() {
|
|
|
11060
11060
|
return In.getChains(e, null);
|
|
11061
11061
|
} else if (arguments.length === 2) {
|
|
11062
11062
|
for (var t = arguments[0], r = arguments[1], i = new G(), s = In.getChainStartIndices(t), o = 0; o < s.length - 1; o++) {
|
|
11063
|
-
var a = new
|
|
11063
|
+
var a = new pr(t, s[o], s[o + 1], r);
|
|
11064
11064
|
i.add(a);
|
|
11065
11065
|
}
|
|
11066
11066
|
return i;
|
|
@@ -11750,7 +11750,7 @@ To.prototype.findStabbedSegments = function() {
|
|
|
11750
11750
|
}
|
|
11751
11751
|
return r;
|
|
11752
11752
|
} else if (arguments.length === 3) {
|
|
11753
|
-
if (
|
|
11753
|
+
if (he(arguments[2], sn) && arguments[0] instanceof N && arguments[1] instanceof Zc)
|
|
11754
11754
|
for (var a = arguments[0], l = arguments[1], u = arguments[2], c = l.getEdge().getCoordinates(), h = 0; h < c.length - 1; h++) {
|
|
11755
11755
|
e._seg.p0 = c[h], e._seg.p1 = c[h + 1], e._seg.p0.y > e._seg.p1.y && e._seg.reverse();
|
|
11756
11756
|
var p = Math.max(e._seg.p0.x, e._seg.p1.x);
|
|
@@ -11761,7 +11761,7 @@ To.prototype.findStabbedSegments = function() {
|
|
|
11761
11761
|
u.add(_);
|
|
11762
11762
|
}
|
|
11763
11763
|
}
|
|
11764
|
-
else if (
|
|
11764
|
+
else if (he(arguments[2], sn) && arguments[0] instanceof N && he(arguments[1], sn))
|
|
11765
11765
|
for (var C = arguments[0], P = arguments[1], O = arguments[2], g = P.iterator(); g.hasNext(); ) {
|
|
11766
11766
|
var y = g.next();
|
|
11767
11767
|
y.isForward() && e.findStabbedSegments(C, y, O);
|
|
@@ -11947,7 +11947,7 @@ Yr.prototype.addPolygonRing = function(e, t, r, i, s) {
|
|
|
11947
11947
|
Yr.prototype.add = function(e) {
|
|
11948
11948
|
if (e.isEmpty())
|
|
11949
11949
|
return null;
|
|
11950
|
-
e instanceof gt ? this.addPolygon(e) : e instanceof $e ? this.addLineString(e) : e instanceof
|
|
11950
|
+
e instanceof gt ? this.addPolygon(e) : e instanceof $e ? this.addLineString(e) : e instanceof hr ? this.addPoint(e) : e instanceof fa ? this.addCollection(e) : e instanceof Ms ? this.addCollection(e) : e instanceof Xn ? this.addCollection(e) : e instanceof Wt && this.addCollection(e);
|
|
11951
11951
|
};
|
|
11952
11952
|
Yr.prototype.isErodedCompletely = function(e, t) {
|
|
11953
11953
|
var r = e.getCoordinates();
|
|
@@ -12914,7 +12914,7 @@ Ut.prototype.buffer = function(e, t) {
|
|
|
12914
12914
|
if (o.size() <= 0)
|
|
12915
12915
|
return this.createEmptyResultGeometry();
|
|
12916
12916
|
this.computeNodedEdges(o, r), this._graph = new Qe(new Yp()), this._graph.addEdges(this._edgeList.getEdges());
|
|
12917
|
-
var a = this.createSubgraphs(this._graph), l = new
|
|
12917
|
+
var a = this.createSubgraphs(this._graph), l = new fr(this._geomFact);
|
|
12918
12918
|
this.buildSubgraphs(a, l);
|
|
12919
12919
|
var u = l.getPolygons();
|
|
12920
12920
|
if (u.size() <= 0)
|
|
@@ -12964,7 +12964,7 @@ var is = function() {
|
|
|
12964
12964
|
};
|
|
12965
12965
|
is.prototype.rescale = function() {
|
|
12966
12966
|
var e = this;
|
|
12967
|
-
if (
|
|
12967
|
+
if (he(arguments[0], ht))
|
|
12968
12968
|
for (var t = arguments[0], r = t.iterator(); r.hasNext(); ) {
|
|
12969
12969
|
var i = r.next();
|
|
12970
12970
|
e.rescale(i.getCoordinates());
|
|
@@ -12977,7 +12977,7 @@ is.prototype.rescale = function() {
|
|
|
12977
12977
|
};
|
|
12978
12978
|
is.prototype.scale = function() {
|
|
12979
12979
|
var e = this;
|
|
12980
|
-
if (
|
|
12980
|
+
if (he(arguments[0], ht)) {
|
|
12981
12981
|
for (var t = arguments[0], r = new G(), i = t.iterator(); i.hasNext(); ) {
|
|
12982
12982
|
var s = i.next();
|
|
12983
12983
|
r.add(new st(e.scale(s.getCoordinates()), s.getData()));
|
|
@@ -13269,7 +13269,7 @@ ri.prototype.findInteriorIntersections = function(e, t) {
|
|
|
13269
13269
|
};
|
|
13270
13270
|
ri.prototype.computeVertexSnaps = function() {
|
|
13271
13271
|
var e = this;
|
|
13272
|
-
if (
|
|
13272
|
+
if (he(arguments[0], ht))
|
|
13273
13273
|
for (var t = arguments[0], r = t.iterator(); r.hasNext(); ) {
|
|
13274
13274
|
var i = r.next();
|
|
13275
13275
|
e.computeVertexSnaps(i);
|
|
@@ -13368,12 +13368,12 @@ Ct.bufferOp = function() {
|
|
|
13368
13368
|
var e = arguments[0], t = arguments[1], r = new Ct(e), i = r.getResultGeometry(t);
|
|
13369
13369
|
return i;
|
|
13370
13370
|
} else if (arguments.length === 3) {
|
|
13371
|
-
if (Number.isInteger(arguments[2]) && arguments[0] instanceof
|
|
13371
|
+
if (Number.isInteger(arguments[2]) && arguments[0] instanceof le && typeof arguments[1] == "number") {
|
|
13372
13372
|
var s = arguments[0], o = arguments[1], a = arguments[2], l = new Ct(s);
|
|
13373
13373
|
l.setQuadrantSegments(a);
|
|
13374
13374
|
var u = l.getResultGeometry(o);
|
|
13375
13375
|
return u;
|
|
13376
|
-
} else if (arguments[2] instanceof Oe && arguments[0] instanceof
|
|
13376
|
+
} else if (arguments[2] instanceof Oe && arguments[0] instanceof le && typeof arguments[1] == "number") {
|
|
13377
13377
|
var c = arguments[0], h = arguments[1], p = arguments[2], m = new Ct(c, p), _ = m.getResultGeometry(h);
|
|
13378
13378
|
return _;
|
|
13379
13379
|
}
|
|
@@ -13477,7 +13477,7 @@ Gn.computeDistance = function() {
|
|
|
13477
13477
|
Gn.computeDistance(l.getExteriorRing(), u, c);
|
|
13478
13478
|
for (var h = 0; h < l.getNumInteriorRing(); h++)
|
|
13479
13479
|
Gn.computeDistance(l.getInteriorRingN(h), u, c);
|
|
13480
|
-
} else if (arguments[2] instanceof zt && arguments[0] instanceof
|
|
13480
|
+
} else if (arguments[2] instanceof zt && arguments[0] instanceof le && arguments[1] instanceof N) {
|
|
13481
13481
|
var p = arguments[0], m = arguments[1], _ = arguments[2];
|
|
13482
13482
|
if (p instanceof $e)
|
|
13483
13483
|
Gn.computeDistance(p, m, _);
|
|
@@ -13624,27 +13624,27 @@ St.getLines = function() {
|
|
|
13624
13624
|
var e = arguments[0];
|
|
13625
13625
|
return St.getLines(e, !1);
|
|
13626
13626
|
} else if (arguments.length === 2) {
|
|
13627
|
-
if (
|
|
13627
|
+
if (he(arguments[0], ht) && he(arguments[1], ht)) {
|
|
13628
13628
|
for (var t = arguments[0], r = arguments[1], i = t.iterator(); i.hasNext(); ) {
|
|
13629
13629
|
var s = i.next();
|
|
13630
13630
|
St.getLines(s, r);
|
|
13631
13631
|
}
|
|
13632
13632
|
return r;
|
|
13633
|
-
} else if (arguments[0] instanceof
|
|
13633
|
+
} else if (arguments[0] instanceof le && typeof arguments[1] == "boolean") {
|
|
13634
13634
|
var o = arguments[0], a = arguments[1], l = new G();
|
|
13635
13635
|
return o.apply(new St(l, a)), l;
|
|
13636
|
-
} else if (arguments[0] instanceof
|
|
13636
|
+
} else if (arguments[0] instanceof le && he(arguments[1], ht)) {
|
|
13637
13637
|
var u = arguments[0], c = arguments[1];
|
|
13638
13638
|
return u instanceof $e ? c.add(u) : u.apply(new St(c)), c;
|
|
13639
13639
|
}
|
|
13640
13640
|
} else if (arguments.length === 3) {
|
|
13641
|
-
if (typeof arguments[2] == "boolean" &&
|
|
13641
|
+
if (typeof arguments[2] == "boolean" && he(arguments[0], ht) && he(arguments[1], ht)) {
|
|
13642
13642
|
for (var h = arguments[0], p = arguments[1], m = arguments[2], _ = h.iterator(); _.hasNext(); ) {
|
|
13643
13643
|
var C = _.next();
|
|
13644
13644
|
St.getLines(C, p, m);
|
|
13645
13645
|
}
|
|
13646
13646
|
return p;
|
|
13647
|
-
} else if (typeof arguments[2] == "boolean" && arguments[0] instanceof
|
|
13647
|
+
} else if (typeof arguments[2] == "boolean" && arguments[0] instanceof le && he(arguments[1], ht)) {
|
|
13648
13648
|
var P = arguments[0], O = arguments[1], g = arguments[2];
|
|
13649
13649
|
return P.apply(new St(O, g)), O;
|
|
13650
13650
|
}
|
|
@@ -13685,7 +13685,7 @@ fn.prototype.locateInternal = function() {
|
|
|
13685
13685
|
return L.EXTERIOR;
|
|
13686
13686
|
var h = c.getCoordinates();
|
|
13687
13687
|
return !c.isClosed() && (u.equals(h[0]) || u.equals(h[h.length - 1])) ? L.BOUNDARY : Y.isOnLine(u, h) ? L.INTERIOR : L.EXTERIOR;
|
|
13688
|
-
} else if (arguments[0] instanceof N && arguments[1] instanceof
|
|
13688
|
+
} else if (arguments[0] instanceof N && arguments[1] instanceof hr) {
|
|
13689
13689
|
var p = arguments[0], m = arguments[1], _ = m.getCoordinate();
|
|
13690
13690
|
return _.equals2D(p) ? L.INTERIOR : L.EXTERIOR;
|
|
13691
13691
|
}
|
|
@@ -13701,7 +13701,7 @@ fn.prototype.updateLocationInfo = function(e) {
|
|
|
13701
13701
|
};
|
|
13702
13702
|
fn.prototype.computeLocation = function(e, t) {
|
|
13703
13703
|
var r = this;
|
|
13704
|
-
if (t instanceof
|
|
13704
|
+
if (t instanceof hr && this.updateLocationInfo(this.locateInternal(e, t)), t instanceof $e)
|
|
13705
13705
|
this.updateLocationInfo(this.locateInternal(e, t));
|
|
13706
13706
|
else if (t instanceof gt)
|
|
13707
13707
|
this.updateLocationInfo(this.locateInternal(e, t));
|
|
@@ -13765,7 +13765,7 @@ var Ji = function(e) {
|
|
|
13765
13765
|
this._pts = e || null;
|
|
13766
13766
|
};
|
|
13767
13767
|
Ji.prototype.filter = function(e) {
|
|
13768
|
-
e instanceof
|
|
13768
|
+
e instanceof hr && this._pts.add(e);
|
|
13769
13769
|
};
|
|
13770
13770
|
Ji.prototype.interfaces_ = function() {
|
|
13771
13771
|
return [Tn];
|
|
@@ -13776,10 +13776,10 @@ Ji.prototype.getClass = function() {
|
|
|
13776
13776
|
Ji.getPoints = function() {
|
|
13777
13777
|
if (arguments.length === 1) {
|
|
13778
13778
|
var e = arguments[0];
|
|
13779
|
-
return e instanceof
|
|
13779
|
+
return e instanceof hr ? cn.singletonList(e) : Ji.getPoints(e, new G());
|
|
13780
13780
|
} else if (arguments.length === 2) {
|
|
13781
13781
|
var t = arguments[0], r = arguments[1];
|
|
13782
|
-
return t instanceof
|
|
13782
|
+
return t instanceof hr ? r.add(t) : t instanceof Wt && t.apply(new Ji(r)), r;
|
|
13783
13783
|
}
|
|
13784
13784
|
};
|
|
13785
13785
|
var Oo = function() {
|
|
@@ -13788,7 +13788,7 @@ var Oo = function() {
|
|
|
13788
13788
|
this._locations = e;
|
|
13789
13789
|
};
|
|
13790
13790
|
Oo.prototype.filter = function(e) {
|
|
13791
|
-
(e instanceof
|
|
13791
|
+
(e instanceof hr || e instanceof $e || e instanceof gt) && this._locations.add(new Bt(e, 0, e.getCoordinate()));
|
|
13792
13792
|
};
|
|
13793
13793
|
Oo.prototype.interfaces_ = function() {
|
|
13794
13794
|
return [Tn];
|
|
@@ -13824,7 +13824,7 @@ bt.prototype.computeContainmentDistance = function() {
|
|
|
13824
13824
|
return this._minDistanceLocation[s] = i[0], this._minDistanceLocation[r] = i[1], null;
|
|
13825
13825
|
}
|
|
13826
13826
|
} else if (arguments.length === 3) {
|
|
13827
|
-
if (arguments[2] instanceof Array &&
|
|
13827
|
+
if (arguments[2] instanceof Array && he(arguments[0], sn) && he(arguments[1], sn)) {
|
|
13828
13828
|
for (var l = arguments[0], u = arguments[1], c = arguments[2], h = 0; h < l.size(); h++)
|
|
13829
13829
|
for (var p = l.get(h), m = 0; m < u.size(); m++)
|
|
13830
13830
|
if (e.computeContainmentDistance(p, u.get(m), c), e._minDistance <= e._terminateDistance)
|
|
@@ -13870,7 +13870,7 @@ bt.prototype.computeMinDistance = function() {
|
|
|
13870
13870
|
return null;
|
|
13871
13871
|
this.computeFacetDistance();
|
|
13872
13872
|
} else if (arguments.length === 3) {
|
|
13873
|
-
if (arguments[2] instanceof Array && arguments[0] instanceof $e && arguments[1] instanceof
|
|
13873
|
+
if (arguments[2] instanceof Array && arguments[0] instanceof $e && arguments[1] instanceof hr) {
|
|
13874
13874
|
var t = arguments[0], r = arguments[1], i = arguments[2];
|
|
13875
13875
|
if (t.getEnvelopeInternal().distance(r.getEnvelopeInternal()) > this._minDistance)
|
|
13876
13876
|
return null;
|
|
@@ -14017,7 +14017,7 @@ Cn.computeDistance = function() {
|
|
|
14017
14017
|
Cn.computeDistance(l.getExteriorRing(), u, c);
|
|
14018
14018
|
for (var h = 0; h < l.getNumInteriorRing(); h++)
|
|
14019
14019
|
Cn.computeDistance(l.getInteriorRingN(h), u, c);
|
|
14020
|
-
} else if (arguments[2] instanceof Lt && arguments[0] instanceof
|
|
14020
|
+
} else if (arguments[2] instanceof Lt && arguments[0] instanceof le && arguments[1] instanceof N) {
|
|
14021
14021
|
var p = arguments[0], m = arguments[1], _ = arguments[2];
|
|
14022
14022
|
if (p instanceof $e)
|
|
14023
14023
|
Cn.computeDistance(p, m, _);
|
|
@@ -14132,10 +14132,10 @@ os.prototype.interfaces_ = function() {
|
|
|
14132
14132
|
os.prototype.getClass = function() {
|
|
14133
14133
|
return os;
|
|
14134
14134
|
};
|
|
14135
|
-
var
|
|
14135
|
+
var cr = function(e, t, r) {
|
|
14136
14136
|
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;
|
|
14137
14137
|
}, Mh = { VERBOSE: { configurable: !0 }, MAX_DISTANCE_DIFF_FRAC: { configurable: !0 } };
|
|
14138
|
-
|
|
14138
|
+
cr.prototype.checkMaximumDistance = function(e, t, r) {
|
|
14139
14139
|
var i = new Wr(t, e);
|
|
14140
14140
|
if (i.setDensifyFraction(0.25), this._maxDistanceFound = i.orientedDistance(), this._maxDistanceFound > r) {
|
|
14141
14141
|
this._isValid = !1;
|
|
@@ -14143,11 +14143,11 @@ ur.prototype.checkMaximumDistance = function(e, t, r) {
|
|
|
14143
14143
|
this._errorLocation = s[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too large (" + this._maxDistanceFound + " at " + an.toLineString(s[0], s[1]) + ")";
|
|
14144
14144
|
}
|
|
14145
14145
|
};
|
|
14146
|
-
|
|
14147
|
-
var e = Math.abs(this._bufDistance), t =
|
|
14148
|
-
return this._minValidDistance = e - t, this._maxValidDistance = e + t, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(),
|
|
14146
|
+
cr.prototype.isValid = function() {
|
|
14147
|
+
var e = Math.abs(this._bufDistance), t = cr.MAX_DISTANCE_DIFF_FRAC * e;
|
|
14148
|
+
return this._minValidDistance = e - t, this._maxValidDistance = e + t, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), cr.VERBOSE && It.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
|
|
14149
14149
|
};
|
|
14150
|
-
|
|
14150
|
+
cr.prototype.checkNegativeValid = function() {
|
|
14151
14151
|
if (!(this._input instanceof gt || this._input instanceof Xn || this._input instanceof Wt))
|
|
14152
14152
|
return null;
|
|
14153
14153
|
var e = this.getPolygonLines(this._input);
|
|
@@ -14155,10 +14155,10 @@ ur.prototype.checkNegativeValid = function() {
|
|
|
14155
14155
|
return null;
|
|
14156
14156
|
this.checkMaximumDistance(e, this._result, this._maxValidDistance);
|
|
14157
14157
|
};
|
|
14158
|
-
|
|
14158
|
+
cr.prototype.getErrorIndicator = function() {
|
|
14159
14159
|
return this._errorIndicator;
|
|
14160
14160
|
};
|
|
14161
|
-
|
|
14161
|
+
cr.prototype.checkMinimumDistance = function(e, t, r) {
|
|
14162
14162
|
var i = new bt(e, t, r);
|
|
14163
14163
|
if (this._minDistanceFound = i.distance(), this._minDistanceFound < r) {
|
|
14164
14164
|
this._isValid = !1;
|
|
@@ -14166,30 +14166,30 @@ ur.prototype.checkMinimumDistance = function(e, t, r) {
|
|
|
14166
14166
|
this._errorLocation = i.nearestPoints()[1], this._errorIndicator = e.getFactory().createLineString(s), this._errMsg = "Distance between buffer curve and input is too small (" + this._minDistanceFound + " at " + an.toLineString(s[0], s[1]) + " )";
|
|
14167
14167
|
}
|
|
14168
14168
|
};
|
|
14169
|
-
|
|
14169
|
+
cr.prototype.checkPositiveValid = function() {
|
|
14170
14170
|
var e = this._result.getBoundary();
|
|
14171
14171
|
if (this.checkMinimumDistance(this._input, e, this._minValidDistance), !this._isValid)
|
|
14172
14172
|
return null;
|
|
14173
14173
|
this.checkMaximumDistance(this._input, e, this._maxValidDistance);
|
|
14174
14174
|
};
|
|
14175
|
-
|
|
14175
|
+
cr.prototype.getErrorLocation = function() {
|
|
14176
14176
|
return this._errorLocation;
|
|
14177
14177
|
};
|
|
14178
|
-
|
|
14178
|
+
cr.prototype.getPolygonLines = function(e) {
|
|
14179
14179
|
for (var t = new G(), r = new St(t), i = Ei.getPolygons(e), s = i.iterator(); s.hasNext(); ) {
|
|
14180
14180
|
var o = s.next();
|
|
14181
14181
|
o.apply(r);
|
|
14182
14182
|
}
|
|
14183
14183
|
return e.getFactory().buildGeometry(t);
|
|
14184
14184
|
};
|
|
14185
|
-
|
|
14185
|
+
cr.prototype.getErrorMessage = function() {
|
|
14186
14186
|
return this._errMsg;
|
|
14187
14187
|
};
|
|
14188
|
-
|
|
14188
|
+
cr.prototype.interfaces_ = function() {
|
|
14189
14189
|
return [];
|
|
14190
14190
|
};
|
|
14191
|
-
|
|
14192
|
-
return
|
|
14191
|
+
cr.prototype.getClass = function() {
|
|
14192
|
+
return cr;
|
|
14193
14193
|
};
|
|
14194
14194
|
Mh.VERBOSE.get = function() {
|
|
14195
14195
|
return !1;
|
|
@@ -14197,7 +14197,7 @@ Mh.VERBOSE.get = function() {
|
|
|
14197
14197
|
Mh.MAX_DISTANCE_DIFF_FRAC.get = function() {
|
|
14198
14198
|
return 0.012;
|
|
14199
14199
|
};
|
|
14200
|
-
Object.defineProperties(
|
|
14200
|
+
Object.defineProperties(cr, Mh);
|
|
14201
14201
|
var xt = function(e, t, r) {
|
|
14202
14202
|
this._isValid = !0, this._errorMsg = null, this._errorLocation = null, this._errorIndicator = null, this._input = e || null, this._distance = t || null, this._result = r || null;
|
|
14203
14203
|
}, Lh = { VERBOSE: { configurable: !0 }, MAX_ENV_DIFF_FRAC: { configurable: !0 } };
|
|
@@ -14215,7 +14215,7 @@ xt.prototype.checkEnvelope = function() {
|
|
|
14215
14215
|
r.expandBy(e), r.contains(t) || (this._isValid = !1, this._errorMsg = "Buffer envelope is incorrect", this._errorIndicator = this._input.getFactory().toGeometry(r)), this.report("Envelope");
|
|
14216
14216
|
};
|
|
14217
14217
|
xt.prototype.checkDistance = function() {
|
|
14218
|
-
var e = new
|
|
14218
|
+
var e = new cr(this._input, this._distance, this._result);
|
|
14219
14219
|
e.isValid() || (this._isValid = !1, this._errorMsg = e.getErrorMessage(), this._errorLocation = e.getErrorLocation(), this._errorIndicator = e.getErrorIndicator()), this.report("Distance");
|
|
14220
14220
|
};
|
|
14221
14221
|
xt.prototype.checkArea = function() {
|
|
@@ -14604,7 +14604,7 @@ or.prototype.transformGeometryCollection = function(e, t) {
|
|
|
14604
14604
|
return this._preserveGeometryCollectionType ? this._factory.createGeometryCollection(_e.toGeometryArray(i)) : this._factory.buildGeometry(i);
|
|
14605
14605
|
};
|
|
14606
14606
|
or.prototype.transform = function(e) {
|
|
14607
|
-
if (this._inputGeom = e, this._factory = e.getFactory(), e instanceof
|
|
14607
|
+
if (this._inputGeom = e, this._factory = e.getFactory(), e instanceof hr)
|
|
14608
14608
|
return this.transformPoint(e, null);
|
|
14609
14609
|
if (e instanceof fa)
|
|
14610
14610
|
return this.transformMultiPoint(e, null);
|
|
@@ -14709,7 +14709,7 @@ nt.prototype.snapTo = function(e, t) {
|
|
|
14709
14709
|
};
|
|
14710
14710
|
nt.prototype.snapToSelf = function(e, t) {
|
|
14711
14711
|
var r = this.extractTargetCoordinates(this._srcGeom), i = new td(e, r, !0), s = i.transform(this._srcGeom), o = s;
|
|
14712
|
-
return t &&
|
|
14712
|
+
return t && he(o, es) && (o = s.buffer(0)), o;
|
|
14713
14713
|
};
|
|
14714
14714
|
nt.prototype.computeSnapTolerance = function(e) {
|
|
14715
14715
|
var t = this.computeMinimumSegmentLength(e), r = t / 10;
|
|
@@ -15007,7 +15007,7 @@ mu.prototype.interfaces_ = function() {
|
|
|
15007
15007
|
mu.prototype.getClass = function() {
|
|
15008
15008
|
return mu;
|
|
15009
15009
|
};
|
|
15010
|
-
var
|
|
15010
|
+
var dr = function n() {
|
|
15011
15011
|
if (this._label = null, this._xValue = null, this._eventType = null, this._insertEvent = null, this._deleteEventIndex = null, this._obj = null, arguments.length === 2) {
|
|
15012
15012
|
var e = arguments[0], t = arguments[1];
|
|
15013
15013
|
this._eventType = n.DELETE, this._xValue = e, this._insertEvent = t;
|
|
@@ -15016,36 +15016,36 @@ var pr = function n() {
|
|
|
15016
15016
|
this._eventType = n.INSERT, this._label = r, this._xValue = i, this._obj = s;
|
|
15017
15017
|
}
|
|
15018
15018
|
}, Ah = { INSERT: { configurable: !0 }, DELETE: { configurable: !0 } };
|
|
15019
|
-
|
|
15020
|
-
return this._eventType ===
|
|
15019
|
+
dr.prototype.isDelete = function() {
|
|
15020
|
+
return this._eventType === dr.DELETE;
|
|
15021
15021
|
};
|
|
15022
|
-
|
|
15022
|
+
dr.prototype.setDeleteEventIndex = function(e) {
|
|
15023
15023
|
this._deleteEventIndex = e;
|
|
15024
15024
|
};
|
|
15025
|
-
|
|
15025
|
+
dr.prototype.getObject = function() {
|
|
15026
15026
|
return this._obj;
|
|
15027
15027
|
};
|
|
15028
|
-
|
|
15028
|
+
dr.prototype.compareTo = function(e) {
|
|
15029
15029
|
var t = e;
|
|
15030
15030
|
return this._xValue < t._xValue ? -1 : this._xValue > t._xValue ? 1 : this._eventType < t._eventType ? -1 : this._eventType > t._eventType ? 1 : 0;
|
|
15031
15031
|
};
|
|
15032
|
-
|
|
15032
|
+
dr.prototype.getInsertEvent = function() {
|
|
15033
15033
|
return this._insertEvent;
|
|
15034
15034
|
};
|
|
15035
|
-
|
|
15036
|
-
return this._eventType ===
|
|
15035
|
+
dr.prototype.isInsert = function() {
|
|
15036
|
+
return this._eventType === dr.INSERT;
|
|
15037
15037
|
};
|
|
15038
|
-
|
|
15038
|
+
dr.prototype.isSameLabel = function(e) {
|
|
15039
15039
|
return this._label === null ? !1 : this._label === e._label;
|
|
15040
15040
|
};
|
|
15041
|
-
|
|
15041
|
+
dr.prototype.getDeleteEventIndex = function() {
|
|
15042
15042
|
return this._deleteEventIndex;
|
|
15043
15043
|
};
|
|
15044
|
-
|
|
15044
|
+
dr.prototype.interfaces_ = function() {
|
|
15045
15045
|
return [Jr];
|
|
15046
15046
|
};
|
|
15047
|
-
|
|
15048
|
-
return
|
|
15047
|
+
dr.prototype.getClass = function() {
|
|
15048
|
+
return dr;
|
|
15049
15049
|
};
|
|
15050
15050
|
Ah.INSERT.get = function() {
|
|
15051
15051
|
return 1;
|
|
@@ -15053,7 +15053,7 @@ Ah.INSERT.get = function() {
|
|
|
15053
15053
|
Ah.DELETE.get = function() {
|
|
15054
15054
|
return 2;
|
|
15055
15055
|
};
|
|
15056
|
-
Object.defineProperties(
|
|
15056
|
+
Object.defineProperties(dr, Ah);
|
|
15057
15057
|
var rc = function() {
|
|
15058
15058
|
};
|
|
15059
15059
|
rc.prototype.interfaces_ = function() {
|
|
@@ -15149,18 +15149,18 @@ var Um = function(n) {
|
|
|
15149
15149
|
break;
|
|
15150
15150
|
}
|
|
15151
15151
|
} else if (arguments.length === 3) {
|
|
15152
|
-
if (arguments[2] instanceof Tt &&
|
|
15152
|
+
if (arguments[2] instanceof Tt && he(arguments[0], sn) && he(arguments[1], sn)) {
|
|
15153
15153
|
var a = arguments[0], l = arguments[1], u = arguments[2];
|
|
15154
15154
|
this.addEdges(a, a), this.addEdges(l, l), this.computeIntersections(u);
|
|
15155
|
-
} else if (typeof arguments[2] == "boolean" &&
|
|
15155
|
+
} else if (typeof arguments[2] == "boolean" && he(arguments[0], sn) && arguments[1] instanceof Tt) {
|
|
15156
15156
|
var c = arguments[0], h = arguments[1], p = arguments[2];
|
|
15157
15157
|
p ? this.addEdges(c, null) : this.addEdges(c), this.computeIntersections(h);
|
|
15158
15158
|
}
|
|
15159
15159
|
}
|
|
15160
15160
|
}, e.prototype.addEdge = function(r, i) {
|
|
15161
15161
|
for (var s = this, o = r.getMonotoneChainEdge(), a = o.getStartIndexes(), l = 0; l < a.length - 1; l++) {
|
|
15162
|
-
var u = new mu(o, l), c = new
|
|
15163
|
-
s.events.add(c), s.events.add(new
|
|
15162
|
+
var u = new mu(o, l), c = new dr(i, o.getMinX(l), u);
|
|
15163
|
+
s.events.add(c), s.events.add(new dr(o.getMaxX(l), c));
|
|
15164
15164
|
}
|
|
15165
15165
|
}, e.prototype.processOverlaps = function(r, i, s, o) {
|
|
15166
15166
|
for (var a = this, l = s.getObject(), u = r; u < i; u++) {
|
|
@@ -15325,7 +15325,7 @@ ya.prototype.getClass = function() {
|
|
|
15325
15325
|
var _a = function() {
|
|
15326
15326
|
this._index = null;
|
|
15327
15327
|
var e = arguments[0];
|
|
15328
|
-
if (!
|
|
15328
|
+
if (!he(e, es))
|
|
15329
15329
|
throw new He("Argument must be Polygonal");
|
|
15330
15330
|
this._index = new zs(e);
|
|
15331
15331
|
}, Fh = { SegmentVisitor: { configurable: !0 }, IntervalIndexedGeometry: { configurable: !0 } };
|
|
@@ -15435,7 +15435,7 @@ var Kl = function(n) {
|
|
|
15435
15435
|
}, e.prototype.hasTooFewPoints = function() {
|
|
15436
15436
|
return this._hasTooFewPoints;
|
|
15437
15437
|
}, e.prototype.addPoint = function() {
|
|
15438
|
-
if (arguments[0] instanceof
|
|
15438
|
+
if (arguments[0] instanceof hr) {
|
|
15439
15439
|
var r = arguments[0], i = r.getCoordinate();
|
|
15440
15440
|
this.insertPoint(this._argIndex, i, L.INTERIOR);
|
|
15441
15441
|
} else if (arguments[0] instanceof N) {
|
|
@@ -15503,7 +15503,7 @@ var Kl = function(n) {
|
|
|
15503
15503
|
this.addPolygon(r);
|
|
15504
15504
|
else if (r instanceof $e)
|
|
15505
15505
|
this.addLineString(r);
|
|
15506
|
-
else if (r instanceof
|
|
15506
|
+
else if (r instanceof hr)
|
|
15507
15507
|
this.addPoint(r);
|
|
15508
15508
|
else if (r instanceof fa)
|
|
15509
15509
|
this.addCollection(r);
|
|
@@ -15523,7 +15523,7 @@ var Kl = function(n) {
|
|
|
15523
15523
|
i.add(o);
|
|
15524
15524
|
}
|
|
15525
15525
|
}, e.prototype.locate = function(r) {
|
|
15526
|
-
return
|
|
15526
|
+
return he(this._parentGeom, es) && this._parentGeom.getNumGeometries() > 50 ? (this._areaPtLocator === null && (this._areaPtLocator = new _a(this._parentGeom)), this._areaPtLocator.locate(r)) : this._ptLocator.locate(r, this._parentGeom);
|
|
15527
15527
|
}, e.prototype.findEdge = function() {
|
|
15528
15528
|
if (arguments.length === 1) {
|
|
15529
15529
|
var r = arguments[0];
|
|
@@ -15570,13 +15570,13 @@ Ds.prototype.getClass = function() {
|
|
|
15570
15570
|
return Ds;
|
|
15571
15571
|
};
|
|
15572
15572
|
Ds.map = function() {
|
|
15573
|
-
if (arguments[0] instanceof
|
|
15573
|
+
if (arguments[0] instanceof le && he(arguments[1], Ds.MapOp)) {
|
|
15574
15574
|
for (var e = arguments[0], t = arguments[1], r = new G(), i = 0; i < e.getNumGeometries(); i++) {
|
|
15575
15575
|
var s = t.map(e.getGeometryN(i));
|
|
15576
15576
|
s !== null && r.add(s);
|
|
15577
15577
|
}
|
|
15578
15578
|
return e.getFactory().buildGeometry(r);
|
|
15579
|
-
} else if (
|
|
15579
|
+
} else if (he(arguments[0], ht) && he(arguments[1], Ds.MapOp)) {
|
|
15580
15580
|
for (var o = arguments[0], a = arguments[1], l = new G(), u = o.iterator(); u.hasNext(); ) {
|
|
15581
15581
|
var c = u.next(), h = a.map(c);
|
|
15582
15582
|
h !== null && l.add(h);
|
|
@@ -15646,7 +15646,7 @@ var ge = function(n) {
|
|
|
15646
15646
|
this.copyPoints(0), this.copyPoints(1), this._arg[0].computeSelfNodes(this._li, !1), this._arg[1].computeSelfNodes(this._li, !1), this._arg[0].computeEdgeIntersections(this._arg[1], this._li, !0);
|
|
15647
15647
|
var i = new G();
|
|
15648
15648
|
this._arg[0].computeSplitEdges(i), this._arg[1].computeSplitEdges(i), this.insertUniqueEdges(i), this.computeLabelsFromDepths(), this.replaceCollapsedEdges(), Vs.checkValid(this._edgeList.getEdges()), this._graph.addEdges(this._edgeList.getEdges()), this.computeLabelling(), this.labelIncompleteNodes(), this.findResultAreaEdges(r), this.cancelDuplicateResultEdges();
|
|
15649
|
-
var s = new
|
|
15649
|
+
var s = new fr(this._geomFact);
|
|
15650
15650
|
s.add(this._graph), this._resultPolyList = s.getPolygons();
|
|
15651
15651
|
var o = new An(this, this._geomFact, this._ptLocator);
|
|
15652
15652
|
this._resultLineList = o.build(r);
|
|
@@ -15934,10 +15934,10 @@ nd.TOLERANCE.get = function() {
|
|
|
15934
15934
|
return 1e-6;
|
|
15935
15935
|
};
|
|
15936
15936
|
Object.defineProperties(Nr, nd);
|
|
15937
|
-
var
|
|
15937
|
+
var wr = function n(e) {
|
|
15938
15938
|
this._geomFactory = null, this._skipEmpty = !1, this._inputGeoms = null, this._geomFactory = n.extractFactory(e), this._inputGeoms = e;
|
|
15939
15939
|
};
|
|
15940
|
-
|
|
15940
|
+
wr.prototype.extractElements = function(e, t) {
|
|
15941
15941
|
var r = this;
|
|
15942
15942
|
if (e === null)
|
|
15943
15943
|
return null;
|
|
@@ -15946,35 +15946,35 @@ _r.prototype.extractElements = function(e, t) {
|
|
|
15946
15946
|
r._skipEmpty && s.isEmpty() || t.add(s);
|
|
15947
15947
|
}
|
|
15948
15948
|
};
|
|
15949
|
-
|
|
15949
|
+
wr.prototype.combine = function() {
|
|
15950
15950
|
for (var e = this, t = new G(), r = this._inputGeoms.iterator(); r.hasNext(); ) {
|
|
15951
15951
|
var i = r.next();
|
|
15952
15952
|
e.extractElements(i, t);
|
|
15953
15953
|
}
|
|
15954
15954
|
return t.size() === 0 ? this._geomFactory !== null ? this._geomFactory.createGeometryCollection(null) : null : this._geomFactory.buildGeometry(t);
|
|
15955
15955
|
};
|
|
15956
|
-
|
|
15956
|
+
wr.prototype.interfaces_ = function() {
|
|
15957
15957
|
return [];
|
|
15958
15958
|
};
|
|
15959
|
-
|
|
15960
|
-
return
|
|
15959
|
+
wr.prototype.getClass = function() {
|
|
15960
|
+
return wr;
|
|
15961
15961
|
};
|
|
15962
|
-
|
|
15962
|
+
wr.combine = function() {
|
|
15963
15963
|
if (arguments.length === 1) {
|
|
15964
|
-
var e = arguments[0], t = new
|
|
15964
|
+
var e = arguments[0], t = new wr(e);
|
|
15965
15965
|
return t.combine();
|
|
15966
15966
|
} else if (arguments.length === 2) {
|
|
15967
|
-
var r = arguments[0], i = arguments[1], s = new
|
|
15967
|
+
var r = arguments[0], i = arguments[1], s = new wr(wr.createList(r, i));
|
|
15968
15968
|
return s.combine();
|
|
15969
15969
|
} else if (arguments.length === 3) {
|
|
15970
|
-
var o = arguments[0], a = arguments[1], l = arguments[2], u = new
|
|
15970
|
+
var o = arguments[0], a = arguments[1], l = arguments[2], u = new wr(wr.createList(o, a, l));
|
|
15971
15971
|
return u.combine();
|
|
15972
15972
|
}
|
|
15973
15973
|
};
|
|
15974
|
-
|
|
15974
|
+
wr.extractFactory = function(e) {
|
|
15975
15975
|
return e.isEmpty() ? null : e.iterator().next().getFactory();
|
|
15976
15976
|
};
|
|
15977
|
-
|
|
15977
|
+
wr.createList = function() {
|
|
15978
15978
|
if (arguments.length === 2) {
|
|
15979
15979
|
var e = arguments[0], t = arguments[1], r = new G();
|
|
15980
15980
|
return r.add(e), r.add(t), r;
|
|
@@ -15991,7 +15991,7 @@ var lt = function() {
|
|
|
15991
15991
|
lt.prototype.reduceToGeometries = function(e) {
|
|
15992
15992
|
for (var t = this, r = new G(), i = e.iterator(); i.hasNext(); ) {
|
|
15993
15993
|
var s = i.next(), o = null;
|
|
15994
|
-
|
|
15994
|
+
he(s, sn) ? o = t.unionTree(s) : s instanceof le && (o = s), r.add(o);
|
|
15995
15995
|
}
|
|
15996
15996
|
return r;
|
|
15997
15997
|
};
|
|
@@ -16005,7 +16005,7 @@ lt.prototype.extractByEnvelope = function(e, t, r) {
|
|
|
16005
16005
|
lt.prototype.unionOptimized = function(e, t) {
|
|
16006
16006
|
var r = e.getEnvelopeInternal(), i = t.getEnvelopeInternal();
|
|
16007
16007
|
if (!r.intersects(i)) {
|
|
16008
|
-
var s =
|
|
16008
|
+
var s = wr.combine(e, t);
|
|
16009
16009
|
return s;
|
|
16010
16010
|
}
|
|
16011
16011
|
if (e.getNumGeometries() <= 1 && t.getNumGeometries() <= 1)
|
|
@@ -16064,7 +16064,7 @@ lt.prototype.unionTree = function(e) {
|
|
|
16064
16064
|
lt.prototype.unionUsingEnvelopeIntersection = function(e, t, r) {
|
|
16065
16065
|
var i = new G(), s = this.extractByEnvelope(r, e, i), o = this.extractByEnvelope(r, t, i), a = this.unionActual(s, o);
|
|
16066
16066
|
i.add(a);
|
|
16067
|
-
var l =
|
|
16067
|
+
var l = wr.combine(i);
|
|
16068
16068
|
return l;
|
|
16069
16069
|
};
|
|
16070
16070
|
lt.prototype.bufferUnion = function() {
|
|
@@ -16083,7 +16083,7 @@ lt.prototype.getClass = function() {
|
|
|
16083
16083
|
return lt;
|
|
16084
16084
|
};
|
|
16085
16085
|
lt.restrictToPolygons = function(e) {
|
|
16086
|
-
if (
|
|
16086
|
+
if (he(e, es))
|
|
16087
16087
|
return e;
|
|
16088
16088
|
var t = Ei.getPolygons(e);
|
|
16089
16089
|
return t.size() === 1 ? t.get(0) : e.getFactory().createMultiPolygon(_e.toPolygonArray(t));
|
|
@@ -17362,19 +17362,19 @@ function bv(n, e) {
|
|
|
17362
17362
|
function Ou(n) {
|
|
17363
17363
|
return new Float64Array(n);
|
|
17364
17364
|
}
|
|
17365
|
-
const xv = (3 + 16 * Ki) * Ki, Tv = (2 + 12 * Ki) * Ki, Nv = (9 + 64 * Ki) * Ki * Ki, Ho = Ou(4), Af = Ou(8), Ff = Ou(12), kf = Ou(16),
|
|
17365
|
+
const xv = (3 + 16 * Ki) * Ki, Tv = (2 + 12 * Ki) * Ki, Nv = (9 + 64 * Ki) * Ki * Ki, Ho = Ou(4), Af = Ou(8), Ff = Ou(12), kf = Ou(16), gr = Ou(4);
|
|
17366
17366
|
function Dv(n, e, t, r, i, s, o) {
|
|
17367
17367
|
let a, l, u, c, h, p, m, _, C, P, O, g, y, d, v, w, S, I;
|
|
17368
17368
|
const x = n - i, D = t - i, b = e - s, T = r - s;
|
|
17369
17369
|
d = x * T, p = ar * x, m = p - (p - x), _ = x - m, p = ar * T, C = p - (p - T), P = T - C, v = _ * P - (d - m * C - _ * C - m * P), w = b * D, p = ar * b, m = p - (p - b), _ = b - m, p = ar * D, C = p - (p - D), P = D - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, Ho[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, Ho[1] = y - (O + h) + (h - w), I = g + O, h = I - g, Ho[2] = g - (I - h) + (O - h), Ho[3] = I;
|
|
17370
17370
|
let M = bv(4, Ho), R = Tv * o;
|
|
17371
17371
|
if (M >= R || -M >= R || (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) || (R = Nv * o + Iv * Math.abs(M), M += x * c + T * a - (b * u + D * l), M >= R || -M >= R)) return M;
|
|
17372
|
-
d = a * T, p = ar * a, m = p - (p - a), _ = a - m, p = ar * T, C = p - (p - T), P = T - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * D, p = ar * l, m = p - (p - l), _ = l - m, p = ar * D, C = p - (p - D), P = D - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O,
|
|
17373
|
-
const Q = Uc(4, Ho, 4,
|
|
17374
|
-
d = x * c, p = ar * x, m = p - (p - x), _ = x - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = b * u, p = ar * b, m = p - (p - b), _ = b - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O,
|
|
17375
|
-
const q = Uc(Q, Af, 4,
|
|
17376
|
-
d = a * c, p = ar * a, m = p - (p - a), _ = a - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * u, p = ar * l, m = p - (p - l), _ = l - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O,
|
|
17377
|
-
const ie = Uc(q, Ff, 4,
|
|
17372
|
+
d = a * T, p = ar * a, m = p - (p - a), _ = a - m, p = ar * T, C = p - (p - T), P = T - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * D, p = ar * l, m = p - (p - l), _ = l - m, p = ar * D, C = p - (p - D), P = D - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17373
|
+
const Q = Uc(4, Ho, 4, gr, Af);
|
|
17374
|
+
d = x * c, p = ar * x, m = p - (p - x), _ = x - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = b * u, p = ar * b, m = p - (p - b), _ = b - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17375
|
+
const q = Uc(Q, Af, 4, gr, Ff);
|
|
17376
|
+
d = a * c, p = ar * a, m = p - (p - a), _ = a - m, p = ar * c, C = p - (p - c), P = c - C, v = _ * P - (d - m * C - _ * C - m * P), w = l * u, p = ar * l, m = p - (p - l), _ = l - m, p = ar * u, C = p - (p - u), P = u - C, S = _ * P - (w - m * C - _ * C - m * P), O = v - S, h = v - O, gr[0] = v - (O + h) + (h - S), g = d + O, h = g - d, y = d - (g - h) + (O - h), O = y - w, h = y - O, gr[1] = y - (O + h) + (h - w), I = g + O, h = I - g, gr[2] = g - (I - h) + (O - h), gr[3] = I;
|
|
17377
|
+
const ie = Uc(q, Ff, 4, gr, kf);
|
|
17378
17378
|
return kf[ie - 1];
|
|
17379
17379
|
}
|
|
17380
17380
|
function Ov(n, e, t, r, i, s) {
|
|
@@ -18270,7 +18270,7 @@ function ty(n) {
|
|
|
18270
18270
|
center: [(e + i) * 0.5, (t + s) * 0.5, (r + o) * 0.5]
|
|
18271
18271
|
};
|
|
18272
18272
|
}
|
|
18273
|
-
function
|
|
18273
|
+
function v_(n) {
|
|
18274
18274
|
const { minPos: e, maxPos: t, center: r } = ty(n);
|
|
18275
18275
|
if (e.some((a) => !Number.isFinite(a) || t.some((l) => !Number.isFinite(l)) || r.some((l) => !Number.isFinite(l)))) {
|
|
18276
18276
|
console.warn("geoCenterAndRadiusFromPositions error: minPos.some(e => !Number.isFinite(e) || maxPos.some(e => !Number.isFinite(e)) || center.some(e => !Number.isFinite(e))");
|
|
@@ -18289,11 +18289,11 @@ function ry(n) {
|
|
|
18289
18289
|
return Ed.inverse(n);
|
|
18290
18290
|
}
|
|
18291
18291
|
const ny = "+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs", Sd = gp("+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees", ny);
|
|
18292
|
-
function
|
|
18292
|
+
function y_(n) {
|
|
18293
18293
|
const e = Sd.forward([n[0], n[1]]);
|
|
18294
18294
|
return [e[0], e[1], n[2]];
|
|
18295
18295
|
}
|
|
18296
|
-
function
|
|
18296
|
+
function __(n) {
|
|
18297
18297
|
const e = Sd.inverse([n[0], n[1]]);
|
|
18298
18298
|
return [e[0], e[1], n[2]];
|
|
18299
18299
|
}
|
|
@@ -18338,7 +18338,7 @@ function Hf(n) {
|
|
|
18338
18338
|
let t = ta(n, e);
|
|
18339
18339
|
return (!t || !Ul.equals(t[0], n)) && (t = [[...n], us(n)], iu(n, e, t)), t[1];
|
|
18340
18340
|
}
|
|
18341
|
-
class sy extends
|
|
18341
|
+
class sy extends ae {
|
|
18342
18342
|
/**
|
|
18343
18343
|
* 构造函数,初始化 DragStartDataManager 实例。
|
|
18344
18344
|
*/
|
|
@@ -18373,7 +18373,7 @@ class sy extends he {
|
|
|
18373
18373
|
return this._data.changed;
|
|
18374
18374
|
}
|
|
18375
18375
|
}
|
|
18376
|
-
class oy extends
|
|
18376
|
+
class oy extends ae {
|
|
18377
18377
|
constructor() {
|
|
18378
18378
|
super(...arguments);
|
|
18379
18379
|
/**
|
|
@@ -18426,33 +18426,33 @@ class oy extends he {
|
|
|
18426
18426
|
this._dropEvent.emit(t);
|
|
18427
18427
|
}
|
|
18428
18428
|
}
|
|
18429
|
-
function
|
|
18429
|
+
function w_(n, e) {
|
|
18430
18430
|
e && (Reflect.has(e, "editing") ? e.editing = !0 : Reflect.has(e, "positionEditing") && (e.positionEditing = !0));
|
|
18431
18431
|
}
|
|
18432
|
-
function
|
|
18432
|
+
function E_(n) {
|
|
18433
18433
|
["Czm3DTiles", "View", "ESCameraView", "OlView", "GeoCameraController"].includes(n.typeName) || (Reflect.has(n, "editing") ? n.editing = !0 : Reflect.has(n, "positionEditing") && (n.positionEditing = !0)), typeof n.execOnCreating == "function" && n.execOnCreating();
|
|
18434
18434
|
}
|
|
18435
18435
|
function Gc(n, e) {
|
|
18436
18436
|
ta(n, "__treeItem") && console.error("setSceneObjectTreeItem error!"), iu(n, "__treeItem", e);
|
|
18437
18437
|
}
|
|
18438
|
-
function
|
|
18438
|
+
function S_(n) {
|
|
18439
18439
|
return ta(n, "__treeItem");
|
|
18440
18440
|
}
|
|
18441
|
-
function
|
|
18441
|
+
function C_(n) {
|
|
18442
18442
|
if (!(n.startsWith("./") || n.startsWith("../") || n.startsWith("/"))) return n;
|
|
18443
18443
|
const e = document.createElement("a");
|
|
18444
18444
|
e.href = n;
|
|
18445
18445
|
const t = e.href;
|
|
18446
18446
|
return e.remove(), t;
|
|
18447
18447
|
}
|
|
18448
|
-
function
|
|
18448
|
+
function P_(n) {
|
|
18449
18449
|
try {
|
|
18450
18450
|
return JSON.parse(n), !0;
|
|
18451
18451
|
} catch {
|
|
18452
18452
|
return !1;
|
|
18453
18453
|
}
|
|
18454
18454
|
}
|
|
18455
|
-
function
|
|
18455
|
+
function I_(n) {
|
|
18456
18456
|
return n instanceof Function ? n() : n;
|
|
18457
18457
|
}
|
|
18458
18458
|
function ay(n, e) {
|
|
@@ -18465,7 +18465,7 @@ function ys(n, e) {
|
|
|
18465
18465
|
const t = n, r = e;
|
|
18466
18466
|
return t === void 0 || t.length === 0 || r === void 0 || r.length === 0 ? !0 : ay(t, r);
|
|
18467
18467
|
}
|
|
18468
|
-
function
|
|
18468
|
+
function b_(n) {
|
|
18469
18469
|
const e = setTimeout(() => {
|
|
18470
18470
|
n(), clearTimeout(e);
|
|
18471
18471
|
});
|
|
@@ -18487,7 +18487,7 @@ function Cd(n, e, t, r) {
|
|
|
18487
18487
|
return r = r || [0, 0, 0], r[0] = Wc(n[0], e[0], t), r[1] = Wc(n[1], e[1], t), r[2] = Wc(n[2], e[2], t), r;
|
|
18488
18488
|
}
|
|
18489
18489
|
async function uy(n, e, t = "editing") {
|
|
18490
|
-
const r = new
|
|
18490
|
+
const r = new ae();
|
|
18491
18491
|
n.ad(r);
|
|
18492
18492
|
const i = e.bind(n);
|
|
18493
18493
|
let s = n.viewer;
|
|
@@ -18571,9 +18571,9 @@ class Sr extends hp {
|
|
|
18571
18571
|
for (let h of this.children)
|
|
18572
18572
|
h instanceof Sr && (h._showChangedNotAffectParent = !0, h.show = c, h._showChangedNotAffectParent = !1);
|
|
18573
18573
|
this.parent && this.parent instanceof Sr && !this._showChangedNotAffectParent && (this.parent._showChangedNotAffectChildren = !0, this.parent.show = Jf(this.parent), this.parent._showChangedNotAffectChildren = !1);
|
|
18574
|
-
})), this.dv(new
|
|
18574
|
+
})), this.dv(new lr(this.sceneObjectChanged, () => {
|
|
18575
18575
|
if (!this.sceneObject) return;
|
|
18576
|
-
const c = new
|
|
18576
|
+
const c = new ae();
|
|
18577
18577
|
if ("show" in this.sceneObject && "showChanged" in this.sceneObject && this.sceneObject.showChanged instanceof Event) {
|
|
18578
18578
|
const h = () => {
|
|
18579
18579
|
this.show = t.getSceneObjectShowFunc(this.sceneObject);
|
|
@@ -18856,7 +18856,7 @@ async function vy(n, e) {
|
|
|
18856
18856
|
e(o, r, i);
|
|
18857
18857
|
}
|
|
18858
18858
|
}
|
|
18859
|
-
class yy extends
|
|
18859
|
+
class yy extends ae {
|
|
18860
18860
|
/**
|
|
18861
18861
|
* 构造函数,初始化场景树上下文菜单。
|
|
18862
18862
|
* @param _sceneTree - 关联的场景树实例。
|
|
@@ -18878,7 +18878,7 @@ class yy extends he {
|
|
|
18878
18878
|
return this._sceneTree;
|
|
18879
18879
|
}
|
|
18880
18880
|
}
|
|
18881
|
-
class _y extends
|
|
18881
|
+
class _y extends ae {
|
|
18882
18882
|
/**
|
|
18883
18883
|
* 构造函数,初始化 SceneTreeJsonLoading 实例。
|
|
18884
18884
|
* @param _sceneTree - 关联的场景树实例。
|
|
@@ -19431,7 +19431,7 @@ function Cy(n, e) {
|
|
|
19431
19431
|
}), s.length = 0;
|
|
19432
19432
|
}), t;
|
|
19433
19433
|
}
|
|
19434
|
-
class Eu extends
|
|
19434
|
+
class Eu extends ae {
|
|
19435
19435
|
/**
|
|
19436
19436
|
* 构造函数。
|
|
19437
19437
|
*
|
|
@@ -19443,9 +19443,9 @@ class Eu extends he {
|
|
|
19443
19443
|
* 用于跟踪属性树的响应式变量。
|
|
19444
19444
|
*/
|
|
19445
19445
|
f(this, "_propTreeReact", this.dv(ee(void 0)));
|
|
19446
|
-
this.d(() => this._propTreeReact.value = void 0), this.dv(new
|
|
19446
|
+
this.d(() => this._propTreeReact.value = void 0), this.dv(new lr(this.sceneObjectChanged, (r) => {
|
|
19447
19447
|
if (!r) return;
|
|
19448
|
-
const i = new
|
|
19448
|
+
const i = new ae();
|
|
19449
19449
|
return i.d(r.toDestroyEvent.don(() => {
|
|
19450
19450
|
this.sceneObject = void 0;
|
|
19451
19451
|
})), i;
|
|
@@ -19472,10 +19472,10 @@ class Eu extends he {
|
|
|
19472
19472
|
});
|
|
19473
19473
|
})(Eu || (Eu = {}));
|
|
19474
19474
|
U(Eu.prototype, Eu.createDefaultProps);
|
|
19475
|
-
function
|
|
19475
|
+
function x_(n, e, t, r = !0) {
|
|
19476
19476
|
r && t(), n.dispose(e.disposableOn(t));
|
|
19477
19477
|
}
|
|
19478
|
-
class Py extends
|
|
19478
|
+
class Py extends ae {
|
|
19479
19479
|
/**
|
|
19480
19480
|
* 构造函数
|
|
19481
19481
|
* @param _id - 子播放器的 ID
|
|
@@ -19529,7 +19529,7 @@ const Iy = `
|
|
|
19529
19529
|
]
|
|
19530
19530
|
]
|
|
19531
19531
|
\`\`\`
|
|
19532
|
-
`, Ht = class Ht extends
|
|
19532
|
+
`, Ht = class Ht extends ae {
|
|
19533
19533
|
/**
|
|
19534
19534
|
* 构造函数
|
|
19535
19535
|
*/
|
|
@@ -19683,7 +19683,7 @@ let Ni = Ht;
|
|
|
19683
19683
|
});
|
|
19684
19684
|
})(Ni || (Ni = {}));
|
|
19685
19685
|
U(Ni.prototype, Ni.createDefaultProps);
|
|
19686
|
-
class bd extends
|
|
19686
|
+
class bd extends ae {
|
|
19687
19687
|
/**
|
|
19688
19688
|
* 构造函数,初始化场景对象的 ID,并进行相关的初始化操作。
|
|
19689
19689
|
* @param _id - 场景对象的 ID。
|
|
@@ -19723,7 +19723,7 @@ class bd extends he {
|
|
|
19723
19723
|
return this._id;
|
|
19724
19724
|
}
|
|
19725
19725
|
}
|
|
19726
|
-
class by extends
|
|
19726
|
+
class by extends ae {
|
|
19727
19727
|
/**
|
|
19728
19728
|
* 构造函数,初始化场景对象的 ID,并创建 SceneObjectFromId 实例。
|
|
19729
19729
|
* @param _id - 场景对象的 ID。
|
|
@@ -19744,7 +19744,7 @@ class by extends he {
|
|
|
19744
19744
|
}
|
|
19745
19745
|
}
|
|
19746
19746
|
}
|
|
19747
|
-
class
|
|
19747
|
+
class T_ extends ae {
|
|
19748
19748
|
/**
|
|
19749
19749
|
* 构造函数,初始化 ESSceneObjectWithId 实例。
|
|
19750
19750
|
*/
|
|
@@ -19761,7 +19761,7 @@ class b_ extends he {
|
|
|
19761
19761
|
/**
|
|
19762
19762
|
* 用于处理重置操作的变量。
|
|
19763
19763
|
*/
|
|
19764
|
-
f(this, "_resetting", this.dv(new
|
|
19764
|
+
f(this, "_resetting", this.dv(new lr(this.idChanged, () => {
|
|
19765
19765
|
const { id: t } = this;
|
|
19766
19766
|
if (t === void 0 || t === "") {
|
|
19767
19767
|
this.sceneObject = void 0;
|
|
@@ -19815,7 +19815,7 @@ class b_ extends he {
|
|
|
19815
19815
|
return this._resetting;
|
|
19816
19816
|
}
|
|
19817
19817
|
}
|
|
19818
|
-
class xy extends
|
|
19818
|
+
class xy extends ae {
|
|
19819
19819
|
/**
|
|
19820
19820
|
* 构造函数
|
|
19821
19821
|
* @param sceneObjectFromId - 从 ID 获取场景对象的实例
|
|
@@ -19824,7 +19824,7 @@ class xy extends he {
|
|
|
19824
19824
|
* @param watcher - 监视对象的配置
|
|
19825
19825
|
*/
|
|
19826
19826
|
constructor(e, t, r, i) {
|
|
19827
|
-
super(), this.disposeVar(new
|
|
19827
|
+
super(), this.disposeVar(new lr(e.sceneObjectChanged, () => {
|
|
19828
19828
|
let s;
|
|
19829
19829
|
i.debug && console.log("正在获取Event事件...");
|
|
19830
19830
|
do {
|
|
@@ -19848,7 +19848,7 @@ class xy extends he {
|
|
|
19848
19848
|
s = l, i.debug && console.log(`Event获取成功 propChangedName: ${t}`, s);
|
|
19849
19849
|
} while (!1);
|
|
19850
19850
|
if (s) {
|
|
19851
|
-
const o = new
|
|
19851
|
+
const o = new ae();
|
|
19852
19852
|
return o.d(s.dwon(() => r.emit())), o;
|
|
19853
19853
|
} else {
|
|
19854
19854
|
i.debug && console.log(`未获取到Event!propChangedName: ${t}`);
|
|
@@ -19857,7 +19857,7 @@ class xy extends he {
|
|
|
19857
19857
|
}));
|
|
19858
19858
|
}
|
|
19859
19859
|
}
|
|
19860
|
-
let Ty = class extends
|
|
19860
|
+
let Ty = class extends ae {
|
|
19861
19861
|
/**
|
|
19862
19862
|
* 构造函数
|
|
19863
19863
|
* @param objIdAndPropChangedNames - 场景对象 ID 和发生变化的属性名的数组
|
|
@@ -19903,7 +19903,7 @@ const Ny = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19903
19903
|
__proto__: null,
|
|
19904
19904
|
WatcherObjects: Ty
|
|
19905
19905
|
}, Symbol.toStringTag, { value: "Module" })), { WatcherObjects: Dy } = Ny;
|
|
19906
|
-
class pc extends
|
|
19906
|
+
class pc extends ae {
|
|
19907
19907
|
/**
|
|
19908
19908
|
* Watcher 类的构造函数
|
|
19909
19909
|
*/
|
|
@@ -19927,7 +19927,7 @@ class pc extends he {
|
|
|
19927
19927
|
r(), this.dispose(this.evalFuncStrChanged.disposableOn(r));
|
|
19928
19928
|
const i = (o) => {
|
|
19929
19929
|
this.enabled && (this.debug && console.log("执行evalFunc..."), this._evalFunc && this._evalFunc(o), t.value && t.value(o));
|
|
19930
|
-
}, s = this.disposeVar(new
|
|
19930
|
+
}, s = this.disposeVar(new lr(this.objIdAndPropChangedNamesChanged, () => {
|
|
19931
19931
|
if (this.objIdAndPropChangedNames.length > 0)
|
|
19932
19932
|
return this.debug && console.log("监视对象发生变化,重新创建WatcherObjects"), new Dy(this.objIdAndPropChangedNames, this, i);
|
|
19933
19933
|
}));
|
|
@@ -20013,7 +20013,7 @@ class pc extends he {
|
|
|
20013
20013
|
});
|
|
20014
20014
|
})(pc || (pc = {}));
|
|
20015
20015
|
U(pc.prototype, pc.createDefaultProps);
|
|
20016
|
-
function
|
|
20016
|
+
function D_(n, e, t) {
|
|
20017
20017
|
var i;
|
|
20018
20018
|
((i = e.viewer) == null ? void 0 : i.getEngineObject(e)) ? t.call(n) : n.dispose(e.createdEvent.don(() => t.call(n)));
|
|
20019
20019
|
}
|
|
@@ -20472,19 +20472,19 @@ const nu = class nu extends Ce {
|
|
|
20472
20472
|
const t = [];
|
|
20473
20473
|
do {
|
|
20474
20474
|
if (this.editingBindMode == "doublePoints") {
|
|
20475
|
-
t.push(
|
|
20475
|
+
t.push(ue.DoublePointsAppend, ue.DoublePointsModify);
|
|
20476
20476
|
break;
|
|
20477
20477
|
}
|
|
20478
20478
|
if (this.editingBindMode == "lineString") {
|
|
20479
|
-
t.push(
|
|
20479
|
+
t.push(ue.LineStringAppend, ue.LineStringInsert, ue.Translation);
|
|
20480
20480
|
break;
|
|
20481
20481
|
}
|
|
20482
20482
|
if (this.editingBindMode == "circular") {
|
|
20483
|
-
t.push(
|
|
20483
|
+
t.push(ue.CircularAppend, ue.CircularInsert, ue.Translation), this.supportEditingModes().includes(ue.HeightModify) && t.push(ue.HeightModify);
|
|
20484
20484
|
break;
|
|
20485
20485
|
}
|
|
20486
20486
|
if (this.editingBindMode == "visibility") {
|
|
20487
|
-
t.push(
|
|
20487
|
+
t.push(ue.VisibilityAppend, ue.VisibilityModify);
|
|
20488
20488
|
break;
|
|
20489
20489
|
}
|
|
20490
20490
|
} while (!1);
|
|
@@ -21036,7 +21036,7 @@ const nu = class nu extends Ce {
|
|
|
21036
21036
|
*/
|
|
21037
21037
|
f(nu, "supportEditingModes", [
|
|
21038
21038
|
...Ce.supportEditingModes,
|
|
21039
|
-
|
|
21039
|
+
ue.Translation
|
|
21040
21040
|
]), /**
|
|
21041
21041
|
* ESGeoVector 类的默认属性
|
|
21042
21042
|
*/
|
|
@@ -21143,11 +21143,11 @@ class W extends Ce {
|
|
|
21143
21143
|
const t = [];
|
|
21144
21144
|
do {
|
|
21145
21145
|
if (this.editingBindMode == "singlePoint") {
|
|
21146
|
-
t.push(
|
|
21146
|
+
t.push(ue.Place, ue.Translation), ["ESLocationMeasurement"].includes(this.typeName) || t.push(ue.Rotation), ["ESClippingPlane", "ESLocationMeasurement", "ESLocalRectangle", "ESBoxClipping"].includes(this.typeName) || t.push(ue.Scale);
|
|
21147
21147
|
break;
|
|
21148
21148
|
}
|
|
21149
21149
|
if (this.editingBindMode == "doublePoints") {
|
|
21150
|
-
t.push(
|
|
21150
|
+
t.push(ue.DoublePointsAppend, ue.DoublePointsModify);
|
|
21151
21151
|
break;
|
|
21152
21152
|
}
|
|
21153
21153
|
} while (!1);
|
|
@@ -21341,12 +21341,12 @@ class W extends Ce {
|
|
|
21341
21341
|
*/
|
|
21342
21342
|
f(W, "supportEditingModes", [
|
|
21343
21343
|
...Ce.supportEditingModes,
|
|
21344
|
-
|
|
21345
|
-
|
|
21346
|
-
|
|
21347
|
-
|
|
21348
|
-
|
|
21349
|
-
|
|
21344
|
+
ue.Place,
|
|
21345
|
+
ue.Translation,
|
|
21346
|
+
ue.Rotation,
|
|
21347
|
+
ue.Scale,
|
|
21348
|
+
ue.DoublePointsAppend,
|
|
21349
|
+
ue.DoublePointsModify
|
|
21350
21350
|
]), /**
|
|
21351
21351
|
* 该类的默认属性。
|
|
21352
21352
|
*/
|
|
@@ -21982,7 +21982,7 @@ f(Nt, "defaults", {
|
|
|
21982
21982
|
});
|
|
21983
21983
|
})(Nt || (Nt = {}));
|
|
21984
21984
|
U(Nt.prototype, Nt.createDefaultProps);
|
|
21985
|
-
const
|
|
21985
|
+
const mr = class mr extends Ce {
|
|
21986
21986
|
constructor(t) {
|
|
21987
21987
|
super(t);
|
|
21988
21988
|
/**
|
|
@@ -22079,14 +22079,14 @@ const gr = class gr extends Ce {
|
|
|
22079
22079
|
* @returns 默认属性对象。
|
|
22080
22080
|
*/
|
|
22081
22081
|
get defaultProps() {
|
|
22082
|
-
return
|
|
22082
|
+
return mr.createDefaultProps();
|
|
22083
22083
|
}
|
|
22084
22084
|
/**
|
|
22085
22085
|
* 重写更新编辑状态的方法,启动编辑模式。
|
|
22086
22086
|
*/
|
|
22087
22087
|
updateEditing() {
|
|
22088
22088
|
var t;
|
|
22089
|
-
(t = this.viewer) == null || t.startEditing(this, [
|
|
22089
|
+
(t = this.viewer) == null || t.startEditing(this, [ue.Translation, ue.Rotation], { callSource: "inner" });
|
|
22090
22090
|
}
|
|
22091
22091
|
/**
|
|
22092
22092
|
* 获取刷新 Tileset 的事件。
|
|
@@ -22197,7 +22197,7 @@ const gr = class gr extends Ce {
|
|
|
22197
22197
|
*/
|
|
22198
22198
|
getMaterialNameList() {
|
|
22199
22199
|
return new Promise((t) => {
|
|
22200
|
-
const r = new
|
|
22200
|
+
const r = new ae();
|
|
22201
22201
|
r.d(this.getMaterialNameListEvent.don((i) => {
|
|
22202
22202
|
i !== "start" && (r.destroy(), t(i));
|
|
22203
22203
|
})), this.getMaterialNameListEvent.emit("start"), setTimeout(() => {
|
|
@@ -22335,7 +22335,7 @@ const gr = class gr extends Ce {
|
|
|
22335
22335
|
*/
|
|
22336
22336
|
setMaterial(t) {
|
|
22337
22337
|
return new Promise((r) => {
|
|
22338
|
-
const i = new
|
|
22338
|
+
const i = new ae();
|
|
22339
22339
|
i.ad(this.setMaterialInfoEvent.donce((s) => {
|
|
22340
22340
|
i.destroy(), r(s);
|
|
22341
22341
|
})), this._setMaterialEvent.emit(t);
|
|
@@ -22485,13 +22485,13 @@ const gr = class gr extends Ce {
|
|
|
22485
22485
|
basic: [
|
|
22486
22486
|
...t.basic,
|
|
22487
22487
|
new Fe("精度", "精度.", !1, !1, [this, "maximumScreenSpaceError"], 1, [0, 256], 16),
|
|
22488
|
-
new X("材质模式", "materialMode", !0, !1, [this, "materialMode"],
|
|
22488
|
+
new X("材质模式", "materialMode", !0, !1, [this, "materialMode"], mr.defaults.materialModes, "normal"),
|
|
22489
22489
|
new X("颜色模式", "颜色混合模式", !1, !1, [this, "colorBlendMode"], [["默认", "HIGHLIGHT"], ["替换", "REPLACE"], ["混合", "MIX"]], "HIGHLIGHT"),
|
|
22490
|
-
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"],
|
|
22490
|
+
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"], mr.defaults.materialOverrideMap)
|
|
22491
22491
|
],
|
|
22492
22492
|
dataSource: [
|
|
22493
22493
|
...t.dataSource,
|
|
22494
|
-
new B("服务地址", "服务地址", !0, !1, [this, "url"],
|
|
22494
|
+
new B("服务地址", "服务地址", !0, !1, [this, "url"], mr.defaults.url)
|
|
22495
22495
|
],
|
|
22496
22496
|
coordinate: [
|
|
22497
22497
|
...t.coordinate,
|
|
@@ -22510,9 +22510,9 @@ const gr = class gr extends Ce {
|
|
|
22510
22510
|
return [
|
|
22511
22511
|
...super.getProperties(t),
|
|
22512
22512
|
new k("ES3DTileset", "ES3DTileset", [
|
|
22513
|
-
new B("服务地址", "服务地址", !1, !1, [this, "url"],
|
|
22514
|
-
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"],
|
|
22515
|
-
new B("materialParams", "materialParams", !1, !1, [this, "materialParams"],
|
|
22513
|
+
new B("服务地址", "服务地址", !1, !1, [this, "url"], mr.defaults.url),
|
|
22514
|
+
new X("materialMode", "materialMode", !1, !1, [this, "materialMode"], mr.defaults.materialModes),
|
|
22515
|
+
new B("materialParams", "materialParams", !1, !1, [this, "materialParams"], mr.defaults.materialParams),
|
|
22516
22516
|
new E("maximumScreenSpaceError", "显示精度,maximumScreenSpaceError", !1, !1, [this, "maximumScreenSpaceError"]),
|
|
22517
22517
|
new A("编辑", "编辑", !1, !1, [this, "editing"], !1),
|
|
22518
22518
|
new Si("offset", "offset", !0, !1, [this, "offset"]),
|
|
@@ -22528,7 +22528,7 @@ const gr = class gr extends Ce {
|
|
|
22528
22528
|
new A("是否高亮", "是否高亮.", !1, !1, [this, "highlight"]),
|
|
22529
22529
|
new Z("highlightColor", " highlightColor.", !1, !1, [this, "highlightColor"]),
|
|
22530
22530
|
new E("highlightID", "highlightID", !1, !1, [this, "highlightID"]),
|
|
22531
|
-
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"],
|
|
22531
|
+
new B("materialOverrideMap", "材质替换", !1, !1, [this, "materialOverrideMap"], mr.defaults.materialOverrideMap)
|
|
22532
22532
|
]),
|
|
22533
22533
|
new k("czm", "czm", [
|
|
22534
22534
|
new k("可视化", "可视化", [
|
|
@@ -22563,17 +22563,17 @@ const gr = class gr extends Ce {
|
|
|
22563
22563
|
/**
|
|
22564
22564
|
* 注册 ES3DTileset 类型,设置其名称、标签和描述。
|
|
22565
22565
|
*/
|
|
22566
|
-
f(
|
|
22566
|
+
f(mr, "type", mr.register("ES3DTileset", mr, { chsName: "3DTileset", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "3DTileset" })), /**
|
|
22567
22567
|
* 重写支持的编辑模式,包含平移和旋转模式。
|
|
22568
22568
|
*/
|
|
22569
|
-
f(
|
|
22569
|
+
f(mr, "supportEditingModes", [
|
|
22570
22570
|
...Ce.supportEditingModes,
|
|
22571
|
-
|
|
22572
|
-
|
|
22571
|
+
ue.Translation,
|
|
22572
|
+
ue.Rotation
|
|
22573
22573
|
]), /**
|
|
22574
22574
|
* 重写默认值,包含服务地址、材质模式、偏移量等默认属性。
|
|
22575
22575
|
*/
|
|
22576
|
-
f(
|
|
22576
|
+
f(mr, "defaults", {
|
|
22577
22577
|
...Ce.defaults,
|
|
22578
22578
|
url: "",
|
|
22579
22579
|
actorTag: "",
|
|
@@ -22587,7 +22587,7 @@ f(gr, "defaults", {
|
|
|
22587
22587
|
materialOverrideMap: {},
|
|
22588
22588
|
featureIdLabel: 0
|
|
22589
22589
|
});
|
|
22590
|
-
let Rt =
|
|
22590
|
+
let Rt = mr;
|
|
22591
22591
|
((n) => {
|
|
22592
22592
|
n.createDefaultProps = () => ({
|
|
22593
22593
|
...Ce.createDefaultProps(),
|
|
@@ -22920,17 +22920,36 @@ let xa = Hs;
|
|
|
22920
22920
|
})(xa || (xa = {}));
|
|
22921
22921
|
U(xa.prototype, xa.createDefaultProps);
|
|
22922
22922
|
const Kr = class Kr extends de {
|
|
22923
|
+
/**
|
|
22924
|
+
* 构造函数,初始化对象的碰撞检测、填充、描边、填充样式和描边样式等属性。
|
|
22925
|
+
* @param id - 对象的可选 ID。
|
|
22926
|
+
*/
|
|
22923
22927
|
constructor(t) {
|
|
22924
22928
|
super(t);
|
|
22929
|
+
/**
|
|
22930
|
+
* 编辑绑定模式,设置为 'circular'。
|
|
22931
|
+
*/
|
|
22925
22932
|
f(this, "editingBindMode", "circular");
|
|
22926
22933
|
this.collision = Kr.defaults.collision, this.filled = Kr.defaults.filled, this.stroked = Kr.defaults.stroked, this.fillStyle = Kr.defaults.fillStyle, this.strokeStyle = Kr.defaults.strokeStyle;
|
|
22927
22934
|
}
|
|
22935
|
+
/**
|
|
22936
|
+
* 获取对象的类型名称。
|
|
22937
|
+
* @returns 类型名称 'ESGeoPolygon'。
|
|
22938
|
+
*/
|
|
22928
22939
|
get typeName() {
|
|
22929
22940
|
return "ESGeoPolygon";
|
|
22930
22941
|
}
|
|
22942
|
+
/**
|
|
22943
|
+
* 获取默认属性。
|
|
22944
|
+
* @returns 默认属性对象。
|
|
22945
|
+
*/
|
|
22931
22946
|
get defaultProps() {
|
|
22932
22947
|
return Kr.createDefaultProps();
|
|
22933
22948
|
}
|
|
22949
|
+
/**
|
|
22950
|
+
* 获取 ES 属性,包括父类的属性以及面积和周长属性。
|
|
22951
|
+
* @returns ES 属性对象。
|
|
22952
|
+
*/
|
|
22934
22953
|
getESProperties() {
|
|
22935
22954
|
const t = { ...super.getESProperties() };
|
|
22936
22955
|
return {
|
|
@@ -22942,6 +22961,11 @@ const Kr = class Kr extends de {
|
|
|
22942
22961
|
]
|
|
22943
22962
|
};
|
|
22944
22963
|
}
|
|
22964
|
+
/**
|
|
22965
|
+
* 获取属性列表,包括父类的属性以及 ESGeoPolygon 组下的面积和周长属性。
|
|
22966
|
+
* @param language - 语言设置。
|
|
22967
|
+
* @returns 属性列表。
|
|
22968
|
+
*/
|
|
22945
22969
|
getProperties(t) {
|
|
22946
22970
|
return [
|
|
22947
22971
|
...super.getProperties(t),
|
|
@@ -22952,11 +22976,20 @@ const Kr = class Kr extends de {
|
|
|
22952
22976
|
];
|
|
22953
22977
|
}
|
|
22954
22978
|
};
|
|
22955
|
-
|
|
22979
|
+
/**
|
|
22980
|
+
* 注册地理多边形类型,设置其中文名称、标签和描述。
|
|
22981
|
+
*/
|
|
22982
|
+
f(Kr, "type", Kr.register("ESGeoPolygon", Kr, { chsName: "地理多边形", tags: ["ESObjects"], description: "地理多边形" })), /**
|
|
22983
|
+
* 支持的编辑模式,包括父类支持的模式以及 CircularAppend 和 CircularInsert 模式。
|
|
22984
|
+
*/
|
|
22985
|
+
f(Kr, "supportEditingModes", [
|
|
22956
22986
|
...de.supportEditingModes,
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
]),
|
|
22987
|
+
ue.CircularAppend,
|
|
22988
|
+
ue.CircularInsert
|
|
22989
|
+
]), /**
|
|
22990
|
+
* 默认属性值,包括填充样式、描边样式、是否填充、是否描边和碰撞检测等。
|
|
22991
|
+
*/
|
|
22992
|
+
f(Kr, "defaults", {
|
|
22960
22993
|
...de.defaults,
|
|
22961
22994
|
fillStyle: {
|
|
22962
22995
|
color: [1, 1, 1, 0.5],
|
|
@@ -23424,7 +23457,7 @@ let ko = Ai;
|
|
|
23424
23457
|
});
|
|
23425
23458
|
})(ko || (ko = {}));
|
|
23426
23459
|
U(ko.prototype, ko.createDefaultProps);
|
|
23427
|
-
class ju extends
|
|
23460
|
+
class ju extends ae {
|
|
23428
23461
|
/**
|
|
23429
23462
|
* 构造函数,初始化 ViewWrapper 实例。
|
|
23430
23463
|
* @param sceneObject - ESCameraViewCollection 实例,用于管理视图。
|
|
@@ -23485,7 +23518,7 @@ class ju extends he {
|
|
|
23485
23518
|
};
|
|
23486
23519
|
}
|
|
23487
23520
|
}
|
|
23488
|
-
const
|
|
23521
|
+
const vr = class vr extends re {
|
|
23489
23522
|
/**
|
|
23490
23523
|
* 构造函数。
|
|
23491
23524
|
* @param id 对象的 ID,可选。
|
|
@@ -23513,7 +23546,7 @@ const mr = class mr extends re {
|
|
|
23513
23546
|
var o;
|
|
23514
23547
|
do {
|
|
23515
23548
|
if (!this.flyToNextView()) break;
|
|
23516
|
-
const a = this.intervalTime ??
|
|
23549
|
+
const a = this.intervalTime ?? vr.defaults.intervalTime, u = ((((o = this._currentViewWrapper.value) == null ? void 0 : o.viewInfo.duration) ?? 0) + a) * 1e3;
|
|
23517
23550
|
await s.promise(dp(u));
|
|
23518
23551
|
} while (!0);
|
|
23519
23552
|
this.playing = !1;
|
|
@@ -23552,7 +23585,7 @@ const mr = class mr extends re {
|
|
|
23552
23585
|
* @returns 默认属性对象。
|
|
23553
23586
|
*/
|
|
23554
23587
|
get defaultProps() {
|
|
23555
|
-
return
|
|
23588
|
+
return vr.createDefaultProps();
|
|
23556
23589
|
}
|
|
23557
23590
|
/**
|
|
23558
23591
|
* 重写方法,获取对象的 JSON 表示。
|
|
@@ -23749,7 +23782,7 @@ const mr = class mr extends re {
|
|
|
23749
23782
|
if (this.setCurrentView(t)) {
|
|
23750
23783
|
if (!this._currentViewWrapper.value) throw new Error("this._currentViewWrapper.value");
|
|
23751
23784
|
const r = this._currentViewWrapper.value.view.duration;
|
|
23752
|
-
this._currentViewWrapper.value.view.flyIn(r, this.flyMode ??
|
|
23785
|
+
this._currentViewWrapper.value.view.flyIn(r, this.flyMode ?? vr.defaults.flyMode);
|
|
23753
23786
|
}
|
|
23754
23787
|
}
|
|
23755
23788
|
/**
|
|
@@ -23761,7 +23794,7 @@ const mr = class mr extends re {
|
|
|
23761
23794
|
if (!t)
|
|
23762
23795
|
return this.flyToView(0), !0;
|
|
23763
23796
|
const r = this._getIndex(t);
|
|
23764
|
-
return this.loop ??
|
|
23797
|
+
return this.loop ?? vr.defaults.loop ? (this.flyToView((this._viewWrappers.length + r - 1) % this._viewWrappers.length), !0) : r - 1 < 0 ? !1 : (this.flyToView(r - 1), !0);
|
|
23765
23798
|
}
|
|
23766
23799
|
/**
|
|
23767
23800
|
* 将当前视角移动到上一个位置。
|
|
@@ -23794,7 +23827,7 @@ const mr = class mr extends re {
|
|
|
23794
23827
|
if (!t)
|
|
23795
23828
|
return this.flyToView(0), !0;
|
|
23796
23829
|
const r = this._getIndex(t);
|
|
23797
|
-
return this.loop ??
|
|
23830
|
+
return this.loop ?? vr.defaults.loop ? (this.flyToView((r + 1) % this._viewWrappers.length), !0) : r + 1 > this._viewWrappers.length - 1 ? !1 : (this.flyToView(r + 1), !0);
|
|
23798
23831
|
}
|
|
23799
23832
|
/**
|
|
23800
23833
|
* 停止播放。
|
|
@@ -23846,7 +23879,7 @@ const mr = class mr extends re {
|
|
|
23846
23879
|
return [
|
|
23847
23880
|
...super.getProperties(t),
|
|
23848
23881
|
new k("ESCameraViewCollection", "ESCameraViewCollection", [
|
|
23849
|
-
new X("飞行模式", "flyMode", !1, !1, [this, "flyMode"],
|
|
23882
|
+
new X("飞行模式", "flyMode", !1, !1, [this, "flyMode"], vr.defaults.flyModes, vr.defaults.flyMode),
|
|
23850
23883
|
new oe("添加视角", "添加视角", [], () => this.addView(), []),
|
|
23851
23884
|
new oe("插入视角", "插入视角", ["number"], (r) => this.insertView(r), [0]),
|
|
23852
23885
|
new oe("清空所有视角", "清空所有视角", [], () => this.clearAllViews(), []),
|
|
@@ -23861,12 +23894,12 @@ const mr = class mr extends re {
|
|
|
23861
23894
|
new oe("删除指定视角", "删除指定视角", ["number"], (r) => this.deleteView(r), [0]),
|
|
23862
23895
|
new oe("重置视角", "重置视角", ["number"], (r) => this.resetView(r), [0]),
|
|
23863
23896
|
new E("当前序号", "当前序号", !1, !0, [this, "currentViewIndex"]),
|
|
23864
|
-
new mg("播放", "播放", [this, "playing"], () => this.stop(), [this, "loop"],
|
|
23897
|
+
new mg("播放", "播放", [this, "playing"], () => this.stop(), [this, "loop"], vr.defaults),
|
|
23865
23898
|
new A("是否播放", "是否播放.", !1, !1, [this, "playing"]),
|
|
23866
23899
|
new oe("停止", "停止", [], () => this.stop(), []),
|
|
23867
23900
|
new A("是否循环", "是否循环.", !1, !1, [this, "loop"]),
|
|
23868
23901
|
new E("间隔时间", "间隔时间(s)", !1, !1, [this, "intervalTime"]),
|
|
23869
|
-
new B("视角集合", "类型为ESJViewInfo[]", !0, !1, [this, "views"],
|
|
23902
|
+
new B("视角集合", "类型为ESJViewInfo[]", !0, !1, [this, "views"], vr.defaults.views)
|
|
23870
23903
|
])
|
|
23871
23904
|
];
|
|
23872
23905
|
}
|
|
@@ -23874,10 +23907,10 @@ const mr = class mr extends re {
|
|
|
23874
23907
|
/**
|
|
23875
23908
|
* 静态属性,用于注册该类的类型信息,包含中文名称、标签和描述。
|
|
23876
23909
|
*/
|
|
23877
|
-
f(
|
|
23910
|
+
f(vr, "type", vr.register("ESCameraViewCollection", vr, { chsName: "视角集合", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "视角集合" })), /**
|
|
23878
23911
|
* 静态属性,默认配置。
|
|
23879
23912
|
*/
|
|
23880
|
-
f(
|
|
23913
|
+
f(vr, "defaults", {
|
|
23881
23914
|
...re.defaults,
|
|
23882
23915
|
loop: !0,
|
|
23883
23916
|
playing: !1,
|
|
@@ -23888,7 +23921,7 @@ f(mr, "defaults", {
|
|
|
23888
23921
|
//飞行模式
|
|
23889
23922
|
flyModes: [["默认", "default"], ["直线飞行", "uniform"]]
|
|
23890
23923
|
});
|
|
23891
|
-
let Vo =
|
|
23924
|
+
let Vo = vr;
|
|
23892
23925
|
((n) => {
|
|
23893
23926
|
n.createDefaultProps = () => ({
|
|
23894
23927
|
...re.createDefaultProps(),
|
|
@@ -24155,9 +24188,9 @@ f(_s, "type", _s.register("ESClassification", _s, { chsName: "倾斜单体化",
|
|
|
24155
24188
|
*/
|
|
24156
24189
|
f(_s, "supportEditingModes", [
|
|
24157
24190
|
...de.supportEditingModes,
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24191
|
+
ue.CircularAppend,
|
|
24192
|
+
ue.CircularInsert,
|
|
24193
|
+
ue.HeightModify
|
|
24161
24194
|
]), /**
|
|
24162
24195
|
* 静态属性,重写默认值。
|
|
24163
24196
|
* 包含 ESGeoVector 的默认值,以及填充样式和填充状态的默认值。
|
|
@@ -24353,7 +24386,7 @@ let La = Ks;
|
|
|
24353
24386
|
});
|
|
24354
24387
|
})(La || (La = {}));
|
|
24355
24388
|
U(La.prototype, La.createDefaultProps);
|
|
24356
|
-
class Oy extends
|
|
24389
|
+
class Oy extends ae {
|
|
24357
24390
|
/**
|
|
24358
24391
|
* 构造函数,初始化ViewerCustomDivInstance实例。
|
|
24359
24392
|
* @param subContainer - 用于放置自定义Div的HTMLDivElement容器。
|
|
@@ -24381,7 +24414,7 @@ ${t.show ? "" : "display: none"}
|
|
|
24381
24414
|
this.d(u.don(l));
|
|
24382
24415
|
}
|
|
24383
24416
|
e.appendChild(i), this.d(() => e.removeChild(i));
|
|
24384
|
-
const s = this.dv(nr(t.instanceClassChanged, t.containerChanged, t.shadowDomChanged)), o = this.dv(new
|
|
24417
|
+
const s = this.dv(nr(t.instanceClassChanged, t.containerChanged, t.shadowDomChanged)), o = this.dv(new lr(s, () => {
|
|
24385
24418
|
const { instanceClass: l, container: u } = t;
|
|
24386
24419
|
if (!l || u) return;
|
|
24387
24420
|
let c = i;
|
|
@@ -24550,12 +24583,12 @@ ${this.show ? "" : "display: none;"}
|
|
|
24550
24583
|
i(), this.d(this.containerIdChanged.don(i));
|
|
24551
24584
|
}
|
|
24552
24585
|
{
|
|
24553
|
-
class i extends
|
|
24586
|
+
class i extends ae {
|
|
24554
24587
|
constructor(o) {
|
|
24555
24588
|
super(), o.appendChild(r), this.d(() => o.removeChild(r));
|
|
24556
24589
|
}
|
|
24557
24590
|
}
|
|
24558
|
-
this.dv(new
|
|
24591
|
+
this.dv(new lr(this.containerChanged, () => {
|
|
24559
24592
|
if (this.container)
|
|
24560
24593
|
return new i(this.container);
|
|
24561
24594
|
}));
|
|
@@ -24566,7 +24599,7 @@ ${this.show ? "" : "display: none;"}
|
|
|
24566
24599
|
this.instanceClassChanged,
|
|
24567
24600
|
this.shadowDomChanged
|
|
24568
24601
|
));
|
|
24569
|
-
this.dv(new
|
|
24602
|
+
this.dv(new lr(i, () => {
|
|
24570
24603
|
if (!this.container || !this.instanceClass) return;
|
|
24571
24604
|
let s = r;
|
|
24572
24605
|
if (r.firstElementChild && r.removeChild(r.firstElementChild), this.shadowDom) {
|
|
@@ -24860,27 +24893,53 @@ let Ra = fi;
|
|
|
24860
24893
|
})(Ra || (Ra = {}));
|
|
24861
24894
|
U(Ra.prototype, Ra.createDefaultProps);
|
|
24862
24895
|
const ws = class ws extends de {
|
|
24896
|
+
/**
|
|
24897
|
+
* 构造函数,初始化 ESGeoLineString 实例。
|
|
24898
|
+
* @param id - 可选参数,实例的 ID。
|
|
24899
|
+
*/
|
|
24863
24900
|
constructor(t) {
|
|
24864
24901
|
super(t);
|
|
24902
|
+
/**
|
|
24903
|
+
* 私有属性,存储折线的距离,使用 react 函数初始化值为 0。
|
|
24904
|
+
*/
|
|
24865
24905
|
f(this, "_distance", this.dv(ee(0)));
|
|
24906
|
+
/**
|
|
24907
|
+
* 重写编辑绑定模式,设置为 'lineString'。
|
|
24908
|
+
*/
|
|
24866
24909
|
f(this, "editingBindMode", "lineString");
|
|
24867
24910
|
const r = () => {
|
|
24868
24911
|
this._distance.value = this.getDistance() ?? 0;
|
|
24869
24912
|
};
|
|
24870
24913
|
r(), this.d(this.pointsChanged.don(r));
|
|
24871
24914
|
}
|
|
24915
|
+
/**
|
|
24916
|
+
* 获取类型名称,返回 'ESGeoLineString'。
|
|
24917
|
+
*/
|
|
24872
24918
|
get typeName() {
|
|
24873
24919
|
return "ESGeoLineString";
|
|
24874
24920
|
}
|
|
24921
|
+
/**
|
|
24922
|
+
* 重写默认属性,返回通过 createDefaultProps 方法创建的默认属性。
|
|
24923
|
+
*/
|
|
24875
24924
|
get defaultProps() {
|
|
24876
24925
|
return ws.createDefaultProps();
|
|
24877
24926
|
}
|
|
24927
|
+
/**
|
|
24928
|
+
* 获取折线的距离值。
|
|
24929
|
+
*/
|
|
24878
24930
|
get distance() {
|
|
24879
24931
|
return this._distance.value;
|
|
24880
24932
|
}
|
|
24933
|
+
/**
|
|
24934
|
+
* 获取距离值变化的事件对象。
|
|
24935
|
+
*/
|
|
24881
24936
|
get distanceChanged() {
|
|
24882
24937
|
return this._distance.changed;
|
|
24883
24938
|
}
|
|
24939
|
+
/**
|
|
24940
|
+
* 重写获取 ES 属性的方法,返回包含坐标和样式属性的对象。
|
|
24941
|
+
* @returns 包含 ES 属性的对象。
|
|
24942
|
+
*/
|
|
24884
24943
|
getESProperties() {
|
|
24885
24944
|
const t = { ...super.getESProperties() };
|
|
24886
24945
|
return {
|
|
@@ -24904,6 +24963,11 @@ const ws = class ws extends de {
|
|
|
24904
24963
|
]
|
|
24905
24964
|
};
|
|
24906
24965
|
}
|
|
24966
|
+
/**
|
|
24967
|
+
* 重写获取属性的方法,返回包含父类属性和计算相关属性的数组。
|
|
24968
|
+
* @param language - 可选参数,语言类型。
|
|
24969
|
+
* @returns 包含属性的数组。
|
|
24970
|
+
*/
|
|
24907
24971
|
getProperties(t) {
|
|
24908
24972
|
return [
|
|
24909
24973
|
...super.getProperties(t),
|
|
@@ -24913,11 +24977,21 @@ const ws = class ws extends de {
|
|
|
24913
24977
|
];
|
|
24914
24978
|
}
|
|
24915
24979
|
};
|
|
24916
|
-
|
|
24980
|
+
/**
|
|
24981
|
+
* 静态属性,用于注册 ESGeoLineString 类。
|
|
24982
|
+
* 包含类型名称、类本身、中文名称、标签和描述信息。
|
|
24983
|
+
*/
|
|
24984
|
+
f(ws, "type", ws.register("ESGeoLineString", ws, { chsName: "地理折线", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "地理折线" })), /**
|
|
24985
|
+
* 静态属性,重写支持的编辑模式,包含 ESGeoVector 支持的模式以及新增的 LineStringAppend 和 LineStringInsert 模式。
|
|
24986
|
+
*/
|
|
24987
|
+
f(ws, "supportEditingModes", [
|
|
24917
24988
|
...de.supportEditingModes,
|
|
24918
|
-
|
|
24919
|
-
|
|
24920
|
-
]),
|
|
24989
|
+
ue.LineStringAppend,
|
|
24990
|
+
ue.LineStringInsert
|
|
24991
|
+
]), /**
|
|
24992
|
+
* 静态属性,重写默认值,包含 ESGeoVector 的默认值以及折线的默认样式信息。
|
|
24993
|
+
*/
|
|
24994
|
+
f(ws, "defaults", {
|
|
24921
24995
|
...de.defaults,
|
|
24922
24996
|
strokeStyle: {
|
|
24923
24997
|
width: 1,
|
|
@@ -24933,7 +25007,9 @@ let dn = ws;
|
|
|
24933
25007
|
((n) => {
|
|
24934
25008
|
n.createDefaultProps = () => ({
|
|
24935
25009
|
...de.createDefaultProps(),
|
|
25010
|
+
/**线样式是否生效 默认 为true */
|
|
24936
25011
|
stroked: !0,
|
|
25012
|
+
/**线样式 */
|
|
24937
25013
|
strokeStyle: Ge(n.defaults.strokeStyle)
|
|
24938
25014
|
});
|
|
24939
25015
|
})(dn || (dn = {}));
|
|
@@ -25544,8 +25620,17 @@ let Va = Dt;
|
|
|
25544
25620
|
})(Va || (Va = {}));
|
|
25545
25621
|
U(Va.prototype, Va.createDefaultProps);
|
|
25546
25622
|
const Es = class Es extends de {
|
|
25623
|
+
/**
|
|
25624
|
+
* 构造函数,初始化矩形的一些属性,如碰撞、描边、填充等。
|
|
25625
|
+
* @param {string} [id] 可选的矩形 ID。
|
|
25626
|
+
*/
|
|
25547
25627
|
constructor(t) {
|
|
25548
25628
|
super(t);
|
|
25629
|
+
/**
|
|
25630
|
+
* 编辑绑定模式,设置为 'doublePoints'。
|
|
25631
|
+
* @override
|
|
25632
|
+
* @type {ESJEditingBindModeType}
|
|
25633
|
+
*/
|
|
25549
25634
|
f(this, "editingBindMode", "doublePoints");
|
|
25550
25635
|
this.collision = !1, this.stroked = !0, this.filled = !0, this.fillStyle = {
|
|
25551
25636
|
color: [1, 1, 1, 0.5],
|
|
@@ -25554,12 +25639,26 @@ const Es = class Es extends de {
|
|
|
25554
25639
|
ground: !1
|
|
25555
25640
|
};
|
|
25556
25641
|
}
|
|
25642
|
+
/**
|
|
25643
|
+
* 获取类的类型名称。
|
|
25644
|
+
* @returns {string} 类型名称 'ESGeoRectangle'。
|
|
25645
|
+
*/
|
|
25557
25646
|
get typeName() {
|
|
25558
25647
|
return "ESGeoRectangle";
|
|
25559
25648
|
}
|
|
25649
|
+
/**
|
|
25650
|
+
* 获取默认属性。
|
|
25651
|
+
* @override
|
|
25652
|
+
* @returns {any} 默认属性对象。
|
|
25653
|
+
*/
|
|
25560
25654
|
get defaultProps() {
|
|
25561
25655
|
return Es.createDefaultProps();
|
|
25562
25656
|
}
|
|
25657
|
+
/**
|
|
25658
|
+
* 将矩形转换为多边形表示。
|
|
25659
|
+
* 如果矩形的点数组长度大于等于 2,则返回一个包含四个点的多边形数组,否则返回 undefined。
|
|
25660
|
+
* @returns {ESJVector3DArray | undefined} 多边形数组或 undefined。
|
|
25661
|
+
*/
|
|
25563
25662
|
toPolygon() {
|
|
25564
25663
|
if (this.points && this.points.length >= 2) {
|
|
25565
25664
|
const t = [...this.points][0], r = [...this.points][1];
|
|
@@ -25567,6 +25666,11 @@ const Es = class Es extends de {
|
|
|
25567
25666
|
} else
|
|
25568
25667
|
return;
|
|
25569
25668
|
}
|
|
25669
|
+
/**
|
|
25670
|
+
* 更新矩形的面积。
|
|
25671
|
+
* 如果矩形的点数组长度大于等于 2,则计算多边形的面积并更新 _area 属性,否则将 _area 属性设置为 0。
|
|
25672
|
+
* @override
|
|
25673
|
+
*/
|
|
25570
25674
|
_updateArea() {
|
|
25571
25675
|
if (this.points && this.points.length >= 2) {
|
|
25572
25676
|
const t = [...this.points], r = t[0], i = t[1], s = [r, [r[0], i[1], r[2]], i, [i[0], r[1], i[2]]];
|
|
@@ -25574,6 +25678,11 @@ const Es = class Es extends de {
|
|
|
25574
25678
|
} else
|
|
25575
25679
|
this._area.value = 0;
|
|
25576
25680
|
}
|
|
25681
|
+
/**
|
|
25682
|
+
* 更新矩形的周长。
|
|
25683
|
+
* 如果矩形的点数组长度大于等于 2,则计算多边形的周长并更新 _perimeter 属性,否则将 _perimeter 属性设置为 0。
|
|
25684
|
+
* @override
|
|
25685
|
+
*/
|
|
25577
25686
|
_updatePerimeter() {
|
|
25578
25687
|
if (this.points && this.points.length >= 2) {
|
|
25579
25688
|
const t = [...this.points], r = t[0], i = t[1], s = [r, [r[0], i[1], r[2]], i, [i[0], r[1], i[2]]], o = [...s, s[0]], a = hc(o, "GEODESIC"), l = a[a.length - 1];
|
|
@@ -25581,6 +25690,12 @@ const Es = class Es extends de {
|
|
|
25581
25690
|
} else
|
|
25582
25691
|
this._perimeter.value = 0;
|
|
25583
25692
|
}
|
|
25693
|
+
/**
|
|
25694
|
+
* 获取 ES 属性。
|
|
25695
|
+
* 在父类属性的基础上,添加面积和周长属性。
|
|
25696
|
+
* @override
|
|
25697
|
+
* @returns {any} ES 属性对象。
|
|
25698
|
+
*/
|
|
25584
25699
|
getESProperties() {
|
|
25585
25700
|
const t = super.getESProperties();
|
|
25586
25701
|
return {
|
|
@@ -25592,6 +25707,13 @@ const Es = class Es extends de {
|
|
|
25592
25707
|
]
|
|
25593
25708
|
};
|
|
25594
25709
|
}
|
|
25710
|
+
/**
|
|
25711
|
+
* 获取属性列表。
|
|
25712
|
+
* 在父类属性列表的基础上,添加一个包含面积和周长属性的分组。
|
|
25713
|
+
* @override
|
|
25714
|
+
* @param {string} language 语言。
|
|
25715
|
+
* @returns {any[]} 属性列表。
|
|
25716
|
+
*/
|
|
25595
25717
|
getProperties(t) {
|
|
25596
25718
|
return [
|
|
25597
25719
|
...super.getProperties(t),
|
|
@@ -25602,11 +25724,29 @@ const Es = class Es extends de {
|
|
|
25602
25724
|
];
|
|
25603
25725
|
}
|
|
25604
25726
|
};
|
|
25605
|
-
|
|
25727
|
+
/**
|
|
25728
|
+
* 注册 ESGeoRectangle 类,设置类型名称、中文名称、标签和描述。
|
|
25729
|
+
*
|
|
25730
|
+
* @readonly
|
|
25731
|
+
* @type {any}
|
|
25732
|
+
*/
|
|
25733
|
+
f(Es, "type", Es.register("ESGeoRectangle", Es, { chsName: "矩形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "矩形" })), /**
|
|
25734
|
+
* 支持的编辑模式数组,包含父类支持的编辑模式以及 DoublePointsAppend 和 DoublePointsModify 模式。
|
|
25735
|
+
*
|
|
25736
|
+
* @override
|
|
25737
|
+
* @type {ESJEditingMode[]}
|
|
25738
|
+
*/
|
|
25739
|
+
f(Es, "supportEditingModes", [
|
|
25606
25740
|
...de.supportEditingModes,
|
|
25607
|
-
|
|
25608
|
-
|
|
25609
|
-
]),
|
|
25741
|
+
ue.DoublePointsAppend,
|
|
25742
|
+
ue.DoublePointsModify
|
|
25743
|
+
]), /**
|
|
25744
|
+
* 默认属性对象,继承自父类的默认属性。
|
|
25745
|
+
*
|
|
25746
|
+
* @override
|
|
25747
|
+
* @type {any}
|
|
25748
|
+
*/
|
|
25749
|
+
f(Es, "defaults", { ...de.defaults });
|
|
25610
25750
|
let za = Es;
|
|
25611
25751
|
((n) => {
|
|
25612
25752
|
n.createDefaultProps = () => ({
|
|
@@ -25629,43 +25769,102 @@ const Xc = {
|
|
|
25629
25769
|
// ...ESObjectWithLocation.noNeedUeUpdateProps,
|
|
25630
25770
|
// 'url',
|
|
25631
25771
|
// ];
|
|
25772
|
+
/**
|
|
25773
|
+
* 构造函数
|
|
25774
|
+
* @param id 场景对象的ID
|
|
25775
|
+
*/
|
|
25632
25776
|
constructor(t) {
|
|
25633
25777
|
super(t);
|
|
25778
|
+
/**
|
|
25779
|
+
* 私有属性,用于存储节点变换信息
|
|
25780
|
+
*/
|
|
25634
25781
|
f(this, "_nodeTransformations", this.dv(ee(void 0)));
|
|
25782
|
+
/**
|
|
25783
|
+
* Cesium模型准备就绪事件
|
|
25784
|
+
*/
|
|
25635
25785
|
f(this, "_czmModelReadyEvent", this.dv(new V()));
|
|
25786
|
+
/**
|
|
25787
|
+
* 设置节点位置的事件
|
|
25788
|
+
*/
|
|
25636
25789
|
f(this, "_setNodePositionEvent", this.dv(new V()));
|
|
25790
|
+
/**
|
|
25791
|
+
* 设置节点旋转的事件
|
|
25792
|
+
*/
|
|
25637
25793
|
f(this, "_setNodeRotationEvent", this.dv(new V()));
|
|
25794
|
+
/**
|
|
25795
|
+
* 设置节点缩放的事件
|
|
25796
|
+
*/
|
|
25638
25797
|
f(this, "_setNodeScaleEvent", this.dv(new V()));
|
|
25798
|
+
/**
|
|
25799
|
+
* 打印调试信息的事件
|
|
25800
|
+
*/
|
|
25639
25801
|
f(this, "_printDebugInfoEvent", this.dv(new V()));
|
|
25802
|
+
/**
|
|
25803
|
+
* 设置材质信息的事件
|
|
25804
|
+
*/
|
|
25640
25805
|
f(this, "setMaterialInfoEvent", this.ad(new V()));
|
|
25806
|
+
/**
|
|
25807
|
+
* 设置材质的事件
|
|
25808
|
+
*/
|
|
25641
25809
|
f(this, "_setMaterialEvent", this.disposeVar(new V()));
|
|
25642
25810
|
}
|
|
25811
|
+
/**
|
|
25812
|
+
* 获取类的类型名称
|
|
25813
|
+
*/
|
|
25643
25814
|
get typeName() {
|
|
25644
25815
|
return "ESGltfModel";
|
|
25645
25816
|
}
|
|
25817
|
+
/**
|
|
25818
|
+
* 获取默认属性
|
|
25819
|
+
*/
|
|
25646
25820
|
get defaultProps() {
|
|
25647
25821
|
return pi.createDefaultProps();
|
|
25648
25822
|
}
|
|
25823
|
+
/**
|
|
25824
|
+
* 获取节点变换信息
|
|
25825
|
+
*/
|
|
25649
25826
|
get nodeTransformations() {
|
|
25650
25827
|
return this._nodeTransformations.value;
|
|
25651
25828
|
}
|
|
25829
|
+
/**
|
|
25830
|
+
* 设置节点变换信息
|
|
25831
|
+
* @param value 节点变换信息对象
|
|
25832
|
+
*/
|
|
25652
25833
|
set nodeTransformations(t) {
|
|
25653
25834
|
this._nodeTransformations.value = t;
|
|
25654
25835
|
}
|
|
25836
|
+
/**
|
|
25837
|
+
* 获取节点变换信息的变更事件
|
|
25838
|
+
*/
|
|
25655
25839
|
get nodeTransformationsChanged() {
|
|
25656
25840
|
return this._nodeTransformations.changed;
|
|
25657
25841
|
}
|
|
25842
|
+
/**
|
|
25843
|
+
* 获取Cesium模型准备就绪事件
|
|
25844
|
+
*/
|
|
25658
25845
|
get czmModelReadyEvent() {
|
|
25659
25846
|
return this._czmModelReadyEvent;
|
|
25660
25847
|
}
|
|
25848
|
+
/**
|
|
25849
|
+
* 删除指定节点的变换信息
|
|
25850
|
+
* @param nodeName 节点名称
|
|
25851
|
+
*/
|
|
25661
25852
|
deleteNodeTransformation(t) {
|
|
25662
25853
|
if (!this.nodeTransformations || !this.nodeTransformations[t]) return;
|
|
25663
25854
|
const r = { ...this.nodeTransformations };
|
|
25664
25855
|
delete r[t], this.nodeTransformations = r;
|
|
25665
25856
|
}
|
|
25857
|
+
/**
|
|
25858
|
+
* 获取设置节点位置的事件
|
|
25859
|
+
*/
|
|
25666
25860
|
get setNodePositionEvent() {
|
|
25667
25861
|
return this._setNodePositionEvent;
|
|
25668
25862
|
}
|
|
25863
|
+
/**
|
|
25864
|
+
* 设置指定节点的位置
|
|
25865
|
+
* @param nodeName 节点名称
|
|
25866
|
+
* @param nodePosition 节点位置向量
|
|
25867
|
+
*/
|
|
25669
25868
|
setNodePosition(t, r) {
|
|
25670
25869
|
this._setNodePositionEvent.emit(t, r), this._nodeTransformations.value || (this._nodeTransformations.value = {});
|
|
25671
25870
|
const i = this._nodeTransformations.value[t] ?? { ...Xc };
|
|
@@ -25683,9 +25882,17 @@ const Xc = {
|
|
|
25683
25882
|
}
|
|
25684
25883
|
};
|
|
25685
25884
|
}
|
|
25885
|
+
/**
|
|
25886
|
+
* 获取设置节点旋转的事件
|
|
25887
|
+
*/
|
|
25686
25888
|
get setNodeRotationEvent() {
|
|
25687
25889
|
return this._setNodeRotationEvent;
|
|
25688
25890
|
}
|
|
25891
|
+
/**
|
|
25892
|
+
* 设置指定节点的旋转
|
|
25893
|
+
* @param nodeName 节点名称
|
|
25894
|
+
* @param nodeRotation 节点旋转向量
|
|
25895
|
+
*/
|
|
25689
25896
|
setNodeRotation(t, r) {
|
|
25690
25897
|
this._setNodeRotationEvent.emit(t, r), this._nodeTransformations.value || (this._nodeTransformations.value = {});
|
|
25691
25898
|
const i = this._nodeTransformations.value[t] ?? { ...Xc };
|
|
@@ -25703,9 +25910,17 @@ const Xc = {
|
|
|
25703
25910
|
}
|
|
25704
25911
|
};
|
|
25705
25912
|
}
|
|
25913
|
+
/**
|
|
25914
|
+
* 获取设置节点缩放的事件
|
|
25915
|
+
*/
|
|
25706
25916
|
get setNodeScaleEvent() {
|
|
25707
25917
|
return this._setNodeScaleEvent;
|
|
25708
25918
|
}
|
|
25919
|
+
/**
|
|
25920
|
+
* 设置指定节点的缩放
|
|
25921
|
+
* @param nodeName 节点名称
|
|
25922
|
+
* @param nodeScale 节点缩放向量
|
|
25923
|
+
*/
|
|
25709
25924
|
setNodeScale(t, r) {
|
|
25710
25925
|
this._setNodeScaleEvent.emit(t, r), this._nodeTransformations.value || (this._nodeTransformations.value = {});
|
|
25711
25926
|
const i = this._nodeTransformations.value[t] ?? { ...Xc };
|
|
@@ -25723,47 +25938,80 @@ const Xc = {
|
|
|
25723
25938
|
}
|
|
25724
25939
|
};
|
|
25725
25940
|
}
|
|
25941
|
+
/**
|
|
25942
|
+
* 获取指定节点的位置
|
|
25943
|
+
* @param nodeName 节点名称
|
|
25944
|
+
* @returns 节点位置向量,如果不存在则返回undefined
|
|
25945
|
+
*/
|
|
25726
25946
|
getNodePosition(t) {
|
|
25727
25947
|
if (!this.nodeTransformations) return;
|
|
25728
25948
|
const r = this.nodeTransformations[t];
|
|
25729
25949
|
if (r)
|
|
25730
25950
|
return [r.translationX, r.translationY, r.translationZ];
|
|
25731
25951
|
}
|
|
25952
|
+
/**
|
|
25953
|
+
* 获取指定节点的旋转
|
|
25954
|
+
* @param nodeName 节点名称
|
|
25955
|
+
* @returns 节点旋转向量,如果不存在则返回undefined
|
|
25956
|
+
*/
|
|
25732
25957
|
getNodeRotation(t) {
|
|
25733
25958
|
if (!this.nodeTransformations) return;
|
|
25734
25959
|
const r = this.nodeTransformations[t];
|
|
25735
25960
|
if (r)
|
|
25736
25961
|
return [r.rotationHeading, r.rotationPitch, r.rotationRoll];
|
|
25737
25962
|
}
|
|
25963
|
+
/**
|
|
25964
|
+
* 获取指定节点的缩放
|
|
25965
|
+
* @param nodeName 节点名称
|
|
25966
|
+
* @returns 节点缩放向量,如果不存在则返回undefined
|
|
25967
|
+
*/
|
|
25738
25968
|
getNodeScale(t) {
|
|
25739
25969
|
if (!this.nodeTransformations) return;
|
|
25740
25970
|
const r = this.nodeTransformations[t];
|
|
25741
25971
|
if (r)
|
|
25742
25972
|
return [r.scaleX, r.scaleY, r.scaleZ];
|
|
25743
25973
|
}
|
|
25974
|
+
/**
|
|
25975
|
+
* 获取打印调试信息的事件
|
|
25976
|
+
*/
|
|
25744
25977
|
get printDebugInfoEvent() {
|
|
25745
25978
|
return this._printDebugInfoEvent;
|
|
25746
25979
|
}
|
|
25980
|
+
/**
|
|
25981
|
+
* 触发打印调试信息的事件
|
|
25982
|
+
*/
|
|
25747
25983
|
printDebugInfo() {
|
|
25748
25984
|
this._printDebugInfoEvent.emit();
|
|
25749
25985
|
}
|
|
25986
|
+
/**
|
|
25987
|
+
* 获取设置材质的事件
|
|
25988
|
+
*/
|
|
25750
25989
|
get setMaterialEvent() {
|
|
25751
25990
|
return this._setMaterialEvent;
|
|
25752
25991
|
}
|
|
25992
|
+
/**
|
|
25993
|
+
* 设置模型的材质
|
|
25994
|
+
* @param options 材质选项,可以是材质对象或 'default'
|
|
25995
|
+
* @returns 一个Promise,当材质设置完成后解析为材质信息对象
|
|
25996
|
+
*/
|
|
25753
25997
|
setMaterial(t) {
|
|
25754
25998
|
return new Promise((r) => {
|
|
25755
|
-
const i = new
|
|
25999
|
+
const i = new ae();
|
|
25756
26000
|
i.ad(this.setMaterialInfoEvent.donce((s) => {
|
|
25757
26001
|
i.destroy(), r(s);
|
|
25758
26002
|
})), this._setMaterialEvent.emit(t);
|
|
25759
26003
|
});
|
|
25760
26004
|
}
|
|
25761
26005
|
/**
|
|
25762
|
-
* 仅Cesium
|
|
26006
|
+
* 仅Cesium引擎生效,设置默认光照
|
|
25763
26007
|
*/
|
|
25764
26008
|
setLight122() {
|
|
25765
26009
|
this.czmEnvironmentMapManager = { ...Pd };
|
|
25766
26010
|
}
|
|
26011
|
+
/**
|
|
26012
|
+
* 获取ES属性
|
|
26013
|
+
* @returns ES属性对象
|
|
26014
|
+
*/
|
|
25767
26015
|
getESProperties() {
|
|
25768
26016
|
const t = { ...super.getESProperties() };
|
|
25769
26017
|
return {
|
|
@@ -25776,6 +26024,11 @@ const Xc = {
|
|
|
25776
26024
|
]
|
|
25777
26025
|
};
|
|
25778
26026
|
}
|
|
26027
|
+
/**
|
|
26028
|
+
* 获取属性列表
|
|
26029
|
+
* @param language 语言
|
|
26030
|
+
* @returns 属性列表
|
|
26031
|
+
*/
|
|
25779
26032
|
getProperties(t) {
|
|
25780
26033
|
return [
|
|
25781
26034
|
...super.getProperties(t),
|
|
@@ -25796,7 +26049,13 @@ const Xc = {
|
|
|
25796
26049
|
];
|
|
25797
26050
|
}
|
|
25798
26051
|
};
|
|
25799
|
-
|
|
26052
|
+
/**
|
|
26053
|
+
* 注册类类型,指定名称、类本身以及相关信息
|
|
26054
|
+
*/
|
|
26055
|
+
f(pi, "type", pi.register("ESGltfModel", pi, { chsName: "模型", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "gltf模型" })), /**
|
|
26056
|
+
* 类的默认属性
|
|
26057
|
+
*/
|
|
26058
|
+
f(pi, "defaults", {
|
|
25800
26059
|
...W.defaults,
|
|
25801
26060
|
url: "${earthsdk3-assets-script-dir}/assets/glb/building.glb",
|
|
25802
26061
|
instances: []
|
|
@@ -25805,46 +26064,142 @@ let Ba = pi;
|
|
|
25805
26064
|
((n) => {
|
|
25806
26065
|
n.createDefaultProps = () => ({
|
|
25807
26066
|
...W.createDefaultProps(),
|
|
26067
|
+
/**
|
|
26068
|
+
* 模型资源路径(GLB/GLTF 文件地址)
|
|
26069
|
+
* @type {string | ESJResource}
|
|
26070
|
+
* @default ${earthsdk3-assets-script-dir}/assets/glb/building.glb
|
|
26071
|
+
*/
|
|
25808
26072
|
url: n.defaults.url,
|
|
26073
|
+
/**
|
|
26074
|
+
* 模型最大缩放比例(Cesium 引擎专用)
|
|
26075
|
+
* @type {number | undefined}
|
|
26076
|
+
* 限制模型缩放的最大值,未设置时无上限
|
|
26077
|
+
*/
|
|
25809
26078
|
czmMaximumScale: void 0,
|
|
26079
|
+
/**
|
|
26080
|
+
* 模型最小像素尺寸(Cesium 引擎专用)
|
|
26081
|
+
* @type {number}
|
|
26082
|
+
* @default 0
|
|
26083
|
+
* 值为 0 时表示不启用最小像素尺寸限制
|
|
26084
|
+
*/
|
|
25810
26085
|
czmMinimumPixelSize: 0,
|
|
26086
|
+
/**
|
|
26087
|
+
* 模型统一缩放值(全局缩放因子)
|
|
26088
|
+
* @type {number}
|
|
26089
|
+
* @default 1
|
|
26090
|
+
* 同时应用于 X/Y/Z 轴的缩放比例
|
|
26091
|
+
*/
|
|
25811
26092
|
czmNativeScale: 1,
|
|
26093
|
+
/**
|
|
26094
|
+
* 模型颜色(RGBA 通道值)
|
|
26095
|
+
* @type {ESJColor[]}
|
|
26096
|
+
* @default [1, 1, 1, 1]
|
|
26097
|
+
* 数组顺序为 [红, 绿, 蓝, 透明度],取值范围 0-1
|
|
26098
|
+
*/
|
|
25812
26099
|
czmColor: ye([1, 1, 1, 1]),
|
|
26100
|
+
/**
|
|
26101
|
+
* 是否允许模型被鼠标拾取(交互选中)
|
|
26102
|
+
* @type {boolean}
|
|
26103
|
+
* @default true
|
|
26104
|
+
*/
|
|
25813
26105
|
allowPicking: !0,
|
|
26106
|
+
/**
|
|
26107
|
+
* 实例化矩阵数组(用于批量渲染相同模型)
|
|
26108
|
+
* @type {ESJInstances[] | undefined}
|
|
26109
|
+
* 每个元素包含模型实例的位置、旋转、缩放矩阵信息,未设置时不启用实例化
|
|
26110
|
+
*/
|
|
25814
26111
|
instances: Mt(void 0),
|
|
26112
|
+
/**
|
|
26113
|
+
* 环境光反射强度因子(Cesium 引擎专用)
|
|
26114
|
+
* @type {ESJVector2D[]}
|
|
26115
|
+
* @default [1, 1]
|
|
26116
|
+
* 二维向量分别控制 X 轴和 Y 轴方向的反射强度
|
|
26117
|
+
*/
|
|
25815
26118
|
czmImageBasedLightingFactor: ye([1, 1]),
|
|
25816
26119
|
/**
|
|
25817
|
-
*
|
|
26120
|
+
* 大气散射强度(已弃用,Cesium 引擎专用)
|
|
26121
|
+
* @type {number}
|
|
26122
|
+
* @default 2
|
|
26123
|
+
* @deprecated 请使用 `czmEnvironmentMapManager` 配置环境光照
|
|
25818
26124
|
*/
|
|
25819
26125
|
czmAtmosphereScatteringIntensity: 2,
|
|
26126
|
+
/**
|
|
26127
|
+
* 动态环境贴图管理器配置(Cesium 引擎专用)
|
|
26128
|
+
* @type {ESJEnvironmentMapManagerType | undefined}
|
|
26129
|
+
* 用于配置模型的环境光照、反射探头等高级参数,未设置时使用引擎默认值
|
|
26130
|
+
*/
|
|
25820
26131
|
czmEnvironmentMapManager: et(void 0)
|
|
25821
26132
|
});
|
|
25822
26133
|
})(Ba || (Ba = {}));
|
|
25823
26134
|
U(Ba.prototype, Ba.createDefaultProps);
|
|
25824
26135
|
const $r = class $r extends W {
|
|
26136
|
+
/**
|
|
26137
|
+
* 构造函数。
|
|
26138
|
+
* @param {SceneObjectKey} [id] - 对象的ID。
|
|
26139
|
+
*/
|
|
25825
26140
|
constructor(t) {
|
|
25826
26141
|
super(t);
|
|
26142
|
+
/**
|
|
26143
|
+
* 自动寻路事件。
|
|
26144
|
+
* @private
|
|
26145
|
+
* @type {Event<[ESJVector3D, number]>}
|
|
26146
|
+
*/
|
|
25827
26147
|
f(this, "_aiMoveToEvent", this.dv(new V()));
|
|
26148
|
+
/**
|
|
26149
|
+
* 停止自动寻路事件。
|
|
26150
|
+
* @private
|
|
26151
|
+
* @type {Event<[]>}
|
|
26152
|
+
*/
|
|
25828
26153
|
f(this, "_stopAIMoveEvent", this.dv(new V()));
|
|
25829
26154
|
}
|
|
26155
|
+
/**
|
|
26156
|
+
* 获取类的类型名称。
|
|
26157
|
+
* @returns {string} 类的类型名称。
|
|
26158
|
+
*/
|
|
25830
26159
|
get typeName() {
|
|
25831
26160
|
return "ESHuman";
|
|
25832
26161
|
}
|
|
26162
|
+
/**
|
|
26163
|
+
* 获取默认属性。
|
|
26164
|
+
* @override
|
|
26165
|
+
* @returns {any} 默认属性对象。
|
|
26166
|
+
*/
|
|
25833
26167
|
get defaultProps() {
|
|
25834
26168
|
return $r.createDefaultProps();
|
|
25835
26169
|
}
|
|
26170
|
+
/**
|
|
26171
|
+
* 获取自动寻路事件。
|
|
26172
|
+
* @returns {Event<[ESJVector3D, number]>} 自动寻路事件对象。
|
|
26173
|
+
*/
|
|
25836
26174
|
get aiMoveToEvent() {
|
|
25837
26175
|
return this._aiMoveToEvent;
|
|
25838
26176
|
}
|
|
26177
|
+
/**
|
|
26178
|
+
* 触发自动寻路事件。
|
|
26179
|
+
* @param {ESJVector3D} Destination - 目标位置。
|
|
26180
|
+
* @param {number} Time - 到达目标的时间。
|
|
26181
|
+
*/
|
|
25839
26182
|
aiMoveTo(t, r) {
|
|
25840
26183
|
this._aiMoveToEvent.emit(t, r);
|
|
25841
26184
|
}
|
|
26185
|
+
/**
|
|
26186
|
+
* 获取停止自动寻路事件。
|
|
26187
|
+
* @returns {Event<[]>} 停止自动寻路事件对象。
|
|
26188
|
+
*/
|
|
25842
26189
|
get stopAIMoveEvent() {
|
|
25843
26190
|
return this._stopAIMoveEvent;
|
|
25844
26191
|
}
|
|
26192
|
+
/**
|
|
26193
|
+
* 触发停止自动寻路事件。
|
|
26194
|
+
*/
|
|
25845
26195
|
stopAIMove() {
|
|
25846
26196
|
this._stopAIMoveEvent.emit();
|
|
25847
26197
|
}
|
|
26198
|
+
/**
|
|
26199
|
+
* 获取ES属性。
|
|
26200
|
+
* @override
|
|
26201
|
+
* @returns {any} ES属性对象。
|
|
26202
|
+
*/
|
|
25848
26203
|
getESProperties() {
|
|
25849
26204
|
const t = { ...super.getESProperties() };
|
|
25850
26205
|
return {
|
|
@@ -25856,6 +26211,12 @@ const $r = class $r extends W {
|
|
|
25856
26211
|
]
|
|
25857
26212
|
};
|
|
25858
26213
|
}
|
|
26214
|
+
/**
|
|
26215
|
+
* 获取属性列表。
|
|
26216
|
+
* @override
|
|
26217
|
+
* @param {string} [language] - 语言。
|
|
26218
|
+
* @returns {any[]} 属性列表。
|
|
26219
|
+
*/
|
|
25859
26220
|
getProperties(t) {
|
|
25860
26221
|
return [
|
|
25861
26222
|
...super.getProperties(t),
|
|
@@ -25868,7 +26229,21 @@ const $r = class $r extends W {
|
|
|
25868
26229
|
];
|
|
25869
26230
|
}
|
|
25870
26231
|
};
|
|
25871
|
-
|
|
26232
|
+
/**
|
|
26233
|
+
* 注册类的类型信息。
|
|
26234
|
+
*
|
|
26235
|
+
* @readonly
|
|
26236
|
+
* @type {any}
|
|
26237
|
+
* @description 类的类型,包含名称、中文名称、标签和描述信息。
|
|
26238
|
+
*/
|
|
26239
|
+
f($r, "type", $r.register("ESHuman", $r, { chsName: "人员", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "工人 警察 路人" })), /**
|
|
26240
|
+
* 类的默认属性。
|
|
26241
|
+
*
|
|
26242
|
+
* @override
|
|
26243
|
+
* @type {any}
|
|
26244
|
+
* @description 包含模式、动画、Cesium动画配置等默认属性。
|
|
26245
|
+
*/
|
|
26246
|
+
f($r, "defaults", {
|
|
25872
26247
|
...W.defaults,
|
|
25873
26248
|
// 工人 警察 路人
|
|
25874
26249
|
modes: [["工人", "worker"], ["警察", "police"], ["路人", "pedestrian"], ["陌生人", "stranger"], ["男士", "suitMan"], ["女士", "suitWoman"]],
|
|
@@ -25898,8 +26273,11 @@ let cs = $r;
|
|
|
25898
26273
|
((n) => {
|
|
25899
26274
|
n.createDefaultProps = () => ({
|
|
25900
26275
|
...W.createDefaultProps(),
|
|
26276
|
+
/** 模型模式枚举 默认 worker [["工人", 'worker'], ["警察", "police"], ["路人", "pedestrian"], ["陌生人", "stranger"], ["男士", 'suitMan'], ["女士", 'suitWoman']] */
|
|
25901
26277
|
mode: "worker",
|
|
26278
|
+
/** 动画枚举 默认standing [["站立", 'standing'], ["行走", "walking"], ["奔跑", "running"]] */
|
|
25902
26279
|
animation: "standing",
|
|
26280
|
+
/**是否允许拾取 默认true */
|
|
25903
26281
|
allowPicking: !0
|
|
25904
26282
|
});
|
|
25905
26283
|
})(cs || (cs = {}));
|
|
@@ -26079,7 +26457,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26079
26457
|
* @param id - 可选的实例 ID。
|
|
26080
26458
|
*/
|
|
26081
26459
|
constructor(e) {
|
|
26082
|
-
super(e);
|
|
26460
|
+
super(e), this.ad(ce([this, "splitDirection"], [this, "czmSplitDirection"]));
|
|
26083
26461
|
}
|
|
26084
26462
|
/**
|
|
26085
26463
|
* 获取 ES 属性。
|
|
@@ -26144,11 +26522,12 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
26144
26522
|
/** 目标 ID 属性 */
|
|
26145
26523
|
new J("targetID", "targetID", !1, !1, [this, "targetID"]),
|
|
26146
26524
|
/** 透明度属性 */
|
|
26147
|
-
new Fe("opacity", "opacity", !1, !1, [this, "opacity"], 0.01, [0, 1], 1)
|
|
26525
|
+
new Fe("opacity", "opacity", !1, !1, [this, "opacity"], 0.01, [0, 1], 1),
|
|
26526
|
+
/** 分割方向枚举属性 */
|
|
26527
|
+
new X("splitDirection", "The ImagerySplitDirection split to apply to this layer.", !1, !1, [this, "splitDirection"], en.defaults.splitDirectionEnum)
|
|
26148
26528
|
]),
|
|
26149
26529
|
new k("czm", "czm", [
|
|
26150
|
-
|
|
26151
|
-
new X("czmSplitDirection", "The ImagerySplitDirection split to apply to this layer.", !1, !1, [this, "czmSplitDirection"], en.defaults.czmSplitDirectionEnum),
|
|
26530
|
+
// new EnumProperty('czmSplitDirection', 'The ImagerySplitDirection split to apply to this layer.', false, false, [this, 'czmSplitDirection'], ESImageryLayer.defaults.czmSplitDirectionEnum),
|
|
26152
26531
|
/** czm 透明度属性 */
|
|
26153
26532
|
new E("透明度", "透明度,The alpha blending value of this layer, from 0.0 to 1.0.", !1, !1, [this, "czmAlpha"]),
|
|
26154
26533
|
/** czm 亮度属性 */
|
|
@@ -26195,9 +26574,9 @@ f(en, "defaults", {
|
|
|
26195
26574
|
/** 透明度 */
|
|
26196
26575
|
opacity: 1,
|
|
26197
26576
|
/** 分割方向 */
|
|
26198
|
-
|
|
26577
|
+
splitDirection: "NONE",
|
|
26199
26578
|
/** 分割方向的枚举值 */
|
|
26200
|
-
|
|
26579
|
+
splitDirectionEnum: [["LEFT", "LEFT"], ["NONE", "NONE"], ["RIGHT", "RIGHT"]],
|
|
26201
26580
|
/** czm 透明度 */
|
|
26202
26581
|
czmAlpha: 1,
|
|
26203
26582
|
/** czm 亮度 */
|
|
@@ -26238,6 +26617,10 @@ let Ua = en;
|
|
|
26238
26617
|
/** 透明度 */
|
|
26239
26618
|
opacity: 1,
|
|
26240
26619
|
/** 分割方向 */
|
|
26620
|
+
splitDirection: "NONE",
|
|
26621
|
+
/**
|
|
26622
|
+
* 分割方向
|
|
26623
|
+
* @deprecated 未来会移除,请使用splitDirection代替 */
|
|
26241
26624
|
czmSplitDirection: "NONE",
|
|
26242
26625
|
/** czm 透明度 */
|
|
26243
26626
|
czmAlpha: 1,
|
|
@@ -27445,7 +27828,7 @@ f(Ss, "type", Ss.register("ESSunshineAnalysis", Ss, { chsName: "日照分析", t
|
|
|
27445
27828
|
*/
|
|
27446
27829
|
f(Ss, "supportEditingModes", [
|
|
27447
27830
|
...Ie.supportEditingModes,
|
|
27448
|
-
|
|
27831
|
+
ue.HeightModify
|
|
27449
27832
|
]), /**
|
|
27450
27833
|
* 静态属性,默认属性值。
|
|
27451
27834
|
* 继承自 ESGeoPolygon 的默认属性。
|
|
@@ -27478,7 +27861,7 @@ let Za = Ss;
|
|
|
27478
27861
|
});
|
|
27479
27862
|
})(Za || (Za = {}));
|
|
27480
27863
|
U(Za.prototype, Za.createDefaultProps);
|
|
27481
|
-
const
|
|
27864
|
+
const yr = class yr extends Ce {
|
|
27482
27865
|
constructor(t) {
|
|
27483
27866
|
super(t);
|
|
27484
27867
|
// 仅Cesium需要使用
|
|
@@ -27489,19 +27872,19 @@ const vr = class vr extends Ce {
|
|
|
27489
27872
|
return "ESTerrainLayer";
|
|
27490
27873
|
}
|
|
27491
27874
|
get defaultProps() {
|
|
27492
|
-
return
|
|
27875
|
+
return yr.createDefaultProps();
|
|
27493
27876
|
}
|
|
27494
27877
|
get activateEvent() {
|
|
27495
27878
|
return this._activateEvent;
|
|
27496
27879
|
}
|
|
27497
27880
|
getESProperties() {
|
|
27498
27881
|
const t = { ...super.getESProperties() }, r = [
|
|
27499
|
-
new E("层级序号", "层级序号", !1, !1, [this, "zIndex"],
|
|
27500
|
-
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"],
|
|
27501
|
-
new E("透明度", "opacity", !1, !1, [this, "opacity"],
|
|
27882
|
+
new E("层级序号", "层级序号", !1, !1, [this, "zIndex"], yr.defaults.zIndex),
|
|
27883
|
+
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"], yr.defaults.renderModes, "default"),
|
|
27884
|
+
new E("透明度", "opacity", !1, !1, [this, "opacity"], yr.defaults.opacity)
|
|
27502
27885
|
], i = [
|
|
27503
|
-
new B("地形服务地址", "地形服务地址", !1, !1, [this, "url"],
|
|
27504
|
-
new jr("矩形范围", "西南东北", !1, !1, [this, "rectangle"],
|
|
27886
|
+
new B("地形服务地址", "地形服务地址", !1, !1, [this, "url"], yr.defaults.url),
|
|
27887
|
+
new jr("矩形范围", "西南东北", !1, !1, [this, "rectangle"], yr.defaults.rectangle)
|
|
27505
27888
|
];
|
|
27506
27889
|
return t.basic.push(...r), t.dataSource.push(...i), t.defaultMenu = "dataSource", t;
|
|
27507
27890
|
}
|
|
@@ -27512,8 +27895,8 @@ const vr = class vr extends Ce {
|
|
|
27512
27895
|
new B("地形服务地址", "地形服务地址", !1, !1, [this, "url"]),
|
|
27513
27896
|
new jr("矩形范围", "西南东北", !1, !1, [this, "rectangle"]),
|
|
27514
27897
|
new E("层级", "zIndex", !1, !1, [this, "zIndex"]),
|
|
27515
|
-
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"],
|
|
27516
|
-
new E("透明度", "opacity", !1, !1, [this, "opacity"],
|
|
27898
|
+
new X("渲染模式", "renderMode", !1, !1, [this, "renderMode"], yr.defaults.renderModes, yr.defaults.renderMode),
|
|
27899
|
+
new E("透明度", "opacity", !1, !1, [this, "opacity"], yr.defaults.opacity),
|
|
27517
27900
|
new k("czm", "czm", [
|
|
27518
27901
|
new E("czmMinzoom", "czmMinzoom", !0, !1, [this, "czmMinzoom"]),
|
|
27519
27902
|
new E("czmMaxzoom", "czmMaxzoom", !0, !1, [this, "czmMaxzoom"])
|
|
@@ -27522,7 +27905,7 @@ const vr = class vr extends Ce {
|
|
|
27522
27905
|
];
|
|
27523
27906
|
}
|
|
27524
27907
|
};
|
|
27525
|
-
f(
|
|
27908
|
+
f(yr, "type", yr.register("ESTerrainLayer", yr, { chsName: "地形图层", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "地形图层" })), f(yr, "defaults", {
|
|
27526
27909
|
...Ce.defaults,
|
|
27527
27910
|
show: !0,
|
|
27528
27911
|
url: "http://inner.earthsdk.com/layer.json",
|
|
@@ -27532,7 +27915,7 @@ f(vr, "type", vr.register("ESTerrainLayer", vr, { chsName: "地形图层", tags:
|
|
|
27532
27915
|
renderModes: [["使用深度检测", "default"], ["不使用深度检测", "disableDepthTest"], ["透明", "transparent"]],
|
|
27533
27916
|
opacity: 1
|
|
27534
27917
|
});
|
|
27535
|
-
let Ka =
|
|
27918
|
+
let Ka = yr;
|
|
27536
27919
|
((n) => {
|
|
27537
27920
|
n.createDefaultProps = () => ({
|
|
27538
27921
|
...Ce.createDefaultProps(),
|
|
@@ -27687,7 +28070,7 @@ const rp = `
|
|
|
27687
28070
|
}
|
|
27688
28071
|
callFunction(t, r) {
|
|
27689
28072
|
return new Promise((i) => {
|
|
27690
|
-
const s = new
|
|
28073
|
+
const s = new ae(), o = setTimeout(() => {
|
|
27691
28074
|
s.isDestroyed() || (s.destroy(), i(void 0));
|
|
27692
28075
|
}, 1e4);
|
|
27693
28076
|
s.d(this._callFunctionResultEvent.donce((a) => {
|
|
@@ -27776,7 +28159,7 @@ const Zo = class Zo extends W {
|
|
|
27776
28159
|
}
|
|
27777
28160
|
callFunction(t, r) {
|
|
27778
28161
|
return new Promise((i) => {
|
|
27779
|
-
const s = new
|
|
28162
|
+
const s = new ae(), o = setTimeout(() => {
|
|
27780
28163
|
s.isDestroyed() || (s.destroy(), i(void 0));
|
|
27781
28164
|
}, 1e4);
|
|
27782
28165
|
s.d(this._callFunctionResultEvent.donce((a) => {
|
|
@@ -28156,10 +28539,10 @@ f(Cs, "type", Cs.register("ESDirectionMeasurement", Cs, { chsName: "方位角测
|
|
|
28156
28539
|
*/
|
|
28157
28540
|
f(Cs, "supportEditingModes", [
|
|
28158
28541
|
...de.supportEditingModes,
|
|
28159
|
-
|
|
28160
|
-
|
|
28161
|
-
|
|
28162
|
-
|
|
28542
|
+
ue.Rotation,
|
|
28543
|
+
ue.Scale,
|
|
28544
|
+
ue.DoublePointsAppend,
|
|
28545
|
+
ue.DoublePointsModify
|
|
28163
28546
|
]), /**
|
|
28164
28547
|
* 静态属性,重写默认值,包含父类的默认值。
|
|
28165
28548
|
*/
|
|
@@ -29339,9 +29722,19 @@ let sl = K;
|
|
|
29339
29722
|
})(sl || (sl = {}));
|
|
29340
29723
|
U(sl.prototype, sl.createDefaultProps);
|
|
29341
29724
|
const Ps = class Ps extends de {
|
|
29725
|
+
/**
|
|
29726
|
+
* 构造函数,初始化 ESHeightMeasurement 对象。
|
|
29727
|
+
* @param id - 可选的对象 ID。
|
|
29728
|
+
*/
|
|
29342
29729
|
constructor(t) {
|
|
29343
29730
|
super(t);
|
|
29731
|
+
/**
|
|
29732
|
+
* 重写的编辑绑定模式,值为 'doublePoints'。
|
|
29733
|
+
*/
|
|
29344
29734
|
f(this, "editingBindMode", "doublePoints");
|
|
29735
|
+
/**
|
|
29736
|
+
* 私有变量,用于存储高度值,使用 react 包装,支持响应式变化。
|
|
29737
|
+
*/
|
|
29345
29738
|
f(this, "_height", this.disposeVar(ee(0)));
|
|
29346
29739
|
{
|
|
29347
29740
|
const r = () => {
|
|
@@ -29351,30 +29744,64 @@ const Ps = class Ps extends de {
|
|
|
29351
29744
|
}
|
|
29352
29745
|
this.stroked = !0, this.strokeStyle.width = 2;
|
|
29353
29746
|
}
|
|
29747
|
+
/**
|
|
29748
|
+
* 获取该对象的类型名称。
|
|
29749
|
+
* @returns 类型名称 'ESHeightMeasurement'。
|
|
29750
|
+
*/
|
|
29354
29751
|
get typeName() {
|
|
29355
29752
|
return "ESHeightMeasurement";
|
|
29356
29753
|
}
|
|
29754
|
+
/**
|
|
29755
|
+
* 重写方法,获取默认属性。
|
|
29756
|
+
* @returns 默认属性对象。
|
|
29757
|
+
*/
|
|
29357
29758
|
get defaultProps() {
|
|
29358
29759
|
return Ps.createDefaultProps();
|
|
29359
29760
|
}
|
|
29761
|
+
/**
|
|
29762
|
+
* 获取高度值。
|
|
29763
|
+
* @returns 当前的高度值。
|
|
29764
|
+
*/
|
|
29360
29765
|
get height() {
|
|
29361
29766
|
return this._height.value;
|
|
29362
29767
|
}
|
|
29768
|
+
/**
|
|
29769
|
+
* 设置高度值。
|
|
29770
|
+
* @param value - 要设置的高度值。
|
|
29771
|
+
*/
|
|
29363
29772
|
set height(t) {
|
|
29364
29773
|
this._height.value = t;
|
|
29365
29774
|
}
|
|
29775
|
+
/**
|
|
29776
|
+
* 获取高度值变化的事件对象。
|
|
29777
|
+
* @returns 高度值变化的事件对象。
|
|
29778
|
+
*/
|
|
29366
29779
|
get heightChanged() {
|
|
29367
29780
|
return this._height.changed;
|
|
29368
29781
|
}
|
|
29782
|
+
/**
|
|
29783
|
+
* 重写方法,获取对象的属性列表。
|
|
29784
|
+
* @param language - 可选的语言参数。
|
|
29785
|
+
* @returns 属性列表数组。
|
|
29786
|
+
*/
|
|
29369
29787
|
getProperties(t) {
|
|
29370
29788
|
return [...super.getProperties(t)];
|
|
29371
29789
|
}
|
|
29372
29790
|
};
|
|
29373
|
-
|
|
29791
|
+
/**
|
|
29792
|
+
* 静态属性,用于注册 ESHeightMeasurement 类,包含类型名称、中文名称、标签和描述信息。
|
|
29793
|
+
*/
|
|
29794
|
+
f(Ps, "type", Ps.register("ESHeightMeasurement", Ps, { chsName: "高度测量", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "高度测量" })), /**
|
|
29795
|
+
* 静态属性,重写支持的编辑模式,包含 ESGeoVector 支持的模式以及新增的双点追加和双点修改模式。
|
|
29796
|
+
*/
|
|
29797
|
+
f(Ps, "supportEditingModes", [
|
|
29374
29798
|
...de.supportEditingModes,
|
|
29375
|
-
|
|
29376
|
-
|
|
29377
|
-
]),
|
|
29799
|
+
ue.DoublePointsAppend,
|
|
29800
|
+
ue.DoublePointsModify
|
|
29801
|
+
]), /**
|
|
29802
|
+
* 静态属性,重写默认设置,继承自 ESGeoVector 的默认设置。
|
|
29803
|
+
*/
|
|
29804
|
+
f(Ps, "defaults", { ...de.defaults });
|
|
29378
29805
|
let ol = Ps;
|
|
29379
29806
|
((n) => {
|
|
29380
29807
|
n.createDefaultProps = () => ({
|
|
@@ -29645,8 +30072,8 @@ const mi = class mi extends de {
|
|
|
29645
30072
|
};
|
|
29646
30073
|
f(mi, "type", mi.register("ESPipeFence", mi, { chsName: "管道电子围栏", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "管道电子围栏" })), f(mi, "supportEditingModes", [
|
|
29647
30074
|
...de.supportEditingModes,
|
|
29648
|
-
|
|
29649
|
-
|
|
30075
|
+
ue.LineStringAppend,
|
|
30076
|
+
ue.LineStringInsert
|
|
29650
30077
|
]), f(mi, "defaults", {
|
|
29651
30078
|
...de.defaults,
|
|
29652
30079
|
strokeStyle: {
|
|
@@ -29767,9 +30194,9 @@ const vi = class vi extends de {
|
|
|
29767
30194
|
};
|
|
29768
30195
|
f(vi, "type", vi.register("ESPolygonFence", vi, { chsName: "多边形电子围栏", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "多边形电子围栏" })), f(vi, "supportEditingModes", [
|
|
29769
30196
|
...de.supportEditingModes,
|
|
29770
|
-
|
|
29771
|
-
|
|
29772
|
-
|
|
30197
|
+
ue.CircularAppend,
|
|
30198
|
+
ue.CircularInsert,
|
|
30199
|
+
ue.HeightModify
|
|
29773
30200
|
]), f(vi, "defaults", {
|
|
29774
30201
|
...de.defaults,
|
|
29775
30202
|
fillStyle: {
|
|
@@ -29824,8 +30251,8 @@ const zi = class zi extends de {
|
|
|
29824
30251
|
};
|
|
29825
30252
|
f(zi, "type", zi.register("ESRectangle", zi, { chsName: "矩形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "矩形" })), f(zi, "supportEditingModes", [
|
|
29826
30253
|
...de.supportEditingModes,
|
|
29827
|
-
|
|
29828
|
-
|
|
30254
|
+
ue.DoublePointsAppend,
|
|
30255
|
+
ue.DoublePointsModify
|
|
29829
30256
|
]), f(zi, "defaults", {
|
|
29830
30257
|
...de.defaults,
|
|
29831
30258
|
ground: !1,
|
|
@@ -30178,15 +30605,31 @@ let vl = Xe;
|
|
|
30178
30605
|
})(vl || (vl = {}));
|
|
30179
30606
|
U(vl.prototype, vl.createDefaultProps);
|
|
30180
30607
|
const Ye = class Ye extends Ie {
|
|
30608
|
+
/**
|
|
30609
|
+
* 获取类的类型名称。
|
|
30610
|
+
* @returns 类的类型名称 'ESGeoWater'。
|
|
30611
|
+
*/
|
|
30181
30612
|
get typeName() {
|
|
30182
30613
|
return "ESGeoWater";
|
|
30183
30614
|
}
|
|
30615
|
+
/**
|
|
30616
|
+
* 获取默认属性。
|
|
30617
|
+
* @returns 默认属性对象。
|
|
30618
|
+
*/
|
|
30184
30619
|
get defaultProps() {
|
|
30185
30620
|
return Ye.createDefaultProps();
|
|
30186
30621
|
}
|
|
30622
|
+
/**
|
|
30623
|
+
* 构造函数,创建ESGeoWater实例。
|
|
30624
|
+
* @param id 实例的可选ID。
|
|
30625
|
+
*/
|
|
30187
30626
|
constructor(e) {
|
|
30188
30627
|
super(e);
|
|
30189
30628
|
}
|
|
30629
|
+
/**
|
|
30630
|
+
* 获取ES属性配置。
|
|
30631
|
+
* @returns ES属性配置对象。
|
|
30632
|
+
*/
|
|
30190
30633
|
getESProperties() {
|
|
30191
30634
|
const e = { ...super.getESProperties() };
|
|
30192
30635
|
return {
|
|
@@ -30200,13 +30643,18 @@ const Ye = class Ye extends Ie {
|
|
|
30200
30643
|
new Fe("流向", "控制水流方向,局部坐标方向", !1, !1, [this, "flowDirection"], 1, [0, 360], Ye.defaults.flowDirection),
|
|
30201
30644
|
new Fe("波动频率", "控制水波纹扰动的速率", !1, !1, [this, "waveVelocity"], 0.01, [0, 1], Ye.defaults.waveVelocity),
|
|
30202
30645
|
new Fe("镜面反射强度", "控制镜面反射强度的数值", !1, !1, [this, "specularIntensity"], 0.01, [0, 1], Ye.defaults.specularIntensity),
|
|
30203
|
-
new Fe("水体浑浊度", "控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0-10。", !1, !1, [this, "murkiness"], 0.1, [0, 10], Ye.defaults.murkiness),
|
|
30646
|
+
new Fe("水体浑浊度", "控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0 - 10。", !1, !1, [this, "murkiness"], 0.1, [0, 10], Ye.defaults.murkiness),
|
|
30204
30647
|
new E("水流速度", "控制水流速度,单位 米/秒", !1, !1, [this, "flowSpeed"], Ye.defaults.flowSpeed),
|
|
30205
30648
|
new Z("水的底色", "waterColor", !1, !1, [this, "waterColor"], Ye.defaults.waterColor),
|
|
30206
30649
|
new B("水的图片", "waterImage", !1, !1, [this, "waterImage"], Ye.defaults.waterImage)
|
|
30207
30650
|
]
|
|
30208
30651
|
};
|
|
30209
30652
|
}
|
|
30653
|
+
/**
|
|
30654
|
+
* 获取属性配置。
|
|
30655
|
+
* @param language 语言类型。
|
|
30656
|
+
* @returns 属性配置数组。
|
|
30657
|
+
*/
|
|
30210
30658
|
getProperties(e) {
|
|
30211
30659
|
return [
|
|
30212
30660
|
...super.getProperties(e),
|
|
@@ -30220,14 +30668,17 @@ const Ye = class Ye extends Ie {
|
|
|
30220
30668
|
new Fe("振幅", "控制水波振幅的数值", !1, !1, [this, "amplitude"], 0.01, [0, 1], Ye.defaults.amplitude),
|
|
30221
30669
|
new Fe("镜面反射强度", "控制镜面反射强度的数值", !1, !1, [this, "specularIntensity"], 0.01, [0, 1], Ye.defaults.specularIntensity),
|
|
30222
30670
|
new Fe("流向", "控制水流方向,局部坐标方向", !1, !1, [this, "flowDirection"], 1, [0, 360], Ye.defaults.flowDirection),
|
|
30223
|
-
new Fe("水体浑浊度", "控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0-10。", !1, !1, [this, "murkiness"], 0.1, [0, 10], Ye.defaults.murkiness),
|
|
30671
|
+
new Fe("水体浑浊度", "控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0 - 10。", !1, !1, [this, "murkiness"], 0.1, [0, 10], Ye.defaults.murkiness),
|
|
30224
30672
|
new E("水流速度", "控制水流速度,单位 米/秒", !1, !1, [this, "flowSpeed"], Ye.defaults.flowSpeed)
|
|
30225
30673
|
])
|
|
30226
30674
|
];
|
|
30227
30675
|
}
|
|
30228
30676
|
};
|
|
30677
|
+
/**
|
|
30678
|
+
* 注册类类型,指定类名为'ESGeoWater',并提供中文名称、标签和描述。
|
|
30679
|
+
*/
|
|
30229
30680
|
f(Ye, "type", Ye.register("ESGeoWater", Ye, { chsName: "地理水面", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "地理动态水面" })), /**
|
|
30230
|
-
*
|
|
30681
|
+
* 默认属性说明:
|
|
30231
30682
|
* baseWaterColor: [0.1497, 0.165, 0.0031, 1] 水的底色
|
|
30232
30683
|
* frequency: 1000 频率:控制波数的数值,单位 次/千米
|
|
30233
30684
|
* waveVelocity: 0.5 波动速率:控制水波纹扰动的速率
|
|
@@ -30236,7 +30687,7 @@ f(Ye, "type", Ye.register("ESGeoWater", Ye, { chsName: "地理水面", tags: ["E
|
|
|
30236
30687
|
* waterType:river 水域类型,当为custom是其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果
|
|
30237
30688
|
* flowDirection: 0 流动方向:控制水流方向,局部坐标方向
|
|
30238
30689
|
* flowSpeed: 0 流动速度:控制水流速度,单位 米/秒
|
|
30239
|
-
* murkiness: 5 水体浑浊度,控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0-10。
|
|
30690
|
+
* murkiness: 5 水体浑浊度,控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围0 - 10。
|
|
30240
30691
|
*/
|
|
30241
30692
|
f(Ye, "defaults", {
|
|
30242
30693
|
...Ie.defaults,
|
|
@@ -30256,17 +30707,27 @@ let yl = Ye;
|
|
|
30256
30707
|
((n) => {
|
|
30257
30708
|
n.createDefaultProps = () => ({
|
|
30258
30709
|
...Ie.createDefaultProps(),
|
|
30710
|
+
/**是否允许拾取 默认为true */
|
|
30259
30711
|
allowPicking: !0,
|
|
30260
|
-
|
|
30712
|
+
/**水的图片*/
|
|
30261
30713
|
waterImage: et(void 0),
|
|
30262
|
-
|
|
30714
|
+
/**水体颜色 */
|
|
30715
|
+
waterColor: [0.1497, 0.165, 31e-4, 1],
|
|
30716
|
+
/**频率, 控制波数的数值(次/千米) */
|
|
30263
30717
|
frequency: 1e3,
|
|
30718
|
+
/**波动频率, 控制水波纹扰动的速率 */
|
|
30264
30719
|
waveVelocity: 0.5,
|
|
30720
|
+
/**振幅, 控制水波振幅的数值 */
|
|
30265
30721
|
amplitude: 0.1,
|
|
30722
|
+
/**镜面反射强度, 控制镜面反射强度的数值 */
|
|
30266
30723
|
specularIntensity: 0.8,
|
|
30724
|
+
/**水域类型 [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]] 当为 custom 时其他控制效果的参数生效,否则不生效,使用对应水域类型的预定效果 */
|
|
30267
30725
|
waterType: "river",
|
|
30726
|
+
/**流向, 控制水流方向,局部坐标方向 */
|
|
30268
30727
|
flowDirection: 0,
|
|
30728
|
+
/**水流速度, 控制水流速度,单位 米/秒 */
|
|
30269
30729
|
flowSpeed: 0,
|
|
30730
|
+
/**水体浑浊度, 控制水体的浑浊程度,数值越大,浑浊程度越大,取值范围 0 - 10。 */
|
|
30270
30731
|
murkiness: 5
|
|
30271
30732
|
});
|
|
30272
30733
|
})(yl || (yl = {}));
|
|
@@ -30454,8 +30915,8 @@ const zr = class zr extends de {
|
|
|
30454
30915
|
};
|
|
30455
30916
|
f(zr, "type", zr.register("ESVisibilityAnalysis", zr, { chsName: "通视分析,视线分析", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "通视分析,视线分析" })), f(zr, "supportEditingModes", [
|
|
30456
30917
|
...de.supportEditingModes,
|
|
30457
|
-
|
|
30458
|
-
|
|
30918
|
+
ue.VisibilityAppend,
|
|
30919
|
+
ue.VisibilityModify
|
|
30459
30920
|
]), f(zr, "defaults", {
|
|
30460
30921
|
...de.defaults,
|
|
30461
30922
|
visibleColor: [0, 1, 0, 1],
|
|
@@ -30701,10 +31162,26 @@ let fs = Qt;
|
|
|
30701
31162
|
})(fs || (fs = {}));
|
|
30702
31163
|
U(fs.prototype, fs.createDefaultProps);
|
|
30703
31164
|
const $o = class $o extends fs {
|
|
31165
|
+
/**
|
|
31166
|
+
* 构造函数,初始化ESHole实例。
|
|
31167
|
+
* @param id 可选参数,实例的ID。
|
|
31168
|
+
*/
|
|
30704
31169
|
constructor(t) {
|
|
30705
31170
|
super(t);
|
|
31171
|
+
/**
|
|
31172
|
+
* 私有属性,存储ESExcavate实例。
|
|
31173
|
+
* 该实例的ID为当前实例ID加上 '_ESExcavate' 后缀。
|
|
31174
|
+
*/
|
|
30706
31175
|
f(this, "_excavate", this.dv(new Us(`${this.id}_ESExcavate`)));
|
|
31176
|
+
/**
|
|
31177
|
+
* 私有属性,存储ESPit实例。
|
|
31178
|
+
* 该实例的ID为当前实例ID加上 '_ESPit' 后缀。
|
|
31179
|
+
*/
|
|
30707
31180
|
f(this, "_pit", this.dv(new fs(`${this.id}_ESPit`)));
|
|
31181
|
+
/**
|
|
31182
|
+
* 公共属性,指示该类是否为组合类。
|
|
31183
|
+
* 这里设置为true,表示该类是组合类。
|
|
31184
|
+
*/
|
|
30708
31185
|
f(this, "combinationClass", !0);
|
|
30709
31186
|
this.mainClass = this._pit, this.d(this.components.disposableAdd(this._excavate)), this.d(this.components.disposableAdd(this._pit));
|
|
30710
31187
|
{
|
|
@@ -30720,32 +31197,57 @@ const $o = class $o extends fs {
|
|
|
30720
31197
|
}));
|
|
30721
31198
|
}
|
|
30722
31199
|
}
|
|
31200
|
+
/**
|
|
31201
|
+
* 获取类的类型名称。
|
|
31202
|
+
* @returns 类的类型名称,固定为 'ESHole'。
|
|
31203
|
+
*/
|
|
30723
31204
|
get typeName() {
|
|
30724
31205
|
return "ESHole";
|
|
30725
31206
|
}
|
|
31207
|
+
/**
|
|
31208
|
+
* 获取默认属性。
|
|
31209
|
+
* @returns 调用createDefaultProps方法创建的默认属性对象。
|
|
31210
|
+
*/
|
|
30726
31211
|
get defaultProps() {
|
|
30727
31212
|
return $o.createDefaultProps();
|
|
30728
31213
|
}
|
|
31214
|
+
/**
|
|
31215
|
+
* 获取ESExcavate实例。
|
|
31216
|
+
* @returns ESExcavate实例。
|
|
31217
|
+
*/
|
|
30729
31218
|
get excavate() {
|
|
30730
31219
|
return this._excavate;
|
|
30731
31220
|
}
|
|
31221
|
+
/**
|
|
31222
|
+
* 重写获取ES属性的方法。
|
|
31223
|
+
* 获取当前实例的ES属性,包括基本属性。
|
|
31224
|
+
* @returns 包含ES属性的对象。
|
|
31225
|
+
*/
|
|
30732
31226
|
getESProperties() {
|
|
30733
31227
|
const t = { ...super.getESProperties() };
|
|
30734
31228
|
return {
|
|
30735
31229
|
...t,
|
|
30736
31230
|
basic: [
|
|
30737
31231
|
...t.basic,
|
|
31232
|
+
// 添加模式的枚举属性
|
|
30738
31233
|
new X("模式", "mode", !1, !1, [this, "mode"], Us.defaults.modes, "in"),
|
|
31234
|
+
// 添加瓦片图层的字符串属性
|
|
30739
31235
|
new J("瓦片图层", "targetID", !1, !1, [this, "targetID"], "")
|
|
30740
31236
|
]
|
|
30741
31237
|
};
|
|
30742
31238
|
}
|
|
30743
31239
|
};
|
|
31240
|
+
/**
|
|
31241
|
+
* 静态属性,用于注册类的类型信息。
|
|
31242
|
+
* 包含类名、中文名称、标签和描述。
|
|
31243
|
+
*/
|
|
30744
31244
|
f($o, "type", $o.register("ESHole", $o, { chsName: "挖坑(带材质+深度)", tags: ["ESObjects"], description: "挖坑" }));
|
|
30745
31245
|
let Pl = $o;
|
|
30746
31246
|
((n) => {
|
|
30747
31247
|
n.createDefaultProps = () => ({
|
|
31248
|
+
/** 挖坑方向 向内或向外 */
|
|
30748
31249
|
mode: "in",
|
|
31250
|
+
/** 瓦片图层id */
|
|
30749
31251
|
targetID: "",
|
|
30750
31252
|
...fs.createDefaultProps()
|
|
30751
31253
|
});
|
|
@@ -31678,15 +32180,29 @@ let Nl = fo;
|
|
|
31678
32180
|
})(Nl || (Nl = {}));
|
|
31679
32181
|
U(Nl.prototype, Nl.createDefaultProps);
|
|
31680
32182
|
const Br = class Br extends Ie {
|
|
32183
|
+
/**
|
|
32184
|
+
* 获取对象的类型名称,固定返回 'ESGeoExtrudedPolygon'。
|
|
32185
|
+
*/
|
|
31681
32186
|
get typeName() {
|
|
31682
32187
|
return "ESGeoExtrudedPolygon";
|
|
31683
32188
|
}
|
|
32189
|
+
/**
|
|
32190
|
+
* 获取对象的默认属性,调用静态方法 createDefaultProps 创建默认属性。
|
|
32191
|
+
*/
|
|
31684
32192
|
get defaultProps() {
|
|
31685
32193
|
return Br.createDefaultProps();
|
|
31686
32194
|
}
|
|
32195
|
+
/**
|
|
32196
|
+
* 构造函数,初始化拉升多边形体对象。
|
|
32197
|
+
* @param id - 场景对象的唯一标识符,可选参数。
|
|
32198
|
+
*/
|
|
31687
32199
|
constructor(e) {
|
|
31688
32200
|
super(e), this.collision = !1;
|
|
31689
32201
|
}
|
|
32202
|
+
/**
|
|
32203
|
+
* 获取对象的 ES 属性,包括坐标和样式相关的属性。
|
|
32204
|
+
* @returns 包含对象 ES 属性的对象。
|
|
32205
|
+
*/
|
|
31690
32206
|
getESProperties() {
|
|
31691
32207
|
const e = { ...super.getESProperties() };
|
|
31692
32208
|
return {
|
|
@@ -31716,6 +32232,11 @@ const Br = class Br extends Ie {
|
|
|
31716
32232
|
]
|
|
31717
32233
|
};
|
|
31718
32234
|
}
|
|
32235
|
+
/**
|
|
32236
|
+
* 获取对象的属性,包含父类的属性以及新增的通用属性组。
|
|
32237
|
+
* @param language - 语言类型,用于国际化处理。
|
|
32238
|
+
* @returns 包含对象属性的数组。
|
|
32239
|
+
*/
|
|
31719
32240
|
getProperties(e) {
|
|
31720
32241
|
return [
|
|
31721
32242
|
...super.getProperties(e),
|
|
@@ -31727,10 +32248,20 @@ const Br = class Br extends Ie {
|
|
|
31727
32248
|
];
|
|
31728
32249
|
}
|
|
31729
32250
|
};
|
|
31730
|
-
|
|
32251
|
+
/**
|
|
32252
|
+
* 静态属性,用于注册类的类型信息。
|
|
32253
|
+
* 注册名称为 'ESGeoExtrudedPolygon',并包含中文名称、标签和描述信息。
|
|
32254
|
+
*/
|
|
32255
|
+
f(Br, "type", Br.register("ESGeoExtrudedPolygon", Br, { chsName: "拉升多边形体", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "拉升多边形体" })), /**
|
|
32256
|
+
* 静态属性,支持的编辑模式,包含父类支持的编辑模式以及新增的高度修改模式。
|
|
32257
|
+
*/
|
|
32258
|
+
f(Br, "supportEditingModes", [
|
|
31731
32259
|
...Ie.supportEditingModes,
|
|
31732
|
-
|
|
31733
|
-
]),
|
|
32260
|
+
ue.HeightModify
|
|
32261
|
+
]), /**
|
|
32262
|
+
* 静态属性,对象的默认值,包含父类的默认值以及新增的高度、拉伸高度和是否应用每个位置高度的默认值。
|
|
32263
|
+
*/
|
|
32264
|
+
f(Br, "defaults", {
|
|
31734
32265
|
...Ie.defaults,
|
|
31735
32266
|
height: 0,
|
|
31736
32267
|
extrudedHeight: 10,
|
|
@@ -31740,17 +32271,33 @@ let Gs = Br;
|
|
|
31740
32271
|
((n) => {
|
|
31741
32272
|
n.createDefaultProps = () => ({
|
|
31742
32273
|
...Ie.createDefaultProps(),
|
|
32274
|
+
/**地面高度 */
|
|
31743
32275
|
height: 0,
|
|
32276
|
+
/**拉伸高度 */
|
|
31744
32277
|
extrudedHeight: 10,
|
|
32278
|
+
/**是否应用每个位置高度 */
|
|
31745
32279
|
perPositionHeight: !1
|
|
31746
32280
|
});
|
|
31747
32281
|
})(Gs || (Gs = {}));
|
|
31748
32282
|
U(Gs.prototype, Gs.createDefaultProps);
|
|
31749
32283
|
const po = class po extends Ie {
|
|
32284
|
+
/**
|
|
32285
|
+
* 构造函数,初始化控高分析对象。
|
|
32286
|
+
* @param id - 对象的可选ID。
|
|
32287
|
+
*/
|
|
31750
32288
|
constructor(t) {
|
|
31751
32289
|
super(t);
|
|
32290
|
+
/**
|
|
32291
|
+
* 倾斜单体化对象,用于处理倾斜单体化相关逻辑。
|
|
32292
|
+
*/
|
|
31752
32293
|
f(this, "_classification", this.dv(new zo(`${this.id}_ESClassification`)));
|
|
32294
|
+
/**
|
|
32295
|
+
* 盒子对象,用于表示控高区域的立体形状。
|
|
32296
|
+
*/
|
|
31753
32297
|
f(this, "_geoExtrudedPolygon", this.dv(new Gs(`${this.id}_ESGeoExtrudedPolygon`)));
|
|
32298
|
+
/**
|
|
32299
|
+
* 表示该对象是否为组合类。
|
|
32300
|
+
*/
|
|
31754
32301
|
f(this, "combinationClass", !0);
|
|
31755
32302
|
this.mainClass = this._geoExtrudedPolygon, this.d(this.components.disposableAdd(this._classification)), this.d(this.components.disposableAdd(this._geoExtrudedPolygon));
|
|
31756
32303
|
{
|
|
@@ -31787,26 +32334,38 @@ const po = class po extends Ie {
|
|
|
31787
32334
|
}));
|
|
31788
32335
|
}
|
|
31789
32336
|
}
|
|
32337
|
+
/**
|
|
32338
|
+
* 获取类的类型名称。
|
|
32339
|
+
* @returns 类的类型名称。
|
|
32340
|
+
*/
|
|
31790
32341
|
get typeName() {
|
|
31791
32342
|
return "ESHeightLimitAnalysis";
|
|
31792
32343
|
}
|
|
32344
|
+
/**
|
|
32345
|
+
* 获取默认属性。
|
|
32346
|
+
* @returns 默认属性对象。
|
|
32347
|
+
*/
|
|
31793
32348
|
get defaultProps() {
|
|
31794
32349
|
return po.createDefaultProps();
|
|
31795
32350
|
}
|
|
31796
|
-
|
|
31797
|
-
|
|
31798
|
-
|
|
31799
|
-
|
|
31800
|
-
this._innerSetJson(t);
|
|
31801
|
-
}
|
|
31802
|
-
//倾斜单体化
|
|
32351
|
+
/**
|
|
32352
|
+
* 获取倾斜单体化对象。
|
|
32353
|
+
* @returns 倾斜单体化对象。
|
|
32354
|
+
*/
|
|
31803
32355
|
get classification() {
|
|
31804
32356
|
return this._classification;
|
|
31805
32357
|
}
|
|
31806
|
-
|
|
32358
|
+
/**
|
|
32359
|
+
* 获取盒子对象。
|
|
32360
|
+
* @returns 盒子对象。
|
|
32361
|
+
*/
|
|
31807
32362
|
get geoExtrudedPolygon() {
|
|
31808
32363
|
return this._geoExtrudedPolygon;
|
|
31809
32364
|
}
|
|
32365
|
+
/**
|
|
32366
|
+
* 获取ES属性,包括基本属性和样式属性。
|
|
32367
|
+
* @returns ES属性对象。
|
|
32368
|
+
*/
|
|
31810
32369
|
getESProperties() {
|
|
31811
32370
|
const t = { ...super.getESProperties() };
|
|
31812
32371
|
return {
|
|
@@ -31838,6 +32397,11 @@ const po = class po extends Ie {
|
|
|
31838
32397
|
]
|
|
31839
32398
|
};
|
|
31840
32399
|
}
|
|
32400
|
+
/**
|
|
32401
|
+
* 获取指定语言的属性列表。
|
|
32402
|
+
* @param language - 语言标识。
|
|
32403
|
+
* @returns 属性列表。
|
|
32404
|
+
*/
|
|
31841
32405
|
getProperties(t) {
|
|
31842
32406
|
return [
|
|
31843
32407
|
...super.getProperties(t),
|
|
@@ -31848,19 +32412,29 @@ const po = class po extends Ie {
|
|
|
31848
32412
|
];
|
|
31849
32413
|
}
|
|
31850
32414
|
};
|
|
31851
|
-
|
|
32415
|
+
/**
|
|
32416
|
+
* 静态属性,用于注册类类型,包含类名、显示名称、标签和描述信息。
|
|
32417
|
+
*/
|
|
32418
|
+
f(po, "type", po.register("ESHeightLimitAnalysis", po, { chsName: "控高分析", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "控高分析对象" })), /**
|
|
32419
|
+
* 静态属性,支持的编辑模式,包含ESGeoPolygon的编辑模式和高度修改模式。
|
|
32420
|
+
*/
|
|
32421
|
+
f(po, "supportEditingModes", [
|
|
31852
32422
|
...Ie.supportEditingModes,
|
|
31853
|
-
|
|
32423
|
+
ue.HeightModify
|
|
31854
32424
|
]);
|
|
31855
32425
|
let Dl = po;
|
|
31856
32426
|
((n) => {
|
|
31857
32427
|
n.createDefaultProps = () => ({
|
|
32428
|
+
/** 高度 默认值 10 */
|
|
31858
32429
|
height: 10,
|
|
31859
32430
|
//高度
|
|
32431
|
+
/** 最高高度 默认值 200 */
|
|
31860
32432
|
maxHeight: 200,
|
|
31861
32433
|
//最高高度
|
|
32434
|
+
/** 超高颜色 默认值 [1, 0, 0, 0.5] */
|
|
31862
32435
|
overheightColor: [1, 0, 0, 0.5],
|
|
31863
32436
|
//超高颜色
|
|
32437
|
+
/** 标准颜色 默认值 [0, 1, 0, 0.5] */
|
|
31864
32438
|
standardColor: [0, 1, 0, 0.5],
|
|
31865
32439
|
//标准颜色
|
|
31866
32440
|
...Ie.createDefaultProps()
|
|
@@ -32058,7 +32632,7 @@ let Ol = $t;
|
|
|
32058
32632
|
});
|
|
32059
32633
|
})(Ol || (Ol = {}));
|
|
32060
32634
|
U(Ol.prototype, Ol.createDefaultProps);
|
|
32061
|
-
class Su extends
|
|
32635
|
+
class Su extends ae {
|
|
32062
32636
|
/**
|
|
32063
32637
|
* 构造函数,初始化绝对播放器。
|
|
32064
32638
|
*/
|
|
@@ -32456,7 +33030,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32456
33030
|
]
|
|
32457
33031
|
]
|
|
32458
33032
|
\`\`\`
|
|
32459
|
-
`,
|
|
33033
|
+
`, _r = class _r extends ae {
|
|
32460
33034
|
/**
|
|
32461
33035
|
* 构造函数。
|
|
32462
33036
|
* @param sceneObject 场景对象,可选。
|
|
@@ -32577,12 +33151,12 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32577
33151
|
return;
|
|
32578
33152
|
await o.promise(dp(1e3));
|
|
32579
33153
|
const a = await o.promise(fetch(this.dataUri)), l = await o.promise(a.text());
|
|
32580
|
-
this.timePosRots =
|
|
33154
|
+
this.timePosRots = _r.parseData(l);
|
|
32581
33155
|
}));
|
|
32582
33156
|
this.dispose(this.dataUriChanged.disposableOn(() => {
|
|
32583
33157
|
s.restart();
|
|
32584
33158
|
})), this.dispose(this.dataTextChanged.disposableOn(() => {
|
|
32585
|
-
this.dataText && (this.timePosRots =
|
|
33159
|
+
this.dataText && (this.timePosRots = _r.parseData(this.dataText));
|
|
32586
33160
|
}));
|
|
32587
33161
|
}
|
|
32588
33162
|
}
|
|
@@ -32720,7 +33294,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32720
33294
|
console.warn("timePosRots不存在,无法计算!");
|
|
32721
33295
|
return;
|
|
32722
33296
|
}
|
|
32723
|
-
this.timePosRots =
|
|
33297
|
+
this.timePosRots = _r.computeRotIfUndefinedUsingPrevLine(this.timePosRots, t);
|
|
32724
33298
|
}
|
|
32725
33299
|
/**
|
|
32726
33300
|
* 使用后一条线段计算未定义的旋转。
|
|
@@ -32731,7 +33305,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32731
33305
|
console.warn("timePosRots不存在,无法计算!");
|
|
32732
33306
|
return;
|
|
32733
33307
|
}
|
|
32734
|
-
this.timePosRots =
|
|
33308
|
+
this.timePosRots = _r.computeRotIfUndefinedUsingNextLine(this.timePosRots, t);
|
|
32735
33309
|
}
|
|
32736
33310
|
/**
|
|
32737
33311
|
* 使用线性插值计算未定义的旋转。
|
|
@@ -32742,7 +33316,7 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32742
33316
|
console.warn("timePosRots不存在,无法计算!");
|
|
32743
33317
|
return;
|
|
32744
33318
|
}
|
|
32745
|
-
this.timePosRots =
|
|
33319
|
+
this.timePosRots = _r.computeRotIfUndefinedUsingLerp(this.timePosRots, t);
|
|
32746
33320
|
}
|
|
32747
33321
|
/**
|
|
32748
33322
|
* @deprecated computeRotIfUndefined已弃用,请使用computeRotIfUndefinedUsingPrevLine
|
|
@@ -32812,25 +33386,25 @@ timePosRots是一个内部包含三个元素的数组,第一个表示时间戳
|
|
|
32812
33386
|
/**
|
|
32813
33387
|
* 使用前一条线段计算未定义的旋转。
|
|
32814
33388
|
*/
|
|
32815
|
-
f(
|
|
33389
|
+
f(_r, "computeRotIfUndefinedUsingPrevLine", Ad), /**
|
|
32816
33390
|
* 使用后一条线段计算未定义的旋转。
|
|
32817
33391
|
*/
|
|
32818
|
-
f(
|
|
33392
|
+
f(_r, "computeRotIfUndefinedUsingNextLine", Fd), /**
|
|
32819
33393
|
* 使用线性插值计算未定义的旋转。
|
|
32820
33394
|
*/
|
|
32821
|
-
f(
|
|
33395
|
+
f(_r, "computeRotIfUndefinedUsingLerp", $y), /**
|
|
32822
33396
|
* 获取左旋转。
|
|
32823
33397
|
*/
|
|
32824
|
-
f(
|
|
33398
|
+
f(_r, "getLeftRotation", kd), /**
|
|
32825
33399
|
* 获取右旋转。
|
|
32826
33400
|
*/
|
|
32827
|
-
f(
|
|
33401
|
+
f(_r, "getRightRotation", Vd), /**
|
|
32828
33402
|
* 解析数据的静态方法。
|
|
32829
33403
|
*/
|
|
32830
|
-
f(
|
|
33404
|
+
f(_r, "parseData", r0), /**
|
|
32831
33405
|
* 默认属性。
|
|
32832
33406
|
*/
|
|
32833
|
-
f(
|
|
33407
|
+
f(_r, "defaults", {
|
|
32834
33408
|
timePosRots: [],
|
|
32835
33409
|
startTime: 0,
|
|
32836
33410
|
stopTime: 3e3,
|
|
@@ -32841,8 +33415,8 @@ f(yr, "defaults", {
|
|
|
32841
33415
|
}), /**
|
|
32842
33416
|
* 时间-位置-旋转数据的元数据。
|
|
32843
33417
|
*/
|
|
32844
|
-
f(
|
|
32845
|
-
let jo =
|
|
33418
|
+
f(_r, "timePosRotsMd", i0);
|
|
33419
|
+
let jo = _r;
|
|
32846
33420
|
((n) => {
|
|
32847
33421
|
n.createDefaultProps = () => ({
|
|
32848
33422
|
/**
|
|
@@ -34277,7 +34851,7 @@ function Yc(n) {
|
|
|
34277
34851
|
const e = document.createElement("div");
|
|
34278
34852
|
return e.style.cssText = "width: 100%; height: 100%; margin: 0px; padding: 0px; border: none; overflow: hidden; position: relative; z-index: 0; background: rgba(0,0,0,0);", n.appendChild(e), e;
|
|
34279
34853
|
}
|
|
34280
|
-
class sp extends
|
|
34854
|
+
class sp extends ae {
|
|
34281
34855
|
/**
|
|
34282
34856
|
* 构造函数,初始化场景对象监听。
|
|
34283
34857
|
* @param _sceneObjectsMananger - 场景对象管理器,用于获取场景对象和监听对象变化。
|
|
@@ -34327,7 +34901,7 @@ class sp extends he {
|
|
|
34327
34901
|
return this._createSceneObjectListeningFunc;
|
|
34328
34902
|
}
|
|
34329
34903
|
}
|
|
34330
|
-
class l0 extends
|
|
34904
|
+
class l0 extends ae {
|
|
34331
34905
|
/**
|
|
34332
34906
|
* 构造函数,初始化ESPath和ESPlayer与时间的绑定逻辑。
|
|
34333
34907
|
* @param _esObjectsManager - ESObjectsManager实例,用于管理ES对象。
|
|
@@ -34336,16 +34910,16 @@ class l0 extends he {
|
|
|
34336
34910
|
super(), this._esObjectsManager = e;
|
|
34337
34911
|
{
|
|
34338
34912
|
const t = this._esObjectsManager;
|
|
34339
|
-
class r extends
|
|
34913
|
+
class r extends ae {
|
|
34340
34914
|
/**
|
|
34341
34915
|
* 构造函数,初始化ESPath与活动查看器模拟时间的绑定。
|
|
34342
34916
|
* @param _esPath - ESPath对象,需要绑定时间的路径。
|
|
34343
34917
|
*/
|
|
34344
34918
|
constructor(s) {
|
|
34345
|
-
super(), this._esPath = s, this.dv(new
|
|
34919
|
+
super(), this._esPath = s, this.dv(new lr(t.activeViewerChanged, () => {
|
|
34346
34920
|
const o = t.activeViewer;
|
|
34347
34921
|
if (!o) return;
|
|
34348
|
-
class a extends
|
|
34922
|
+
class a extends ae {
|
|
34349
34923
|
/**
|
|
34350
34924
|
* 构造函数,初始化路径时间更新逻辑。
|
|
34351
34925
|
* @param _esPath - ESPath对象,需要更新时间的路径。
|
|
@@ -34370,7 +34944,7 @@ class l0 extends he {
|
|
|
34370
34944
|
}
|
|
34371
34945
|
{
|
|
34372
34946
|
const t = this._esObjectsManager;
|
|
34373
|
-
class r extends
|
|
34947
|
+
class r extends ae {
|
|
34374
34948
|
/**
|
|
34375
34949
|
* 构造函数,初始化ESPlayer与活动查看器模拟时间的绑定。
|
|
34376
34950
|
* @param esPlayer - ESPlayer对象,需要绑定时间的播放器。
|
|
@@ -34391,7 +34965,7 @@ class l0 extends he {
|
|
|
34391
34965
|
}
|
|
34392
34966
|
}
|
|
34393
34967
|
}
|
|
34394
|
-
class u0 extends
|
|
34968
|
+
class u0 extends ae {
|
|
34395
34969
|
/**
|
|
34396
34970
|
* 构造函数,初始化 ChannelsResetting 实例。
|
|
34397
34971
|
* @param objChannels - 包含路径和相关场景对象的通道数组。
|
|
@@ -34410,7 +34984,7 @@ class u0 extends he {
|
|
|
34410
34984
|
});
|
|
34411
34985
|
}
|
|
34412
34986
|
}
|
|
34413
|
-
class c0 extends
|
|
34987
|
+
class c0 extends ae {
|
|
34414
34988
|
/**
|
|
34415
34989
|
* 构造函数,初始化 PathAnimationManager 实例。
|
|
34416
34990
|
* @param _objectManager - ESObjectsManager 实例,用于获取动画播放器。
|
|
@@ -34425,7 +34999,7 @@ class c0 extends he {
|
|
|
34425
34999
|
* 私有属性,存储通道配置的响应式数组。
|
|
34426
35000
|
*/
|
|
34427
35001
|
f(this, "_channels", this.dv(ye([])));
|
|
34428
|
-
this._objectManager = t, this._player = this._objectManager.player, this.dv(new
|
|
35002
|
+
this._objectManager = t, this._player = this._objectManager.player, this.dv(new lr(this.channelsChanged, () => {
|
|
34429
35003
|
if (this.channels.length === 0) return;
|
|
34430
35004
|
const r = [];
|
|
34431
35005
|
for (let i = 0; i < this.channels.length; i++) {
|
|
@@ -34531,7 +35105,7 @@ function op(n, e, t, r) {
|
|
|
34531
35105
|
}
|
|
34532
35106
|
}
|
|
34533
35107
|
const f0 = ["editing", "positionEditing", "locationEditing", "pointEditing", "rotationEditing"];
|
|
34534
|
-
class p0 extends
|
|
35108
|
+
class p0 extends ae {
|
|
34535
35109
|
/**
|
|
34536
35110
|
* 构造函数
|
|
34537
35111
|
* @param _sceneObject - 关联的场景对象
|
|
@@ -34558,7 +35132,7 @@ class p0 extends he {
|
|
|
34558
35132
|
return this._sceneObject;
|
|
34559
35133
|
}
|
|
34560
35134
|
}
|
|
34561
|
-
class d0 extends
|
|
35135
|
+
class d0 extends ae {
|
|
34562
35136
|
/**
|
|
34563
35137
|
* 构造函数
|
|
34564
35138
|
*/
|
|
@@ -34611,7 +35185,7 @@ class d0 extends he {
|
|
|
34611
35185
|
return this._currentActiveEditingLastChangedTime;
|
|
34612
35186
|
}
|
|
34613
35187
|
}
|
|
34614
|
-
class g0 extends
|
|
35188
|
+
class g0 extends ae {
|
|
34615
35189
|
/**
|
|
34616
35190
|
* 构造函数,初始化场景对象管理器。
|
|
34617
35191
|
* 在销毁时,如果仍有场景对象被管理,会输出警告信息。
|
|
@@ -34706,7 +35280,7 @@ class g0 extends he {
|
|
|
34706
35280
|
function ap(n, e) {
|
|
34707
35281
|
return n.length === e.length && n.every((t, r) => t === e[r]);
|
|
34708
35282
|
}
|
|
34709
|
-
class m0 extends
|
|
35283
|
+
class m0 extends ae {
|
|
34710
35284
|
/**
|
|
34711
35285
|
* 构造函数。
|
|
34712
35286
|
* @param _viewer - ESViewer 实例,用于获取和设置当前时间和模拟时间。
|
|
@@ -34727,7 +35301,7 @@ class m0 extends he {
|
|
|
34727
35301
|
// this.d(updateEvent.don(update));
|
|
34728
35302
|
// }
|
|
34729
35303
|
}
|
|
34730
|
-
class v0 extends
|
|
35304
|
+
class v0 extends ae {
|
|
34731
35305
|
/**
|
|
34732
35306
|
* 构造函数。
|
|
34733
35307
|
* @param _viewer - 需要同步的 ESViewer 实例。
|
|
@@ -34759,7 +35333,7 @@ class v0 extends he {
|
|
|
34759
35333
|
const y0 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" width="40" height="40" style="shape-rendering: auto; display: block; background: rgba(255, 255, 255, 0);" xmlns:xlink="http://www.w3.org/1999/xlink"><g><circle stroke-linecap="round" fill="none" stroke-dasharray="50.26548245743669 50.26548245743669" stroke="#ffffff" stroke-width="8" r="32" cy="50" cx="50">
|
|
34760
35334
|
<animateTransform values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" repeatCount="indefinite" type="rotate" attributeName="transform"></animateTransform>
|
|
34761
35335
|
</circle><g></g></g></svg>
|
|
34762
|
-
`, _0 = '<svg t="1747028305766" class="icon" viewBox="0 0 1032 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3881" width="40" height="40"><path d="M0.1536 547.700736c-0.205824-0.187392-0.205824-0.49152 0.008192-0.68608l80.672768-73.590784a0.63488 0.63488 0 0 1 0.7936-0.029696l263.043072 203.0336c0.667648 0.515072 1.738752 0.498688 2.393088-0.038912l609.191936-500.133888a0.605184 0.605184 0 0 1 0.768 0.022528l74.84928 67.229696a0.454656 0.454656 0 0 1-0.002048 0.685056l-685.234176 618.19904a1.14688 1.14688 0 0 1-1.518592-0.012288L0.1536 547.700736z" fill="#ffffff" p-id="3882"></path></svg>', w0 = '<svg t="1747028398107" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1146" width="40" height="40"><path d="M415.744006 1.033277A0.992256 0.992256 0 0 1 416.747526 0.000061h189.5045c0.569344 0 1.017856 0.45056 1.001472 1.033216l-21.227518 754.803667a1.062912 1.062912 0 0 1-1.05984 1.032192h-146.933752c-0.569344 0-1.04448-0.45056-1.059839-1.032192L415.744006 1.033277zM511.510528 1024c-52.595709 0-95.231994-39.866366-95.231994-89.043963 0-49.176573 42.636285-89.042939 95.231994-89.042938 52.594685 0 95.231994 39.866366 95.231994 89.042938 0 49.177597-42.637309 89.043963-95.231994 89.043963z" fill="#ffffff" p-id="1147"></path></svg>', _o = class _o extends
|
|
35336
|
+
`, _0 = '<svg t="1747028305766" class="icon" viewBox="0 0 1032 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3881" width="40" height="40"><path d="M0.1536 547.700736c-0.205824-0.187392-0.205824-0.49152 0.008192-0.68608l80.672768-73.590784a0.63488 0.63488 0 0 1 0.7936-0.029696l263.043072 203.0336c0.667648 0.515072 1.738752 0.498688 2.393088-0.038912l609.191936-500.133888a0.605184 0.605184 0 0 1 0.768 0.022528l74.84928 67.229696a0.454656 0.454656 0 0 1-0.002048 0.685056l-685.234176 618.19904a1.14688 1.14688 0 0 1-1.518592-0.012288L0.1536 547.700736z" fill="#ffffff" p-id="3882"></path></svg>', w0 = '<svg t="1747028398107" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1146" width="40" height="40"><path d="M415.744006 1.033277A0.992256 0.992256 0 0 1 416.747526 0.000061h189.5045c0.569344 0 1.017856 0.45056 1.001472 1.033216l-21.227518 754.803667a1.062912 1.062912 0 0 1-1.05984 1.032192h-146.933752c-0.569344 0-1.04448-0.45056-1.059839-1.032192L415.744006 1.033277zM511.510528 1024c-52.595709 0-95.231994-39.866366-95.231994-89.043963 0-49.176573 42.636285-89.042939 95.231994-89.042938 52.594685 0 95.231994 39.866366 95.231994 89.042938 0 49.177597-42.637309 89.043963-95.231994 89.043963z" fill="#ffffff" p-id="1147"></path></svg>', _o = class _o extends ae {
|
|
34763
35337
|
/**
|
|
34764
35338
|
* 构造函数,初始化状态容器
|
|
34765
35339
|
* @param viewer - ESViewer 实例,用于显示视口信息
|
|
@@ -34775,7 +35349,7 @@ const y0 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preser
|
|
|
34775
35349
|
};
|
|
34776
35350
|
i(), this.d(e.useDefaultStatusDivChanged.don(i)), this.d(e.statusChanged.don(i)), r.cssText = "width:100%;height:100%;position:absolute;left:0px;top:0px;";
|
|
34777
35351
|
}
|
|
34778
|
-
e.add(r), this.d(() => e.delete(r)), r.instanceClass = class extends
|
|
35352
|
+
e.add(r), this.d(() => e.delete(r)), r.instanceClass = class extends ae {
|
|
34779
35353
|
/**
|
|
34780
35354
|
* 构造函数,初始化自定义的 DOM 元素
|
|
34781
35355
|
* @param _subContainer - 外部视口的 div 容器
|
|
@@ -34824,7 +35398,7 @@ const y0 = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preser
|
|
|
34824
35398
|
*/
|
|
34825
35399
|
f(_o, "defaultsSvg", { loadingSvg: y0, successSvg: _0, warnSvg: w0 });
|
|
34826
35400
|
let ah = _o;
|
|
34827
|
-
class E0 extends
|
|
35401
|
+
class E0 extends ae {
|
|
34828
35402
|
/**
|
|
34829
35403
|
* 构造函数,初始化容器样式控制器。
|
|
34830
35404
|
* @param _subContainer - 子容器的 HTML 元素。
|
|
@@ -34852,7 +35426,7 @@ function qu(n) {
|
|
|
34852
35426
|
let e = ta(n, "_relativeContainer");
|
|
34853
35427
|
return e || (e = document.createElement("div"), e.style.position = "relative", e.style.width = "100%", e.style.height = "100%", e.style.padding = "0", e.style.margin = "0", n.appendChild(e), iu(n, "_relativeContainer", e)), e;
|
|
34854
35428
|
}
|
|
34855
|
-
class S0 extends
|
|
35429
|
+
class S0 extends ae {
|
|
34856
35430
|
/**
|
|
34857
35431
|
* 构造函数,初始化 ViewerContainer 实例。
|
|
34858
35432
|
* @param _container - 主容器元素
|
|
@@ -34901,7 +35475,7 @@ class S0 extends he {
|
|
|
34901
35475
|
return this._container;
|
|
34902
35476
|
}
|
|
34903
35477
|
}
|
|
34904
|
-
class C0 extends
|
|
35478
|
+
class C0 extends ae {
|
|
34905
35479
|
constructor() {
|
|
34906
35480
|
super(...arguments);
|
|
34907
35481
|
/**
|
|
@@ -34947,7 +35521,7 @@ class C0 extends he {
|
|
|
34947
35521
|
return new i(t);
|
|
34948
35522
|
}
|
|
34949
35523
|
}
|
|
34950
|
-
class P0 extends
|
|
35524
|
+
class P0 extends ae {
|
|
34951
35525
|
/**
|
|
34952
35526
|
* 构造函数,初始化视口自定义交互实例。
|
|
34953
35527
|
* @param _viewer - ESViewer 实例,用于触发相关事件。
|
|
@@ -34998,7 +35572,48 @@ class P0 extends he {
|
|
|
34998
35572
|
this.d(y.don((d) => this._viewer.wheelEvent.emit(d)));
|
|
34999
35573
|
}
|
|
35000
35574
|
}
|
|
35001
|
-
|
|
35575
|
+
class I0 extends ae {
|
|
35576
|
+
constructor(t) {
|
|
35577
|
+
super();
|
|
35578
|
+
f(this, "viewer");
|
|
35579
|
+
const r = this.viewer = t;
|
|
35580
|
+
this.ad(new lr(r.rollerShutterChanged, () => {
|
|
35581
|
+
var a;
|
|
35582
|
+
const i = (a = r.container) == null ? void 0 : a.parentElement;
|
|
35583
|
+
if (!i || !r.rollerShutter)
|
|
35584
|
+
return;
|
|
35585
|
+
const s = new ae();
|
|
35586
|
+
this.viewer.splitPosition = 0.5;
|
|
35587
|
+
let o = this.getRollerShutterDIV();
|
|
35588
|
+
return i.appendChild(o), s.d(() => {
|
|
35589
|
+
this.viewer.splitPosition = 0, i.removeChild(o);
|
|
35590
|
+
}), s;
|
|
35591
|
+
}));
|
|
35592
|
+
}
|
|
35593
|
+
getRollerShutterDIV() {
|
|
35594
|
+
let t = document.createElement("div");
|
|
35595
|
+
t.style.position = "absolute", t.style.left = "50%", t.style.top = "0", t.style.backgroundColor = "#d3d3d3", t.style.width = "5px", t.style.height = "100%", t.style.zIndex = "9999";
|
|
35596
|
+
const r = (i) => {
|
|
35597
|
+
if (!t.parentElement) return;
|
|
35598
|
+
i.preventDefault ? i.preventDefault() : i.returnValue = !1;
|
|
35599
|
+
const o = i.x / t.parentElement.offsetWidth;
|
|
35600
|
+
t.style.left = `${100 * o}%`, this.viewer.splitPosition = o;
|
|
35601
|
+
};
|
|
35602
|
+
return t.addEventListener("mousedown", (i) => {
|
|
35603
|
+
document.addEventListener("mousemove", r);
|
|
35604
|
+
}), document.addEventListener("mouseup", (i) => {
|
|
35605
|
+
document.removeEventListener("mousemove", r);
|
|
35606
|
+
}), t;
|
|
35607
|
+
}
|
|
35608
|
+
}
|
|
35609
|
+
class b0 extends ae {
|
|
35610
|
+
constructor(t) {
|
|
35611
|
+
super();
|
|
35612
|
+
f(this, "rollerShutterAnalysis");
|
|
35613
|
+
this.rollerShutterAnalysis = this.ad(new I0(t));
|
|
35614
|
+
}
|
|
35615
|
+
}
|
|
35616
|
+
const yi = class yi extends ae {
|
|
35002
35617
|
/**
|
|
35003
35618
|
* 构造函数,初始化视口。
|
|
35004
35619
|
* @param option 视口的选项。
|
|
@@ -35044,7 +35659,7 @@ const yi = class yi extends he {
|
|
|
35044
35659
|
/**
|
|
35045
35660
|
* 交互重置对象,根据重置交互事件进行重置。
|
|
35046
35661
|
*/
|
|
35047
|
-
f(this, "_interactionResetting", this.dv(new
|
|
35662
|
+
f(this, "_interactionResetting", this.dv(new lr(this._resetInteractionEvent, () => {
|
|
35048
35663
|
if (!(!this.container || !this._useCustomInteraction.value))
|
|
35049
35664
|
return new P0(this, this.container);
|
|
35050
35665
|
})));
|
|
@@ -35059,7 +35674,7 @@ const yi = class yi extends he {
|
|
|
35059
35674
|
/**
|
|
35060
35675
|
* 容器重置对象,根据容器重置事件进行重置。
|
|
35061
35676
|
*/
|
|
35062
|
-
f(this, "_containerResetting", this.dv(new
|
|
35677
|
+
f(this, "_containerResetting", this.dv(new lr(this._containerResetEvent, () => {
|
|
35063
35678
|
if (this.container)
|
|
35064
35679
|
return new S0(this.container, this);
|
|
35065
35680
|
})));
|
|
@@ -35098,7 +35713,7 @@ const yi = class yi extends he {
|
|
|
35098
35713
|
/**
|
|
35099
35714
|
* 同步事件重置对象,根据同步视口变化事件进行重置。
|
|
35100
35715
|
*/
|
|
35101
|
-
f(this, "_syncEventDon", this.dv(new
|
|
35716
|
+
f(this, "_syncEventDon", this.dv(new lr(this.syncViewerChanged, () => {
|
|
35102
35717
|
const t = this.syncViewer;
|
|
35103
35718
|
if (t)
|
|
35104
35719
|
return new v0(this, t);
|
|
@@ -35106,7 +35721,7 @@ const yi = class yi extends he {
|
|
|
35106
35721
|
/**
|
|
35107
35722
|
* 时间同步重置对象,根据时间同步变化事件进行重置。
|
|
35108
35723
|
*/
|
|
35109
|
-
f(this, "_timeSyncdon", this.dv(new
|
|
35724
|
+
f(this, "_timeSyncdon", this.dv(new lr(this.timeSyncChanged, () => {
|
|
35110
35725
|
if (this.timeSync)
|
|
35111
35726
|
return new m0(this);
|
|
35112
35727
|
})));
|
|
@@ -35225,6 +35840,7 @@ const yi = class yi extends he {
|
|
|
35225
35840
|
this.toDestroyFunc && this.toDestroyFunc(this);
|
|
35226
35841
|
}));
|
|
35227
35842
|
}
|
|
35843
|
+
this.ad(new b0(this));
|
|
35228
35844
|
}
|
|
35229
35845
|
/**
|
|
35230
35846
|
* 强制重新创建视口。
|
|
@@ -35790,7 +36406,8 @@ f(yi, "defaults", {
|
|
|
35790
36406
|
width: 2
|
|
35791
36407
|
}
|
|
35792
36408
|
},
|
|
35793
|
-
globeShow: !0
|
|
36409
|
+
globeShow: !0,
|
|
36410
|
+
splitPosition: 0
|
|
35794
36411
|
});
|
|
35795
36412
|
let Oi = yi;
|
|
35796
36413
|
((n) => {
|
|
@@ -35952,7 +36569,15 @@ let Oi = yi;
|
|
|
35952
36569
|
/**
|
|
35953
36570
|
* 地形着色器配置,初始值为 ESViewer 的默认地形着色器配置。
|
|
35954
36571
|
*/
|
|
35955
|
-
terrainShader: n.defaults.terrainShader
|
|
36572
|
+
terrainShader: n.defaults.terrainShader,
|
|
36573
|
+
/**
|
|
36574
|
+
* 切分视口位置
|
|
36575
|
+
*/
|
|
36576
|
+
splitPosition: ee(void 0),
|
|
36577
|
+
/**
|
|
36578
|
+
* 是否开启卷帘,默认值为 false。
|
|
36579
|
+
*/
|
|
36580
|
+
rollerShutter: !1
|
|
35956
36581
|
}), n.createDefaultProps = () => ({
|
|
35957
36582
|
...(0, n.createBaseProps)(),
|
|
35958
36583
|
...(0, n.createCommonProps)()
|
|
@@ -35969,7 +36594,7 @@ function lp(n, e) {
|
|
|
35969
36594
|
});
|
|
35970
36595
|
}
|
|
35971
36596
|
}
|
|
35972
|
-
const
|
|
36597
|
+
const x0 = (n) => {
|
|
35973
36598
|
const e = Oi.createCommonProps(), t = {};
|
|
35974
36599
|
try {
|
|
35975
36600
|
Object.keys(e).forEach((r) => {
|
|
@@ -35989,7 +36614,7 @@ const I0 = (n) => {
|
|
|
35989
36614
|
console.warn(r);
|
|
35990
36615
|
}
|
|
35991
36616
|
};
|
|
35992
|
-
class
|
|
36617
|
+
class T0 extends ae {
|
|
35993
36618
|
/**
|
|
35994
36619
|
* 构造函数,初始化 `ViewersManager` 实例。
|
|
35995
36620
|
* @param _sceneObjectsManager 场景对象管理器实例,用于处理场景对象和视口之间的关联。
|
|
@@ -36098,7 +36723,7 @@ class b0 extends he {
|
|
|
36098
36723
|
return t.isDestroyed() ? !0 : (this._viewers.delete(t), this._viewersChanged.emit([t], []), t.destroy(), t.isDestroyed());
|
|
36099
36724
|
}
|
|
36100
36725
|
}
|
|
36101
|
-
class Eo extends
|
|
36726
|
+
class Eo extends ae {
|
|
36102
36727
|
/**
|
|
36103
36728
|
* ESObjectsManager 类的构造函数。
|
|
36104
36729
|
* @param args - 构造函数参数。
|
|
@@ -36116,7 +36741,7 @@ class Eo extends he {
|
|
|
36116
36741
|
/**
|
|
36117
36742
|
* 视口管理器,管理所有视口。
|
|
36118
36743
|
*/
|
|
36119
|
-
f(this, "_vrm", this.dv(new
|
|
36744
|
+
f(this, "_vrm", this.dv(new T0(this._sobjm)));
|
|
36120
36745
|
/**
|
|
36121
36746
|
* 场景对象编辑管理器。
|
|
36122
36747
|
*/
|
|
@@ -36440,7 +37065,7 @@ class Eo extends he {
|
|
|
36440
37065
|
*/
|
|
36441
37066
|
switchViewer(t, r = !0, i = !0, s = !0) {
|
|
36442
37067
|
var u;
|
|
36443
|
-
this.activeViewer && this.activeViewer.getNavigationMode() !== "Map" && this.activeViewer.changeToMap(), !this._lastCameraInfo && r && (this._lastCameraInfo = (u = this.activeViewer) == null ? void 0 : u.getCurrentCameraInfo()), !this._lastActiveViewerJson && i && (this._lastActiveViewerJson = this.activeViewer ?
|
|
37068
|
+
this.activeViewer && this.activeViewer.getNavigationMode() !== "Map" && this.activeViewer.changeToMap(), !this._lastCameraInfo && r && (this._lastCameraInfo = (u = this.activeViewer) == null ? void 0 : u.getCurrentCameraInfo()), !this._lastActiveViewerJson && i && (this._lastActiveViewerJson = this.activeViewer ? x0(this.activeViewer) : void 0), s && this.activeViewer && this.destroyViewer(this.activeViewer);
|
|
36444
37069
|
const o = t.id, a = o ? [...this.getViewers()].find((c) => c.id === o) : [...this.getViewers()].find((c) => c.typeName === t.type);
|
|
36445
37070
|
if (a)
|
|
36446
37071
|
if (o && a.typeName !== t.type)
|
|
@@ -36569,7 +37194,7 @@ f(Eo, "setEnv", re.context.setEnv.bind(re.context));
|
|
|
36569
37194
|
n.createDefaultProps = () => ({});
|
|
36570
37195
|
})(Eo || (Eo = {}));
|
|
36571
37196
|
U(Eo.prototype, Eo.createDefaultProps);
|
|
36572
|
-
function
|
|
37197
|
+
function N0() {
|
|
36573
37198
|
const n = navigator.userAgent;
|
|
36574
37199
|
let e = "Unknown";
|
|
36575
37200
|
/Windows/.test(n) ? e = "Windows" : /Macintosh/.test(n) ? e = "MacOS" : /Linux/.test(n) ? e = "Linux" : /Android/.test(n) ? e = "Android" : /iOS|iPhone|iPad|iPod/.test(n) && (e = "iOS");
|
|
@@ -36579,13 +37204,13 @@ function x0() {
|
|
|
36579
37204
|
arch: t.toLocaleLowerCase()
|
|
36580
37205
|
};
|
|
36581
37206
|
}
|
|
36582
|
-
const
|
|
37207
|
+
const D0 = Date.now();
|
|
36583
37208
|
function cp(n) {
|
|
36584
|
-
const { os: e, arch: t } =
|
|
37209
|
+
const { os: e, arch: t } = N0(), r = {
|
|
36585
37210
|
version: n.version,
|
|
36586
37211
|
commitdate: n.date,
|
|
36587
37212
|
commitId: n.commitId,
|
|
36588
|
-
runningTime: (Date.now() -
|
|
37213
|
+
runningTime: (Date.now() - D0) / 1e3 / 60 | 0,
|
|
36589
37214
|
// 产品运行时间(分钟)
|
|
36590
37215
|
date: (/* @__PURE__ */ new Date()).toLocaleString(),
|
|
36591
37216
|
// 日期
|
|
@@ -36604,7 +37229,7 @@ function cp(n) {
|
|
|
36604
37229
|
}
|
|
36605
37230
|
let $l;
|
|
36606
37231
|
try {
|
|
36607
|
-
const n = "earthsdk3", e = "3.0.8-beta.
|
|
37232
|
+
const n = "earthsdk3", e = "3.0.8-beta.5", t = "2025-06-19T00:47:05.000Z", r = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "468c6a33b6cf9a394b5cc013cf77153920efc031", a = ((Date.now() - 1750294025e3) / 36e5).toFixed(1), l = `%c🌏 ${n}%c ${e}.${s.slice(0, 8)}.${t} (距今${a}个小时)
|
|
36608
37233
|
%c${i ? i + `
|
|
36609
37234
|
` : ""}当前网站正在使用${n},此软件版权归${r}所有
|
|
36610
37235
|
`;
|
|
@@ -36618,7 +37243,7 @@ try {
|
|
|
36618
37243
|
},
|
|
36619
37244
|
// @ts-ignore
|
|
36620
37245
|
get gituri() {
|
|
36621
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
37246
|
+
return GITURI_ && GITURI_.replace("${commitId}", "468c6a33b6cf9a394b5cc013cf77153920efc031");
|
|
36622
37247
|
},
|
|
36623
37248
|
// @ts-ignore
|
|
36624
37249
|
get info() {
|
|
@@ -36626,7 +37251,7 @@ try {
|
|
|
36626
37251
|
},
|
|
36627
37252
|
// @ts-ignore
|
|
36628
37253
|
get date() {
|
|
36629
|
-
return "2025-06-
|
|
37254
|
+
return "2025-06-19T00:47:05.000Z";
|
|
36630
37255
|
},
|
|
36631
37256
|
// @ts-ignore
|
|
36632
37257
|
get author() {
|
|
@@ -36634,7 +37259,7 @@ try {
|
|
|
36634
37259
|
},
|
|
36635
37260
|
// @ts-ignore
|
|
36636
37261
|
get version() {
|
|
36637
|
-
return "3.0.8-beta.
|
|
37262
|
+
return "3.0.8-beta.5";
|
|
36638
37263
|
},
|
|
36639
37264
|
// @ts-ignore
|
|
36640
37265
|
get name() {
|
|
@@ -36642,7 +37267,7 @@ try {
|
|
|
36642
37267
|
},
|
|
36643
37268
|
// @ts-ignore
|
|
36644
37269
|
get commitId() {
|
|
36645
|
-
return "
|
|
37270
|
+
return "468c6a33b6cf9a394b5cc013cf77153920efc031";
|
|
36646
37271
|
},
|
|
36647
37272
|
/**
|
|
36648
37273
|
* 打印版权信息到控制台
|
|
@@ -36678,17 +37303,17 @@ try {
|
|
|
36678
37303
|
}
|
|
36679
37304
|
export {
|
|
36680
37305
|
Id as BasePropTreeItem,
|
|
36681
|
-
|
|
36682
|
-
|
|
36683
|
-
|
|
36684
|
-
|
|
36685
|
-
|
|
36686
|
-
|
|
37306
|
+
W0 as Boolean2Property,
|
|
37307
|
+
Y0 as Boolean2sProperty,
|
|
37308
|
+
q0 as Boolean3Property,
|
|
37309
|
+
H0 as Boolean3sProperty,
|
|
37310
|
+
X0 as Boolean4Property,
|
|
37311
|
+
J0 as Boolean4sProperty,
|
|
36687
37312
|
A as BooleanProperty,
|
|
36688
|
-
|
|
37313
|
+
F0 as BooleansProperty,
|
|
36689
37314
|
Z as ColorProperty,
|
|
36690
|
-
|
|
36691
|
-
|
|
37315
|
+
Q0 as ColorRgbProperty,
|
|
37316
|
+
$0 as DashPatternProperty,
|
|
36692
37317
|
qi as DateProperty,
|
|
36693
37318
|
Gh as DatesProperty,
|
|
36694
37319
|
sy as DragStartDataManager,
|
|
@@ -36735,9 +37360,9 @@ export {
|
|
|
36735
37360
|
Cl as ESHumanPoi,
|
|
36736
37361
|
ja as ESImageLabel,
|
|
36737
37362
|
Ua as ESImageryLayer,
|
|
36738
|
-
|
|
37363
|
+
ue as ESJEditingMode,
|
|
36739
37364
|
vg as ESJLonLatFormat,
|
|
36740
|
-
|
|
37365
|
+
o_ as ESJPickedResult,
|
|
36741
37366
|
Nt as ESLabel,
|
|
36742
37367
|
_l as ESLevelRuntimeModel,
|
|
36743
37368
|
al as ESLocalCircle,
|
|
@@ -36771,7 +37396,7 @@ export {
|
|
|
36771
37396
|
Il as ESRtsTileset,
|
|
36772
37397
|
Nl as ESScale,
|
|
36773
37398
|
re as ESSceneObject,
|
|
36774
|
-
|
|
37399
|
+
T_ as ESSceneObjectWithId,
|
|
36775
37400
|
Ha as ESSeparateFoliage,
|
|
36776
37401
|
Bl as ESSkylineAnalysis,
|
|
36777
37402
|
zl as ESStaticMesh,
|
|
@@ -36793,7 +37418,7 @@ export {
|
|
|
36793
37418
|
nl as ESWidget,
|
|
36794
37419
|
ra as EngineObject,
|
|
36795
37420
|
X as EnumProperty,
|
|
36796
|
-
|
|
37421
|
+
e_ as EnumStringsProperty,
|
|
36797
37422
|
Yi as EvalStringProperty,
|
|
36798
37423
|
oe as FunctionProperty,
|
|
36799
37424
|
Qf as GroupPropTreeItem,
|
|
@@ -36801,28 +37426,28 @@ export {
|
|
|
36801
37426
|
B as JsonProperty,
|
|
36802
37427
|
Kf as LeafPropTreeItem,
|
|
36803
37428
|
Hc as LongStringProperty,
|
|
36804
|
-
|
|
36805
|
-
|
|
36806
|
-
|
|
37429
|
+
R0 as MaximumScreenSpaceErrorProperty,
|
|
37430
|
+
t_ as MinmaxProperty,
|
|
37431
|
+
r_ as NearFarScalerProperty,
|
|
36807
37432
|
pg as NonreactiveJsonStringProperty,
|
|
36808
37433
|
Je as Number2Property,
|
|
36809
37434
|
hg as Number2sProperty,
|
|
36810
37435
|
Gt as Number3Property,
|
|
36811
37436
|
vp as Number3sProperty,
|
|
36812
37437
|
jr as Number4Property,
|
|
36813
|
-
|
|
36814
|
-
|
|
37438
|
+
U0 as Number4WithUndefinedProperty,
|
|
37439
|
+
G0 as Number4sProperty,
|
|
36815
37440
|
E as NumberProperty,
|
|
36816
|
-
|
|
37441
|
+
n_ as NumberRangeProperty,
|
|
36817
37442
|
Fe as NumberSliderProperty,
|
|
36818
|
-
|
|
37443
|
+
A0 as NumbersProperty,
|
|
36819
37444
|
fg as ParamsProperty,
|
|
36820
|
-
|
|
37445
|
+
s_ as PickedInfo,
|
|
36821
37446
|
Ni as Player,
|
|
36822
37447
|
ph as PlayerProperty,
|
|
36823
37448
|
Si as PositionProperty,
|
|
36824
37449
|
gg as PositionsProperty,
|
|
36825
|
-
|
|
37450
|
+
i_ as PositionsSetPropety,
|
|
36826
37451
|
Sy as PropTree,
|
|
36827
37452
|
Eu as PropUiTreeManager,
|
|
36828
37453
|
So as Property,
|
|
@@ -36833,14 +37458,14 @@ export {
|
|
|
36833
37458
|
yy as SceneTreeContextMenu,
|
|
36834
37459
|
Sr as SceneTreeItem,
|
|
36835
37460
|
hy as SceneTreeItemDragDrop,
|
|
36836
|
-
|
|
37461
|
+
k0 as String2Property,
|
|
36837
37462
|
cg as String2sProperty,
|
|
36838
|
-
|
|
36839
|
-
|
|
36840
|
-
|
|
36841
|
-
|
|
36842
|
-
|
|
36843
|
-
|
|
37463
|
+
V0 as String3Property,
|
|
37464
|
+
B0 as String3sProperty,
|
|
37465
|
+
z0 as String4Property,
|
|
37466
|
+
j0 as String4sProperty,
|
|
37467
|
+
Z0 as StringNumberProperty,
|
|
37468
|
+
K0 as StringNumbersProperty,
|
|
36844
37469
|
J as StringProperty,
|
|
36845
37470
|
ug as StringsProperty,
|
|
36846
37471
|
oy as TreeItemDragDrop,
|
|
@@ -36852,60 +37477,60 @@ export {
|
|
|
36852
37477
|
mp as WithUndefinedProperty,
|
|
36853
37478
|
Ay as addTreesCallFunc,
|
|
36854
37479
|
uy as bindCustomEditing,
|
|
36855
|
-
|
|
37480
|
+
a_ as booleanPointInPolygon,
|
|
36856
37481
|
iy as cartesianDistance,
|
|
36857
37482
|
wu as clamp0_360,
|
|
36858
37483
|
ly as clampN180_180,
|
|
36859
37484
|
$l as copyright,
|
|
36860
37485
|
Cy as createPropTreeFromSceneObject,
|
|
36861
37486
|
Vy as cutDownTreesCallFunc,
|
|
36862
|
-
|
|
37487
|
+
E_ as defaultInitSceneObjectOnCreatingFunc,
|
|
36863
37488
|
Pd as defaultLight122FromEnvironmentMapManager,
|
|
36864
|
-
|
|
37489
|
+
w_ as defaultUpdateSceneObjectOnPickingFunc,
|
|
36865
37490
|
qh as equalsN3,
|
|
36866
|
-
|
|
37491
|
+
l_ as geoAlong,
|
|
36867
37492
|
wp as geoArea,
|
|
36868
37493
|
Qv as geoBuffer,
|
|
36869
|
-
|
|
36870
|
-
|
|
37494
|
+
u_ as geoCenterOfMass,
|
|
37495
|
+
c_ as geoDestination,
|
|
36871
37496
|
$v as geoDifference,
|
|
36872
37497
|
Pp as geoDistance,
|
|
36873
37498
|
_h as geoHeading,
|
|
36874
37499
|
Zv as geoIntersect,
|
|
36875
|
-
|
|
36876
|
-
|
|
36877
|
-
|
|
37500
|
+
h_ as geoLineIntersect,
|
|
37501
|
+
p_ as geoNearestPointOnLine,
|
|
37502
|
+
d_ as geoPointToLineDistance,
|
|
36878
37503
|
ey as geoPolygonFromCircle,
|
|
36879
37504
|
Yf as geoPolygonOverlap,
|
|
36880
|
-
|
|
37505
|
+
g_ as geoRhumbDestination,
|
|
36881
37506
|
sm as geoRhumbDistance,
|
|
36882
|
-
|
|
37507
|
+
m_ as geoRhumbHeading,
|
|
36883
37508
|
Kv as geoUnion,
|
|
36884
|
-
|
|
37509
|
+
I_ as getDefaultValue,
|
|
36885
37510
|
hc as getDistancesFromPositions,
|
|
36886
|
-
|
|
36887
|
-
|
|
37511
|
+
v_ as getGeoBoundingSphereFromPositions,
|
|
37512
|
+
f_ as getMidpoint,
|
|
36888
37513
|
ty as getMinMaxCorner,
|
|
36889
|
-
|
|
37514
|
+
S_ as getSceneObjectTreeItem,
|
|
36890
37515
|
Hf as getXyzFromPostion,
|
|
36891
37516
|
zy as growthSimulationCallFunc,
|
|
36892
37517
|
ay as hasSameTags,
|
|
36893
37518
|
ys as hasSameViewerTags,
|
|
36894
|
-
|
|
36895
|
-
|
|
36896
|
-
|
|
37519
|
+
b_ as inOrderRunning,
|
|
37520
|
+
P_ as isJSONString,
|
|
37521
|
+
y_ as lbhToWebMerc,
|
|
36897
37522
|
us as lbhToXyz,
|
|
36898
37523
|
Wc as lerpAngle,
|
|
36899
37524
|
Cd as lerpRotation,
|
|
36900
37525
|
Sg as map,
|
|
36901
37526
|
Ry as optionsStr,
|
|
36902
37527
|
yp as reactPosition2Ds,
|
|
36903
|
-
|
|
36904
|
-
|
|
37528
|
+
D_ as registerCreatedEventUpdate,
|
|
37529
|
+
x_ as registerEventUpdate,
|
|
36905
37530
|
Fy as removeAllTreesCallFunc,
|
|
36906
|
-
|
|
37531
|
+
C_ as rpToap,
|
|
36907
37532
|
Gc as setSceneObjectTreeItem,
|
|
36908
37533
|
ky as updateTreeParamsCallFunc,
|
|
36909
|
-
|
|
37534
|
+
__ as webMercToLbh,
|
|
36910
37535
|
ry as xyzToLbh
|
|
36911
37536
|
};
|