@cearth/tools 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tools.js CHANGED
@@ -1,61 +1,61 @@
1
- import { WebGLConstants as R, Cartesian3 as l, HeadingPitchRoll as B, Quaternion as w, Matrix3 as g, Matrix4 as a, TranslationRotationScale as P, Plane as et, Transforms as _, BoundingSphere as O, JulianDate as h, Cartesian2 as x, ComponentDatatype as X, Cartographic as D, Cartesian4 as b, Rectangle as A, Matrix2 as F } from "cesium";
2
- import { mat4_decompose as it, getMatrixOfQuantizedMeshTerrainData as rt, Geometry as at, workerApi as st, GeometricRelation as z, computeSignAreaOfPolygon3 as Z, computeRelationAreaOfPolygon2Terrain as ct } from "@web-3d/tools";
3
- function Jt(t) {
4
- return k(t) || J(t) || lt(t);
1
+ import { WebGLConstants as P, Cartesian3 as l, HeadingPitchRoll as I, Quaternion as w, Matrix3 as g, Matrix4 as a, TranslationRotationScale as M, Plane as it, Transforms as E, BoundingSphere as C, JulianDate as h, Cartesian2 as x, ComponentDatatype as Z, Cartographic as D, Cartesian4 as O, Rectangle as v, Matrix2 as F } from "cesium";
2
+ import { MatrixComposeOrder as _, mat4_decompose_quat as rt, mat4_compose_quat as at, getMatrixOfQuantizedMeshTerrainData as st, Geometry as ct, workerApi as lt, GeometricRelation as z, computeSignAreaOfPolygon3 as K, computeRelationAreaOfPolygon2Terrain as ut } from "@web-3d/tools";
3
+ function Ut(t) {
4
+ return q(t) || J(t) || ft(t);
5
5
  }
6
- function k(t) {
6
+ function q(t) {
7
7
  return "modelMatrix" in t;
8
8
  }
9
9
  function J(t) {
10
10
  return "position" in t;
11
11
  }
12
- function lt(t) {
12
+ function ft(t) {
13
13
  return "positions" in t;
14
14
  }
15
- const ut = {
15
+ const mt = {
16
16
  /**
17
17
  * 8-bit signed byte corresponding to <code>gl.BYTE</code> and the type
18
18
  * of an element in <code>Int8Array</code>.
19
19
  */
20
- [R.BYTE]: Int8Array,
20
+ [P.BYTE]: Int8Array,
21
21
  /**
22
22
  * 8-bit unsigned byte corresponding to <code>UNSIGNED_BYTE</code> and the type
23
23
  * of an element in <code>Uint8Array</code>.
24
24
  */
25
- [R.UNSIGNED_BYTE]: Uint8Array,
25
+ [P.UNSIGNED_BYTE]: Uint8Array,
26
26
  /**
27
27
  * 16-bit signed short corresponding to <code>SHORT</code> and the type
28
28
  * of an element in <code>Int16Array</code>.
29
29
  */
30
- [R.SHORT]: Int16Array,
30
+ [P.SHORT]: Int16Array,
31
31
  /**
32
32
  * 16-bit unsigned short corresponding to <code>UNSIGNED_SHORT</code> and the type
33
33
  * of an element in <code>Uint16Array</code>.
34
34
  */
35
- [R.UNSIGNED_SHORT]: Uint16Array,
35
+ [P.UNSIGNED_SHORT]: Uint16Array,
36
36
  /**
37
37
  * 32-bit signed int corresponding to <code>INT</code> and the type
38
38
  * of an element in <code>Int32Array</code>.
39
39
  */
40
- [R.INT]: Int32Array,
40
+ [P.INT]: Int32Array,
41
41
  /**
42
42
  * 32-bit unsigned int corresponding to <code>UNSIGNED_INT</code> and the type
43
43
  * of an element in <code>Uint32Array</code>.
44
44
  */
45
- [R.UNSIGNED_INT]: Uint32Array,
45
+ [P.UNSIGNED_INT]: Uint32Array,
46
46
  /**
47
47
  * 32-bit floating-point corresponding to <code>FLOAT</code> and the type
48
48
  * of an element in <code>Float32Array</code>.
49
49
  */
50
- [R.FLOAT]: Float32Array,
50
+ [P.FLOAT]: Float32Array,
51
51
  /**
52
52
  * 64-bit floating-point corresponding to <code>gl.DOUBLE</code> (in Desktop OpenGL;
53
53
  * this is not supported in WebGL, and is emulated in Cesium via {@link GeometryPipeline.encodeAttribute})
54
54
  * and the type of an element in <code>Float64Array</code>.
55
55
  */
56
- [R.DOUBLE]: Float64Array
56
+ [P.DOUBLE]: Float64Array
57
57
  };
58
- var ft = /* @__PURE__ */ ((t) => (t[t.x = 0] = "x", t[t.y = 1] = "y", t[t.z = 2] = "z", t))(ft || {}), C = /* @__PURE__ */ ((t) => (t.x = "roll", t.y = "pitch", t.z = "heading", t))(C || {});
58
+ var pt = /* @__PURE__ */ ((t) => (t[t.x = 0] = "x", t[t.y = 1] = "y", t[t.z = 2] = "z", t))(pt || {}), b = /* @__PURE__ */ ((t) => (t.x = "roll", t.y = "pitch", t.z = "heading", t))(b || {});
59
59
  ((t) => {
60
60
  function o(i) {
61
61
  for (let [r, s] of Object.entries(t))
@@ -68,12 +68,12 @@ var ft = /* @__PURE__ */ ((t) => (t[t.x = 0] = "x", t[t.y = 1] = "y", t[t.z = 2]
68
68
  }
69
69
  t.toCartesian3 = n;
70
70
  function e(i) {
71
- return new B(-i[o("heading")], -i[o("pitch")], i[o("roll")]);
71
+ return new I(-i[o("heading")], -i[o("pitch")], i[o("roll")]);
72
72
  }
73
73
  t.toHeadingPitchRoll = e;
74
- })(C || (C = {}));
75
- var mt = /* @__PURE__ */ ((t) => (t[t.heading = 0] = "heading", t[t.pitch = 1] = "pitch", t[t.roll = 2] = "roll", t))(mt || {});
76
- function K(t) {
74
+ })(b || (b = {}));
75
+ var dt = /* @__PURE__ */ ((t) => (t[t.heading = 0] = "heading", t[t.pitch = 1] = "pitch", t[t.roll = 2] = "roll", t))(dt || {});
76
+ function $(t) {
77
77
  const o = t?.world, { translation: n, rotation: e, scale: i } = o && typeof o == "object" ? o : { translation: o, rotation: o, scale: o };
78
78
  return { ...t, worldTranslation: n, worldRotation: e, worldScale: i };
79
79
  }
@@ -82,43 +82,43 @@ function G(t) {
82
82
  const { axis: n, angle: e } = t;
83
83
  return w.fromAxisAngle(n, e);
84
84
  }
85
- const o = C.toHeadingPitchRoll(t);
85
+ const o = b.toHeadingPitchRoll(t);
86
86
  return w.fromHeadingPitchRoll(o);
87
87
  }
88
- function qt(t, o, n) {
88
+ function Yt(t, o, n) {
89
89
  const e = g.fromQuaternion(t), i = a.fromRotation(e), r = a.inverseTransformation(o, new a()), s = a.multiply(r, i, i);
90
- return $(s);
90
+ return tt(s);
91
91
  }
92
- function $(t, o) {
92
+ function tt(t, o) {
93
93
  const n = a.getMatrix3(t, new g()), e = w.fromRotationMatrix(n);
94
- return B.fromQuaternion(e, o);
94
+ return I.fromQuaternion(e, o);
95
95
  }
96
- function Lt(t, o, n) {
96
+ function jt(t, o, n) {
97
97
  n = n ?? new a();
98
98
  const e = a.inverse(o, new a());
99
99
  return a.multiply(e, t, n);
100
100
  }
101
- function pt(t, o, n) {
101
+ function yt(t, o, n) {
102
102
  let e = w.computeAxis(t, new l());
103
103
  if (e.equals(l.ZERO)) return null;
104
104
  const i = w.computeAngle(t);
105
105
  return e = a.multiplyByPointAsVector(o, e, e), w.fromAxisAngle(e, i);
106
106
  }
107
- function Ut(t, o, n) {
107
+ function Wt(t, o, n) {
108
108
  let e = w.computeAxis(t, new l());
109
109
  if (e.equals(l.ZERO)) return null;
110
110
  const i = w.computeAngle(t), r = a.inverse(o, new a());
111
111
  return e = a.multiplyByPointAsVector(r, e, e), w.fromAxisAngle(e, i);
112
112
  }
113
- function q(t, o) {
113
+ function L(t, o) {
114
114
  let { translation: n, rotation: e, scale: i } = t;
115
- const { referFrame: r, worldTranslation: s, worldRotation: c, worldScale: u } = K(o);
115
+ const { referFrame: r, worldTranslation: s, worldRotation: c, worldScale: u } = $(o);
116
116
  let f = null;
117
- return n && (s || (n = a.multiplyByPointAsVector(r, n, new l()))), e && (f = G(e), c || (f = pt(f, r))), i && (u || (i = a.multiplyByPointAsVector(r, i, new l()))), { translation: n, rotation: f, scale: i };
117
+ return n && (s || (n = a.multiplyByPointAsVector(r, n, new l()))), e && (f = G(e), c || (f = yt(f, r))), i && (u || (i = a.multiplyByPointAsVector(r, i, new l()))), { translation: n, rotation: f, scale: i };
118
118
  }
119
- function dt(t, o) {
119
+ function wt(t, o) {
120
120
  let { translation: n, rotation: e, scale: i } = t;
121
- const { referFrame: r, worldTranslation: s, worldRotation: c, worldScale: u } = K(o), f = r ? a.inverse(r, new a()) : null;
121
+ const { referFrame: r, worldTranslation: s, worldRotation: c, worldScale: u } = $(o), f = r ? a.inverse(r, new a()) : null;
122
122
  let m = null;
123
123
  if (n && s && (n = a.multiplyByPointAsVector(f, n, new l())), e && (m = G(e), c)) {
124
124
  let p = w.computeAxis(m, new l());
@@ -129,9 +129,9 @@ function dt(t, o) {
129
129
  }
130
130
  return i && u && (i = a.multiplyByPointAsVector(f, i, new l())), { translation: n, rotation: m, scale: i };
131
131
  }
132
- function yt(t, o) {
132
+ function gt(t, o) {
133
133
  const n = o?.defaultMatrix;
134
- let { translation: e, rotation: i, scale: r } = q(t, o);
134
+ let { translation: e, rotation: i, scale: r } = L(t, o);
135
135
  if (n) {
136
136
  if (e || (e = a.getTranslation(n, new l())), !i) {
137
137
  const c = a.getMatrix3(n, new g());
@@ -139,22 +139,22 @@ function yt(t, o) {
139
139
  }
140
140
  r || (r = a.getScale(n, new l()));
141
141
  }
142
- const s = new P(e ?? void 0, i ?? void 0, r ?? void 0);
142
+ const s = new M(e ?? void 0, i ?? void 0, r ?? void 0);
143
143
  return a.fromTranslationRotationScale(s);
144
144
  }
145
- function Yt(t) {
146
- const { translation: o, rotation: n, scale: e } = t, i = n ? G(n) : void 0, r = new P(o ?? void 0, i, e ?? void 0);
145
+ function Xt(t) {
146
+ const { translation: o, rotation: n, scale: e } = t, i = n ? G(n) : void 0, r = new M(o ?? void 0, i, e ?? void 0);
147
147
  return a.fromTranslationRotationScale(r);
148
148
  }
149
- function wt(t, o, n) {
149
+ function ht(t, o, n) {
150
150
  const e = l.subtract(o, t, new l()), i = l.subtract(n, t, new l()), r = l.cross(e, i, e);
151
151
  return l.normalize(r, e);
152
152
  }
153
- function jt(t, o, n) {
154
- const e = wt(t, o, n);
155
- return et.fromPointNormal(e, t);
153
+ function Zt(t, o, n) {
154
+ const e = ht(t, o, n);
155
+ return it.fromPointNormal(e, t);
156
156
  }
157
- function* Wt(t, o = !0, n, e) {
157
+ function* Kt(t, o = !0, n, e) {
158
158
  const i = t.length, r = o ? i : i - 1, s = n || e ? l.prototype.equalsEpsilon : l.prototype.equals;
159
159
  for (let c = 0; c < r; c++) {
160
160
  const u = t[c];
@@ -172,25 +172,25 @@ function H(t, o, n) {
172
172
  const e = a.inverse(o, new a()), i = a.multiply(t, e, e);
173
173
  return a.multiply(o, i, n);
174
174
  }
175
- function Xt(t, o, n, e) {
175
+ function $t(t, o, n, e) {
176
176
  e = e ?? new a();
177
177
  const i = a.inverse(n, new a());
178
178
  let r = a.multiply(i, t, i);
179
179
  return r = a.multiply(o, r, r), a.multiply(n, r, e);
180
180
  }
181
- function Zt(t, o, n) {
181
+ function tn(t, o, n) {
182
182
  const e = a.fromTranslation(t);
183
183
  return H(e, o, n);
184
184
  }
185
- function Kt(t, o, n, e) {
185
+ function nn(t, o, n, e) {
186
186
  const i = w.fromAxisAngle(t, o), r = g.fromQuaternion(i), s = a.fromRotation(r);
187
187
  return H(s, n, e);
188
188
  }
189
- function $t(t, o, n) {
189
+ function on(t, o, n) {
190
190
  const e = a.fromScale(t);
191
191
  return H(e, o, n);
192
192
  }
193
- function tn(t, o, n) {
193
+ function en(t, o, n) {
194
194
  const e = g.fromScale(o);
195
195
  if (n)
196
196
  for (const i of t)
@@ -202,37 +202,44 @@ function tn(t, o, n) {
202
202
  }
203
203
  return t;
204
204
  }
205
- function nn(t, o) {
205
+ function rn(t, o) {
206
206
  const { translation: n, rotation: e, scale: i } = t;
207
207
  let r;
208
208
  if (e) {
209
209
  const { axis: c, angle: u } = e;
210
210
  r = w.fromAxisAngle(c, u);
211
211
  }
212
- const s = new P(n ?? void 0, r, i ?? void 0);
212
+ const s = new M(n ?? void 0, r, i ?? void 0);
213
213
  return a.fromTranslationRotationScale(s, o ?? void 0);
214
214
  }
215
- function gt(t, o) {
216
- o ??= new P();
217
- const n = a.pack(t, []), e = [], i = [], r = [];
218
- return it(e, i, r, n), l.unpack(e, 0, o.translation), l.unpack(i, 0, o.scale), w.unpack(r, 0, o.rotation), o;
215
+ function xt(t, o, n) {
216
+ n ??= new M();
217
+ const e = a.pack(t, []), i = [], r = [], s = [], c = o ? _[o] : _.trs;
218
+ return rt(i, s, r, e, c), l.unpack(i, 0, n.translation), l.unpack(r, 0, n.scale), w.unpack(s, 0, n.rotation), n;
219
219
  }
220
- const ht = a.fromTranslationRotationScale;
221
- function xt(t) {
220
+ function Tt(t, o) {
221
+ return xt(t, null, o);
222
+ }
223
+ function an(t, o, n) {
224
+ const e = l.pack(t.translation, []), i = l.pack(t.scale, []), r = w.pack(t.rotation, []), s = o ? _[o] : _.trs, c = at([], e, r, i, s);
225
+ return a.unpack(c, 0, n);
226
+ }
227
+ const vt = a.fromTranslationRotationScale;
228
+ function At(t) {
222
229
  const o = a.inverse(t, new a()), n = new a();
223
230
  function e(r, s) {
224
- return s = ht(r, s), a.multiply(t, s, s);
231
+ return s = vt(r, s), a.multiply(t, s, s);
225
232
  }
226
233
  function i(r, s) {
227
- return a.multiply(o, r, n), gt(n, s);
234
+ return a.multiply(o, r, n), Tt(n, s);
228
235
  }
229
- return { compose: e, decompose: i };
236
+ return { compose: e, decompose: i, referInverse: o };
230
237
  }
231
- function on(t, o) {
232
- const n = _.eastNorthUpToFixedFrame(t, o ?? void 0);
233
- return xt(n);
238
+ function sn(t, o) {
239
+ const n = E.eastNorthUpToFixedFrame(t, o ?? void 0);
240
+ return { ...At(n), refer: n };
234
241
  }
235
- function en(t) {
242
+ function cn(t) {
236
243
  let o = t.boundingSphere;
237
244
  if (o)
238
245
  return o;
@@ -240,12 +247,12 @@ function en(t) {
240
247
  if (n) {
241
248
  n = Array.isArray(n) ? n : [n];
242
249
  const i = n.map((r) => r.geometry.boundingSphere);
243
- return O.fromBoundingSpheres(i);
250
+ return C.fromBoundingSpheres(i);
244
251
  }
245
252
  const e = t.positions;
246
- return e?.length > 0 ? O.fromPoints(e) : null;
253
+ return e?.length > 0 ? C.fromPoints(e) : null;
247
254
  }
248
- function rn(t, o) {
255
+ function ln(t, o) {
249
256
  o = o ?? new l();
250
257
  const n = t.position;
251
258
  if (n)
@@ -254,14 +261,14 @@ function rn(t, o) {
254
261
  if (e)
255
262
  return a.getTranslation(e, o);
256
263
  const i = t.positions;
257
- return i?.length > 0 ? O.fromPoints(i).center : null;
264
+ return i?.length > 0 ? C.fromPoints(i).center : null;
258
265
  }
259
- function an(t, o, n) {
260
- let { translation: e, rotation: i, scale: r } = q(o, n);
261
- const s = new P(e ?? void 0, i ?? void 0, r ?? void 0), c = a.fromTranslationRotationScale(s);
262
- return Tt(t, c);
266
+ function un(t, o, n) {
267
+ let { translation: e, rotation: i, scale: r } = L(o, n);
268
+ const s = new M(e ?? void 0, i ?? void 0, r ?? void 0), c = a.fromTranslationRotationScale(s);
269
+ return Pt(t, c);
263
270
  }
264
- function Tt(t, o) {
271
+ function Pt(t, o) {
265
272
  const n = t.modelMatrix;
266
273
  if (n)
267
274
  return a.multiply(o, n, n), t.modelMatrix = n, !0;
@@ -284,12 +291,12 @@ function Tt(t, o) {
284
291
  }
285
292
  return !1;
286
293
  }
287
- function sn(t, o, n) {
288
- const e = vt(t), i = yt(o, { ...n, defaultMatrix: e });
289
- return At(t, i);
294
+ function fn(t, o, n) {
295
+ const e = Rt(t), i = gt(o, { ...n, defaultMatrix: e });
296
+ return Mt(t, i);
290
297
  }
291
- function At(t, o) {
292
- if (k(t))
298
+ function Mt(t, o) {
299
+ if (q(t))
293
300
  return t.modelMatrix = o, !0;
294
301
  const n = a.getTranslation(o, new l());
295
302
  if (J(t)) {
@@ -301,7 +308,7 @@ function At(t, o) {
301
308
  }
302
309
  const e = t.positions;
303
310
  if (e?.length > 0) {
304
- const i = O.fromPoints(e);
311
+ const i = C.fromPoints(e);
305
312
  l.subtract(n, i.center, n);
306
313
  for (const r of e)
307
314
  l.add(r, n, r);
@@ -309,72 +316,72 @@ function At(t, o) {
309
316
  }
310
317
  return !1;
311
318
  }
312
- function vt(t) {
313
- if (k(t))
319
+ function Rt(t) {
320
+ if (q(t))
314
321
  return t.modelMatrix;
315
322
  if (J(t)) {
316
- const n = t.position, e = t.scale ?? 1, i = new P(n, void 0, new l(e, e, e));
323
+ const n = t.position, e = t.scale ?? 1, i = new M(n, void 0, new l(e, e, e));
317
324
  return a.fromTranslationRotationScale(i);
318
325
  }
319
326
  const o = t.positions;
320
327
  if (o?.length > 0) {
321
- const n = O.fromPoints(o);
328
+ const n = C.fromPoints(o);
322
329
  return a.fromTranslation(n.center);
323
330
  }
324
331
  return null;
325
332
  }
326
- function cn(t, o) {
327
- let { translation: n, rotation: e, scale: i } = q(o, o);
333
+ function mn(t, o) {
334
+ let { translation: n, rotation: e, scale: i } = L(o, o);
328
335
  const { reset: r, referFrame: s } = o, c = h.now(), u = !r;
329
336
  if (e) {
330
- let v = e;
337
+ let A = e;
331
338
  if (u) {
332
339
  const T = t.orientation?.getValue(c);
333
- T && (v = w.multiply(e, T, T));
340
+ T && (A = w.multiply(e, T, T));
334
341
  }
335
- t.orientation = v;
342
+ t.orientation = A;
336
343
  }
337
344
  if (n) {
338
- let v = n;
345
+ let A = n;
339
346
  if (u) {
340
347
  const T = t.position?.getValue(c);
341
- T && (v = l.add(T, n, T));
348
+ T && (A = l.add(T, n, T));
342
349
  }
343
- t.position = v;
350
+ t.position = A;
344
351
  }
345
352
  if (!s) return;
346
- const { translation: f, rotation: m, scale: p } = dt(o, o), d = new P(f ?? void 0, m ?? void 0, p ?? void 0);
353
+ const { translation: f, rotation: m, scale: p } = wt(o, o), d = new M(f ?? void 0, m ?? void 0, p ?? void 0);
347
354
  let y = a.fromTranslationRotationScale(d);
348
355
  if (y = H(y, s, y), p) {
349
- const v = t.box;
350
- v && Rt(v, p);
356
+ const A = t.box;
357
+ A && St(A, p);
351
358
  const T = t.cylinder;
352
- T && Pt(T, p);
353
- const U = t.ellipse;
354
- U && Mt(U, p);
355
- const Y = t.ellipsoid;
356
- Y && St(Y, p);
357
- const j = t.model;
358
- j && Dt(j, p, r);
359
- const W = t.plane;
360
- W && Vt(W, p);
361
- }
362
- const M = t.corridor;
363
- M && It(M, y, p);
359
+ T && Dt(T, p);
360
+ const Y = t.ellipse;
361
+ Y && Vt(Y, p);
362
+ const j = t.ellipsoid;
363
+ j && Bt(j, p);
364
+ const W = t.model;
365
+ W && It(W, p, r);
366
+ const X = t.plane;
367
+ X && Ot(X, p);
368
+ }
369
+ const R = t.corridor;
370
+ R && Ct(R, y, p);
364
371
  const V = t.polygon;
365
- V && Bt(V, y, p);
372
+ V && bt(V, y, p);
366
373
  const S = t.polyline;
367
- S && bt(S, y, p);
368
- const I = t.polylineVolume;
369
- I && Ot(I, y, p);
374
+ S && Nt(S, y, p);
375
+ const B = t.polylineVolume;
376
+ B && Ft(B, y, p);
370
377
  const N = t.wall;
371
- N && Ct(N, y, p);
378
+ N && _t(N, y, p);
372
379
  }
373
- function Rt(t, o) {
380
+ function St(t, o) {
374
381
  const n = h.now(), e = t.dimensions?.getValue(n);
375
382
  e && (t.dimensions = l.multiplyComponents(e, o, e));
376
383
  }
377
- function Pt(t, o) {
384
+ function Dt(t, o) {
378
385
  const n = h.now(), e = t.length?.getValue(n);
379
386
  e != null && (t.length = e * o.z);
380
387
  const i = Math.max(o.x, o.y), r = t.topRadius?.getValue(n);
@@ -382,7 +389,7 @@ function Pt(t, o) {
382
389
  const s = o.z, c = t.bottomRadius?.getValue(n);
383
390
  c != null && (t.bottomRadius = c * s);
384
391
  }
385
- function Mt(t, o) {
392
+ function Vt(t, o) {
386
393
  const n = h.now(), e = Math.max(o.x, o.y), i = o.z, r = t.semiMajorAxis?.getValue(n);
387
394
  r != null && (t.semiMajorAxis = r * e);
388
395
  const s = t.semiMinorAxis?.getValue(n);
@@ -392,13 +399,13 @@ function Mt(t, o) {
392
399
  const u = t.extrudedHeight?.getValue(n);
393
400
  u != null && (t.extrudedHeight = u * i);
394
401
  }
395
- function St(t, o) {
402
+ function Bt(t, o) {
396
403
  const n = h.now(), e = t.radii?.getValue(n);
397
404
  e != null && (t.radii = l.multiplyComponents(e, o, e));
398
405
  const i = t.innerRadii?.getValue(n);
399
406
  i != null && (t.innerRadii = l.multiplyComponents(i, o, i));
400
407
  }
401
- function Dt(t, o, n) {
408
+ function It(t, o, n) {
402
409
  let e = l.maximumComponent(o);
403
410
  if (!n) {
404
411
  const i = h.now(), r = t.scale?.getValue(i) ?? 1;
@@ -406,11 +413,11 @@ function Dt(t, o, n) {
406
413
  }
407
414
  t.scale = e;
408
415
  }
409
- function Vt(t, o) {
416
+ function Ot(t, o) {
410
417
  const n = h.now(), e = x.fromCartesian3(o), i = t.dimensions?.getValue(n);
411
418
  i && (t.dimensions = x.multiplyComponents(i, e, i));
412
419
  }
413
- function It(t, o, n) {
420
+ function Ct(t, o, n) {
414
421
  const e = h.now(), i = new l(), r = t.positions?.getValue(e);
415
422
  if (r?.length > 0) {
416
423
  for (const p of r)
@@ -422,23 +429,23 @@ function It(t, o, n) {
422
429
  const f = t.height?.getValue(e), m = s.z;
423
430
  f != null && (t.height = f * m);
424
431
  }
425
- function Bt(t, o, n) {
432
+ function bt(t, o, n) {
426
433
  const e = h.now(), i = new l(), r = t.hierarchy?.getValue(e);
427
- r && (tt(r, o), t.hierarchy = r);
434
+ r && (nt(r, o), t.hierarchy = r);
428
435
  const c = (n ?? a.getScale(o, i)).z, u = t.height?.getValue(e);
429
436
  u != null && (t.height = u * c);
430
437
  const f = t.extrudedHeight?.getValue(e);
431
438
  f != null && (t.extrudedHeight = f * c);
432
439
  }
433
- function tt(t, o) {
440
+ function nt(t, o) {
434
441
  const { positions: n, holes: e } = t;
435
442
  for (const i of n)
436
443
  a.multiplyByPoint(o, i, i);
437
444
  t.positions = n;
438
445
  for (const i of e)
439
- tt(i, o);
446
+ nt(i, o);
440
447
  }
441
- function bt(t, o, n) {
448
+ function Nt(t, o, n) {
442
449
  const e = h.now(), i = new l(), r = t.positions?.getValue(e);
443
450
  if (r?.length > 0) {
444
451
  for (const f of r)
@@ -448,7 +455,7 @@ function bt(t, o, n) {
448
455
  const s = n ?? a.getScale(o, i), c = Math.max(s.x, s.y);
449
456
  t.width?.getValue(e) != null && (t.width = c * scale);
450
457
  }
451
- function Ot(t, o, n) {
458
+ function Ft(t, o, n) {
452
459
  const e = h.now(), i = new l(), r = t.positions?.getValue(e);
453
460
  if (r?.length > 0) {
454
461
  for (const f of r)
@@ -462,7 +469,7 @@ function Ot(t, o, n) {
462
469
  t.shape = u;
463
470
  }
464
471
  }
465
- function Ct(t, o, n) {
472
+ function _t(t, o, n) {
466
473
  const e = h.now(), i = new l(), r = t.positions?.getValue(e);
467
474
  if (r?.length > 0) {
468
475
  for (const m of r)
@@ -474,53 +481,53 @@ function Ct(t, o, n) {
474
481
  const f = t.maximumHeights?.getValue(e);
475
482
  f != null && (graphicsgraphics.maximumHeights = f.map((m) => m * c));
476
483
  }
477
- function ln(t, o, n) {
484
+ function pn(t, o, n) {
478
485
  const e = h.now(), i = t.position?.getValue(e);
479
486
  if (!i) return null;
480
487
  const r = t.orientation?.getValue(e), s = t.model?.scale?.getValue(e) ?? 1, c = new l(s, s, s), u = o(i, n), f = a.inverse(u, new a()), m = a.multiplyByPoint(f, i, new l()), p = { translation: m, position: i, scale: c, rotation: new l() };
481
488
  let d;
482
489
  if (r) {
483
- const V = g.fromQuaternion(r), S = a.fromRotation(V), I = a.multiply(f, S, S), N = $(I);
484
- d = C.toCartesian3(N), p.rotation = d;
490
+ const V = g.fromQuaternion(r), S = a.fromRotation(V), B = a.multiply(f, S, S), N = tt(B);
491
+ d = b.toCartesian3(N), p.rotation = d;
485
492
  }
486
- const y = new P(m ?? void 0, d ? G(d) : void 0, c ?? void 0);
487
- let M = a.fromTranslationRotationScale(y);
488
- return p.matrix = M, p;
493
+ const y = new M(m ?? void 0, d ? G(d) : void 0, c ?? void 0);
494
+ let R = a.fromTranslationRotationScale(y);
495
+ return p.matrix = R, p;
489
496
  }
490
- function un(t) {
497
+ function dn(t) {
491
498
  return t.values.length / t.componentsPerAttribute;
492
499
  }
493
- function fn(t) {
494
- return X.getSizeInBytes(t.componentDatatype) * t.componentsPerAttribute;
500
+ function yn(t) {
501
+ return Z.getSizeInBytes(t.componentDatatype) * t.componentsPerAttribute;
495
502
  }
496
- function mn(t) {
497
- const { componentDatatype: o, vertexBuffer: n } = t, e = ut[o];
503
+ function wn(t) {
504
+ const { componentDatatype: o, vertexBuffer: n } = t, e = mt[o];
498
505
  if (!e) throw new Error("不支持的数据类型");
499
- const i = n.sizeInBytes, r = X.getSizeInBytes(o), s = i / r;
506
+ const i = n.sizeInBytes, r = Z.getSizeInBytes(o), s = i / r;
500
507
  let c = new e(s);
501
508
  return n.getBufferData(c, 0, 0, i), c;
502
509
  }
503
- new x(), new l(), new b();
504
- const E = [new x(), new x(), new x(), new x()], Q = [new l(), new l(), new l(), new l()];
505
- new b(), new b(), new b(), new b();
506
- const Nt = [new D(), new D(), new D(), new D()];
507
- new A(), new A(), new A(), new A();
510
+ new x(), new l(), new O();
511
+ const Q = [new x(), new x(), new x(), new x()], k = [new l(), new l(), new l(), new l()];
512
+ new O(), new O(), new O(), new O();
513
+ const zt = [new D(), new D(), new D(), new D()];
514
+ new v(), new v(), new v(), new v();
508
515
  new F(), new F(), new F(), new F();
509
516
  new g(), new g(), new g(), new g();
510
517
  new a(), new a(), new a(), new a();
511
518
  new w(), new w(), new w(), new w();
512
- new B(), new B(), new B(), new B();
513
- function pn(t, o = []) {
514
- const { stride: n, vertexArray: e } = t, i = e.length / n, r = Q[0];
519
+ new I(), new I(), new I(), new I();
520
+ function gn(t, o = []) {
521
+ const { stride: n, vertexArray: e } = t, i = e.length / n, r = k[0];
515
522
  for (let s = 0; s < i; s++)
516
523
  t.encoding.decodePosition(e, s, r), l.pack(r, o, o.length);
517
524
  return o;
518
525
  }
519
- function dn(t, o, n) {
526
+ function hn(t, o, n) {
520
527
  return t.encoding.decodePosition(t.vertexArray, o, n);
521
528
  }
522
- function Ft(t) {
523
- const { stride: o, vertices: n, indices: e, encoding: i } = t, r = n.length / o, s = Q[0], c = new Float32Array(r * 3), u = E[0], f = new Float32Array(r * 2), m = new Float32Array(r);
529
+ function Gt(t) {
530
+ const { stride: o, vertices: n, indices: e, encoding: i } = t, r = n.length / o, s = k[0], c = new Float32Array(r * 3), u = Q[0], f = new Float32Array(r * 2), m = new Float32Array(r);
524
531
  for (let p = 0; p < r; p++) {
525
532
  i.decodePosition(n, p, s), l.pack(s, c, p * 3);
526
533
  const d = i.decodeHeight(n, p);
@@ -536,56 +543,56 @@ function Ft(t) {
536
543
  count: r
537
544
  };
538
545
  }
539
- function nt(t, o) {
540
- const n = t._surface._tilesToRender, e = [], i = new A();
546
+ function ot(t, o) {
547
+ const n = t._surface._tilesToRender, e = [], i = new v();
541
548
  for (const r of n) {
542
549
  const { rectangle: s } = r;
543
- A.intersection(o, s, i) && e.push(r);
550
+ v.intersection(o, s, i) && e.push(r);
544
551
  }
545
552
  return e;
546
553
  }
547
- function yn(t) {
554
+ function xn(t) {
548
555
  const o = t._surface._tilesToRender;
549
- return zt(o);
556
+ return Ht(o);
550
557
  }
551
- function zt(t) {
558
+ function Ht(t) {
552
559
  const o = /* @__PURE__ */ new Set();
553
560
  for (const r of t)
554
561
  o.add(r.level);
555
562
  const n = [...o], e = Math.min.apply(Math, n), i = Math.max.apply(Math, n);
556
563
  return { min: e, max: i };
557
564
  }
558
- function ot(t) {
565
+ function et(t) {
559
566
  return t.map((o) => {
560
- const { mesh: n, terrainData: e } = o.data, i = Ft(n), { x: r, y: s, level: c } = o, u = [e._minimumHeight, e._maximumHeight];
567
+ const { mesh: n, terrainData: e } = o.data, i = Gt(n), { x: r, y: s, level: c } = o, u = [e._minimumHeight, e._maximumHeight];
561
568
  return { data: i, encoding: n.encoding, rectangle: o.rectangle, heightRange: u, x: r, y: s, level: c };
562
569
  });
563
570
  }
564
- function wn(t) {
571
+ function Tn(t) {
565
572
  const { x: o, y: n, level: e } = t;
566
573
  return t.data.terrainData.upsample(t.tilingScheme, o, n, e, o, n, e);
567
574
  }
568
- function Gt(t, o, n) {
569
- const { east: e, north: i, south: r, west: s } = o, c = Nt[0];
575
+ function kt(t, o, n) {
576
+ const { east: e, north: i, south: r, west: s } = o, c = zt[0];
570
577
  c.longitude = s, c.latitude = r;
571
- const u = t.positionToTileXY(c, n, E[0]);
578
+ const u = t.positionToTileXY(c, n, Q[0]);
572
579
  c.longitude = e, c.latitude = i;
573
- const f = t.positionToTileXY(c, n, E[1]), [m, p] = u.x < f.x ? [u.x, f.x] : [f.x, u.x], [d, y] = u.y < f.y ? [u.y, f.y] : [f.y, u.y];
580
+ const f = t.positionToTileXY(c, n, Q[1]), [m, p] = u.x < f.x ? [u.x, f.x] : [f.x, u.x], [d, y] = u.y < f.y ? [u.y, f.y] : [f.y, u.y];
574
581
  return { min: [m, d], max: [p, y] };
575
582
  }
576
- const Ht = 32767;
577
- function gn(t, o = new l()) {
578
- return g.getScale(t.halfAxes, o), l.multiplyByScalar(o, 2 * Ht, o), o;
583
+ const Qt = 32767;
584
+ function vn(t, o = new l()) {
585
+ return g.getScale(t.halfAxes, o), l.multiplyByScalar(o, 2 * Qt, o), o;
579
586
  }
580
- function L(t, o, n) {
587
+ function U(t, o, n) {
581
588
  return n = t.getLocalCurvature(o, n), n.x = 1 / n.x, n.y = 1 / n.y, n;
582
589
  }
583
- function hn(t, o, n) {
584
- n = L(t, o, n);
590
+ function An(t, o, n) {
591
+ n = U(t, o, n);
585
592
  const e = Math.PI / 180;
586
593
  return x.multiplyByScalar(n, e, n);
587
594
  }
588
- function Qt(t) {
595
+ function Et(t) {
589
596
  const { _quantizedVertices: o, _indices: n } = t, e = o.length / 3, i = {
590
597
  type: "Float32Array",
591
598
  start: 0,
@@ -606,17 +613,17 @@ function Qt(t) {
606
613
  indices: n
607
614
  };
608
615
  }
609
- async function xn(t, o, n, e) {
616
+ async function Pn(t, o, n, e) {
610
617
  const i = await t.requestTileGeometry(o, n, e);
611
618
  if (!i) return null;
612
- const r = Qt(i), s = [data._minimumHeight, data._maximumHeight], c = t.tilingScheme.tileXYToRectangle(o, n, e), u = rt(c, s), f = a.fromArray(u, void 0), m = ["u", "v", "height"], p = new at({ ...r, positionNames: m }), d = new l();
613
- return p.mapForAggregate(m, (y, M) => (l.fromArray(y, 0, d), a.multiplyByPoint(f, d, d), new D(d.x, d.y, d.z)));
619
+ const r = Et(i), s = [data._minimumHeight, data._maximumHeight], c = t.tilingScheme.tileXYToRectangle(o, n, e), u = st(c, s), f = a.fromArray(u, void 0), m = ["u", "v", "height"], p = new ct({ ...r, positionNames: m }), d = new l();
620
+ return p.mapForAggregate(m, (y, R) => (l.fromArray(y, 0, d), a.multiplyByPoint(f, d, d), new D(d.x, d.y, d.z)));
614
621
  }
615
- async function Tn(t, o, n) {
616
- const { min: e, max: i } = Gt(t.tilingScheme, o, n), r = [], s = [];
622
+ async function Mn(t, o, n) {
623
+ const { min: e, max: i } = kt(t.tilingScheme, o, n), r = [], s = [];
617
624
  for (let u = e[0]; u <= i[0]; u++)
618
625
  for (let f = e[1]; f <= i[1]; f++) {
619
- const m = Et(t, u, f, n);
626
+ const m = qt(t, u, f, n);
620
627
  m && (r.push(m), s.push({ x: u, y: f }));
621
628
  }
622
629
  return (await Promise.all(r)).map(function(u, f) {
@@ -624,23 +631,23 @@ async function Tn(t, o, n) {
624
631
  return { x: m, y: p, level: n, data: u };
625
632
  });
626
633
  }
627
- async function Et(t, o, n, e) {
634
+ async function qt(t, o, n, e) {
628
635
  return t.getTileDataAvailable(o, n, e) ? (await t.loadTileDataAvailability(o, n, e), t.requestTileGeometry(o, n, e)) : Promise.reject("不可用");
629
636
  }
630
- async function An(t, o) {
631
- const n = A.fromCartesianArray(o), e = D.toCartesian(A.center(n)), i = L(t.ellipsoid, e), r = [i.x, i.y, 1], s = nt(t, n), c = ot(s), u = _.eastNorthUpToFixedFrame(e);
637
+ async function Rn(t, o) {
638
+ const n = v.fromCartesianArray(o), e = D.toCartesian(v.center(n)), i = U(t.ellipsoid, e), r = [i.x, i.y, 1], s = ot(t, n), c = et(s), u = E.eastNorthUpToFixedFrame(e);
632
639
  a.inverseTransformation(u, u);
633
640
  const f = o.map((d) => {
634
- const y = a.multiplyByPoint(u, d, Q[2]);
641
+ const y = a.multiplyByPoint(u, d, k[2]);
635
642
  return [y.x, y.y];
636
643
  });
637
644
  let m = 0;
638
645
  const p = c.map(async (d) => {
639
- const { data: y, ...M } = d, { position: V, uv: S, height: I } = y.attributes;
640
- m += await st.computeRelationAreaOfPolygon2Terrain({
646
+ const { data: y, ...R } = d, { position: V, uv: S, height: B } = y.attributes;
647
+ m += await lt.computeRelationAreaOfPolygon2Terrain({
641
648
  args: [{
642
649
  ...y,
643
- ...M,
650
+ ...R,
644
651
  positionNames: ["position"],
645
652
  region: f,
646
653
  // @ts-ignore
@@ -648,27 +655,27 @@ async function An(t, o) {
648
655
  relation: z.Contain | z.Intersect,
649
656
  scale: r
650
657
  }],
651
- transfer: [V.array.buffer, S.array.buffer, I.array.buffer, y.indices.buffer]
658
+ transfer: [V.array.buffer, S.array.buffer, B.array.buffer, y.indices.buffer]
652
659
  });
653
660
  });
654
661
  if (await Promise.all(p), m === 0 || isNaN(m)) {
655
662
  console.warn("贴地面积计算异常,已回退到椭球面投影面积", m);
656
663
  const d = o.map((y) => l.pack(y, []));
657
- return m = Z(d), Math.abs(m);
664
+ return m = K(d), Math.abs(m);
658
665
  }
659
666
  return m;
660
667
  }
661
- function vn(t, o) {
662
- const n = A.fromCartesianArray(o), e = D.toCartesian(A.center(n)), i = L(t.ellipsoid, e), r = [i.x, i.y, 1], s = nt(t, n), c = ot(s), u = _.eastNorthUpToFixedFrame(e);
668
+ function Sn(t, o) {
669
+ const n = v.fromCartesianArray(o), e = D.toCartesian(v.center(n)), i = U(t.ellipsoid, e), r = [i.x, i.y, 1], s = ot(t, n), c = et(s), u = E.eastNorthUpToFixedFrame(e);
663
670
  a.inverseTransformation(u, u);
664
671
  const f = o.map((p) => {
665
- const d = a.multiplyByPoint(u, p, Q[2]);
672
+ const d = a.multiplyByPoint(u, p, k[2]);
666
673
  return [d.x, d.y];
667
674
  });
668
675
  let m = 0;
669
676
  for (const p of c) {
670
677
  const { data: d, ...y } = p;
671
- m += ct({
678
+ m += ut({
672
679
  ...d,
673
680
  ...y,
674
681
  positionNames: ["position"],
@@ -682,84 +689,86 @@ function vn(t, o) {
682
689
  if (m === 0 || isNaN(m)) {
683
690
  console.warn("贴地面积计算异常,已回退到椭球面投影面积", m);
684
691
  const p = o.map((d) => l.pack(d, []));
685
- return m = Z(p), Math.abs(m);
692
+ return m = K(p), Math.abs(m);
686
693
  }
687
694
  return m;
688
695
  }
689
696
  export {
690
- ft as CartesianAxis,
691
- mt as HeadingPitchRollComponent,
692
- C as Xyz_Hpr,
693
- Xt as applyMatrixReferFrame,
694
- Tt as applyTransformInPrimitive,
695
- an as applyTransformInfoPrimitive,
696
- ut as componentDatatypeTypedArrayMap,
697
- fn as computeAttributeSizeInBytes,
698
- wt as computeNormalOfCoplanars,
699
- vn as computeTerrainAreaOfPolygon,
700
- An as computeTerrainAreaOfPolygon_worker,
701
- un as computeVertexNumOfAttribute,
702
- jt as createPlaneOfCoplanars,
703
- K as flatTransformInfoOptions,
704
- mn as getAttributeData,
705
- en as getBoundingSphere,
706
- pn as getDecodePositionsOfTerrainMesh,
707
- ln as getEntityInfo,
708
- Qt as getGeometryDataOfQuantizedMeshTerrainData,
709
- Ft as getGeometryDataOfTerrainMesh,
710
- zt as getLevelRangeOfQuadtreeTiles,
711
- L as getLocalCurvatureRadius,
712
- hn as getLocalSizePerDegrees,
713
- dt as getLocalTransformInfo,
714
- nn as getMatrix4OfTransformInfo,
715
- Wt as getNeighborPairs,
716
- rn as getPosition,
717
- dn as getPositionOfTerrainMesh,
718
- nt as getRenderedQuadtreeTilesOfIntersectRectangle,
719
- yn as getRenderedTileLevelRange,
720
- gn as getScaleOfTerrainDataByOrientedBoundingBox,
721
- Et as getTerrainData,
722
- wn as getTerrainDataOfQuadtreeTile,
723
- Tn as getTerrainDatasOfIntersectRectangle,
724
- ot as getTerrainDatasOfQuadtreeTiles,
725
- Gt as getTileRangeOfIntersectRectangle,
726
- vt as getTransform,
727
- xn as getWorldDataOfQuantizedMeshTerrainData,
728
- yt as getWorldMatrix,
729
- q as getWorldTransformInfo,
730
- k as isMatrixPrimitive,
731
- lt as isPositionListPrimitive,
697
+ pt as CartesianAxis,
698
+ dt as HeadingPitchRollComponent,
699
+ b as Xyz_Hpr,
700
+ $t as applyMatrixReferFrame,
701
+ Pt as applyTransformInPrimitive,
702
+ un as applyTransformInfoPrimitive,
703
+ mt as componentDatatypeTypedArrayMap,
704
+ yn as computeAttributeSizeInBytes,
705
+ ht as computeNormalOfCoplanars,
706
+ Sn as computeTerrainAreaOfPolygon,
707
+ Rn as computeTerrainAreaOfPolygon_worker,
708
+ dn as computeVertexNumOfAttribute,
709
+ Zt as createPlaneOfCoplanars,
710
+ $ as flatTransformInfoOptions,
711
+ wn as getAttributeData,
712
+ cn as getBoundingSphere,
713
+ gn as getDecodePositionsOfTerrainMesh,
714
+ pn as getEntityInfo,
715
+ Et as getGeometryDataOfQuantizedMeshTerrainData,
716
+ Gt as getGeometryDataOfTerrainMesh,
717
+ Ht as getLevelRangeOfQuadtreeTiles,
718
+ U as getLocalCurvatureRadius,
719
+ An as getLocalSizePerDegrees,
720
+ wt as getLocalTransformInfo,
721
+ rn as getMatrix4OfTransformInfo,
722
+ Kt as getNeighborPairs,
723
+ ln as getPosition,
724
+ hn as getPositionOfTerrainMesh,
725
+ ot as getRenderedQuadtreeTilesOfIntersectRectangle,
726
+ xn as getRenderedTileLevelRange,
727
+ vn as getScaleOfTerrainDataByOrientedBoundingBox,
728
+ qt as getTerrainData,
729
+ Tn as getTerrainDataOfQuadtreeTile,
730
+ Mn as getTerrainDatasOfIntersectRectangle,
731
+ et as getTerrainDatasOfQuadtreeTiles,
732
+ kt as getTileRangeOfIntersectRectangle,
733
+ Rt as getTransform,
734
+ Pn as getWorldDataOfQuantizedMeshTerrainData,
735
+ gt as getWorldMatrix,
736
+ L as getWorldTransformInfo,
737
+ q as isMatrixPrimitive,
738
+ ft as isPositionListPrimitive,
732
739
  J as isPositionPrimitive,
733
- Jt as isPrimitiveObject,
734
- pt as localQuaternionToWorld,
735
- xt as localTRS_WorldMatrix4,
736
- on as localTRS_WorldMatrix4_ENU,
740
+ Ut as isPrimitiveObject,
741
+ yt as localQuaternionToWorld,
742
+ At as localTRS_WorldMatrix4_Convert,
743
+ sn as localTRS_WorldMatrix4_ENU_Convert,
737
744
  H as makeMatrixReferFrame,
738
- ht as mat4_compose,
739
- gt as mat4_decompose,
740
- $ as matrix4ToHeadingPitchRoll,
741
- qt as quaternionToHeadingPitchRoll,
742
- At as resetTransformInPrimitive,
743
- sn as resetTransformInfoPrimitive,
744
- Kt as rotateMatrixReferFrame,
745
+ vt as mat4_compose,
746
+ an as mat4_composeByOrder,
747
+ Tt as mat4_decompose,
748
+ xt as mat4_decomposeByOrder,
749
+ tt as matrix4ToHeadingPitchRoll,
750
+ Yt as quaternionToHeadingPitchRoll,
751
+ Mt as resetTransformInPrimitive,
752
+ fn as resetTransformInfoPrimitive,
753
+ nn as rotateMatrixReferFrame,
745
754
  G as rotationInfoToQuaternion,
746
- Rt as scaleBoxGraphics,
747
- Pt as scaleCylinderGraphics,
748
- Mt as scaleEllipseGraphics,
749
- St as scaleEllipsoidGraphics,
750
- $t as scaleMatrixReferFrame,
751
- Dt as scaleModelGraphics,
752
- Vt as scalePlaneGraphics,
753
- tn as scalePoints,
754
- It as transformCorridorGraphics,
755
- cn as transformEntity,
756
- Yt as transformInfoToMatrix,
757
- Bt as transformPolygonGraphics,
758
- tt as transformPolygonHierarchy,
759
- bt as transformPolylineGraphics,
760
- Ot as transformPolylineVolumeGraphics,
761
- Ct as transformWallGraphics,
762
- Zt as translationMatrixReferFrame,
763
- Lt as worldMatrixToLocal,
764
- Ut as worldQuaternionToLocal
755
+ St as scaleBoxGraphics,
756
+ Dt as scaleCylinderGraphics,
757
+ Vt as scaleEllipseGraphics,
758
+ Bt as scaleEllipsoidGraphics,
759
+ on as scaleMatrixReferFrame,
760
+ It as scaleModelGraphics,
761
+ Ot as scalePlaneGraphics,
762
+ en as scalePoints,
763
+ Ct as transformCorridorGraphics,
764
+ mn as transformEntity,
765
+ Xt as transformInfoToMatrix,
766
+ bt as transformPolygonGraphics,
767
+ nt as transformPolygonHierarchy,
768
+ Nt as transformPolylineGraphics,
769
+ Ft as transformPolylineVolumeGraphics,
770
+ _t as transformWallGraphics,
771
+ tn as translationMatrixReferFrame,
772
+ jt as worldMatrixToLocal,
773
+ Wt as worldQuaternionToLocal
765
774
  };