@itwin/ecschema-rpcinterface-tests 5.0.0-dev.97 → 5.0.0-dev.98
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 +34 -24
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -268706,10 +268706,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
268706
268706
|
|
|
268707
268707
|
|
|
268708
268708
|
/**
|
|
268709
|
-
* A
|
|
268710
|
-
* * A planar contour (any Loop, Path, or parityRegion)
|
|
268709
|
+
* A RotationalSweep is
|
|
268710
|
+
* * A planar contour (any Loop, Path, or parityRegion).
|
|
268711
268711
|
* * An axis vector.
|
|
268712
|
-
* * The planar contour is expected to be in the plane of the axis vector
|
|
268712
|
+
* * The planar contour is expected to be in the plane of the axis vector.
|
|
268713
268713
|
* * The contour may have points and/or lines that are on the axis, but otherwise is entirely on one side of the axis.
|
|
268714
268714
|
* * A sweep angle.
|
|
268715
268715
|
* @public
|
|
@@ -268724,14 +268724,14 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268724
268724
|
super(capped);
|
|
268725
268725
|
this._contour = contour;
|
|
268726
268726
|
this._normalizedAxis = normalizedAxis;
|
|
268727
|
-
this.capped = capped;
|
|
268728
268727
|
this._sweepAngle = sweepAngle;
|
|
268729
268728
|
}
|
|
268730
|
-
/**
|
|
268731
|
-
*
|
|
268732
|
-
* @param
|
|
268733
|
-
* @param
|
|
268734
|
-
* @param
|
|
268729
|
+
/**
|
|
268730
|
+
* Create a rotational sweep.
|
|
268731
|
+
* @param contour profile to sweep, coplanar with axis (CAPTURED).
|
|
268732
|
+
* @param axis rotation axis.
|
|
268733
|
+
* @param sweepAngle signed angular sweep.
|
|
268734
|
+
* @param capped whether to cap the surface to make a solid.
|
|
268735
268735
|
*/
|
|
268736
268736
|
static create(contour, axis, sweepAngle, capped) {
|
|
268737
268737
|
if (!axis.direction.normalizeInPlace())
|
|
@@ -268741,10 +268741,11 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268741
268741
|
return undefined;
|
|
268742
268742
|
return new RotationalSweep(sweepable, axis, sweepAngle.clone(), capped);
|
|
268743
268743
|
}
|
|
268744
|
-
/**
|
|
268745
|
-
*
|
|
268744
|
+
/**
|
|
268745
|
+
* Return a coordinate frame (right handed unit vectors).
|
|
268746
|
+
* * origin at origin of rotation ray.
|
|
268746
268747
|
* * z direction along the rotation ray.
|
|
268747
|
-
* * y direction perpendicular to the base contour plane
|
|
268748
|
+
* * y direction perpendicular to the base contour plane.
|
|
268748
268749
|
*/
|
|
268749
268750
|
getConstructiveFrame() {
|
|
268750
268751
|
const contourPerpendicular = this._contour.localToWorld.matrix.columnZ();
|
|
@@ -268754,26 +268755,37 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268754
268755
|
}
|
|
268755
268756
|
return undefined;
|
|
268756
268757
|
}
|
|
268757
|
-
/**
|
|
268758
|
-
cloneAxisRay() {
|
|
268758
|
+
/** Return clone of (not reference to) the axis vector. */
|
|
268759
|
+
cloneAxisRay() {
|
|
268760
|
+
return this._normalizedAxis.clone();
|
|
268761
|
+
}
|
|
268759
268762
|
/** Return (REFERENCE TO) the swept curves. */
|
|
268760
|
-
getCurves() {
|
|
268763
|
+
getCurves() {
|
|
268764
|
+
return this._contour.curves;
|
|
268765
|
+
}
|
|
268761
268766
|
/** Return (REFERENCE TO) the swept curves with containing plane markup. */
|
|
268762
|
-
getSweepContourRef() {
|
|
268767
|
+
getSweepContourRef() {
|
|
268768
|
+
return this._contour;
|
|
268769
|
+
}
|
|
268763
268770
|
/** Return the sweep angle. */
|
|
268764
|
-
getSweep() {
|
|
268771
|
+
getSweep() {
|
|
268772
|
+
return this._sweepAngle.clone();
|
|
268773
|
+
}
|
|
268765
268774
|
/** Test if `other` is a `RotationalSweep` */
|
|
268766
|
-
isSameGeometryClass(other) {
|
|
268775
|
+
isSameGeometryClass(other) {
|
|
268776
|
+
return other instanceof RotationalSweep;
|
|
268777
|
+
}
|
|
268767
268778
|
/** Test for same axis, capping, and swept geometry. */
|
|
268768
268779
|
isAlmostEqual(other) {
|
|
268769
268780
|
if (other instanceof RotationalSweep) {
|
|
268770
268781
|
return this._contour.isAlmostEqual(other._contour)
|
|
268771
268782
|
&& this._normalizedAxis.isAlmostEqual(other._normalizedAxis)
|
|
268783
|
+
&& this._sweepAngle.isAlmostEqual(other._sweepAngle)
|
|
268772
268784
|
&& this.capped === other.capped;
|
|
268773
268785
|
}
|
|
268774
268786
|
return false;
|
|
268775
268787
|
}
|
|
268776
|
-
/**
|
|
268788
|
+
/** Return a deep clone */
|
|
268777
268789
|
clone() {
|
|
268778
268790
|
return new RotationalSweep(this._contour.clone(), this._normalizedAxis.clone(), this._sweepAngle.clone(), this.capped);
|
|
268779
268791
|
}
|
|
@@ -268800,7 +268812,7 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268800
268812
|
const result = this.clone();
|
|
268801
268813
|
return result.tryTransformInPlace(transform) ? result : undefined;
|
|
268802
268814
|
}
|
|
268803
|
-
/** Dispatch to strongly typed handler
|
|
268815
|
+
/** Dispatch to strongly typed handler `handler.handleRotationalSweep(this)`. */
|
|
268804
268816
|
dispatchToGeometryHandler(handler) {
|
|
268805
268817
|
return handler.handleRotationalSweep(this);
|
|
268806
268818
|
}
|
|
@@ -268841,9 +268853,7 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268841
268853
|
strokes.extendRange(range, this.getFractionalRotationTransform(i / numStep, stepTransform));
|
|
268842
268854
|
}
|
|
268843
268855
|
}
|
|
268844
|
-
/**
|
|
268845
|
-
* @return true if this is a closed volume.
|
|
268846
|
-
*/
|
|
268856
|
+
/** Specify if the sweep forms a closed volume. */
|
|
268847
268857
|
get isClosedVolume() {
|
|
268848
268858
|
return this.capped || this._sweepAngle.isFullCircle;
|
|
268849
268859
|
}
|
|
@@ -311047,7 +311057,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
311047
311057
|
/***/ ((module) => {
|
|
311048
311058
|
|
|
311049
311059
|
"use strict";
|
|
311050
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
311060
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.98","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 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","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","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","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:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"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"}}');
|
|
311051
311061
|
|
|
311052
311062
|
/***/ })
|
|
311053
311063
|
|