@itwin/ecschema-rpcinterface-tests 5.10.1 → 5.10.3
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 +135 -137
- 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_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -19596,7 +19596,7 @@ var GeoServiceStatus;
|
|
|
19596
19596
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
19597
19597
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
19598
19598
|
/**
|
|
19599
|
-
* @deprecated in 5.0 -
|
|
19599
|
+
* @deprecated in 5.0 - might be removed in next major version. This status is never returned.
|
|
19600
19600
|
*/
|
|
19601
19601
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
19602
19602
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
@@ -21083,7 +21083,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
|
21083
21083
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
21084
21084
|
/**
|
|
21085
21085
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
21086
|
-
* @deprecated in 5.0 -
|
|
21086
|
+
* @deprecated in 5.0 - might be removed in next major version. Use isDisposable instead.
|
|
21087
21087
|
* @public
|
|
21088
21088
|
*/
|
|
21089
21089
|
function isIDisposable(obj) {
|
|
@@ -21122,7 +21122,7 @@ function disposeArray(list) {
|
|
|
21122
21122
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
21123
21123
|
* disposing the resource).
|
|
21124
21124
|
* @public
|
|
21125
|
-
* @deprecated in 5.0 -
|
|
21125
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `using` declarations instead.
|
|
21126
21126
|
*/
|
|
21127
21127
|
function using(resources, func) {
|
|
21128
21128
|
if (!Array.isArray(resources))
|
|
@@ -22965,7 +22965,7 @@ class PerfLogger {
|
|
|
22965
22965
|
[Symbol.dispose]() {
|
|
22966
22966
|
this.logMessage();
|
|
22967
22967
|
}
|
|
22968
|
-
/** @deprecated in 5.0 -
|
|
22968
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
22969
22969
|
dispose() {
|
|
22970
22970
|
this[Symbol.dispose]();
|
|
22971
22971
|
}
|
|
@@ -24736,7 +24736,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24736
24736
|
/**
|
|
24737
24737
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
24738
24738
|
* @public
|
|
24739
|
-
* @deprecated in 4.4 -
|
|
24739
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
24740
24740
|
*/
|
|
24741
24741
|
var SpanKind;
|
|
24742
24742
|
(function (SpanKind) {
|
|
@@ -24796,7 +24796,7 @@ function flattenObject(obj) {
|
|
|
24796
24796
|
/**
|
|
24797
24797
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
24798
24798
|
* @public
|
|
24799
|
-
* @deprecated in 4.4 -
|
|
24799
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
24800
24800
|
*/
|
|
24801
24801
|
class Tracing {
|
|
24802
24802
|
static _tracer;
|
|
@@ -28472,7 +28472,7 @@ var QueryRowFormat;
|
|
|
28472
28472
|
QueryRowFormat[QueryRowFormat["UseECSqlPropertyIndexes"] = 1] = "UseECSqlPropertyIndexes";
|
|
28473
28473
|
/** Each row is an object in which each non-null column value can be accessed by a [remapped property name]($docs/learning/ECSqlRowFormat.md).
|
|
28474
28474
|
* This format is backwards-compatible with the format produced by iTwin.js 2.x. Null values are omitted.
|
|
28475
|
-
* @deprecated in 4.11 -
|
|
28475
|
+
* @deprecated in 4.11 - might be removed in next major version. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
|
|
28476
28476
|
*/
|
|
28477
28477
|
QueryRowFormat[QueryRowFormat["UseJsPropertyNames"] = 2] = "UseJsPropertyNames";
|
|
28478
28478
|
})(QueryRowFormat || (QueryRowFormat = {}));
|
|
@@ -28543,7 +28543,7 @@ class QueryOptionsBuilder {
|
|
|
28543
28543
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
28544
28544
|
* @param val A boolean value.
|
|
28545
28545
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
28546
|
-
* @deprecated in 4.11 -
|
|
28546
|
+
* @deprecated in 4.11 - might be removed in next major version. Use ecsql function ec_classname to get class name instead.
|
|
28547
28547
|
*/
|
|
28548
28548
|
setConvertClassIdsToNames(val) {
|
|
28549
28549
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -31929,7 +31929,7 @@ var PrimitiveTypeCode;
|
|
|
31929
31929
|
})(PrimitiveTypeCode || (PrimitiveTypeCode = {}));
|
|
31930
31930
|
/** Metadata for a property.
|
|
31931
31931
|
* @beta
|
|
31932
|
-
* @deprecated in 5.0 -
|
|
31932
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
31933
31933
|
*/
|
|
31934
31934
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
31935
31935
|
class PropertyMetaData {
|
|
@@ -32015,7 +32015,7 @@ class PropertyMetaData {
|
|
|
32015
32015
|
}
|
|
32016
32016
|
/** Metadata for an Entity.
|
|
32017
32017
|
* @beta
|
|
32018
|
-
* @deprecated in 5.0 -
|
|
32018
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
32019
32019
|
*/
|
|
32020
32020
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
32021
32021
|
class EntityMetaData {
|
|
@@ -33331,7 +33331,7 @@ var FontType;
|
|
|
33331
33331
|
* This class maps FontIds to FontProps.
|
|
33332
33332
|
* @note This API has never worked properly. Don't use it. Use [IModelDb.fonts]($backend) instead.
|
|
33333
33333
|
* @public
|
|
33334
|
-
* @deprecated in 5.0.0 -
|
|
33334
|
+
* @deprecated in 5.0.0 - might be removed in next major version. Use [IModelDb.fonts]($backend) instead.
|
|
33335
33335
|
*/
|
|
33336
33336
|
class FontMap {
|
|
33337
33337
|
fonts = new Map();
|
|
@@ -33795,7 +33795,7 @@ var GeoCoordStatus;
|
|
|
33795
33795
|
/** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
|
|
33796
33796
|
* as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
|
|
33797
33797
|
* At the completion of the conversion promise no coordinates should have this status.
|
|
33798
|
-
* @deprecated in 5.0 -
|
|
33798
|
+
* @deprecated in 5.0 - might be removed in next major version. Pending is no longer returned as a status for coordinate conversions.
|
|
33799
33799
|
*/
|
|
33800
33800
|
GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
|
|
33801
33801
|
})(GeoCoordStatus || (GeoCoordStatus = {}));
|
|
@@ -56889,7 +56889,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
|
|
|
56889
56889
|
/** The RPC interface for working with *snapshot* iModels.
|
|
56890
56890
|
* This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
|
|
56891
56891
|
* @internal
|
|
56892
|
-
* @deprecated in 5.0 -
|
|
56892
|
+
* @deprecated in 5.0 - might be removed in next major version. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
56893
56893
|
*/
|
|
56894
56894
|
class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
|
|
56895
56895
|
/** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
|
|
@@ -56905,15 +56905,15 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
56905
56905
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
56906
56906
|
===========================================================================================*/
|
|
56907
56907
|
/**
|
|
56908
|
-
* @deprecated in 5.0 -
|
|
56908
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
56909
56909
|
*/
|
|
56910
56910
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
56911
56911
|
/**
|
|
56912
|
-
* @deprecated in 4.10 -
|
|
56912
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
56913
56913
|
*/
|
|
56914
56914
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
56915
56915
|
/**
|
|
56916
|
-
* @deprecated in 5.0 -
|
|
56916
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
56917
56917
|
*/
|
|
56918
56918
|
async close(_iModelRpcProps) { return this.forward(arguments); }
|
|
56919
56919
|
}
|
|
@@ -61976,7 +61976,7 @@ function computeChildTileProps(parent, idProvider, root) {
|
|
|
61976
61976
|
/** Deserializes tile content metadata.
|
|
61977
61977
|
* @throws [[TileReadError]]
|
|
61978
61978
|
* @internal
|
|
61979
|
-
* @deprecated in 4.0 -
|
|
61979
|
+
* @deprecated in 4.0 - might be removed in next major version. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
61980
61980
|
*/
|
|
61981
61981
|
function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
|
|
61982
61982
|
return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
|
|
@@ -62406,7 +62406,7 @@ class SchemaContext {
|
|
|
62406
62406
|
/**
|
|
62407
62407
|
* Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
|
|
62408
62408
|
* @param schemaItem The SchemaItem to add
|
|
62409
|
-
* @deprecated in 4.0 -
|
|
62409
|
+
* @deprecated in 4.0 - might be removed in next major version. Use ecschema-editing package
|
|
62410
62410
|
*/
|
|
62411
62411
|
async addSchemaItem(schemaItem) {
|
|
62412
62412
|
const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
|
|
@@ -65994,7 +65994,7 @@ var SchemaMatchType;
|
|
|
65994
65994
|
(function (SchemaMatchType) {
|
|
65995
65995
|
/*
|
|
65996
65996
|
* Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
|
|
65997
|
-
* @deprecated in 4.10 -
|
|
65997
|
+
* @deprecated in 4.10 - might be removed in next major version. Use Exact instead.
|
|
65998
65998
|
*/
|
|
65999
65999
|
SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
|
|
66000
66000
|
/* Find exact VersionRead, VersionWrite, VersionMinor match. */
|
|
@@ -66094,7 +66094,7 @@ function parseSchemaItemType(type) {
|
|
|
66094
66094
|
* @param value The SchemaItemType to stringify.
|
|
66095
66095
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
66096
66096
|
* @beta
|
|
66097
|
-
* @deprecated in 4.6.0 -
|
|
66097
|
+
* @deprecated in 4.6.0 - might be removed in next major version. SchemaItemType is a string enum so just use it directly
|
|
66098
66098
|
*/
|
|
66099
66099
|
function schemaItemTypeToString(value) {
|
|
66100
66100
|
return value; // TODO: Remove
|
|
@@ -70314,7 +70314,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
|
|
|
70314
70314
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
|
|
70315
70315
|
_appliesTo;
|
|
70316
70316
|
/**
|
|
70317
|
-
* @deprecated in 4.8 -
|
|
70317
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[appliesTo]]
|
|
70318
70318
|
* */
|
|
70319
70319
|
get containerType() {
|
|
70320
70320
|
return this.appliesTo;
|
|
@@ -89904,7 +89904,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
89904
89904
|
this._cleanup = undefined;
|
|
89905
89905
|
}
|
|
89906
89906
|
}
|
|
89907
|
-
/** @deprecated in 5.0 -
|
|
89907
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
89908
89908
|
dispose() {
|
|
89909
89909
|
this[Symbol.dispose]();
|
|
89910
89910
|
}
|
|
@@ -91338,14 +91338,14 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
91338
91338
|
*/
|
|
91339
91339
|
onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
91340
91340
|
/** The font map for this IModelConnection. Only valid after calling #loadFontMap and waiting for the returned promise to be fulfilled.
|
|
91341
|
-
* @deprecated in 5.0.0 -
|
|
91341
|
+
* @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
91342
91342
|
*/
|
|
91343
91343
|
fontMap; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
91344
91344
|
_schemaContext;
|
|
91345
91345
|
_schemasPromise;
|
|
91346
91346
|
/** Load the FontMap for this IModelConnection.
|
|
91347
91347
|
* @returns Returns a Promise<FontMap> that is fulfilled when the FontMap member of this IModelConnection is valid.
|
|
91348
|
-
* @deprecated in 5.0.0 -
|
|
91348
|
+
* @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
91349
91349
|
*/
|
|
91350
91350
|
async loadFontMap() {
|
|
91351
91351
|
if (undefined === this.fontMap) { // eslint-disable-line @typescript-eslint/no-deprecated
|
|
@@ -91465,7 +91465,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
91465
91465
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
91466
91466
|
}
|
|
91467
91467
|
/** @internal
|
|
91468
|
-
* @deprecated in 4.8 -
|
|
91468
|
+
* @deprecated in 4.8 - might be removed in next major version. Use AccuSnap.doSnapRequest.
|
|
91469
91469
|
*/
|
|
91470
91470
|
async requestSnap(props) {
|
|
91471
91471
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__._requestSnap](props);
|
|
@@ -91506,7 +91506,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
91506
91506
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
|
|
91507
91507
|
}
|
|
91508
91508
|
/** Request mass properties for multiple elements from the backend.
|
|
91509
|
-
* @deprecated in 4.11 -
|
|
91509
|
+
* @deprecated in 4.11 - might be removed in next major version. Use [[IModelConnection.getMassProperties]].
|
|
91510
91510
|
*/
|
|
91511
91511
|
async getMassPropertiesPerCandidate(requestProps) {
|
|
91512
91512
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
|
|
@@ -91938,7 +91938,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
91938
91938
|
}
|
|
91939
91939
|
/** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
|
|
91940
91940
|
* @note This method is intended for web applications.
|
|
91941
|
-
* @deprecated in 4.10 -
|
|
91941
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
91942
91942
|
*/
|
|
91943
91943
|
static async openRemote(fileKey) {
|
|
91944
91944
|
const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
|
|
@@ -92523,7 +92523,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
92523
92523
|
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
92524
92524
|
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
92525
92525
|
* @returns the Id of the default view as defined in the iModel's property table, or an invalid ID if no default view is defined.
|
|
92526
|
-
* @deprecated in 4.2 -
|
|
92526
|
+
* @deprecated in 4.2 - might be removed in next major version. Create a ViewState to your own specifications.
|
|
92527
92527
|
*/
|
|
92528
92528
|
async queryDefaultViewId() {
|
|
92529
92529
|
const iModel = this._iModel;
|
|
@@ -92913,7 +92913,7 @@ class IpcApp {
|
|
|
92913
92913
|
throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
|
|
92914
92914
|
}
|
|
92915
92915
|
/** @internal
|
|
92916
|
-
* @deprecated in 4.8 -
|
|
92916
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[makeIpcProxy]] for a type-safe interface.
|
|
92917
92917
|
*/
|
|
92918
92918
|
static async callIpcChannel(channelName, methodName, ...args) {
|
|
92919
92919
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
|
|
@@ -94114,9 +94114,7 @@ class NativeApp {
|
|
|
94114
94114
|
this._removeAppNotify = NativeAppNotifyHandler.register(); // receives notifications from backend
|
|
94115
94115
|
NativeApp.hookBrowserConnectivityEvents();
|
|
94116
94116
|
// initialize current online state.
|
|
94117
|
-
|
|
94118
|
-
await this.setConnectivity(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.OverriddenBy.Browser, window.navigator.onLine ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Online : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Offline);
|
|
94119
|
-
}
|
|
94117
|
+
await this.setConnectivity(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.OverriddenBy.Browser, window.navigator.onLine ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Online : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Offline);
|
|
94120
94118
|
}
|
|
94121
94119
|
/** @internal */
|
|
94122
94120
|
static async shutdown() {
|
|
@@ -96204,7 +96202,7 @@ class HiliteSet {
|
|
|
96204
96202
|
/** Toggle the hilited state of one or more elements.
|
|
96205
96203
|
* @param arg the ID(s) of the elements whose state is to be toggled.
|
|
96206
96204
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
96207
|
-
* @deprecated in 5.0 -
|
|
96205
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[add]], [[remove]], [[replace]] instead.
|
|
96208
96206
|
*/
|
|
96209
96207
|
setHilite(arg, onOff) {
|
|
96210
96208
|
if (onOff) {
|
|
@@ -96272,14 +96270,14 @@ class SelectionSet {
|
|
|
96272
96270
|
}
|
|
96273
96271
|
/** Return true if elemId is in this `SelectionSet`.
|
|
96274
96272
|
* @see [[isSelected]]
|
|
96275
|
-
* @deprecated in 5.0 -
|
|
96273
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
|
|
96276
96274
|
*/
|
|
96277
96275
|
has(elemId) {
|
|
96278
96276
|
return !!elemId && this.elements.has(elemId);
|
|
96279
96277
|
}
|
|
96280
96278
|
/** Query whether an Id is in the selection set.
|
|
96281
96279
|
* @see [[has]]
|
|
96282
|
-
* @deprecated in 5.0 -
|
|
96280
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
|
|
96283
96281
|
*/
|
|
96284
96282
|
isSelected(elemId) {
|
|
96285
96283
|
return !!elemId && this.elements.has(elemId);
|
|
@@ -100490,7 +100488,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
100490
100488
|
/** Execute a function against each [[TileTreeReference]] associated with this view.
|
|
100491
100489
|
* This may include tile trees not associated with any [[GeometricModelState]] - e.g., context reality data.
|
|
100492
100490
|
* @note This method is inefficient (iteration cannot be aborted) and awkward (callback cannot be async nor return a value). Prefer to iterate using [[getTileTreeRefs]].
|
|
100493
|
-
* @deprecated in 5.0 -
|
|
100491
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
|
|
100494
100492
|
*/
|
|
100495
100493
|
forEachTileTreeRef(func) {
|
|
100496
100494
|
for (const ref of this.getModelTreeRefs()) {
|
|
@@ -103585,7 +103583,7 @@ class Viewport {
|
|
|
103585
103583
|
this.onDisposed.raiseEvent(this);
|
|
103586
103584
|
this.detachFromView();
|
|
103587
103585
|
}
|
|
103588
|
-
/** @deprecated in 5.0 -
|
|
103586
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
103589
103587
|
dispose() {
|
|
103590
103588
|
this[Symbol.dispose]();
|
|
103591
103589
|
}
|
|
@@ -103977,7 +103975,7 @@ class Viewport {
|
|
|
103977
103975
|
}
|
|
103978
103976
|
}
|
|
103979
103977
|
/** Apply a function to every tile tree reference associated with the map layers displayed by this viewport.
|
|
103980
|
-
* @deprecated in 5.0 -
|
|
103978
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[mapTileTreeRefs]] instead.
|
|
103981
103979
|
*/
|
|
103982
103980
|
forEachMapTreeRef(func) {
|
|
103983
103981
|
if (this._mapTiledGraphicsProvider)
|
|
@@ -103989,7 +103987,7 @@ class Viewport {
|
|
|
103989
103987
|
}
|
|
103990
103988
|
;
|
|
103991
103989
|
/** Apply a function to every [[TileTreeReference]] displayed by this viewport.
|
|
103992
|
-
* @deprecated in 5.0 -
|
|
103990
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
|
|
103993
103991
|
*/
|
|
103994
103992
|
forEachTileTreeRef(func) {
|
|
103995
103993
|
for (const ref of this.getTileTreeRefs()) {
|
|
@@ -118525,7 +118523,7 @@ class AtmosphereUniforms {
|
|
|
118525
118523
|
return true;
|
|
118526
118524
|
}
|
|
118527
118525
|
[Symbol.dispose]() { }
|
|
118528
|
-
/** @deprecated in 5.0 -
|
|
118526
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
118529
118527
|
dispose() {
|
|
118530
118528
|
this[Symbol.dispose]();
|
|
118531
118529
|
}
|
|
@@ -118611,7 +118609,7 @@ class BuffersContainer {
|
|
|
118611
118609
|
this._context = context;
|
|
118612
118610
|
this._vao = new VAOHandle(this._context);
|
|
118613
118611
|
}
|
|
118614
|
-
/** @deprecated in 5.0 -
|
|
118612
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
118615
118613
|
dispose() {
|
|
118616
118614
|
this[Symbol.dispose]();
|
|
118617
118615
|
}
|
|
@@ -118673,7 +118671,7 @@ class VAOHandle {
|
|
|
118673
118671
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this.isDisposed);
|
|
118674
118672
|
}
|
|
118675
118673
|
get isDisposed() { return this._arrayObject === undefined; }
|
|
118676
|
-
/** @deprecated in 5.0 -
|
|
118674
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
118677
118675
|
dispose() {
|
|
118678
118676
|
this[Symbol.dispose]();
|
|
118679
118677
|
}
|
|
@@ -121420,7 +121418,7 @@ class ClippingProgram {
|
|
|
121420
121418
|
[Symbol.dispose]() {
|
|
121421
121419
|
this._program = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._program);
|
|
121422
121420
|
}
|
|
121423
|
-
/** @deprecated in 5.0 -
|
|
121421
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
121424
121422
|
dispose() {
|
|
121425
121423
|
this[Symbol.dispose]();
|
|
121426
121424
|
}
|
|
@@ -133548,7 +133546,7 @@ class ShaderProgram {
|
|
|
133548
133546
|
this._status = 2 /* CompileStatus.Uncompiled */;
|
|
133549
133547
|
}
|
|
133550
133548
|
}
|
|
133551
|
-
/** @deprecated in 5.0 -
|
|
133549
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
133552
133550
|
dispose() {
|
|
133553
133551
|
this[Symbol.dispose]();
|
|
133554
133552
|
}
|
|
@@ -134017,7 +134015,7 @@ class ShaderProgramExecutor {
|
|
|
134017
134015
|
ShaderProgramExecutor.freeParams();
|
|
134018
134016
|
this._isDisposed = true;
|
|
134019
134017
|
}
|
|
134020
|
-
/** @deprecated in 5.0 -
|
|
134018
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
134021
134019
|
dispose() {
|
|
134022
134020
|
this[Symbol.dispose]();
|
|
134023
134021
|
}
|
|
@@ -137658,7 +137656,7 @@ class SingularTechnique {
|
|
|
137658
137656
|
[Symbol.dispose]() {
|
|
137659
137657
|
this.program[Symbol.dispose]();
|
|
137660
137658
|
}
|
|
137661
|
-
/** @deprecated in 5.0 -
|
|
137659
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
137662
137660
|
dispose() {
|
|
137663
137661
|
this[Symbol.dispose]();
|
|
137664
137662
|
}
|
|
@@ -137715,7 +137713,7 @@ class VariedTechnique {
|
|
|
137715
137713
|
this._clippingPrograms.length = 0;
|
|
137716
137714
|
this._isDisposed = true;
|
|
137717
137715
|
}
|
|
137718
|
-
/** @deprecated in 5.0 -
|
|
137716
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
137719
137717
|
dispose() {
|
|
137720
137718
|
this[Symbol.dispose]();
|
|
137721
137719
|
}
|
|
@@ -138422,7 +138420,7 @@ class Techniques {
|
|
|
138422
138420
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(tech);
|
|
138423
138421
|
this._list.length = 0;
|
|
138424
138422
|
}
|
|
138425
|
-
/** @deprecated in 5.0 -
|
|
138423
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
138426
138424
|
dispose() {
|
|
138427
138425
|
this[Symbol.dispose]();
|
|
138428
138426
|
}
|
|
@@ -154689,7 +154687,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
154689
154687
|
div.innerHTML = strings.join("<br>");
|
|
154690
154688
|
return div;
|
|
154691
154689
|
}
|
|
154692
|
-
/** @deprecated in 5.0 -
|
|
154690
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
154693
154691
|
addLogoCards(cards) {
|
|
154694
154692
|
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
154695
154693
|
cards.dataset.openStreetMapLogoCard = "true";
|
|
@@ -156458,7 +156456,7 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
156458
156456
|
}
|
|
156459
156457
|
}
|
|
156460
156458
|
}
|
|
156461
|
-
/** @deprecated in 5.0 -
|
|
156459
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
156462
156460
|
addLogoCards(cards) {
|
|
156463
156461
|
if (!cards.dataset.arcGisLogoCard) {
|
|
156464
156462
|
cards.dataset.arcGisLogoCard = "true";
|
|
@@ -156690,7 +156688,7 @@ class AzureMapsLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
156690
156688
|
return "";
|
|
156691
156689
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
156692
156690
|
}
|
|
156693
|
-
/** @deprecated in 5.0 -
|
|
156691
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
156694
156692
|
addLogoCards(cards) {
|
|
156695
156693
|
if (!cards.dataset.azureMapsLogoCard) {
|
|
156696
156694
|
cards.dataset.azureMapsLogoCard = "true";
|
|
@@ -156857,7 +156855,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
|
|
|
156857
156855
|
}
|
|
156858
156856
|
return matchingAttributions;
|
|
156859
156857
|
}
|
|
156860
|
-
/** @deprecated in 5.0 -
|
|
156858
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
156861
156859
|
addLogoCards(cards, vp) {
|
|
156862
156860
|
const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
|
|
156863
156861
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -157314,7 +157312,7 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
|
|
|
157314
157312
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
157315
157313
|
return url;
|
|
157316
157314
|
}
|
|
157317
|
-
/** @deprecated in 5.0 -
|
|
157315
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
157318
157316
|
addLogoCards(cards) {
|
|
157319
157317
|
if (!cards.dataset.mapboxLogoCard) {
|
|
157320
157318
|
cards.dataset.mapboxLogoCard = "true";
|
|
@@ -159065,7 +159063,7 @@ class AngleDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_M
|
|
|
159065
159063
|
}
|
|
159066
159064
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Angle; }
|
|
159067
159065
|
/**
|
|
159068
|
-
* @deprecated in 5.0 -
|
|
159066
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
159069
159067
|
*/
|
|
159070
159068
|
get quantityType() { return "Angle"; }
|
|
159071
159069
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
|
|
@@ -159200,7 +159198,7 @@ class LengthDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_
|
|
|
159200
159198
|
}
|
|
159201
159199
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Length; }
|
|
159202
159200
|
/**
|
|
159203
|
-
* @deprecated in 5.0 -
|
|
159201
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
159204
159202
|
*/
|
|
159205
159203
|
get quantityType() { return "Length"; }
|
|
159206
159204
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -159221,7 +159219,7 @@ class SurveyLengthDescription extends _FormattedQuantityDescription__WEBPACK_IMP
|
|
|
159221
159219
|
}
|
|
159222
159220
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthSurvey; }
|
|
159223
159221
|
/**
|
|
159224
|
-
* @deprecated in 5.0 -
|
|
159222
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
159225
159223
|
*/
|
|
159226
159224
|
get quantityType() { return "LengthSurvey"; }
|
|
159227
159225
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -159242,7 +159240,7 @@ class EngineeringLengthDescription extends _FormattedQuantityDescription__WEBPAC
|
|
|
159242
159240
|
}
|
|
159243
159241
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthEngineering; }
|
|
159244
159242
|
/**
|
|
159245
|
-
* @deprecated in 5.0 -
|
|
159243
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
159246
159244
|
*/
|
|
159247
159245
|
get quantityType() { return "LengthEngineering"; }
|
|
159248
159246
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -161197,7 +161195,7 @@ class Decorations {
|
|
|
161197
161195
|
this.viewOverlay = undefined;
|
|
161198
161196
|
this.normal = undefined;
|
|
161199
161197
|
}
|
|
161200
|
-
/** @deprecated in 5.0 -
|
|
161198
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
161201
161199
|
dispose() {
|
|
161202
161200
|
this[Symbol.dispose]();
|
|
161203
161201
|
}
|
|
@@ -161498,7 +161496,7 @@ class GraphicBranch {
|
|
|
161498
161496
|
[Symbol.dispose]() {
|
|
161499
161497
|
this.clear();
|
|
161500
161498
|
}
|
|
161501
|
-
/** @deprecated in 5.0 -
|
|
161499
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
161502
161500
|
dispose() {
|
|
161503
161501
|
this[Symbol.dispose]();
|
|
161504
161502
|
}
|
|
@@ -167522,7 +167520,7 @@ class Tile {
|
|
|
167522
167520
|
this._state = 5 /* TileState.Abandoned */;
|
|
167523
167521
|
this.disposeChildren();
|
|
167524
167522
|
}
|
|
167525
|
-
/** @deprecated in 5.0 -
|
|
167523
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
167526
167524
|
dispose() {
|
|
167527
167525
|
this[Symbol.dispose]();
|
|
167528
167526
|
}
|
|
@@ -170185,7 +170183,7 @@ class TileTree {
|
|
|
170185
170183
|
this._isDisposed = true;
|
|
170186
170184
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.rootTile);
|
|
170187
170185
|
}
|
|
170188
|
-
/** @deprecated in 5.0 -
|
|
170186
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
170189
170187
|
dispose() {
|
|
170190
170188
|
this[Symbol.dispose]();
|
|
170191
170189
|
}
|
|
@@ -170524,7 +170522,7 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
|
|
|
170524
170522
|
* @beta
|
|
170525
170523
|
*/
|
|
170526
170524
|
get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
|
|
170527
|
-
/** @deprecated in 5.0 -
|
|
170525
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
170528
170526
|
addLogoCards(_cards, _vp) { }
|
|
170529
170527
|
/** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
|
|
170530
170528
|
* @beta
|
|
@@ -171496,7 +171494,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
171496
171494
|
this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
171497
171495
|
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
|
|
171498
171496
|
}
|
|
171499
|
-
/** @deprecated in 5.0 -
|
|
171497
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
171500
171498
|
addLogoCards(cards) {
|
|
171501
171499
|
if (cards.dataset.cesiumIonLogoCard)
|
|
171502
171500
|
return;
|
|
@@ -172116,7 +172114,7 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
|
|
|
172116
172114
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
172117
172115
|
}
|
|
172118
172116
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
172119
|
-
/** @deprecated in 5.0 -
|
|
172117
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
172120
172118
|
addLogoCards(cards, vp) {
|
|
172121
172119
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
172122
172120
|
this._imageryLoader.addLogoCards(cards, vp);
|
|
@@ -172170,7 +172168,7 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
|
|
|
172170
172168
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
172171
172169
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
172172
172170
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
|
|
172173
|
-
/** @deprecated in 5.0 -
|
|
172171
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
172174
172172
|
addLogoCards(cards, vp) {
|
|
172175
172173
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
172176
172174
|
this._imageryProvider.addLogoCards(cards, vp);
|
|
@@ -173102,7 +173100,7 @@ class MapLayerImageryProvider {
|
|
|
173102
173100
|
});
|
|
173103
173101
|
}
|
|
173104
173102
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
173105
|
-
/** @deprecated in 5.0 -
|
|
173103
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
173106
173104
|
addLogoCards(_cards, _viewport) { }
|
|
173107
173105
|
/**
|
|
173108
173106
|
* Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
|
|
@@ -175516,7 +175514,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
|
|
|
175516
175514
|
}
|
|
175517
175515
|
return info;
|
|
175518
175516
|
}
|
|
175519
|
-
/** @deprecated in 5.0 -
|
|
175517
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
175520
175518
|
addLogoCards(cards, vp) {
|
|
175521
175519
|
const tree = this.treeOwner.tileTree;
|
|
175522
175520
|
if (tree) {
|
|
@@ -176156,7 +176154,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
176156
176154
|
* @public
|
|
176157
176155
|
*/
|
|
176158
176156
|
class TerrainMeshProvider {
|
|
176159
|
-
/** @deprecated in 5.0 -
|
|
176157
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
176160
176158
|
addLogoCards(_cards, _vp) { }
|
|
176161
176159
|
/** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
|
|
176162
176160
|
* For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
|
|
@@ -191533,7 +191531,7 @@ class Geometry {
|
|
|
191533
191531
|
static largeCoordinateResult = 1.0e13;
|
|
191534
191532
|
/**
|
|
191535
191533
|
* Numeric value that may considered infinite for metric coordinates.
|
|
191536
|
-
* @deprecated in 4.9.0 -
|
|
191534
|
+
* @deprecated in 4.9.0 - might be removed in next major version. Use [[largeCoordinateResult]].
|
|
191537
191535
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
191538
191536
|
* points at this coordinate invites numerical problems.
|
|
191539
191537
|
*/
|
|
@@ -191544,7 +191542,7 @@ class Geometry {
|
|
|
191544
191542
|
}
|
|
191545
191543
|
/**
|
|
191546
191544
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
191547
|
-
* @deprecated in 4.9.0 -
|
|
191545
|
+
* @deprecated in 4.9.0 - might be removed in next major version. Use [[isLargeCoordinateResult]].
|
|
191548
191546
|
*/
|
|
191549
191547
|
static isHugeCoordinate(x) {
|
|
191550
191548
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -192612,7 +192610,7 @@ class Geometry {
|
|
|
192612
192610
|
/**
|
|
192613
192611
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
192614
192612
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
192615
|
-
* @deprecated in 4.4.0 -
|
|
192613
|
+
* @deprecated in 4.4.0 - might be removed in next major version. Use cloneArray.
|
|
192616
192614
|
*/
|
|
192617
192615
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
192618
192616
|
static cloneMembers(array) {
|
|
@@ -193054,7 +193052,7 @@ class BSpline1dNd {
|
|
|
193054
193052
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
193055
193053
|
* which has been expanded to act as a normal bspline.
|
|
193056
193054
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
193057
|
-
* @deprecated in 4.2.1 -
|
|
193055
|
+
* @deprecated in 4.2.1 - might be removed in next major version. Use `testClosablePolygon` instead.
|
|
193058
193056
|
*/
|
|
193059
193057
|
testCloseablePolygon(mode) {
|
|
193060
193058
|
return this.testClosablePolygon(mode);
|
|
@@ -195359,7 +195357,7 @@ var UVSelect;
|
|
|
195359
195357
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
195360
195358
|
/**
|
|
195361
195359
|
* index of v direction
|
|
195362
|
-
* @deprecated in 4.3.0 -
|
|
195360
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use vDirection instead.
|
|
195363
195361
|
*/
|
|
195364
195362
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
195365
195363
|
/** index of v direction */
|
|
@@ -195586,7 +195584,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
195586
195584
|
}
|
|
195587
195585
|
/**
|
|
195588
195586
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
195589
|
-
* @deprecated in 4.3.0 -
|
|
195587
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use sumPoleBufferDerivativesForSpan instead.
|
|
195590
195588
|
*/
|
|
195591
195589
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
195592
195590
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -205384,7 +205382,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
205384
205382
|
}
|
|
205385
205383
|
/**
|
|
205386
205384
|
* Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep).
|
|
205387
|
-
* @deprecated in 5.0 -
|
|
205385
|
+
* @deprecated in 5.0 - might be removed in next major version. Use correct spelling quadratureGaussCount.
|
|
205388
205386
|
*/
|
|
205389
205387
|
static quadratureGuassCount = 5;
|
|
205390
205388
|
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
|
|
@@ -208710,9 +208708,9 @@ class CurveFactory {
|
|
|
208710
208708
|
* * If there are 2 connected arcs, add a zero-length line segment between them.
|
|
208711
208709
|
* * If there is a pair of arc and line segment/string with non-parallel tangents, add a zero-length line segment
|
|
208712
208710
|
* between them.
|
|
208713
|
-
* * If there is an arc with sweep degrees in
|
|
208714
|
-
* line segment. Similarly, break
|
|
208715
|
-
* `undefined` if there is an arc with sweep greater than 360 degrees.
|
|
208711
|
+
* * If there is an arc with sweep degrees in (120, 240], break the arc into 2 pieces separated by a zero-length
|
|
208712
|
+
* line segment. Similarly, break arcs with sweep in (240, 360] into 3 pieces separated by 2 zero-length line segments.
|
|
208713
|
+
* Return `undefined` if there is an arc with sweep greater than 360 degrees.
|
|
208716
208714
|
*/
|
|
208717
208715
|
static updatePathForRelaxedValidation(filletedLineString, isClosed, parallelOptions) {
|
|
208718
208716
|
const newFilletedLineString = new _Path__WEBPACK_IMPORTED_MODULE_7__.Path();
|
|
@@ -208741,10 +208739,11 @@ class CurveFactory {
|
|
|
208741
208739
|
const linePoint = child.startPoint();
|
|
208742
208740
|
newFilletedLineString.tryAddChild(_LineSegment3d__WEBPACK_IMPORTED_MODULE_2__.LineSegment3d.create(linePoint, linePoint));
|
|
208743
208741
|
}
|
|
208744
|
-
|
|
208742
|
+
// to avoid PI too far from the arc, split arcs so that no sub-arc has sweep greater than 120 degrees
|
|
208743
|
+
if (arcSweep !== undefined && arcSweep > 120 && arcSweep <= 240) {
|
|
208745
208744
|
CurveFactory.splitAndAppendArc(newFilletedLineString, child, [0, 0.5, 1]); // 2 pieces
|
|
208746
208745
|
}
|
|
208747
|
-
else if (arcSweep !== undefined && arcSweep >
|
|
208746
|
+
else if (arcSweep !== undefined && arcSweep > 240 && arcSweep <= 360 + sweepTol) {
|
|
208748
208747
|
CurveFactory.splitAndAppendArc(newFilletedLineString, child, [0, 1 / 3, 2 / 3, 1]); // 3 pieces
|
|
208749
208748
|
}
|
|
208750
208749
|
else {
|
|
@@ -208834,12 +208833,11 @@ class CurveFactory {
|
|
|
208834
208833
|
* tangent direction.
|
|
208835
208834
|
* * To treat more input chains as valid, pass `options.relaxedValidation = true`. Internally, this setting performs
|
|
208836
208835
|
* several transformations on the input to produce a valid filleted linestring:
|
|
208837
|
-
* *
|
|
208838
|
-
*
|
|
208839
|
-
* `LineSegment3d`s. Arcs with sweep greater than 360 degrees are not allowed.
|
|
208836
|
+
* * `Arc3d`s with large sweep are uniformly split into 2 or 3 smaller arcs to improve the proximity of their _PI_
|
|
208837
|
+
* points (cf. {@link Arc3d.computeTangentIntersection}). Arcs with sweep greater than 360 degrees are not allowed.
|
|
208840
208838
|
* * Adjacent `Arc3d`s are separated by a zero-length `LineSegment3d`.
|
|
208841
|
-
* * An `Arc3d` that is not G1 continuous with its neighbor is separated from
|
|
208842
|
-
* `LineSegment3d
|
|
208839
|
+
* * An `Arc3d` that is not G1 continuous with its linear neighbor is separated from it by a zero-length
|
|
208840
|
+
* `LineSegment3d` to preserve the corner.
|
|
208843
208841
|
* @param filletedLineString A linestring with corner fillets, e.g., as created by {@link CurveFactory.createFilletsInLineString}.
|
|
208844
208842
|
* @param options optional validation settings.
|
|
208845
208843
|
* @returns Array of [point, radius] pairs extracted from input, or `undefined` if the input is not valid. A radius
|
|
@@ -210007,7 +210005,7 @@ class CurveLocationDetailPair {
|
|
|
210007
210005
|
}
|
|
210008
210006
|
/**
|
|
210009
210007
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
210010
|
-
* @deprecated in 4.2.0 -
|
|
210008
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use CurveLocationDetailPair[] instead.
|
|
210011
210009
|
* @public
|
|
210012
210010
|
*/
|
|
210013
210011
|
class CurveLocationDetailArrayPair {
|
|
@@ -218172,7 +218170,7 @@ class StrokeOptions {
|
|
|
218172
218170
|
maxEdgeLength;
|
|
218173
218171
|
/**
|
|
218174
218172
|
* Caller expects convex facets.
|
|
218175
|
-
* @deprecated in 4.2.0 -
|
|
218173
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
218176
218174
|
*/
|
|
218177
218175
|
needConvexFacets;
|
|
218178
218176
|
/** Minimum strokes on a primitive. */
|
|
@@ -220572,14 +220570,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
220572
220570
|
const cosines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
220573
220571
|
const sines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
220574
220572
|
const radians = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
220575
|
-
// Arc:
|
|
220573
|
+
// Arc: X(theta) = C + cos(theta)·U + sin(theta)·V
|
|
220576
220574
|
// Line: contains points A0,A1
|
|
220577
|
-
// Arc point colinear with line if det
|
|
220578
|
-
//
|
|
220579
|
-
//
|
|
220580
|
-
//
|
|
220581
|
-
//
|
|
220582
|
-
// project back to line
|
|
220575
|
+
// Arc point X is colinear (intersects) with line if det(A0, A1, X) = 0 with homogeneous xyw points and vectors
|
|
220576
|
+
// This leads to
|
|
220577
|
+
// det(A0, A1, C) + cos(theta) det(A0, A1, U) + sin(theta) det(A0, A1, V) = 0
|
|
220578
|
+
// or
|
|
220579
|
+
// alpha + beta cos(theta) + gamma sin(theta) = 0
|
|
220580
|
+
// solve for theta; evaluate points; project back to line
|
|
220583
220581
|
if (this._worldToLocalPerspective) {
|
|
220584
220582
|
const data = arc.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
220585
220583
|
const radians0 = data.sweep.fractionToRadians(0);
|
|
@@ -220591,7 +220589,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
220591
220589
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.center);
|
|
220592
220590
|
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector0);
|
|
220593
220591
|
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector90);
|
|
220594
|
-
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
220592
|
+
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
220595
220593
|
const closeApproach = (0 === numRoots);
|
|
220596
220594
|
if (closeApproach)
|
|
220597
220595
|
numRoots = 1; // we returned the arc's closest approach as the first "root"; if within tolerance and at endpoints, we record it
|
|
@@ -220632,7 +220630,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
220632
220630
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.center, 1);
|
|
220633
220631
|
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector0, 0);
|
|
220634
220632
|
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector90, 0);
|
|
220635
|
-
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
220633
|
+
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
220636
220634
|
const closeApproach = (0 === numRoots);
|
|
220637
220635
|
if (closeApproach)
|
|
220638
220636
|
numRoots = 1; // we returned the arc's closest approach as the first "root"; if within tolerance and at endpoints, we record it
|
|
@@ -235102,7 +235100,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
235102
235100
|
}
|
|
235103
235101
|
/**
|
|
235104
235102
|
* Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
235105
|
-
* @deprecated in 4.2.0 -
|
|
235103
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Moved to GrowableXYZArray class.
|
|
235106
235104
|
*/
|
|
235107
235105
|
static createArrayOfGrowableXYZArray(data) {
|
|
235108
235106
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -252765,12 +252763,12 @@ class Matrix4d {
|
|
|
252765
252763
|
result._coffs[i] = this._coffs[i];
|
|
252766
252764
|
return result;
|
|
252767
252765
|
}
|
|
252768
|
-
/**
|
|
252766
|
+
/** Zero this matrix4d in place. */
|
|
252769
252767
|
setZero() {
|
|
252770
252768
|
for (let i = 0; i < 16; i++)
|
|
252771
252769
|
this._coffs[i] = 0;
|
|
252772
252770
|
}
|
|
252773
|
-
/**
|
|
252771
|
+
/** Set to identity. */
|
|
252774
252772
|
setIdentity() {
|
|
252775
252773
|
for (let i = 0; i < 16; i++)
|
|
252776
252774
|
this._coffs[i] = 0;
|
|
@@ -252782,14 +252780,14 @@ class Matrix4d {
|
|
|
252782
252780
|
&& Math.abs(c) <= tol
|
|
252783
252781
|
&& Math.abs(d) <= tol;
|
|
252784
252782
|
}
|
|
252785
|
-
/**
|
|
252783
|
+
/** Check if this matrix is identity. */
|
|
252786
252784
|
isIdentity(tol = 1.0e-10) {
|
|
252787
252785
|
return Matrix4d.is1000(this._coffs[0], this._coffs[1], this._coffs[2], this._coffs[3], tol)
|
|
252788
252786
|
&& Matrix4d.is1000(this._coffs[5], this._coffs[6], this._coffs[7], this._coffs[4], tol)
|
|
252789
252787
|
&& Matrix4d.is1000(this._coffs[10], this._coffs[11], this._coffs[8], this._coffs[9], tol)
|
|
252790
252788
|
&& Matrix4d.is1000(this._coffs[15], this._coffs[12], this._coffs[13], this._coffs[14], tol);
|
|
252791
252789
|
}
|
|
252792
|
-
/**
|
|
252790
|
+
/** Create a Matrix4d filled with zeros. */
|
|
252793
252791
|
static createZero(result) {
|
|
252794
252792
|
if (result) {
|
|
252795
252793
|
result.setZero();
|
|
@@ -252797,7 +252795,7 @@ class Matrix4d {
|
|
|
252797
252795
|
}
|
|
252798
252796
|
return new Matrix4d(); // this is zero.
|
|
252799
252797
|
}
|
|
252800
|
-
/**
|
|
252798
|
+
/** Create a Matrix4d with values supplied "across the rows" */
|
|
252801
252799
|
static createRowValues(cxx, cxy, cxz, cxw, cyx, cyy, cyz, cyw, czx, czy, czz, czw, cwx, cwy, cwz, cww, result) {
|
|
252802
252800
|
result = result ? result : new Matrix4d();
|
|
252803
252801
|
result._coffs[0] = cxx;
|
|
@@ -252822,10 +252820,10 @@ class Matrix4d {
|
|
|
252822
252820
|
static createRows(rowX, rowY, rowZ, rowW, result) {
|
|
252823
252821
|
return this.createRowValues(rowX.x, rowX.y, rowX.z, rowX.w, rowY.x, rowY.y, rowY.z, rowY.w, rowZ.x, rowZ.y, rowZ.z, rowZ.w, rowW.x, rowW.y, rowW.z, rowW.w, result);
|
|
252824
252822
|
}
|
|
252825
|
-
/**
|
|
252826
|
-
*
|
|
252823
|
+
/**
|
|
252824
|
+
* Directly set columns from typical 3d data:
|
|
252827
252825
|
* * vectorX, vectorY, vectorZ as columns 0,1,2, with weight0.
|
|
252828
|
-
* * origin as column3, with weight 1
|
|
252826
|
+
* * origin as column3, with weight 1.
|
|
252829
252827
|
*/
|
|
252830
252828
|
setOriginAndVectors(origin, vectorX, vectorY, vectorZ) {
|
|
252831
252829
|
this._coffs[0] = vectorX.x;
|
|
@@ -252845,13 +252843,13 @@ class Matrix4d {
|
|
|
252845
252843
|
this._coffs[14] = 0.0;
|
|
252846
252844
|
this._coffs[15] = 1.0;
|
|
252847
252845
|
}
|
|
252848
|
-
/**
|
|
252846
|
+
/** Promote a transform to full Matrix4d (with 0001 in final row) */
|
|
252849
252847
|
static createTransform(source, result) {
|
|
252850
252848
|
const matrix = source.matrix;
|
|
252851
252849
|
const point = source.origin;
|
|
252852
252850
|
return Matrix4d.createRowValues(matrix.coffs[0], matrix.coffs[1], matrix.coffs[2], point.x, matrix.coffs[3], matrix.coffs[4], matrix.coffs[5], point.y, matrix.coffs[6], matrix.coffs[7], matrix.coffs[8], point.z, 0, 0, 0, 1, result);
|
|
252853
252851
|
}
|
|
252854
|
-
/**
|
|
252852
|
+
/** Return an identity matrix. */
|
|
252855
252853
|
static createIdentity(result) {
|
|
252856
252854
|
result = Matrix4d.createZero(result);
|
|
252857
252855
|
result._coffs[0] = 1.0;
|
|
@@ -252860,7 +252858,7 @@ class Matrix4d {
|
|
|
252860
252858
|
result._coffs[15] = 1.0;
|
|
252861
252859
|
return result;
|
|
252862
252860
|
}
|
|
252863
|
-
/**
|
|
252861
|
+
/** Return matrix with translation directly inserted (along with 1 on diagonal) */
|
|
252864
252862
|
static createTranslationXYZ(x, y, z, result) {
|
|
252865
252863
|
result = Matrix4d.createZero(result);
|
|
252866
252864
|
result._coffs[0] = 1.0;
|
|
@@ -252872,7 +252870,7 @@ class Matrix4d {
|
|
|
252872
252870
|
result._coffs[11] = z;
|
|
252873
252871
|
return result;
|
|
252874
252872
|
}
|
|
252875
|
-
/**
|
|
252873
|
+
/** Return this matrix plus scale times matrixB. */
|
|
252876
252874
|
plusScaled(matrixB, scale, result) {
|
|
252877
252875
|
// If result is undefined, a real clone is created.
|
|
252878
252876
|
// If result is "this" we get the pointer to this right back.
|
|
@@ -252891,7 +252889,7 @@ class Matrix4d {
|
|
|
252891
252889
|
* @param scaleX x diagonal entry
|
|
252892
252890
|
* @param scaleY y diagonal entry
|
|
252893
252891
|
* @param scaleZ z diagonal entry
|
|
252894
|
-
* @param result optional result
|
|
252892
|
+
* @param result optional result
|
|
252895
252893
|
*/
|
|
252896
252894
|
static createTranslationAndScaleXYZ(tx, ty, tz, scaleX, scaleY, scaleZ, result) {
|
|
252897
252895
|
return Matrix4d.createRowValues(scaleX, 0, 0, tx, 0, scaleY, 0, ty, 0, 0, scaleZ, tz, 0, 0, 0, 1, result);
|
|
@@ -254290,7 +254288,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
254290
254288
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
254291
254289
|
* @param data buffer of numbers
|
|
254292
254290
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
254293
|
-
* @deprecated in 4.3.0 -
|
|
254291
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use createFromPacked instead.
|
|
254294
254292
|
*/
|
|
254295
254293
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
254296
254294
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -263697,7 +263695,7 @@ class IndexedPolyface extends Polyface {
|
|
|
263697
263695
|
}
|
|
263698
263696
|
/**
|
|
263699
263697
|
* Clean up the open facet.
|
|
263700
|
-
* @deprecated in 4.5.0 -
|
|
263698
|
+
* @deprecated in 4.5.0 - might be removed in next major version. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
263701
263699
|
* instead.
|
|
263702
263700
|
*/
|
|
263703
263701
|
cleanupOpenFacet() {
|
|
@@ -263843,7 +263841,7 @@ class IndexedPolyface extends Polyface {
|
|
|
263843
263841
|
}
|
|
263844
263842
|
/**
|
|
263845
263843
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
263846
|
-
* @deprecated in 4.5.0 -
|
|
263844
|
+
* @deprecated in 4.5.0 - might be removed in next major version. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
263847
263845
|
*/
|
|
263848
263846
|
getFaceDataByFacetIndex(facetIndex) {
|
|
263849
263847
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -265129,7 +265127,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
265129
265127
|
* Apply stroke counts to curve primitives.
|
|
265130
265128
|
* * Recursively visit all children of data.
|
|
265131
265129
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
265132
|
-
* @deprecated in 4.8.0 -
|
|
265130
|
+
* @deprecated in 4.8.0 - might be removed in next major version. This method does nothing and is unneeded.
|
|
265133
265131
|
*/
|
|
265134
265132
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
265135
265133
|
const options = this._options;
|
|
@@ -267223,7 +267221,7 @@ class PolyfaceData {
|
|
|
267223
267221
|
}
|
|
267224
267222
|
/**
|
|
267225
267223
|
* Resize all data arrays to the specified `length`.
|
|
267226
|
-
* @deprecated in 4.5.0 -
|
|
267224
|
+
* @deprecated in 4.5.0 - might be removed in next major version. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
267227
267225
|
*/
|
|
267228
267226
|
resizeAllDataArrays(length) {
|
|
267229
267227
|
if (length > this.point.length) {
|
|
@@ -268797,7 +268795,7 @@ class PolyfaceQuery {
|
|
|
268797
268795
|
});
|
|
268798
268796
|
return builder.claimPolyface(true);
|
|
268799
268797
|
}
|
|
268800
|
-
/** @deprecated in 4.7.0 -
|
|
268798
|
+
/** @deprecated in 4.7.0 - might be removed in next major version. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
268801
268799
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
268802
268800
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
268803
268801
|
}
|
|
@@ -268900,7 +268898,7 @@ class PolyfaceQuery {
|
|
|
268900
268898
|
* * Return collected line segments.
|
|
268901
268899
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
268902
268900
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
268903
|
-
* @deprecated in 4.7.0 -
|
|
268901
|
+
* @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
268904
268902
|
*/
|
|
268905
268903
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
268906
268904
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -268910,7 +268908,7 @@ class PolyfaceQuery {
|
|
|
268910
268908
|
* Find segments (within the linestring) which project to facets.
|
|
268911
268909
|
* * Return chains.
|
|
268912
268910
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
268913
|
-
* @deprecated in 4.7.0 -
|
|
268911
|
+
* @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
268914
268912
|
*/
|
|
268915
268913
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
268916
268914
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -311866,7 +311864,7 @@ var ShowSignOption;
|
|
|
311866
311864
|
// parse and toString methods
|
|
311867
311865
|
/**
|
|
311868
311866
|
* @beta
|
|
311869
|
-
* @deprecated in 4.10 -
|
|
311867
|
+
* @deprecated in 4.10 - might be removed in next major version. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
311870
311868
|
*/
|
|
311871
311869
|
function scientificTypeToString(scientificType) {
|
|
311872
311870
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -311920,7 +311918,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
311920
311918
|
}
|
|
311921
311919
|
/**
|
|
311922
311920
|
* @beta
|
|
311923
|
-
* @deprecated in 4.10 -
|
|
311921
|
+
* @deprecated in 4.10 - might be removed in next major version. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
311924
311922
|
*/
|
|
311925
311923
|
function showSignOptionToString(showSign) {
|
|
311926
311924
|
switch (showSign) {
|
|
@@ -312013,7 +312011,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
312013
312011
|
}
|
|
312014
312012
|
}
|
|
312015
312013
|
/** @beta
|
|
312016
|
-
* @deprecated in 4.10 -
|
|
312014
|
+
* @deprecated in 4.10 - might be removed in next major version. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
312017
312015
|
*/
|
|
312018
312016
|
function formatTypeToString(type) {
|
|
312019
312017
|
switch (type) {
|
|
@@ -313716,7 +313714,7 @@ class Parser {
|
|
|
313716
313714
|
* @param inString A string that contains text represent a quantity.
|
|
313717
313715
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
313718
313716
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
313719
|
-
* @deprecated in 4.10 -
|
|
313717
|
+
* @deprecated in 4.10 - might be removed in next major version. Check [[Parser.parseQuantityString]] for replacements.
|
|
313720
313718
|
*/
|
|
313721
313719
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
313722
313720
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -317975,7 +317973,7 @@ class UiAdmin {
|
|
|
317975
317973
|
/** Get the cursor X and Y position. */
|
|
317976
317974
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
317977
317975
|
/** Create a PointProps object.
|
|
317978
|
-
* @deprecated in 4.2.0 -
|
|
317976
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
317979
317977
|
*/
|
|
317980
317978
|
createXAndY(x, y) { return { x, y }; }
|
|
317981
317979
|
/** Determines if focus is set to Home */
|
|
@@ -318179,7 +318177,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318179
318177
|
* @module Utilities
|
|
318180
318178
|
*/
|
|
318181
318179
|
/** Enumeration for Function Keys
|
|
318182
|
-
* @public @deprecated in 4.3 -
|
|
318180
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
318183
318181
|
*/
|
|
318184
318182
|
var FunctionKey;
|
|
318185
318183
|
(function (FunctionKey) {
|
|
@@ -318197,7 +318195,7 @@ var FunctionKey;
|
|
|
318197
318195
|
FunctionKey["F12"] = "F12";
|
|
318198
318196
|
})(FunctionKey || (FunctionKey = {}));
|
|
318199
318197
|
/** Enumeration for Special Keys
|
|
318200
|
-
* @public @deprecated in 4.3 -
|
|
318198
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
318201
318199
|
*/
|
|
318202
318200
|
var SpecialKey;
|
|
318203
318201
|
(function (SpecialKey) {
|
|
@@ -318226,7 +318224,7 @@ var SpecialKey;
|
|
|
318226
318224
|
SpecialKey["Decimal"] = "Decimal";
|
|
318227
318225
|
})(SpecialKey || (SpecialKey = {}));
|
|
318228
318226
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
318229
|
-
* @public @deprecated in 4.3 -
|
|
318227
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
|
|
318230
318228
|
*/
|
|
318231
318229
|
function isArrowKey(key) {
|
|
318232
318230
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -318278,7 +318276,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318278
318276
|
/**
|
|
318279
318277
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
318280
318278
|
* @public
|
|
318281
|
-
* @deprecated in 4.10.0 -
|
|
318279
|
+
* @deprecated in 4.10.0 - might be removed in next major version. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
318282
318280
|
*/
|
|
318283
318281
|
class StandardContentLayouts {
|
|
318284
318282
|
static singleView = {
|
|
@@ -319806,20 +319804,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319806
319804
|
*/
|
|
319807
319805
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
319808
319806
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
319809
|
-
* @public @deprecated in 4.3 -
|
|
319807
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
319810
319808
|
*/
|
|
319811
319809
|
class IconSpecUtilities {
|
|
319812
319810
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
319813
319811
|
static SVG_PREFIX = "svg:";
|
|
319814
319812
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
319815
319813
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
319816
|
-
* @public @deprecated in 4.3 -
|
|
319814
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
319817
319815
|
*/
|
|
319818
319816
|
static createWebComponentIconSpec(srcString) {
|
|
319819
319817
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
319820
319818
|
}
|
|
319821
319819
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
319822
|
-
* @public @deprecated in 4.3 -
|
|
319820
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
319823
319821
|
*/
|
|
319824
319822
|
static getWebComponentSource(iconSpec) {
|
|
319825
319823
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -319873,7 +319871,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319873
319871
|
*/
|
|
319874
319872
|
|
|
319875
319873
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
319876
|
-
* @public @deprecated in 4.3 -
|
|
319874
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Use [[Bentley.BentleyError]] instead.
|
|
319877
319875
|
*/
|
|
319878
319876
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
319879
319877
|
category;
|
|
@@ -319909,7 +319907,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319909
319907
|
|
|
319910
319908
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
319911
319909
|
* @public
|
|
319912
|
-
* @deprecated in 4.2 -
|
|
319910
|
+
* @deprecated in 4.2 - might be removed in next major version. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
319913
319911
|
*/
|
|
319914
319912
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
319915
319913
|
}
|
|
@@ -319940,7 +319938,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319940
319938
|
|
|
319941
319939
|
/** UiSync Event class.
|
|
319942
319940
|
* @public
|
|
319943
|
-
* @deprecated in 4.2.0 -
|
|
319941
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
319944
319942
|
*/
|
|
319945
319943
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
319946
319944
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
@@ -319948,7 +319946,7 @@ class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiE
|
|
|
319948
319946
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
319949
319947
|
* to refresh its display by calling setState on itself.
|
|
319950
319948
|
* @public
|
|
319951
|
-
* @deprecated in 4.2.0 -
|
|
319949
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
319952
319950
|
*/
|
|
319953
319951
|
class UiEventDispatcher {
|
|
319954
319952
|
_syncEventTimerId;
|
|
@@ -320151,7 +320149,7 @@ function join(head, tail) {
|
|
|
320151
320149
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
320152
320150
|
* Otherwise also matches sub string of the word with beginnings of the words in the target (e.g. "gp" or "g p" will match "Git: Pull").
|
|
320153
320151
|
* Useful in cases where the target is words (e.g. command labels)
|
|
320154
|
-
* @internal @deprecated in 4.3 -
|
|
320152
|
+
* @internal @deprecated in 4.3 - might be removed in next major version. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
320155
320153
|
*/
|
|
320156
320154
|
function matchesWords(word, target, contiguous = false) {
|
|
320157
320155
|
if (!target || target.length === 0) {
|
|
@@ -320223,7 +320221,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320223
320221
|
*/
|
|
320224
320222
|
/** Gets the class name for an object.
|
|
320225
320223
|
* @internal
|
|
320226
|
-
* @deprecated in 4.3 -
|
|
320224
|
+
* @deprecated in 4.3 - might be removed in next major version. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
320227
320225
|
*/
|
|
320228
320226
|
const getClassName = (obj) => {
|
|
320229
320227
|
let className = "";
|
|
@@ -331399,7 +331397,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
331399
331397
|
/***/ ((module) => {
|
|
331400
331398
|
|
|
331401
331399
|
"use strict";
|
|
331402
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.
|
|
331400
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.3","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 && npm run -s copy:draco","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 ES2022 --outDir lib/esm","clean":"rimraf -g 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","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.2.6","@vitest/coverage-v8":"^3.2.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.2.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
331403
331401
|
|
|
331404
331402
|
/***/ })
|
|
331405
331403
|
|