@itwin/rpcinterface-full-stack-tests 4.2.0-dev.32 → 4.2.0-dev.34
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/lib/dist/bundled-tests.js +400 -531
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_7_node_modules_loaders_gl_draco_di-02c2bd.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5.bundled-tests.js} +142 -122
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_7_node_modules_loaders_gl_draco_di-02c2bd.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5.bundled-tests.js.map} +1 -1
- package/package.json +14 -14
- package/lib/dist/_0062.bundled-tests.js +0 -14
- package/lib/dist/_0062.bundled-tests.js.map +0 -1
|
@@ -21,53 +21,53 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ }),
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.14/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!*********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.14/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\*********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
30
30
|
"use strict";
|
|
31
|
-
|
|
32
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33
|
-
exports.executeBackendCallback = exports.registerBackendCallback = exports.executeRegisteredCallback = exports.getCallbacksRegisteredOnBackend = void 0;
|
|
34
|
-
const isFrontend = (typeof (window) !== "undefined");
|
|
35
|
-
/** @internal */
|
|
36
|
-
function getCallbacksRegisteredOnBackend() {
|
|
37
|
-
if (isFrontend)
|
|
38
|
-
throw new Error("This should only be called on the backend!");
|
|
39
|
-
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
40
|
-
return __webpack_require__.g._CertaRegisteredCallbacks;
|
|
41
|
-
}
|
|
42
|
-
exports.getCallbacksRegisteredOnBackend = getCallbacksRegisteredOnBackend;
|
|
43
|
-
/** @internal */
|
|
44
|
-
function executeRegisteredCallback(name, args) {
|
|
45
|
-
const registeredCallbacks = getCallbacksRegisteredOnBackend();
|
|
46
|
-
if (!(name in registeredCallbacks))
|
|
47
|
-
throw new Error(`Unknown certa backend callback "${name}"`);
|
|
48
|
-
return registeredCallbacks[name](...args);
|
|
49
|
-
}
|
|
50
|
-
exports.executeRegisteredCallback = executeRegisteredCallback;
|
|
51
|
-
function registerBackendCallback(name, cb) {
|
|
52
|
-
if (isFrontend)
|
|
53
|
-
throw new Error("This should only be called on the backend!");
|
|
54
|
-
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
55
|
-
__webpack_require__.g._CertaRegisteredCallbacks[name] = cb;
|
|
56
|
-
}
|
|
57
|
-
exports.registerBackendCallback = registerBackendCallback;
|
|
58
|
-
async function executeBackendCallback(name, ...args) {
|
|
59
|
-
if (!isFrontend)
|
|
60
|
-
return executeRegisteredCallback(name, args);
|
|
61
|
-
return window._CertaSendToBackend(name, args);
|
|
62
|
-
}
|
|
63
|
-
exports.executeBackendCallback = executeBackendCallback;
|
|
31
|
+
|
|
32
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33
|
+
exports.executeBackendCallback = exports.registerBackendCallback = exports.executeRegisteredCallback = exports.getCallbacksRegisteredOnBackend = void 0;
|
|
34
|
+
const isFrontend = (typeof (window) !== "undefined");
|
|
35
|
+
/** @internal */
|
|
36
|
+
function getCallbacksRegisteredOnBackend() {
|
|
37
|
+
if (isFrontend)
|
|
38
|
+
throw new Error("This should only be called on the backend!");
|
|
39
|
+
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
40
|
+
return __webpack_require__.g._CertaRegisteredCallbacks;
|
|
41
|
+
}
|
|
42
|
+
exports.getCallbacksRegisteredOnBackend = getCallbacksRegisteredOnBackend;
|
|
43
|
+
/** @internal */
|
|
44
|
+
function executeRegisteredCallback(name, args) {
|
|
45
|
+
const registeredCallbacks = getCallbacksRegisteredOnBackend();
|
|
46
|
+
if (!(name in registeredCallbacks))
|
|
47
|
+
throw new Error(`Unknown certa backend callback "${name}"`);
|
|
48
|
+
return registeredCallbacks[name](...args);
|
|
49
|
+
}
|
|
50
|
+
exports.executeRegisteredCallback = executeRegisteredCallback;
|
|
51
|
+
function registerBackendCallback(name, cb) {
|
|
52
|
+
if (isFrontend)
|
|
53
|
+
throw new Error("This should only be called on the backend!");
|
|
54
|
+
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
55
|
+
__webpack_require__.g._CertaRegisteredCallbacks[name] = cb;
|
|
56
|
+
}
|
|
57
|
+
exports.registerBackendCallback = registerBackendCallback;
|
|
58
|
+
async function executeBackendCallback(name, ...args) {
|
|
59
|
+
if (!isFrontend)
|
|
60
|
+
return executeRegisteredCallback(name, args);
|
|
61
|
+
return window._CertaSendToBackend(name, args);
|
|
62
|
+
}
|
|
63
|
+
exports.executeBackendCallback = executeBackendCallback;
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
/***/ }),
|
|
67
67
|
|
|
68
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
68
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js":
|
|
69
69
|
/*!*****************************************************************************************************************************************************************************************!*\
|
|
70
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
70
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js ***!
|
|
71
71
|
\*****************************************************************************************************************************************************************************************/
|
|
72
72
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
73
73
|
|
|
@@ -80,7 +80,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80
80
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
81
81
|
/* harmony import */ var _itwin_core_frontend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
82
82
|
/* harmony import */ var _itwin_imodels_client_management__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@3.1.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
83
|
-
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
83
|
+
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js");
|
|
84
84
|
/*---------------------------------------------------------------------------------------------
|
|
85
85
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
86
86
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -186,9 +186,9 @@ class FrontendIModelsAccess {
|
|
|
186
186
|
|
|
187
187
|
/***/ }),
|
|
188
188
|
|
|
189
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
189
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js":
|
|
190
190
|
/*!*************************************************************************************************************************************************************************!*\
|
|
191
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
191
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js ***!
|
|
192
192
|
\*************************************************************************************************************************************************************************/
|
|
193
193
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
194
194
|
|
|
@@ -198,8 +198,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
198
198
|
/* harmony export */ AccessTokenAdapter: () => (/* reexport safe */ _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__.AccessTokenAdapter),
|
|
199
199
|
/* harmony export */ FrontendIModelsAccess: () => (/* reexport safe */ _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__.FrontendIModelsAccess)
|
|
200
200
|
/* harmony export */ });
|
|
201
|
-
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
202
|
-
/* harmony import */ var _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FrontendIModelsAccess */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
201
|
+
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js");
|
|
202
|
+
/* harmony import */ var _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FrontendIModelsAccess */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js");
|
|
203
203
|
/*---------------------------------------------------------------------------------------------
|
|
204
204
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
205
205
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -210,9 +210,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
213
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js":
|
|
214
214
|
/*!*********************************************************************************************************************************************************************************************************!*\
|
|
215
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
215
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js ***!
|
|
216
216
|
\*********************************************************************************************************************************************************************************************************/
|
|
217
217
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
218
218
|
|
|
@@ -3195,7 +3195,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
3195
3195
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3196
3196
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3197
3197
|
*--------------------------------------------------------------------------------------------*/
|
|
3198
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.
|
|
3198
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.7.14/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
3199
3199
|
// Shared by both the frontend and backend side of the tests
|
|
3200
3200
|
exports.getTokenCallbackName = "getToken";
|
|
3201
3201
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -9891,7 +9891,7 @@ function BufferBigIntNotDefined () {
|
|
|
9891
9891
|
"use strict";
|
|
9892
9892
|
|
|
9893
9893
|
/* eslint-disable no-invalid-this */
|
|
9894
|
-
let checkError = __webpack_require__(/*! check-error */ "../../common/temp/node_modules/.pnpm/check-error@1.0.
|
|
9894
|
+
let checkError = __webpack_require__(/*! check-error */ "../../common/temp/node_modules/.pnpm/check-error@1.0.3/node_modules/check-error/index.js");
|
|
9895
9895
|
|
|
9896
9896
|
module.exports = (chai, utils) => {
|
|
9897
9897
|
const Assertion = chai.Assertion;
|
|
@@ -19634,189 +19634,6 @@ module.exports = function transferFlags(assertion, object, includeAll) {
|
|
|
19634
19634
|
};
|
|
19635
19635
|
|
|
19636
19636
|
|
|
19637
|
-
/***/ }),
|
|
19638
|
-
|
|
19639
|
-
/***/ "../../common/temp/node_modules/.pnpm/check-error@1.0.2/node_modules/check-error/index.js":
|
|
19640
|
-
/*!************************************************************************************************!*\
|
|
19641
|
-
!*** ../../common/temp/node_modules/.pnpm/check-error@1.0.2/node_modules/check-error/index.js ***!
|
|
19642
|
-
\************************************************************************************************/
|
|
19643
|
-
/***/ ((module) => {
|
|
19644
|
-
|
|
19645
|
-
"use strict";
|
|
19646
|
-
|
|
19647
|
-
|
|
19648
|
-
/* !
|
|
19649
|
-
* Chai - checkError utility
|
|
19650
|
-
* Copyright(c) 2012-2016 Jake Luer <jake@alogicalparadox.com>
|
|
19651
|
-
* MIT Licensed
|
|
19652
|
-
*/
|
|
19653
|
-
|
|
19654
|
-
/**
|
|
19655
|
-
* ### .checkError
|
|
19656
|
-
*
|
|
19657
|
-
* Checks that an error conforms to a given set of criteria and/or retrieves information about it.
|
|
19658
|
-
*
|
|
19659
|
-
* @api public
|
|
19660
|
-
*/
|
|
19661
|
-
|
|
19662
|
-
/**
|
|
19663
|
-
* ### .compatibleInstance(thrown, errorLike)
|
|
19664
|
-
*
|
|
19665
|
-
* Checks if two instances are compatible (strict equal).
|
|
19666
|
-
* Returns false if errorLike is not an instance of Error, because instances
|
|
19667
|
-
* can only be compatible if they're both error instances.
|
|
19668
|
-
*
|
|
19669
|
-
* @name compatibleInstance
|
|
19670
|
-
* @param {Error} thrown error
|
|
19671
|
-
* @param {Error|ErrorConstructor} errorLike object to compare against
|
|
19672
|
-
* @namespace Utils
|
|
19673
|
-
* @api public
|
|
19674
|
-
*/
|
|
19675
|
-
|
|
19676
|
-
function compatibleInstance(thrown, errorLike) {
|
|
19677
|
-
return errorLike instanceof Error && thrown === errorLike;
|
|
19678
|
-
}
|
|
19679
|
-
|
|
19680
|
-
/**
|
|
19681
|
-
* ### .compatibleConstructor(thrown, errorLike)
|
|
19682
|
-
*
|
|
19683
|
-
* Checks if two constructors are compatible.
|
|
19684
|
-
* This function can receive either an error constructor or
|
|
19685
|
-
* an error instance as the `errorLike` argument.
|
|
19686
|
-
* Constructors are compatible if they're the same or if one is
|
|
19687
|
-
* an instance of another.
|
|
19688
|
-
*
|
|
19689
|
-
* @name compatibleConstructor
|
|
19690
|
-
* @param {Error} thrown error
|
|
19691
|
-
* @param {Error|ErrorConstructor} errorLike object to compare against
|
|
19692
|
-
* @namespace Utils
|
|
19693
|
-
* @api public
|
|
19694
|
-
*/
|
|
19695
|
-
|
|
19696
|
-
function compatibleConstructor(thrown, errorLike) {
|
|
19697
|
-
if (errorLike instanceof Error) {
|
|
19698
|
-
// If `errorLike` is an instance of any error we compare their constructors
|
|
19699
|
-
return thrown.constructor === errorLike.constructor || thrown instanceof errorLike.constructor;
|
|
19700
|
-
} else if (errorLike.prototype instanceof Error || errorLike === Error) {
|
|
19701
|
-
// If `errorLike` is a constructor that inherits from Error, we compare `thrown` to `errorLike` directly
|
|
19702
|
-
return thrown.constructor === errorLike || thrown instanceof errorLike;
|
|
19703
|
-
}
|
|
19704
|
-
|
|
19705
|
-
return false;
|
|
19706
|
-
}
|
|
19707
|
-
|
|
19708
|
-
/**
|
|
19709
|
-
* ### .compatibleMessage(thrown, errMatcher)
|
|
19710
|
-
*
|
|
19711
|
-
* Checks if an error's message is compatible with a matcher (String or RegExp).
|
|
19712
|
-
* If the message contains the String or passes the RegExp test,
|
|
19713
|
-
* it is considered compatible.
|
|
19714
|
-
*
|
|
19715
|
-
* @name compatibleMessage
|
|
19716
|
-
* @param {Error} thrown error
|
|
19717
|
-
* @param {String|RegExp} errMatcher to look for into the message
|
|
19718
|
-
* @namespace Utils
|
|
19719
|
-
* @api public
|
|
19720
|
-
*/
|
|
19721
|
-
|
|
19722
|
-
function compatibleMessage(thrown, errMatcher) {
|
|
19723
|
-
var comparisonString = typeof thrown === 'string' ? thrown : thrown.message;
|
|
19724
|
-
if (errMatcher instanceof RegExp) {
|
|
19725
|
-
return errMatcher.test(comparisonString);
|
|
19726
|
-
} else if (typeof errMatcher === 'string') {
|
|
19727
|
-
return comparisonString.indexOf(errMatcher) !== -1; // eslint-disable-line no-magic-numbers
|
|
19728
|
-
}
|
|
19729
|
-
|
|
19730
|
-
return false;
|
|
19731
|
-
}
|
|
19732
|
-
|
|
19733
|
-
/**
|
|
19734
|
-
* ### .getFunctionName(constructorFn)
|
|
19735
|
-
*
|
|
19736
|
-
* Returns the name of a function.
|
|
19737
|
-
* This also includes a polyfill function if `constructorFn.name` is not defined.
|
|
19738
|
-
*
|
|
19739
|
-
* @name getFunctionName
|
|
19740
|
-
* @param {Function} constructorFn
|
|
19741
|
-
* @namespace Utils
|
|
19742
|
-
* @api private
|
|
19743
|
-
*/
|
|
19744
|
-
|
|
19745
|
-
var functionNameMatch = /\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\(\/]+)/;
|
|
19746
|
-
function getFunctionName(constructorFn) {
|
|
19747
|
-
var name = '';
|
|
19748
|
-
if (typeof constructorFn.name === 'undefined') {
|
|
19749
|
-
// Here we run a polyfill if constructorFn.name is not defined
|
|
19750
|
-
var match = String(constructorFn).match(functionNameMatch);
|
|
19751
|
-
if (match) {
|
|
19752
|
-
name = match[1];
|
|
19753
|
-
}
|
|
19754
|
-
} else {
|
|
19755
|
-
name = constructorFn.name;
|
|
19756
|
-
}
|
|
19757
|
-
|
|
19758
|
-
return name;
|
|
19759
|
-
}
|
|
19760
|
-
|
|
19761
|
-
/**
|
|
19762
|
-
* ### .getConstructorName(errorLike)
|
|
19763
|
-
*
|
|
19764
|
-
* Gets the constructor name for an Error instance or constructor itself.
|
|
19765
|
-
*
|
|
19766
|
-
* @name getConstructorName
|
|
19767
|
-
* @param {Error|ErrorConstructor} errorLike
|
|
19768
|
-
* @namespace Utils
|
|
19769
|
-
* @api public
|
|
19770
|
-
*/
|
|
19771
|
-
|
|
19772
|
-
function getConstructorName(errorLike) {
|
|
19773
|
-
var constructorName = errorLike;
|
|
19774
|
-
if (errorLike instanceof Error) {
|
|
19775
|
-
constructorName = getFunctionName(errorLike.constructor);
|
|
19776
|
-
} else if (typeof errorLike === 'function') {
|
|
19777
|
-
// If `err` is not an instance of Error it is an error constructor itself or another function.
|
|
19778
|
-
// If we've got a common function we get its name, otherwise we may need to create a new instance
|
|
19779
|
-
// of the error just in case it's a poorly-constructed error. Please see chaijs/chai/issues/45 to know more.
|
|
19780
|
-
constructorName = getFunctionName(errorLike).trim() ||
|
|
19781
|
-
getFunctionName(new errorLike()); // eslint-disable-line new-cap
|
|
19782
|
-
}
|
|
19783
|
-
|
|
19784
|
-
return constructorName;
|
|
19785
|
-
}
|
|
19786
|
-
|
|
19787
|
-
/**
|
|
19788
|
-
* ### .getMessage(errorLike)
|
|
19789
|
-
*
|
|
19790
|
-
* Gets the error message from an error.
|
|
19791
|
-
* If `err` is a String itself, we return it.
|
|
19792
|
-
* If the error has no message, we return an empty string.
|
|
19793
|
-
*
|
|
19794
|
-
* @name getMessage
|
|
19795
|
-
* @param {Error|String} errorLike
|
|
19796
|
-
* @namespace Utils
|
|
19797
|
-
* @api public
|
|
19798
|
-
*/
|
|
19799
|
-
|
|
19800
|
-
function getMessage(errorLike) {
|
|
19801
|
-
var msg = '';
|
|
19802
|
-
if (errorLike && errorLike.message) {
|
|
19803
|
-
msg = errorLike.message;
|
|
19804
|
-
} else if (typeof errorLike === 'string') {
|
|
19805
|
-
msg = errorLike;
|
|
19806
|
-
}
|
|
19807
|
-
|
|
19808
|
-
return msg;
|
|
19809
|
-
}
|
|
19810
|
-
|
|
19811
|
-
module.exports = {
|
|
19812
|
-
compatibleInstance: compatibleInstance,
|
|
19813
|
-
compatibleConstructor: compatibleConstructor,
|
|
19814
|
-
compatibleMessage: compatibleMessage,
|
|
19815
|
-
getMessage: getMessage,
|
|
19816
|
-
getConstructorName: getConstructorName,
|
|
19817
|
-
};
|
|
19818
|
-
|
|
19819
|
-
|
|
19820
19637
|
/***/ }),
|
|
19821
19638
|
|
|
19822
19639
|
/***/ "../../common/temp/node_modules/.pnpm/check-error@1.0.3/node_modules/check-error/index.js":
|
|
@@ -21138,8 +20955,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21138
20955
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21139
20956
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
21140
20957
|
/* harmony export */ });
|
|
21141
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
21142
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
20958
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
20959
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
21143
20960
|
|
|
21144
20961
|
|
|
21145
20962
|
|
|
@@ -87514,7 +87331,7 @@ class RealityDataSourceTilesetUrlImpl {
|
|
|
87514
87331
|
return (0,_request_Request__WEBPACK_IMPORTED_MODULE_2__.request)(tileUrl, "json");
|
|
87515
87332
|
}
|
|
87516
87333
|
getTileContentType(url) {
|
|
87517
|
-
return url.endsWith("json") ? "tileset" : "tile";
|
|
87334
|
+
return new URL(url, "https://localhost/").pathname.toLowerCase().endsWith("json") ? "tileset" : "tile";
|
|
87518
87335
|
}
|
|
87519
87336
|
/**
|
|
87520
87337
|
* Gets spatial location and extents of this reality data source
|
|
@@ -98303,7 +98120,7 @@ class GltfParser {
|
|
|
98303
98120
|
if (dracoMeshes.length === 0)
|
|
98304
98121
|
return;
|
|
98305
98122
|
try {
|
|
98306
|
-
const dracoLoader = (await
|
|
98123
|
+
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5").then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.4.14/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
98307
98124
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
98308
98125
|
}
|
|
98309
98126
|
catch (err) {
|
|
@@ -141417,7 +141234,7 @@ class GltfReader {
|
|
|
141417
141234
|
if (dracoMeshes.length === 0)
|
|
141418
141235
|
return;
|
|
141419
141236
|
try {
|
|
141420
|
-
const dracoLoader = (await
|
|
141237
|
+
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5").then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.4.14/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
141421
141238
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
141422
141239
|
}
|
|
141423
141240
|
catch (err) {
|
|
@@ -144295,7 +144112,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
144295
144112
|
}
|
|
144296
144113
|
async function decodeDracoPointCloud(buf) {
|
|
144297
144114
|
try {
|
|
144298
|
-
const dracoLoader = (await
|
|
144115
|
+
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5").then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.4.14/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
144299
144116
|
const mesh = await dracoLoader.parse(buf, {});
|
|
144300
144117
|
if (mesh.topology !== "point-list")
|
|
144301
144118
|
return undefined;
|
|
@@ -186933,10 +186750,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
186933
186750
|
/* harmony export */ });
|
|
186934
186751
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
186935
186752
|
/* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
|
|
186753
|
+
/* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
|
|
186936
186754
|
/* harmony import */ var _internalContexts_CurveCurveCloseApproachXY__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internalContexts/CurveCurveCloseApproachXY */ "../../core/geometry/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js");
|
|
186937
186755
|
/* harmony import */ var _internalContexts_CurveCurveIntersectXY__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internalContexts/CurveCurveIntersectXY */ "../../core/geometry/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js");
|
|
186938
186756
|
/* harmony import */ var _internalContexts_CurveCurveIntersectXYZ__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internalContexts/CurveCurveIntersectXYZ */ "../../core/geometry/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js");
|
|
186939
|
-
/* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
|
|
186940
186757
|
/*---------------------------------------------------------------------------------------------
|
|
186941
186758
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
186942
186759
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -186979,6 +186796,7 @@ class CurveCurve {
|
|
|
186979
186796
|
}
|
|
186980
186797
|
/**
|
|
186981
186798
|
* Return xy intersections of 2 projected curves.
|
|
186799
|
+
* @param worldToLocal transform (possibly perspective) defining the local coordinates in which to compute xy intersections.
|
|
186982
186800
|
* @param curveA first curve
|
|
186983
186801
|
* @param extendA true to allow curveA to extend
|
|
186984
186802
|
* @param curveB second curve
|
|
@@ -186991,19 +186809,20 @@ class CurveCurve {
|
|
|
186991
186809
|
return handler.grabPairedResults();
|
|
186992
186810
|
}
|
|
186993
186811
|
/**
|
|
186994
|
-
|
|
186995
|
-
|
|
186996
|
-
|
|
186997
|
-
|
|
186998
|
-
|
|
186999
|
-
|
|
187000
|
-
|
|
187001
|
-
|
|
187002
|
-
|
|
187003
|
-
|
|
186812
|
+
* Return full 3d xyz intersections of 2 curves.
|
|
186813
|
+
* * Implemented for combinations of LineSegment3d, LineString3d, Arc3d.
|
|
186814
|
+
* * Not Implemented for bspline and bezier curves.
|
|
186815
|
+
* @beta
|
|
186816
|
+
* @param curveA first curve
|
|
186817
|
+
* @param extendA true to allow curveA to extend
|
|
186818
|
+
* @param curveB second curve
|
|
186819
|
+
* @param extendB true to allow curveB to extend
|
|
186820
|
+
* @returns array of intersections structured as CurveLocationDetailPair[]
|
|
186821
|
+
*/
|
|
186822
|
+
static intersectionXYZPairs(curveA, extendA, curveB, extendB) {
|
|
187004
186823
|
const handler = new _internalContexts_CurveCurveIntersectXYZ__WEBPACK_IMPORTED_MODULE_4__.CurveCurveIntersectXYZ(extendA, curveB, extendB);
|
|
187005
186824
|
curveA.dispatchToGeometryHandler(handler);
|
|
187006
|
-
return handler.
|
|
186825
|
+
return handler.grabPairedResults();
|
|
187007
186826
|
}
|
|
187008
186827
|
/**
|
|
187009
186828
|
* Return xy intersections of input curves.
|
|
@@ -188233,7 +188052,8 @@ class CurveLocationDetailPair {
|
|
|
188233
188052
|
}
|
|
188234
188053
|
}
|
|
188235
188054
|
/**
|
|
188236
|
-
* Data bundle for a pair of arrays of CurveLocationDetail structures
|
|
188055
|
+
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
188056
|
+
* @deprecated in 4.x. Use CurveLocationDetailPair[] instead.
|
|
188237
188057
|
* @public
|
|
188238
188058
|
*/
|
|
188239
188059
|
class CurveLocationDetailArrayPair {
|
|
@@ -197303,15 +197123,13 @@ class BezierBezierIntersectionXYRRToRRD extends _numerics_Newton__WEBPACK_IMPORT
|
|
|
197303
197123
|
* @internal
|
|
197304
197124
|
*/
|
|
197305
197125
|
class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_2__.NullGeometryHandler {
|
|
197306
|
-
reinitialize() {
|
|
197307
|
-
this._results = [];
|
|
197308
|
-
}
|
|
197309
197126
|
/**
|
|
197127
|
+
* The constructor.
|
|
197310
197128
|
* @param worldToLocal optional transform (possibly perspective) to project to xy plane for intersection.
|
|
197311
|
-
* @param extendA flag
|
|
197312
|
-
* @param geometryB second curve for intersection.
|
|
197129
|
+
* @param extendA flag for extension of the other geometry.
|
|
197130
|
+
* @param geometryB second curve for intersection. Saved for reference by specific handler methods.
|
|
197313
197131
|
* @param extendB flag for extension of geometryB.
|
|
197314
|
-
* @param tolerance optional distance tolerance for coincidence
|
|
197132
|
+
* @param tolerance optional distance tolerance for coincidence.
|
|
197315
197133
|
*/
|
|
197316
197134
|
constructor(worldToLocal, extendA, geometryB, extendB, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.smallMetricDistance) {
|
|
197317
197135
|
super();
|
|
@@ -197326,7 +197144,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197326
197144
|
this._worldToLocalPerspective = worldToLocal.clone();
|
|
197327
197145
|
}
|
|
197328
197146
|
this._coincidentGeometryContext = _geometry3d_CoincidentGeometryOps__WEBPACK_IMPORTED_MODULE_4__.CoincidentGeometryQuery.create(tolerance);
|
|
197329
|
-
this.
|
|
197147
|
+
this._results = [];
|
|
197330
197148
|
}
|
|
197331
197149
|
/** Reset the geometry and flags, leaving all other parts unchanged (and preserving accumulated intersections) */
|
|
197332
197150
|
resetGeometry(extendA, geometryB, extendB) {
|
|
@@ -197341,10 +197159,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197341
197159
|
return false;
|
|
197342
197160
|
return true;
|
|
197343
197161
|
}
|
|
197344
|
-
/**
|
|
197345
|
-
* Test the fraction by strict parameter, but allow toleranced distance test at ends.
|
|
197346
|
-
* @param tolerance optional distance tolerance to check proximity to start/end point
|
|
197347
|
-
*/
|
|
197162
|
+
/** Test the fraction by strict parameter, but allow toleranced distance test at ends. */
|
|
197348
197163
|
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.smallMetricDistance) {
|
|
197349
197164
|
if (!extend0 && fraction < 0) {
|
|
197350
197165
|
return _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.isDistanceWithinTol(fraction * pointA.distanceXY(pointB), tolerance);
|
|
@@ -197354,25 +197169,32 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197354
197169
|
return true;
|
|
197355
197170
|
}
|
|
197356
197171
|
/**
|
|
197357
|
-
*
|
|
197172
|
+
* Return the results structure for the intersection calculation, structured as an array of CurveLocationDetailPair
|
|
197358
197173
|
* @param reinitialize if true, a new results structure is created for use by later calls.
|
|
197359
197174
|
*/
|
|
197360
197175
|
grabPairedResults(reinitialize = false) {
|
|
197361
197176
|
const result = this._results;
|
|
197362
197177
|
if (reinitialize)
|
|
197363
|
-
this.
|
|
197178
|
+
this._results = [];
|
|
197364
197179
|
return result;
|
|
197365
197180
|
}
|
|
197366
197181
|
sameCurveAndFraction(cp, fraction, detail) {
|
|
197367
197182
|
return cp === detail.curve && _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.isAlmostEqualNumber(fraction, detail.fraction);
|
|
197368
197183
|
}
|
|
197369
197184
|
/**
|
|
197370
|
-
*
|
|
197371
|
-
*
|
|
197372
|
-
*
|
|
197185
|
+
* Record the pre-computed intersection between two curves. Filter by extension rules. Record with fraction mapping.
|
|
197186
|
+
* @param localFractionA intersection fraction local to the subcurve of cpA between fractionA0 and fractionA1
|
|
197187
|
+
* @param cpA the first curve
|
|
197188
|
+
* @param fractionA0 start of the subcurve of cpA
|
|
197189
|
+
* @param fractionA1 end of the subcurve of cpA
|
|
197190
|
+
* @param localFractionB intersection fraction local to the subcurve of cpB between fractionB0 and fractionB1
|
|
197191
|
+
* @param cpB the second curve
|
|
197192
|
+
* @param fractionB0 start of the subcurve of cpB
|
|
197193
|
+
* @param fractionB1 end of the subcurve of cpB
|
|
197194
|
+
* @param reversed whether to reverse the details in the recorded intersection pair
|
|
197195
|
+
* @param intervalDetails optional data for a coincident segment intersection
|
|
197373
197196
|
*/
|
|
197374
|
-
recordPointWithLocalFractions(localFractionA, cpA, fractionA0, fractionA1, localFractionB,
|
|
197375
|
-
cpB, fractionB0, fractionB1, reversed, intervalDetails) {
|
|
197197
|
+
recordPointWithLocalFractions(localFractionA, cpA, fractionA0, fractionA1, localFractionB, cpB, fractionB0, fractionB1, reversed, intervalDetails) {
|
|
197376
197198
|
let globalFractionA, globalFractionB;
|
|
197377
197199
|
let globalFractionA1, globalFractionB1;
|
|
197378
197200
|
const isInterval = intervalDetails !== undefined &&
|
|
@@ -197388,7 +197210,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197388
197210
|
globalFractionA = globalFractionA1 = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.interpolate(fractionA0, localFractionA, fractionA1);
|
|
197389
197211
|
globalFractionB = globalFractionB1 = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.interpolate(fractionB0, localFractionB, fractionB1);
|
|
197390
197212
|
}
|
|
197391
|
-
// ignore duplicate of most recent
|
|
197213
|
+
// ignore duplicate of most recent pair
|
|
197392
197214
|
const numPrevious = this._results.length;
|
|
197393
197215
|
if (numPrevious > 0 && !isInterval) {
|
|
197394
197216
|
const oldDetailA = this._results[numPrevious - 1].detailA;
|
|
@@ -197422,10 +197244,10 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197422
197244
|
}
|
|
197423
197245
|
}
|
|
197424
197246
|
/**
|
|
197425
|
-
* Emit recordPoint for multiple pairs (on full curve
|
|
197426
|
-
* @param cpA first curve primitive (possibly different from curve in detailA, but fraction compatible)
|
|
197427
|
-
* @param cpB second curve primitive (possibly different from curve in detailA, but fraction compatible)
|
|
197428
|
-
* @param pairs array of pairs
|
|
197247
|
+
* Emit recordPoint for multiple pairs (on full curve).
|
|
197248
|
+
* @param cpA first curve primitive (possibly different from curve in detailA, but fraction compatible).
|
|
197249
|
+
* @param cpB second curve primitive (possibly different from curve in detailA, but fraction compatible).
|
|
197250
|
+
* @param pairs array of pairs.
|
|
197429
197251
|
* @param reversed true to have order reversed in final structures.
|
|
197430
197252
|
*/
|
|
197431
197253
|
recordPairs(cpA, cpB, pairs, reversed) {
|
|
@@ -197435,11 +197257,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197435
197257
|
}
|
|
197436
197258
|
}
|
|
197437
197259
|
}
|
|
197438
|
-
/**
|
|
197439
|
-
* Compute intersection of two line segments.
|
|
197440
|
-
* Filter by extension rules.
|
|
197441
|
-
* Record with fraction mapping.
|
|
197442
|
-
*/
|
|
197260
|
+
/** Compute intersection of two line segments. Filter by extension rules. Record with fraction mapping. */
|
|
197443
197261
|
computeSegmentSegment3D(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
197444
197262
|
const uv = CurveCurveIntersectXY._workVector2dA;
|
|
197445
197263
|
// Problem: Normal practice is to do the (quick, simple) transverse intersection first
|
|
@@ -197457,7 +197275,10 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197457
197275
|
}
|
|
197458
197276
|
}
|
|
197459
197277
|
}
|
|
197460
|
-
|
|
197278
|
+
/**
|
|
197279
|
+
* Compute intersection of projected homogeneous line segments. Filter by extension rules. Record with
|
|
197280
|
+
* fraction mapping. Assumes caller knows the _worldToLocal is present.
|
|
197281
|
+
*/
|
|
197461
197282
|
computeSegmentSegment3DH(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
197462
197283
|
const hA0 = CurveCurveIntersectXY._workPointA0H;
|
|
197463
197284
|
const hA1 = CurveCurveIntersectXY._workPointA1H;
|
|
@@ -197478,8 +197299,8 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197478
197299
|
}
|
|
197479
197300
|
}
|
|
197480
197301
|
// Caller accesses data from a line segment and passes to here.
|
|
197481
|
-
//
|
|
197482
|
-
// The fraction and extend parameters allow all combinations to be passed in
|
|
197302
|
+
// The line segment in question might be (a) a full line segment or (b) a fragment within a linestring.
|
|
197303
|
+
// The fraction and extend parameters allow all combinations to be passed in.
|
|
197483
197304
|
// This method applies transform.
|
|
197484
197305
|
dispatchSegmentSegment(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
197485
197306
|
if (this._worldToLocalAffine) {
|
|
@@ -197495,14 +197316,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197495
197316
|
}
|
|
197496
197317
|
}
|
|
197497
197318
|
// Caller accesses data from a linestring or segment and passes it here.
|
|
197498
|
-
//
|
|
197499
|
-
// The fraction and extend parameters allow all combinations to be passed in
|
|
197319
|
+
// The line segment in question might be (a) a full line segment or (b) a fragment within a linestring.
|
|
197320
|
+
// The fraction and extend parameters allow all combinations to be passed in.
|
|
197500
197321
|
dispatchSegmentArc(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, arc, extendB0, extendB1, reversed) {
|
|
197501
197322
|
// Arc: X = C + cU + sV
|
|
197502
197323
|
// Line: contains points A0,A1
|
|
197503
197324
|
// Arc point colinear with line if det (A0, A1, X) = 0
|
|
197504
197325
|
// with homogeneous xyw points and vectors.
|
|
197505
|
-
// With equational X:
|
|
197326
|
+
// With equational X: det (A0, A1, C) + c det (A0, A1,U) + s det (A0, A1, V) = 0.
|
|
197506
197327
|
// solve for theta.
|
|
197507
197328
|
// evaluate points.
|
|
197508
197329
|
// project back to line.
|
|
@@ -197558,9 +197379,9 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197558
197379
|
}
|
|
197559
197380
|
}
|
|
197560
197381
|
// Caller accesses data from two arcs.
|
|
197561
|
-
//
|
|
197562
|
-
//
|
|
197563
|
-
//
|
|
197382
|
+
// Each matrix has [U V C] in (x,y,w) form from projection.
|
|
197383
|
+
// Invert the projection matrix matrixA.
|
|
197384
|
+
// Apply the inverse to matrixB. Then arc b is an ellipse in the circular space of A.
|
|
197564
197385
|
dispatchArcArcThisOrder(cpA, matrixA, // homogeneous xyw projection !!!
|
|
197565
197386
|
extendA, cpB, matrixB, // homogeneous xyw projection !!!
|
|
197566
197387
|
extendB, reversed) {
|
|
@@ -197584,8 +197405,8 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197584
197405
|
}
|
|
197585
197406
|
}
|
|
197586
197407
|
// Caller accesses data from two arcs.
|
|
197587
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
197588
|
-
// Solves the arc-arc equations
|
|
197408
|
+
// Selects the best conditioned arc (in xy parts) as "circle after inversion".
|
|
197409
|
+
// Solves the arc-arc equations.
|
|
197589
197410
|
dispatchArcArc(cpA, extendA, cpB, extendB, reversed) {
|
|
197590
197411
|
// Arc: X = C + cU + sV
|
|
197591
197412
|
// Line: contains points A0,A1
|
|
@@ -197631,9 +197452,6 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197631
197452
|
this.recordPairs(cpA, cpB, pairs, reversed);
|
|
197632
197453
|
}
|
|
197633
197454
|
}
|
|
197634
|
-
// Caller accesses data from two arcs.
|
|
197635
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
197636
|
-
// Solves the arc-arc equations
|
|
197637
197455
|
dispatchArcBsplineCurve3d(cpA, extendA, cpB, extendB, reversed) {
|
|
197638
197456
|
// Arc: X = C + cU + sV
|
|
197639
197457
|
// implicitize the arc as viewed. This "3d" matrix is homogeneous "XYW" not "xyz"
|
|
@@ -197704,7 +197522,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197704
197522
|
}
|
|
197705
197523
|
}
|
|
197706
197524
|
}
|
|
197707
|
-
/** Apply the transformation to bezier curves.
|
|
197525
|
+
/** Apply the transformation to bezier curves. Optionally construct ranges. */
|
|
197708
197526
|
transformBeziers(beziers) {
|
|
197709
197527
|
if (this._worldToLocalAffine) {
|
|
197710
197528
|
for (const bezier of beziers)
|
|
@@ -197744,8 +197562,9 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197744
197562
|
const s = bcurvePoint4d.dotProductXYZW(ayx, ayy, ayz, ayw);
|
|
197745
197563
|
const arcFraction = cpA.sweep.radiansToSignedPeriodicFraction(Math.atan2(s, c));
|
|
197746
197564
|
if (this.acceptFraction(extendA, arcFraction, extendA) && this.acceptFraction(extendB, fractionB, extendB)) {
|
|
197747
|
-
this.recordPointWithLocalFractions(
|
|
197748
|
-
fractionB, cpB, 0, 1, reversed
|
|
197565
|
+
this.recordPointWithLocalFractions(
|
|
197566
|
+
arcFraction, cpA, 0, 1, fractionB, cpB, 0, 1, reversed,
|
|
197567
|
+
);
|
|
197749
197568
|
}
|
|
197750
197569
|
}
|
|
197751
197570
|
*/
|
|
@@ -197761,7 +197580,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197761
197580
|
bezierB.poleProductsXYZW(univariateBezierB.coffs, this._xyzwPlane.x, this._xyzwPlane.y, this._xyzwPlane.z, this._xyzwPlane.w);
|
|
197762
197581
|
let errors = 0;
|
|
197763
197582
|
const roots = univariateBezierB.roots(0.0, true);
|
|
197764
|
-
if (roots)
|
|
197583
|
+
if (roots) {
|
|
197765
197584
|
for (const r of roots) {
|
|
197766
197585
|
let bezierBFraction = r;
|
|
197767
197586
|
bezierB.fractionToPoint4d(bezierBFraction, this._xyzwB);
|
|
@@ -197798,11 +197617,9 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197798
197617
|
}
|
|
197799
197618
|
}
|
|
197800
197619
|
}
|
|
197620
|
+
}
|
|
197801
197621
|
}
|
|
197802
197622
|
}
|
|
197803
|
-
// Caller accesses data from two arcs.
|
|
197804
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
197805
|
-
// Solves the arc-arc equations
|
|
197806
197623
|
dispatchBSplineCurve3dBSplineCurve3d(bcurveA, bcurveB, _reversed) {
|
|
197807
197624
|
const bezierSpanA = bcurveA.collectBezierSpans(true);
|
|
197808
197625
|
const bezierSpanB = bcurveB.collectBezierSpans(true);
|
|
@@ -197830,9 +197647,9 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197830
197647
|
}
|
|
197831
197648
|
}
|
|
197832
197649
|
/**
|
|
197833
|
-
* Apply the projection transform (if any) to (xyz, w)
|
|
197650
|
+
* Apply the projection transform (if any) to (xyz, w).
|
|
197834
197651
|
* @param xyz xyz parts of input point.
|
|
197835
|
-
* @param w weight to use for homogeneous effects
|
|
197652
|
+
* @param w weight to use for homogeneous effects.
|
|
197836
197653
|
*/
|
|
197837
197654
|
projectPoint(xyz, w = 1.0) {
|
|
197838
197655
|
if (this._worldToLocalPerspective)
|
|
@@ -197857,9 +197674,9 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197857
197674
|
npcPlane.clone(worldPlane);
|
|
197858
197675
|
}
|
|
197859
197676
|
}
|
|
197860
|
-
// Caller accesses data from segment and bsplineCurve
|
|
197861
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
197862
|
-
// Solves the arc-arc equations
|
|
197677
|
+
// Caller accesses data from segment and bsplineCurve.
|
|
197678
|
+
// Selects the best conditioned arc (in xy parts) as "circle after inversion".
|
|
197679
|
+
// Solves the arc-arc equations.
|
|
197863
197680
|
dispatchSegmentBsplineCurve(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, bcurve, extendB, reversed) {
|
|
197864
197681
|
const pointA0H = this.projectPoint(pointA0);
|
|
197865
197682
|
const pointA1H = this.projectPoint(pointA1);
|
|
@@ -197941,6 +197758,38 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197941
197758
|
}
|
|
197942
197759
|
return undefined;
|
|
197943
197760
|
}
|
|
197761
|
+
/** Detail computation for linestring intersecting linestring. */
|
|
197762
|
+
computeLineStringLineString(lsA, lsB, reversed) {
|
|
197763
|
+
const pointA0 = CurveCurveIntersectXY._workPointAA0;
|
|
197764
|
+
const pointA1 = CurveCurveIntersectXY._workPointAA1;
|
|
197765
|
+
const pointB0 = CurveCurveIntersectXY._workPointBB0;
|
|
197766
|
+
const pointB1 = CurveCurveIntersectXY._workPointBB1;
|
|
197767
|
+
const numA = lsA.numPoints();
|
|
197768
|
+
const numB = lsB.numPoints();
|
|
197769
|
+
if (numA > 1 && numB > 1) {
|
|
197770
|
+
lsA.pointAt(0, pointA0);
|
|
197771
|
+
const dfA = 1.0 / (numA - 1);
|
|
197772
|
+
const dfB = 1.0 / (numB - 1);
|
|
197773
|
+
let fA0 = 0.0;
|
|
197774
|
+
let fB0;
|
|
197775
|
+
let fA1;
|
|
197776
|
+
let fB1;
|
|
197777
|
+
const extendA = this._extendA;
|
|
197778
|
+
const extendB = this._extendB;
|
|
197779
|
+
lsA.pointAt(0, pointA0);
|
|
197780
|
+
for (let ia = 1; ia < numA; ia++, pointA0.setFrom(pointA1), fA0 = fA1) {
|
|
197781
|
+
fA1 = ia * dfA;
|
|
197782
|
+
fB0 = 0.0;
|
|
197783
|
+
lsA.pointAt(ia, pointA1);
|
|
197784
|
+
lsB.pointAt(0, pointB0);
|
|
197785
|
+
for (let ib = 1; ib < numB; ib++, pointB0.setFrom(pointB1), fB0 = fB1) {
|
|
197786
|
+
lsB.pointAt(ib, pointB1);
|
|
197787
|
+
fB1 = ib * dfB;
|
|
197788
|
+
this.dispatchSegmentSegment(lsA, ia === 1 && extendA, pointA0, fA0, pointA1, fA1, (ia + 1) === numA && extendA, lsB, ib === 1 && extendB, pointB0, fB0, pointB1, fB1, (ib + 1) === numB && extendB, reversed);
|
|
197789
|
+
}
|
|
197790
|
+
}
|
|
197791
|
+
}
|
|
197792
|
+
}
|
|
197944
197793
|
static setTransformedWorkPoints(transform, pointA0, pointA1, pointB0, pointB1) {
|
|
197945
197794
|
transform.multiplyPoint3d(pointA0, this._workPointA0);
|
|
197946
197795
|
transform.multiplyPoint3d(pointA1, this._workPointA1);
|
|
@@ -197962,40 +197811,13 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197962
197811
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_14__.BSplineCurve3d) {
|
|
197963
197812
|
this.dispatchSegmentBsplineCurve(segmentA, this._extendA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, this._extendA, this._geometryB, this._extendB, false);
|
|
197964
197813
|
}
|
|
197814
|
+
return undefined;
|
|
197965
197815
|
}
|
|
197966
197816
|
/** Double dispatch handler for strongly typed linestring. */
|
|
197967
197817
|
handleLineString3d(lsA) {
|
|
197968
197818
|
if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_12__.LineString3d) {
|
|
197969
197819
|
const lsB = this._geometryB;
|
|
197970
|
-
|
|
197971
|
-
const pointA1 = CurveCurveIntersectXY._workPointAA1;
|
|
197972
|
-
const pointB0 = CurveCurveIntersectXY._workPointBB0;
|
|
197973
|
-
const pointB1 = CurveCurveIntersectXY._workPointBB1;
|
|
197974
|
-
const numA = lsA.numPoints();
|
|
197975
|
-
const numB = lsB.numPoints();
|
|
197976
|
-
if (numA > 1 && numB > 1) {
|
|
197977
|
-
lsA.pointAt(0, pointA0);
|
|
197978
|
-
const dfA = 1.0 / (numA - 1);
|
|
197979
|
-
const dfB = 1.0 / (numB - 1);
|
|
197980
|
-
let fA0 = 0.0;
|
|
197981
|
-
let fB0;
|
|
197982
|
-
let fA1;
|
|
197983
|
-
let fB1;
|
|
197984
|
-
const extendA = this._extendA;
|
|
197985
|
-
const extendB = this._extendB;
|
|
197986
|
-
lsA.pointAt(0, pointA0);
|
|
197987
|
-
for (let ia = 1; ia < numA; ia++, pointA0.setFrom(pointA1), fA0 = fA1) {
|
|
197988
|
-
fA1 = ia * dfA;
|
|
197989
|
-
fB0 = 0.0;
|
|
197990
|
-
lsA.pointAt(ia, pointA1);
|
|
197991
|
-
lsB.pointAt(0, pointB0);
|
|
197992
|
-
for (let ib = 1; ib < numB; ib++, pointB0.setFrom(pointB1), fB0 = fB1) {
|
|
197993
|
-
lsB.pointAt(ib, pointB1);
|
|
197994
|
-
fB1 = ib * dfB;
|
|
197995
|
-
this.dispatchSegmentSegment(lsA, ia === 1 && extendA, pointA0, fA0, pointA1, fA1, (ia + 1) === numA && extendA, lsB, ib === 1 && extendB, pointB0, fB0, pointB1, fB1, (ib + 1) === numB && extendB, false);
|
|
197996
|
-
}
|
|
197997
|
-
}
|
|
197998
|
-
}
|
|
197820
|
+
this.computeLineStringLineString(lsA, lsB, false);
|
|
197999
197821
|
}
|
|
198000
197822
|
else if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_11__.LineSegment3d) {
|
|
198001
197823
|
this.computeSegmentLineString(this._geometryB, this._extendB, lsA, this._extendA, true);
|
|
@@ -198088,14 +197910,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
198088
197910
|
/* harmony export */ CurveCurveIntersectXYZ: () => (/* binding */ CurveCurveIntersectXYZ)
|
|
198089
197911
|
/* harmony export */ });
|
|
198090
197912
|
/* harmony import */ var _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../bspline/BSplineCurve */ "../../core/geometry/lib/esm/bspline/BSplineCurve.js");
|
|
198091
|
-
/* harmony import */ var
|
|
197913
|
+
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
198092
197914
|
/* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
|
|
198093
197915
|
/* harmony import */ var _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../geometry3d/Plane3dByOriginAndUnitNormal */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js");
|
|
198094
197916
|
/* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
198095
197917
|
/* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
198096
197918
|
/* harmony import */ var _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../numerics/Polynomials */ "../../core/geometry/lib/esm/numerics/Polynomials.js");
|
|
198097
197919
|
/* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
198098
|
-
/* harmony import */ var
|
|
197920
|
+
/* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
|
|
198099
197921
|
/* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
|
|
198100
197922
|
/* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
198101
197923
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -198124,9 +197946,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
198124
197946
|
* @internal
|
|
198125
197947
|
*/
|
|
198126
197948
|
class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_0__.NullGeometryHandler {
|
|
198127
|
-
reinitialize() {
|
|
198128
|
-
this._results = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_1__.CurveLocationDetailArrayPair();
|
|
198129
|
-
}
|
|
198130
197949
|
/**
|
|
198131
197950
|
* @param extendA flag to enable using extension of the other geometry.
|
|
198132
197951
|
* @param geometryB second curve for intersection. Saved for reference by specific handler methods.
|
|
@@ -198137,16 +197956,16 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198137
197956
|
this._extendA = extendA;
|
|
198138
197957
|
this._geometryB = geometryB;
|
|
198139
197958
|
this._extendB = extendB;
|
|
198140
|
-
this.
|
|
197959
|
+
this._results = [];
|
|
198141
197960
|
}
|
|
198142
197961
|
/**
|
|
198143
|
-
*
|
|
197962
|
+
* Return the results structure for the intersection calculation, structured as an array of CurveLocationDetailPair.
|
|
198144
197963
|
* @param reinitialize if true, a new results structure is created for use by later calls.
|
|
198145
197964
|
*/
|
|
198146
|
-
|
|
197965
|
+
grabPairedResults(reinitialize = false) {
|
|
198147
197966
|
const result = this._results;
|
|
198148
197967
|
if (reinitialize)
|
|
198149
|
-
this.
|
|
197968
|
+
this._results = [];
|
|
198150
197969
|
return result;
|
|
198151
197970
|
}
|
|
198152
197971
|
acceptFraction(extend0, fraction, extend1) {
|
|
@@ -198162,23 +197981,22 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198162
197981
|
* Reject if evaluated points do not match coordinates (e.g. close approach point).
|
|
198163
197982
|
* Record with fraction mapping.
|
|
198164
197983
|
*/
|
|
198165
|
-
recordPointWithLocalFractions(localFractionA, cpA, fractionA0, fractionA1, localFractionB,
|
|
198166
|
-
|
|
198167
|
-
const
|
|
198168
|
-
const globalFractionB = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionB0, localFractionB, fractionB1);
|
|
197984
|
+
recordPointWithLocalFractions(localFractionA, cpA, fractionA0, fractionA1, localFractionB, cpB, fractionB0, fractionB1, reversed) {
|
|
197985
|
+
const globalFractionA = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.interpolate(fractionA0, localFractionA, fractionA1);
|
|
197986
|
+
const globalFractionB = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.interpolate(fractionB0, localFractionB, fractionB1);
|
|
198169
197987
|
// ignore duplicate of most recent point . ..
|
|
198170
|
-
const numPrevious = this._results.
|
|
197988
|
+
const numPrevious = this._results.length;
|
|
198171
197989
|
if (numPrevious > 0) {
|
|
198172
|
-
const topFractionA = this._results
|
|
198173
|
-
const topFractionB = this._results
|
|
197990
|
+
const topFractionA = this._results[numPrevious - 1].detailA.fraction;
|
|
197991
|
+
const topFractionB = this._results[numPrevious - 1].detailB.fraction;
|
|
198174
197992
|
if (reversed) {
|
|
198175
|
-
if (
|
|
198176
|
-
|
|
197993
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.isAlmostEqualNumber(topFractionA, globalFractionB) &&
|
|
197994
|
+
_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.isAlmostEqualNumber(topFractionB, globalFractionA))
|
|
198177
197995
|
return;
|
|
198178
197996
|
}
|
|
198179
197997
|
else {
|
|
198180
|
-
if (
|
|
198181
|
-
|
|
197998
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.isAlmostEqualNumber(topFractionA, globalFractionA) &&
|
|
197999
|
+
_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.isAlmostEqualNumber(topFractionB, globalFractionB))
|
|
198182
198000
|
return;
|
|
198183
198001
|
}
|
|
198184
198002
|
}
|
|
@@ -198186,17 +198004,17 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198186
198004
|
const pointB = cpB.fractionToPoint(globalFractionB);
|
|
198187
198005
|
if (!pointA.isAlmostEqualMetric(pointB))
|
|
198188
198006
|
return;
|
|
198189
|
-
const detailA =
|
|
198190
|
-
detailA.setIntervalRole(
|
|
198191
|
-
const detailB =
|
|
198192
|
-
detailB.setIntervalRole(
|
|
198007
|
+
const detailA = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPoint(cpA, globalFractionA, pointA);
|
|
198008
|
+
detailA.setIntervalRole(_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveIntervalRole.isolated);
|
|
198009
|
+
const detailB = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPoint(cpB, globalFractionB, pointB);
|
|
198010
|
+
detailB.setIntervalRole(_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveIntervalRole.isolated);
|
|
198193
198011
|
if (reversed) {
|
|
198194
|
-
|
|
198195
|
-
this._results.
|
|
198012
|
+
const pair = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetailPair(detailB, detailA);
|
|
198013
|
+
this._results.push(pair);
|
|
198196
198014
|
}
|
|
198197
198015
|
else {
|
|
198198
|
-
|
|
198199
|
-
this._results.
|
|
198016
|
+
const pair = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetailPair(detailA, detailB);
|
|
198017
|
+
this._results.push(pair);
|
|
198200
198018
|
}
|
|
198201
198019
|
}
|
|
198202
198020
|
/**
|
|
@@ -198212,8 +198030,8 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198212
198030
|
}
|
|
198213
198031
|
}
|
|
198214
198032
|
// Caller accesses data from a line segment and passes to here.
|
|
198215
|
-
//
|
|
198216
|
-
// allow all combinations to be passed in
|
|
198033
|
+
// The line segment in question might be (a) a full line segment or (b) a fragment within a linestring.
|
|
198034
|
+
// The fraction and extend parameters allow all combinations to be passed in.
|
|
198217
198035
|
// This method applies transform.
|
|
198218
198036
|
dispatchSegmentSegment(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
198219
198037
|
this.computeSegmentSegment3D(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed);
|
|
@@ -198228,12 +198046,12 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198228
198046
|
* @param origin plane origin
|
|
198229
198047
|
* @param vectorA vector which must be in the plane.
|
|
198230
198048
|
* @param cosineValue largest cosine of the angle theta between vectorA and vectorB to prefer their cross product, e.g.
|
|
198231
|
-
*
|
|
198049
|
+
* passing 0.94 ~ cos(20deg) will switch to using vectorC in the cross product if theta < ~20deg or theta > ~160deg.
|
|
198232
198050
|
* @param vectorB first candidate for additional in-plane vector
|
|
198233
198051
|
* @param vectorC second candidate for additional in-plane vector
|
|
198234
198052
|
*/
|
|
198235
198053
|
createPlaneWithPreferredPerpendicular(origin, vectorA, cosineValue, vectorB, vectorC) {
|
|
198236
|
-
cosineValue =
|
|
198054
|
+
cosineValue = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.restrictToInterval(Math.abs(cosineValue), 0.0, 1.0 - _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallFraction);
|
|
198237
198055
|
const dotAA = vectorA.magnitudeSquared();
|
|
198238
198056
|
const dotBB = vectorB.magnitudeSquared();
|
|
198239
198057
|
const dotAB = Math.abs(vectorA.dotProduct(vectorB));
|
|
@@ -198243,8 +198061,8 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198243
198061
|
return undefined;
|
|
198244
198062
|
}
|
|
198245
198063
|
// Caller accesses data from a linestring or segment and passes it here.
|
|
198246
|
-
//
|
|
198247
|
-
// allow all combinations to be passed in
|
|
198064
|
+
// The line segment in question might be (a) a full line segment or (b) a fragment within a linestring.
|
|
198065
|
+
// The fraction and extend parameters allow all combinations to be passed in.
|
|
198248
198066
|
dispatchSegmentArc(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, arc, extendB0, extendB1, reversed) {
|
|
198249
198067
|
const lineVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_5__.Vector3d.createStartEnd(pointA0, pointA1);
|
|
198250
198068
|
const plane = this.createPlaneWithPreferredPerpendicular(pointA0, lineVector, 0.94, arc.perpendicularVector, arc.vector0);
|
|
@@ -198279,7 +198097,7 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198279
198097
|
_numerics_Polynomials__WEBPACK_IMPORTED_MODULE_3__.TrigPolynomial.solveUnitCircleHomogeneousEllipseIntersection(otherVectors.center.x, otherVectors.center.y, 1.0, otherVectors.vector0.x, otherVectors.vector0.y, 0.0, otherVectors.vector90.x, otherVectors.vector90.y, 0.0, ellipseRadians, circleRadians);
|
|
198280
198098
|
for (let i = 0; i < ellipseRadians.length; i++) {
|
|
198281
198099
|
const fractionA = cpA.sweep.radiansToSignedPeriodicFraction(circleRadians[i]);
|
|
198282
|
-
const fractionB =
|
|
198100
|
+
const fractionB = cpB.sweep.radiansToSignedPeriodicFraction(ellipseRadians[i]);
|
|
198283
198101
|
// hm .. do we really need to check the fractions? We know they are internal to the beziers
|
|
198284
198102
|
if (this.acceptFraction(extendA, fractionA, extendA) && this.acceptFraction(extendB, fractionB, extendB)) {
|
|
198285
198103
|
this.recordPointWithLocalFractions(fractionA, cpA, 0, 1, fractionB, cpB, 0, 1, reversed);
|
|
@@ -198288,13 +198106,13 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198288
198106
|
}
|
|
198289
198107
|
}
|
|
198290
198108
|
// Caller accesses data from two arcs.
|
|
198291
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
198292
|
-
// Solves the arc-arc equations
|
|
198109
|
+
// Selects the best conditioned arc (in xy parts) as "circle after inversion".
|
|
198110
|
+
// Solves the arc-arc equations.
|
|
198293
198111
|
dispatchArcArc(cpA, extendA, cpB, extendB, reversed) {
|
|
198294
198112
|
// If arcs are in different planes:
|
|
198295
198113
|
// 1) Intersect each plane with the other arc (quadratic)
|
|
198296
198114
|
// 2) accept points that appear in both intersection sets.
|
|
198297
|
-
// If arcs are in parallel planes -- no intersections
|
|
198115
|
+
// If arcs are in parallel planes -- no intersections.
|
|
198298
198116
|
// If arcs are in the same plane -- xy intersection in that plane.
|
|
198299
198117
|
const planeA = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_4__.Plane3dByOriginAndUnitNormal.create(cpA.center, cpA.perpendicularVector);
|
|
198300
198118
|
const planeB = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_4__.Plane3dByOriginAndUnitNormal.create(cpB.center, cpB.perpendicularVector);
|
|
@@ -198302,7 +198120,7 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198302
198120
|
return;
|
|
198303
198121
|
if (planeA.getNormalRef().isParallelTo(planeB.getNormalRef())) {
|
|
198304
198122
|
if (planeA.isPointInPlane(planeB.getOriginRef()) && planeB.isPointInPlane(planeA.getOriginRef())) {
|
|
198305
|
-
// coplanar
|
|
198123
|
+
// coplanar
|
|
198306
198124
|
this.dispatchArcArcInPlane(cpA, extendA, cpB, extendB, reversed);
|
|
198307
198125
|
}
|
|
198308
198126
|
}
|
|
@@ -198324,8 +198142,8 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198324
198142
|
}
|
|
198325
198143
|
}
|
|
198326
198144
|
// Caller accesses data from two arcs.
|
|
198327
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
198328
|
-
// Solves the arc-arc equations
|
|
198145
|
+
// Selects the best conditioned arc (in xy parts) as "circle after inversion".
|
|
198146
|
+
// Solves the arc-arc equations.
|
|
198329
198147
|
dispatchArcBsplineCurve3d(_arc, _extendA, _cpB, _extendB, _reversed) {
|
|
198330
198148
|
/*
|
|
198331
198149
|
// Arc: X = C + cU + sV
|
|
@@ -198333,7 +198151,9 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198333
198151
|
let matrixA: Matrix3d;
|
|
198334
198152
|
if (this._worldToLocalPerspective) {
|
|
198335
198153
|
const dataA = cpA.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
198336
|
-
matrixA = Matrix3d.createColumnsXYW(
|
|
198154
|
+
matrixA = Matrix3d.createColumnsXYW(
|
|
198155
|
+
dataA.vector0, dataA.vector0.w, dataA.vector90, dataA.vector90.w, dataA.center, dataA.center.w,
|
|
198156
|
+
);
|
|
198337
198157
|
} else {
|
|
198338
198158
|
const dataA = cpA.toTransformedVectors(this._worldToLocalAffine);
|
|
198339
198159
|
matrixA = Matrix3d.createColumnsXYW(dataA.vector0, 0, dataA.vector90, 0, dataA.center, 1);
|
|
@@ -198345,12 +198165,21 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198345
198165
|
const matrixAInverse = matrixA.inverse();
|
|
198346
198166
|
if (matrixAInverse) {
|
|
198347
198167
|
const orderF = cpB.order; // order of the beziers for simple coordinates
|
|
198348
|
-
const orderG = 2 * orderF - 1;
|
|
198168
|
+
const orderG = 2 * orderF - 1; // order of the (single) bezier for squared coordinates.
|
|
198349
198169
|
const coffF = new Float64Array(orderF);
|
|
198350
198170
|
const univariateBezierG = new UnivariateBezier(orderG);
|
|
198351
|
-
const axx = matrixAInverse.at(0, 0);
|
|
198352
|
-
const
|
|
198353
|
-
const
|
|
198171
|
+
const axx = matrixAInverse.at(0, 0);
|
|
198172
|
+
const axy = matrixAInverse.at(0, 1);
|
|
198173
|
+
const axz = 0.0;
|
|
198174
|
+
const axw = matrixAInverse.at(0, 2);
|
|
198175
|
+
const ayx = matrixAInverse.at(1, 0);
|
|
198176
|
+
const ayy = matrixAInverse.at(1, 1);
|
|
198177
|
+
const ayz = 0.0;
|
|
198178
|
+
const ayw = matrixAInverse.at(1, 2);
|
|
198179
|
+
const awx = matrixAInverse.at(2, 0);
|
|
198180
|
+
const awy = matrixAInverse.at(2, 1);
|
|
198181
|
+
const awz = 0.0;
|
|
198182
|
+
const aww = matrixAInverse.at(2, 2);
|
|
198354
198183
|
|
|
198355
198184
|
if (matrixAInverse) {
|
|
198356
198185
|
let bezier: BezierCurve3dH | undefined;
|
|
@@ -198377,9 +198206,11 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198377
198206
|
const c = bcurvePoint4d.dotProductXYZW(axx, axy, axz, axw);
|
|
198378
198207
|
const s = bcurvePoint4d.dotProductXYZW(ayx, ayy, ayz, ayw);
|
|
198379
198208
|
const arcFraction = cpA.sweep.radiansToSignedPeriodicFraction(Math.atan2(s, c));
|
|
198380
|
-
if (this.acceptFraction(extendA, arcFraction, extendA) &&
|
|
198381
|
-
this.
|
|
198382
|
-
|
|
198209
|
+
if (this.acceptFraction(extendA, arcFraction, extendA) &&
|
|
198210
|
+
this.acceptFraction(extendB, fractionB, extendB)) {
|
|
198211
|
+
this.recordPointWithLocalFractions(
|
|
198212
|
+
arcFraction, cpA, 0, 1, fractionB, cpB, 0, 1, reversed,
|
|
198213
|
+
);
|
|
198383
198214
|
}
|
|
198384
198215
|
}
|
|
198385
198216
|
}
|
|
@@ -198389,8 +198220,8 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198389
198220
|
*/
|
|
198390
198221
|
}
|
|
198391
198222
|
/*
|
|
198392
|
-
//
|
|
198393
|
-
private transformBeziers(beziers: BezierCurve3dH[]) {
|
|
198223
|
+
// Apply the transformation to bezier curves. Optionally construct ranges.
|
|
198224
|
+
private transformBeziers(beziers: BezierCurve3dH[]): void {
|
|
198394
198225
|
if (this._worldToLocalAffine) {
|
|
198395
198226
|
for (const bezier of beziers) bezier.tryTransformInPlace(this._worldToLocalAffine);
|
|
198396
198227
|
} else if (this._worldToLocalPerspective) {
|
|
@@ -198407,11 +198238,6 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198407
198238
|
}
|
|
198408
198239
|
return ranges;
|
|
198409
198240
|
}
|
|
198410
|
-
private _xyzwA0?: Point4d;
|
|
198411
|
-
private _xyzwA1?: Point4d;
|
|
198412
|
-
private _xyzwPlane?: Point4d;
|
|
198413
|
-
private _xyzwB?: Point4d;
|
|
198414
|
-
|
|
198415
198241
|
private dispatchBezierBezierStrokeFirst(
|
|
198416
198242
|
bezierA: BezierCurve3dH,
|
|
198417
198243
|
bcurveA: BSplineCurve3dBase,
|
|
@@ -198420,11 +198246,16 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198420
198246
|
bcurveB: BSplineCurve3dBase,
|
|
198421
198247
|
_strokeCountB: number,
|
|
198422
198248
|
univariateBezierB: UnivariateBezier, // caller-allocated for univariate coefficients.
|
|
198423
|
-
reversed: boolean
|
|
198424
|
-
|
|
198425
|
-
if (!this.
|
|
198426
|
-
|
|
198427
|
-
if (!this.
|
|
198249
|
+
reversed: boolean,
|
|
198250
|
+
) {
|
|
198251
|
+
if (!this._xyzwA0)
|
|
198252
|
+
this._xyzwA0 = Point4d.create();
|
|
198253
|
+
if (!this._xyzwA1)
|
|
198254
|
+
this._xyzwA1 = Point4d.create();
|
|
198255
|
+
if (!this._xyzwPlane)
|
|
198256
|
+
this._xyzwPlane = Point4d.create();
|
|
198257
|
+
if (!this._xyzwB)
|
|
198258
|
+
this._xyzwB = Point4d.create();
|
|
198428
198259
|
const roots = univariateBezierG.roots(0.0, true);
|
|
198429
198260
|
if (roots) {
|
|
198430
198261
|
for (const root of roots) {
|
|
@@ -198435,8 +198266,9 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198435
198266
|
const s = bcurvePoint4d.dotProductXYZW(ayx, ayy, ayz, ayw);
|
|
198436
198267
|
const arcFraction = cpA.sweep.radiansToSignedPeriodicFraction(Math.atan2(s, c));
|
|
198437
198268
|
if (this.acceptFraction(extendA, arcFraction, extendA) && this.acceptFraction(extendB, fractionB, extendB)) {
|
|
198438
|
-
this.recordPointWithLocalFractions(
|
|
198439
|
-
fractionB, cpB, 0, 1, reversed
|
|
198269
|
+
this.recordPointWithLocalFractions(
|
|
198270
|
+
arcFraction, cpA, 0, 1, fractionB, cpB, 0, 1, reversed,
|
|
198271
|
+
);
|
|
198440
198272
|
}
|
|
198441
198273
|
}
|
|
198442
198274
|
bezierA.fractionToPoint4d(0.0, this._xyzwA0);
|
|
@@ -198448,7 +198280,9 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198448
198280
|
f1 = i * df;
|
|
198449
198281
|
bezierA.fractionToPoint4d(f1, this._xyzwA1);
|
|
198450
198282
|
Point4d.createPlanePointPointZ(this._xyzwA0, this._xyzwA1, this._xyzwPlane);
|
|
198451
|
-
bezierB.poleProductsXYZW(
|
|
198283
|
+
bezierB.poleProductsXYZW(
|
|
198284
|
+
univariateBezierB.coffs, this._xyzwPlane.x, this._xyzwPlane.y, this._xyzwPlane.z, this._xyzwPlane.w,
|
|
198285
|
+
);
|
|
198452
198286
|
let errors = 0;
|
|
198453
198287
|
const roots = univariateBezierB.roots(0.0, true);
|
|
198454
198288
|
if (roots)
|
|
@@ -198458,7 +198292,7 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198458
198292
|
const segmentAFraction = SmallSystem.lineSegment3dHXYClosestPointUnbounded(this._xyzwA0, this._xyzwA1, this._xyzwB);
|
|
198459
198293
|
if (segmentAFraction && Geometry.isIn01WithTolerance(segmentAFraction, intervalTolerance)) {
|
|
198460
198294
|
const bezierAFraction = Geometry.interpolate(f0, segmentAFraction, f1);
|
|
198461
|
-
|
|
198295
|
+
// TODO implement newton search
|
|
198462
198296
|
const xyMatchingFunction = new BezierBezierIntersectionXYRRToRRD(bezierA, bezierB);
|
|
198463
198297
|
const newtonSearcher = new Newton2dUnboundedWithDerivative(xyMatchingFunction);
|
|
198464
198298
|
newtonSearcher.setUV(bezierAFraction, bezierBFraction);
|
|
@@ -198483,9 +198317,11 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198483
198317
|
errors++;
|
|
198484
198318
|
if (errors > 0 && !xyzA1.isAlmostEqual(xyzB1))
|
|
198485
198319
|
errors++;
|
|
198486
|
-
if (this.acceptFraction(false, bcurveAFraction, false) &&
|
|
198487
|
-
this.
|
|
198488
|
-
|
|
198320
|
+
if (this.acceptFraction(false, bcurveAFraction, false) &&
|
|
198321
|
+
this.acceptFraction(false, bcurveBFraction, false)) {
|
|
198322
|
+
this.recordPointWithLocalFractions(
|
|
198323
|
+
bcurveAFraction, bcurveA, 0, 1, bcurveBFraction, bcurveB, 0, 1, reversed,
|
|
198324
|
+
);
|
|
198489
198325
|
}
|
|
198490
198326
|
}
|
|
198491
198327
|
}
|
|
@@ -198493,8 +198329,8 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198493
198329
|
}
|
|
198494
198330
|
*/
|
|
198495
198331
|
// Caller accesses data from two arcs.
|
|
198496
|
-
// Selects the best conditioned arc (in xy parts) as "circle after inversion"
|
|
198497
|
-
// Solves the arc-arc equations
|
|
198332
|
+
// Selects the best conditioned arc (in xy parts) as "circle after inversion".
|
|
198333
|
+
// Solves the arc-arc equations.
|
|
198498
198334
|
dispatchBSplineCurve3dBSplineCurve3d(_bcurveA, _bcurveB, _reversed) {
|
|
198499
198335
|
/*
|
|
198500
198336
|
const bezierSpanA = bcurveA.collectBezierSpans(true) as BezierCurve3dH[];
|
|
@@ -198515,9 +198351,13 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198515
198351
|
const strokeCountA = bezierSpanA[a].computeStrokeCountForOptions();
|
|
198516
198352
|
const strokeCountB = bezierSpanB[b].computeStrokeCountForOptions();
|
|
198517
198353
|
if (strokeCountA < strokeCountB)
|
|
198518
|
-
this.dispatchBezierBezierStrokeFirst(
|
|
198354
|
+
this.dispatchBezierBezierStrokeFirst(
|
|
198355
|
+
bezierSpanA[a], bcurveA, strokeCountA, bezierSpanB[b], bcurveB, strokeCountB, univariateCoffsB, _reversed,
|
|
198356
|
+
);
|
|
198519
198357
|
else
|
|
198520
|
-
this.dispatchBezierBezierStrokeFirst(
|
|
198358
|
+
this.dispatchBezierBezierStrokeFirst(
|
|
198359
|
+
bezierSpanB[b], bcurveB, strokeCountB, bezierSpanA[a], bcurveA, strokeCountA, univariateCoffsA, !_reversed,
|
|
198360
|
+
);
|
|
198521
198361
|
}
|
|
198522
198362
|
}
|
|
198523
198363
|
}
|
|
@@ -198525,9 +198365,9 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198525
198365
|
}
|
|
198526
198366
|
/*
|
|
198527
198367
|
/**
|
|
198528
|
-
* Apply the projection transform (if any) to (xyz, w)
|
|
198368
|
+
* Apply the projection transform (if any) to (xyz, w).
|
|
198529
198369
|
* @param xyz xyz parts of input point.
|
|
198530
|
-
* @param w
|
|
198370
|
+
* @param w weight to use for homogeneous effects.
|
|
198531
198371
|
*/
|
|
198532
198372
|
/*
|
|
198533
198373
|
private projectPoint(xyz: XYAndZ, w: number = 1.0): Point4d {
|
|
@@ -198564,16 +198404,19 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198564
198404
|
// NOW .. we have a plane in world space. Intersect it with the bspline:
|
|
198565
198405
|
const intersections: CurveLocationDetail[] = [];
|
|
198566
198406
|
bcurve.appendPlaneIntersectionPoints(planeCoffs, intersections);
|
|
198567
|
-
// intersections has WORLD points with bspline fractions.
|
|
198407
|
+
// intersections has WORLD points with bspline fractions.
|
|
198408
|
+
// (the bspline fractions are all good 0..1 fractions within the spline).
|
|
198568
198409
|
// accept those that are within the segment range.
|
|
198569
198410
|
for (const detail of intersections) {
|
|
198570
198411
|
const fractionB = detail.fraction;
|
|
198571
198412
|
const curvePoint = detail.point;
|
|
198572
198413
|
const curvePointH = this.projectPoint(curvePoint);
|
|
198573
198414
|
const lineFraction = SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, curvePointH);
|
|
198574
|
-
if (lineFraction !== undefined && this.acceptFraction(extendA0, lineFraction, extendA1) &&
|
|
198575
|
-
this.
|
|
198576
|
-
|
|
198415
|
+
if (lineFraction !== undefined && this.acceptFraction(extendA0, lineFraction, extendA1) &&
|
|
198416
|
+
this.acceptFraction(extendB, fractionB, extendB)) {
|
|
198417
|
+
this.recordPointWithLocalFractions(
|
|
198418
|
+
lineFraction, cpA, fractionA0, fractionA1, fractionB, bcurve, 0, 1, reversed,
|
|
198419
|
+
);
|
|
198577
198420
|
}
|
|
198578
198421
|
}
|
|
198579
198422
|
*/
|
|
@@ -198590,7 +198433,7 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198590
198433
|
const pointA0 = CurveCurveIntersectXYZ._workPointA0;
|
|
198591
198434
|
const pointA1 = CurveCurveIntersectXYZ._workPointA1;
|
|
198592
198435
|
lsA.pointAt(0, pointA0);
|
|
198593
|
-
for (let iA = 1; iA < numA; iA
|
|
198436
|
+
for (let iA = 1; iA < numA; iA++, pointA0.setFrom(pointA1), fA0 = fA1) {
|
|
198594
198437
|
lsA.pointAt(iA, pointA1);
|
|
198595
198438
|
fA1 = iA * dfA;
|
|
198596
198439
|
this.dispatchSegmentBsplineCurve(
|
|
@@ -198641,6 +198484,38 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198641
198484
|
}
|
|
198642
198485
|
return undefined;
|
|
198643
198486
|
}
|
|
198487
|
+
/** Detail computation for linestring intersecting linestring. */
|
|
198488
|
+
computeLineStringLineString(lsA, lsB, reversed) {
|
|
198489
|
+
const pointA0 = CurveCurveIntersectXYZ._workPointAA0;
|
|
198490
|
+
const pointA1 = CurveCurveIntersectXYZ._workPointAA1;
|
|
198491
|
+
const pointB0 = CurveCurveIntersectXYZ._workPointBB0;
|
|
198492
|
+
const pointB1 = CurveCurveIntersectXYZ._workPointBB1;
|
|
198493
|
+
const numA = lsA.numPoints();
|
|
198494
|
+
const numB = lsB.numPoints();
|
|
198495
|
+
if (numA > 1 && numB > 1) {
|
|
198496
|
+
lsA.pointAt(0, pointA0);
|
|
198497
|
+
const dfA = 1.0 / (numA - 1);
|
|
198498
|
+
const dfB = 1.0 / (numB - 1);
|
|
198499
|
+
let fA0 = 0.0;
|
|
198500
|
+
let fB0;
|
|
198501
|
+
let fA1;
|
|
198502
|
+
let fB1;
|
|
198503
|
+
const extendA = this._extendA;
|
|
198504
|
+
const extendB = this._extendB;
|
|
198505
|
+
lsA.pointAt(0, pointA0);
|
|
198506
|
+
for (let ia = 1; ia < numA; ia++, pointA0.setFrom(pointA1), fA0 = fA1) {
|
|
198507
|
+
fA1 = ia * dfA;
|
|
198508
|
+
fB0 = 0.0;
|
|
198509
|
+
lsA.pointAt(ia, pointA1);
|
|
198510
|
+
lsB.pointAt(0, pointB0);
|
|
198511
|
+
for (let ib = 1; ib < numB; ib++, pointB0.setFrom(pointB1), fB0 = fB1) {
|
|
198512
|
+
lsB.pointAt(ib, pointB1);
|
|
198513
|
+
fB1 = ib * dfB;
|
|
198514
|
+
this.dispatchSegmentSegment(lsA, ia === 1 && extendA, pointA0, fA0, pointA1, fA1, (ia + 1) === numA && extendA, lsB, ib === 1 && extendB, pointB0, fB0, pointB1, fB1, (ib + 1) === numB && extendB, reversed);
|
|
198515
|
+
}
|
|
198516
|
+
}
|
|
198517
|
+
}
|
|
198518
|
+
}
|
|
198644
198519
|
/** Double dispatch handler for strongly typed segment. */
|
|
198645
198520
|
handleLineSegment3d(segmentA) {
|
|
198646
198521
|
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__.LineSegment3d) {
|
|
@@ -198656,38 +198531,13 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198656
198531
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d) {
|
|
198657
198532
|
this.dispatchSegmentBsplineCurve(segmentA, this._extendA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, this._extendA, this._geometryB, this._extendB, false);
|
|
198658
198533
|
}
|
|
198534
|
+
return undefined;
|
|
198659
198535
|
}
|
|
198660
|
-
/** double dispatch handler for strongly typed linestring
|
|
198536
|
+
/** double dispatch handler for strongly typed linestring. */
|
|
198661
198537
|
handleLineString3d(lsA) {
|
|
198662
198538
|
if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_7__.LineString3d) {
|
|
198663
198539
|
const lsB = this._geometryB;
|
|
198664
|
-
|
|
198665
|
-
const pointA1 = CurveCurveIntersectXYZ._workPointAA1;
|
|
198666
|
-
const pointB0 = CurveCurveIntersectXYZ._workPointBB0;
|
|
198667
|
-
const pointB1 = CurveCurveIntersectXYZ._workPointBB1;
|
|
198668
|
-
const numA = lsA.numPoints();
|
|
198669
|
-
const numB = lsB.numPoints();
|
|
198670
|
-
if (numA > 1 && numB > 1) {
|
|
198671
|
-
lsA.pointAt(0, pointA0);
|
|
198672
|
-
const dfA = 1.0 / (numA - 1);
|
|
198673
|
-
const dfB = 1.0 / (numB - 1);
|
|
198674
|
-
let fA0 = 0.0;
|
|
198675
|
-
let fA1, fB0, fB1;
|
|
198676
|
-
const extendA = this._extendA;
|
|
198677
|
-
const extendB = this._extendB;
|
|
198678
|
-
lsA.pointAt(0, pointA0);
|
|
198679
|
-
for (let ia = 1; ia < numA; ia++, pointA0.setFrom(pointA1), fA0 = fA1) {
|
|
198680
|
-
fA1 = ia * dfA;
|
|
198681
|
-
fB0 = 0.0;
|
|
198682
|
-
lsA.pointAt(ia, pointA1);
|
|
198683
|
-
lsB.pointAt(0, pointB0);
|
|
198684
|
-
for (let ib = 1; ib < numB; ib++, pointB0.setFrom(pointB1), fB0 = fB1) {
|
|
198685
|
-
lsB.pointAt(ib, pointB1);
|
|
198686
|
-
fB1 = ib * dfB;
|
|
198687
|
-
this.dispatchSegmentSegment(lsA, ia === 1 && extendA, pointA0, fA0, pointA1, fA1, (ia + 1) === numA && extendA, lsB, ib === 1 && extendB, pointB0, fB0, pointB1, fB1, (ib + 1) === numB && extendB, false);
|
|
198688
|
-
}
|
|
198689
|
-
}
|
|
198690
|
-
}
|
|
198540
|
+
this.computeLineStringLineString(lsA, lsB, false);
|
|
198691
198541
|
}
|
|
198692
198542
|
else if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__.LineSegment3d) {
|
|
198693
198543
|
this.computeSegmentLineString(this._geometryB, this._extendB, lsA, this._extendA, true);
|
|
@@ -198716,7 +198566,7 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198716
198566
|
}
|
|
198717
198567
|
return undefined;
|
|
198718
198568
|
}
|
|
198719
|
-
/** Double dispatch handler for strongly typed bspline curve
|
|
198569
|
+
/** Double dispatch handler for strongly typed bspline curve. */
|
|
198720
198570
|
handleBSplineCurve3d(curve) {
|
|
198721
198571
|
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__.LineSegment3d) {
|
|
198722
198572
|
this.dispatchSegmentBsplineCurve(this._geometryB, this._extendB, this._geometryB.point0Ref, 0.0, this._geometryB.point1Ref, 1.0, this._extendB, curve, this._extendA, true);
|
|
@@ -223534,7 +223384,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
223534
223384
|
|
|
223535
223385
|
|
|
223536
223386
|
|
|
223537
|
-
/**
|
|
223387
|
+
/**
|
|
223388
|
+
* Map4 carries two Matrix4d which are inverses of each other.
|
|
223538
223389
|
* @public
|
|
223539
223390
|
*/
|
|
223540
223391
|
class Map4d {
|
|
@@ -223543,16 +223394,23 @@ class Map4d {
|
|
|
223543
223394
|
this._matrix1 = matrix1;
|
|
223544
223395
|
}
|
|
223545
223396
|
/** Return a reference to (not copy of) the "forward" Matrix4d */
|
|
223546
|
-
get transform0() {
|
|
223397
|
+
get transform0() {
|
|
223398
|
+
return this._matrix0;
|
|
223399
|
+
}
|
|
223547
223400
|
/** Return a reference to (not copy of) the "reverse" Matrix4d */
|
|
223548
|
-
get transform1() {
|
|
223401
|
+
get transform1() {
|
|
223402
|
+
return this._matrix1;
|
|
223403
|
+
}
|
|
223549
223404
|
/** Create a Map4d, capturing the references to the two matrices. */
|
|
223550
223405
|
static createRefs(matrix0, matrix1) {
|
|
223551
223406
|
return new Map4d(matrix0, matrix1);
|
|
223552
223407
|
}
|
|
223553
223408
|
/** Create an identity map. */
|
|
223554
|
-
static createIdentity() {
|
|
223555
|
-
|
|
223409
|
+
static createIdentity() {
|
|
223410
|
+
return new Map4d(_Matrix4d__WEBPACK_IMPORTED_MODULE_0__.Matrix4d.createIdentity(), _Matrix4d__WEBPACK_IMPORTED_MODULE_0__.Matrix4d.createIdentity());
|
|
223411
|
+
}
|
|
223412
|
+
/**
|
|
223413
|
+
* Create a Map4d with given transform pair.
|
|
223556
223414
|
* @returns undefined if the transforms are not inverses of each other.
|
|
223557
223415
|
*/
|
|
223558
223416
|
static createTransform(transform0, transform1) {
|
|
@@ -223586,11 +223444,19 @@ class Map4d {
|
|
|
223586
223444
|
return undefined;
|
|
223587
223445
|
}
|
|
223588
223446
|
/** Copy contents from another Map4d */
|
|
223589
|
-
setFrom(other) {
|
|
223447
|
+
setFrom(other) {
|
|
223448
|
+
this._matrix0.setFrom(other._matrix0);
|
|
223449
|
+
this._matrix1.setFrom(other._matrix1);
|
|
223450
|
+
}
|
|
223590
223451
|
/** Return a clone of this Map4d */
|
|
223591
|
-
clone() {
|
|
223452
|
+
clone() {
|
|
223453
|
+
return new Map4d(this._matrix0.clone(), this._matrix1.clone());
|
|
223454
|
+
}
|
|
223592
223455
|
/** Reinitialize this Map4d as an identity. */
|
|
223593
|
-
setIdentity() {
|
|
223456
|
+
setIdentity() {
|
|
223457
|
+
this._matrix0.setIdentity();
|
|
223458
|
+
this._matrix1.setIdentity();
|
|
223459
|
+
}
|
|
223594
223460
|
/** Set this map4d from a json object that the two Matrix4d values as properties named matrix0 and matrix1 */
|
|
223595
223461
|
setFromJSON(json) {
|
|
223596
223462
|
if (json.matrix0 && json.matrix1) {
|
|
@@ -223607,15 +223473,18 @@ class Map4d {
|
|
|
223607
223473
|
return result;
|
|
223608
223474
|
}
|
|
223609
223475
|
/** Return a json object `{matrix0: value0, matrix1: value1}` */
|
|
223610
|
-
toJSON() {
|
|
223476
|
+
toJSON() {
|
|
223477
|
+
return { matrix0: this._matrix0.toJSON(), matrix1: this._matrix1.toJSON() };
|
|
223478
|
+
}
|
|
223611
223479
|
/** Test if both matrices are almost equal to those */
|
|
223612
223480
|
isAlmostEqual(other) {
|
|
223613
223481
|
return this._matrix0.isAlmostEqual(other._matrix0) && this._matrix1.isAlmostEqual(other._matrix1);
|
|
223614
223482
|
}
|
|
223615
|
-
/**
|
|
223483
|
+
/**
|
|
223484
|
+
* Create a map between a frustum and world coordinates.
|
|
223616
223485
|
* @param origin lower left of frustum
|
|
223617
|
-
* @param uVector Vector from lower left rear to lower right rear
|
|
223618
|
-
* @param vVector Vector from lower left rear to upper left rear
|
|
223486
|
+
* @param uVector Vector from lower left rear to lower right rear.
|
|
223487
|
+
* @param vVector Vector from lower left rear to upper left rear.
|
|
223619
223488
|
* @param wVector Vector from lower left rear to lower left front, i.e. lower left rear towards eye.
|
|
223620
223489
|
* @param fraction front size divided by rear size.
|
|
223621
223490
|
*/
|
|
@@ -223644,7 +223513,8 @@ class Map4d {
|
|
|
223644
223513
|
*/
|
|
223645
223514
|
return result;
|
|
223646
223515
|
}
|
|
223647
|
-
/**
|
|
223516
|
+
/**
|
|
223517
|
+
* Multiply this*other. The output matrices are
|
|
223648
223518
|
* * output matrix0 = `this.matrix0 * other.matrix0`
|
|
223649
223519
|
* * output matrix1 = 'other.matrix1 * this.matrix1`
|
|
223650
223520
|
*/
|
|
@@ -223657,19 +223527,21 @@ class Map4d {
|
|
|
223657
223527
|
this._matrix0 = this._matrix1;
|
|
223658
223528
|
this._matrix1 = temp;
|
|
223659
223529
|
}
|
|
223660
|
-
/**
|
|
223530
|
+
/**
|
|
223531
|
+
* Return a Map4d whose transform0 is
|
|
223661
223532
|
* other.transform0 * this.transform0 * other.transform1
|
|
223662
223533
|
*/
|
|
223663
223534
|
sandwich0This1(other) {
|
|
223664
223535
|
return new Map4d(other._matrix0.multiplyMatrixMatrix(this._matrix0.multiplyMatrixMatrix(other._matrix1)), other._matrix0.multiplyMatrixMatrix(this._matrix1.multiplyMatrixMatrix(other._matrix1)));
|
|
223665
223536
|
}
|
|
223666
|
-
/**
|
|
223537
|
+
/**
|
|
223538
|
+
* Return a Map4d whose transform0 is
|
|
223667
223539
|
* other.transform1 * this.transform0 * other.transform0
|
|
223668
223540
|
*/
|
|
223669
223541
|
sandwich1This0(other) {
|
|
223670
223542
|
return new Map4d(other._matrix1.multiplyMatrixMatrix(this._matrix0.multiplyMatrixMatrix(other._matrix0)), other._matrix1.multiplyMatrixMatrix(this._matrix1.multiplyMatrixMatrix(other._matrix0)));
|
|
223671
223543
|
}
|
|
223672
|
-
}
|
|
223544
|
+
}
|
|
223673
223545
|
|
|
223674
223546
|
|
|
223675
223547
|
/***/ }),
|
|
@@ -233585,7 +233457,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
233585
233457
|
|
|
233586
233458
|
|
|
233587
233459
|
|
|
233588
|
-
/* eslint-disable @typescript-eslint/naming-convention, @typescript-eslint/prefer-for-of */
|
|
233589
233460
|
/**
|
|
233590
233461
|
* A FacetSector
|
|
233591
233462
|
* * initially holds coordinate data for a place where xyz and sectionDerivative are known
|
|
@@ -234728,16 +234599,14 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
234728
234599
|
this.addBetweenLineStringsWithStoredIndices(strokeA, strokeB);
|
|
234729
234600
|
}
|
|
234730
234601
|
else if (stroke0 instanceof _curve_ParityRegion__WEBPACK_IMPORTED_MODULE_12__.ParityRegion) {
|
|
234731
|
-
for (
|
|
234732
|
-
this.addBetweenRotatedStrokeSets(
|
|
234602
|
+
for (const child of stroke0.children) {
|
|
234603
|
+
this.addBetweenRotatedStrokeSets(child, transformA, vA, transformB, vB);
|
|
234733
234604
|
}
|
|
234734
234605
|
}
|
|
234735
234606
|
else if (stroke0 instanceof _curve_CurveCollection__WEBPACK_IMPORTED_MODULE_13__.CurveChain) {
|
|
234736
|
-
const
|
|
234737
|
-
|
|
234738
|
-
|
|
234739
|
-
if (cpA instanceof _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d) {
|
|
234740
|
-
this.addBetweenRotatedStrokeSets(cpA, transformA, vA, transformB, vB);
|
|
234607
|
+
for (const child of stroke0.children) {
|
|
234608
|
+
if (child instanceof _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d) {
|
|
234609
|
+
this.addBetweenRotatedStrokeSets(child, transformA, vA, transformB, vB);
|
|
234741
234610
|
}
|
|
234742
234611
|
}
|
|
234743
234612
|
}
|
|
@@ -234772,8 +234641,8 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
234772
234641
|
let stroke0;
|
|
234773
234642
|
let stroke1;
|
|
234774
234643
|
const sectionMaps = [];
|
|
234775
|
-
for (
|
|
234776
|
-
sectionMaps.push(_curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(
|
|
234644
|
+
for (const contour of contours) {
|
|
234645
|
+
sectionMaps.push(_curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(contour.curves, this._options));
|
|
234777
234646
|
}
|
|
234778
234647
|
if (_curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.enforceStrokeCountCompatibility(sectionMaps)) {
|
|
234779
234648
|
_curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.enforceCompatibleDistanceSums(sectionMaps);
|
|
@@ -280363,7 +280232,7 @@ const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../c
|
|
|
280363
280232
|
const itwins_client_1 = __webpack_require__(/*! @itwin/itwins-client */ "../../common/temp/node_modules/.pnpm/@itwin+itwins-client@1.2.0/node_modules/@itwin/itwins-client/lib/esm/itwins-client.js");
|
|
280364
280233
|
const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
280365
280234
|
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@3.1.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
280366
|
-
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
280235
|
+
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js");
|
|
280367
280236
|
class IModelSession {
|
|
280368
280237
|
constructor(iTwinId, imodelId, changesetId) {
|
|
280369
280238
|
this.iTwinId = iTwinId;
|
|
@@ -280455,7 +280324,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
280455
280324
|
const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
280456
280325
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
280457
280326
|
const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@3.6.1_mdtbcqczpmeuv6yjzfaigjndwi/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
|
|
280458
|
-
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.
|
|
280327
|
+
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@3.1.1_ueafa4slb6ohrhyf7kbp6egmha/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js");
|
|
280459
280328
|
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@3.1.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
280460
280329
|
const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/common/Settings.js");
|
|
280461
280330
|
const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
|
|
@@ -280503,7 +280372,7 @@ class TestContext {
|
|
|
280503
280372
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
280504
280373
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
280505
280374
|
await core_frontend_1.NoRenderApp.startup({
|
|
280506
|
-
applicationVersion: "4.2.0-dev.
|
|
280375
|
+
applicationVersion: "4.2.0-dev.34",
|
|
280507
280376
|
applicationId: this.settings.gprid,
|
|
280508
280377
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
280509
280378
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -296211,9 +296080,9 @@ const gBase64 = {
|
|
|
296211
296080
|
|
|
296212
296081
|
/***/ }),
|
|
296213
296082
|
|
|
296214
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296083
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
296215
296084
|
/*!******************************************************************************************************************************!*\
|
|
296216
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296085
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
296217
296086
|
\******************************************************************************************************************************/
|
|
296218
296087
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296219
296088
|
|
|
@@ -296230,9 +296099,9 @@ function _arrayLikeToArray(arr, len) {
|
|
|
296230
296099
|
|
|
296231
296100
|
/***/ }),
|
|
296232
296101
|
|
|
296233
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296102
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
296234
296103
|
/*!****************************************************************************************************************************!*\
|
|
296235
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296104
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
296236
296105
|
\****************************************************************************************************************************/
|
|
296237
296106
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296238
296107
|
|
|
@@ -296247,9 +296116,9 @@ function _arrayWithHoles(arr) {
|
|
|
296247
296116
|
|
|
296248
296117
|
/***/ }),
|
|
296249
296118
|
|
|
296250
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296119
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
296251
296120
|
/*!***********************************************************************************************************************************!*\
|
|
296252
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296121
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
296253
296122
|
\***********************************************************************************************************************************/
|
|
296254
296123
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296255
296124
|
|
|
@@ -296267,9 +296136,9 @@ function _assertThisInitialized(self) {
|
|
|
296267
296136
|
|
|
296268
296137
|
/***/ }),
|
|
296269
296138
|
|
|
296270
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296139
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
296271
296140
|
/*!****************************************************************************************************************************!*\
|
|
296272
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296141
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
296273
296142
|
\****************************************************************************************************************************/
|
|
296274
296143
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296275
296144
|
|
|
@@ -296286,9 +296155,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
296286
296155
|
|
|
296287
296156
|
/***/ }),
|
|
296288
296157
|
|
|
296289
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296158
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
296290
296159
|
/*!*************************************************************************************************************************!*\
|
|
296291
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296160
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
296292
296161
|
\*************************************************************************************************************************/
|
|
296293
296162
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296294
296163
|
|
|
@@ -296297,7 +296166,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296297
296166
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296298
296167
|
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
296299
296168
|
/* harmony export */ });
|
|
296300
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296169
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
296301
296170
|
|
|
296302
296171
|
function _defineProperties(target, props) {
|
|
296303
296172
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -296319,9 +296188,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
296319
296188
|
|
|
296320
296189
|
/***/ }),
|
|
296321
296190
|
|
|
296322
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296191
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
296323
296192
|
/*!****************************************************************************************************************************!*\
|
|
296324
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296193
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
296325
296194
|
\****************************************************************************************************************************/
|
|
296326
296195
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296327
296196
|
|
|
@@ -296330,7 +296199,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296330
296199
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296331
296200
|
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
|
296332
296201
|
/* harmony export */ });
|
|
296333
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296202
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
296334
296203
|
|
|
296335
296204
|
function _defineProperty(obj, key, value) {
|
|
296336
296205
|
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
|
@@ -296349,9 +296218,9 @@ function _defineProperty(obj, key, value) {
|
|
|
296349
296218
|
|
|
296350
296219
|
/***/ }),
|
|
296351
296220
|
|
|
296352
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296221
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
296353
296222
|
/*!****************************************************************************************************************************!*\
|
|
296354
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296223
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
296355
296224
|
\****************************************************************************************************************************/
|
|
296356
296225
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296357
296226
|
|
|
@@ -296369,9 +296238,9 @@ function _getPrototypeOf(o) {
|
|
|
296369
296238
|
|
|
296370
296239
|
/***/ }),
|
|
296371
296240
|
|
|
296372
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296241
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
296373
296242
|
/*!**********************************************************************************************************************!*\
|
|
296374
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296243
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
296375
296244
|
\**********************************************************************************************************************/
|
|
296376
296245
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296377
296246
|
|
|
@@ -296380,7 +296249,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296380
296249
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296381
296250
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
296382
296251
|
/* harmony export */ });
|
|
296383
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296252
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
296384
296253
|
|
|
296385
296254
|
function _inherits(subClass, superClass) {
|
|
296386
296255
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -296401,9 +296270,9 @@ function _inherits(subClass, superClass) {
|
|
|
296401
296270
|
|
|
296402
296271
|
/***/ }),
|
|
296403
296272
|
|
|
296404
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296273
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
296405
296274
|
/*!*****************************************************************************************************************************!*\
|
|
296406
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296275
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
296407
296276
|
\*****************************************************************************************************************************/
|
|
296408
296277
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296409
296278
|
|
|
@@ -296418,9 +296287,9 @@ function _iterableToArray(iter) {
|
|
|
296418
296287
|
|
|
296419
296288
|
/***/ }),
|
|
296420
296289
|
|
|
296421
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296290
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
296422
296291
|
/*!*****************************************************************************************************************************!*\
|
|
296423
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296292
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
296424
296293
|
\*****************************************************************************************************************************/
|
|
296425
296294
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296426
296295
|
|
|
@@ -296435,9 +296304,9 @@ function _nonIterableRest() {
|
|
|
296435
296304
|
|
|
296436
296305
|
/***/ }),
|
|
296437
296306
|
|
|
296438
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296307
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
296439
296308
|
/*!***************************************************************************************************************************************!*\
|
|
296440
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296309
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
296441
296310
|
\***************************************************************************************************************************************/
|
|
296442
296311
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296443
296312
|
|
|
@@ -296446,8 +296315,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296446
296315
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296447
296316
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
296448
296317
|
/* harmony export */ });
|
|
296449
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296450
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296318
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
296319
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
296451
296320
|
|
|
296452
296321
|
|
|
296453
296322
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -296461,9 +296330,9 @@ function _possibleConstructorReturn(self, call) {
|
|
|
296461
296330
|
|
|
296462
296331
|
/***/ }),
|
|
296463
296332
|
|
|
296464
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296333
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
296465
296334
|
/*!****************************************************************************************************************************!*\
|
|
296466
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296335
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
296467
296336
|
\****************************************************************************************************************************/
|
|
296468
296337
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296469
296338
|
|
|
@@ -296482,9 +296351,9 @@ function _setPrototypeOf(o, p) {
|
|
|
296482
296351
|
|
|
296483
296352
|
/***/ }),
|
|
296484
296353
|
|
|
296485
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296354
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
296486
296355
|
/*!*********************************************************************************************************************!*\
|
|
296487
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296356
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
296488
296357
|
\*********************************************************************************************************************/
|
|
296489
296358
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296490
296359
|
|
|
@@ -296493,10 +296362,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296493
296362
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296494
296363
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
296495
296364
|
/* harmony export */ });
|
|
296496
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296497
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296498
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296499
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296365
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
296366
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
296367
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
296368
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
296500
296369
|
|
|
296501
296370
|
|
|
296502
296371
|
|
|
@@ -296507,9 +296376,9 @@ function _toArray(arr) {
|
|
|
296507
296376
|
|
|
296508
296377
|
/***/ }),
|
|
296509
296378
|
|
|
296510
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296379
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
296511
296380
|
/*!*************************************************************************************************************************!*\
|
|
296512
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296381
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
296513
296382
|
\*************************************************************************************************************************/
|
|
296514
296383
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296515
296384
|
|
|
@@ -296518,7 +296387,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296518
296387
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296519
296388
|
/* harmony export */ "default": () => (/* binding */ _toPrimitive)
|
|
296520
296389
|
/* harmony export */ });
|
|
296521
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296390
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
296522
296391
|
|
|
296523
296392
|
function _toPrimitive(input, hint) {
|
|
296524
296393
|
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input) !== "object" || input === null) return input;
|
|
@@ -296533,9 +296402,9 @@ function _toPrimitive(input, hint) {
|
|
|
296533
296402
|
|
|
296534
296403
|
/***/ }),
|
|
296535
296404
|
|
|
296536
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296405
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
296537
296406
|
/*!***************************************************************************************************************************!*\
|
|
296538
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296407
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
296539
296408
|
\***************************************************************************************************************************/
|
|
296540
296409
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296541
296410
|
|
|
@@ -296544,8 +296413,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296544
296413
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296545
296414
|
/* harmony export */ "default": () => (/* binding */ _toPropertyKey)
|
|
296546
296415
|
/* harmony export */ });
|
|
296547
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296548
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296416
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
296417
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
296549
296418
|
|
|
296550
296419
|
|
|
296551
296420
|
function _toPropertyKey(arg) {
|
|
@@ -296555,9 +296424,9 @@ function _toPropertyKey(arg) {
|
|
|
296555
296424
|
|
|
296556
296425
|
/***/ }),
|
|
296557
296426
|
|
|
296558
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296427
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
296559
296428
|
/*!********************************************************************************************************************!*\
|
|
296560
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296429
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
296561
296430
|
\********************************************************************************************************************/
|
|
296562
296431
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296563
296432
|
|
|
@@ -296566,21 +296435,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296566
296435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296567
296436
|
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
296568
296437
|
/* harmony export */ });
|
|
296569
|
-
function _typeof(
|
|
296438
|
+
function _typeof(o) {
|
|
296570
296439
|
"@babel/helpers - typeof";
|
|
296571
296440
|
|
|
296572
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
296573
|
-
return typeof
|
|
296574
|
-
} : function (
|
|
296575
|
-
return
|
|
296576
|
-
}, _typeof(
|
|
296441
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
296442
|
+
return typeof o;
|
|
296443
|
+
} : function (o) {
|
|
296444
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
296445
|
+
}, _typeof(o);
|
|
296577
296446
|
}
|
|
296578
296447
|
|
|
296579
296448
|
/***/ }),
|
|
296580
296449
|
|
|
296581
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296450
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
296582
296451
|
/*!****************************************************************************************************************************************!*\
|
|
296583
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296452
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
296584
296453
|
\****************************************************************************************************************************************/
|
|
296585
296454
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296586
296455
|
|
|
@@ -296589,7 +296458,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296589
296458
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296590
296459
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
296591
296460
|
/* harmony export */ });
|
|
296592
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296461
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
296593
296462
|
|
|
296594
296463
|
function _unsupportedIterableToArray(o, minLen) {
|
|
296595
296464
|
if (!o) return;
|
|
@@ -297023,15 +296892,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297023
296892
|
/* harmony export */ t: () => (/* binding */ t),
|
|
297024
296893
|
/* harmony export */ use: () => (/* binding */ use)
|
|
297025
296894
|
/* harmony export */ });
|
|
297026
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297027
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297028
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297029
|
-
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297030
|
-
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297031
|
-
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297032
|
-
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297033
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297034
|
-
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296895
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
296896
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
296897
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
296898
|
+
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
296899
|
+
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
296900
|
+
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
296901
|
+
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
296902
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
296903
|
+
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.1/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
297035
296904
|
|
|
297036
296905
|
|
|
297037
296906
|
|
|
@@ -299911,7 +299780,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
299911
299780
|
/***/ ((module) => {
|
|
299912
299781
|
|
|
299913
299782
|
"use strict";
|
|
299914
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.
|
|
299783
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.34","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^4.2.0-dev.34","@itwin/core-bentley":"workspace:^4.2.0-dev.34","@itwin/core-common":"workspace:^4.2.0-dev.34","@itwin/core-geometry":"workspace:^4.2.0-dev.34","@itwin/core-orbitgt":"workspace:^4.2.0-dev.34","@itwin/core-quantity":"workspace:^4.2.0-dev.34"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.1.0","@itwin/object-storage-core":"^2.1.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
299915
299784
|
|
|
299916
299785
|
/***/ }),
|
|
299917
299786
|
|