@itwin/ecschema-rpcinterface-tests 4.3.0-dev.7 → 4.3.0-dev.8

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.
@@ -191290,7 +191290,8 @@ class RegionOps {
191290
191290
  return halfDistTol * (range.xLength() + range.yLength() + halfDistTol);
191291
191291
  }
191292
191292
  /**
191293
- * Return an xy area for a loop, parity region, or union region.
191293
+ * Return a (signed) xy area for a region.
191294
+ * * The area is negative if and only if the region is oriented clockwise with respect to the positive z-axis.
191294
191295
  * @param root any Loop, ParityRegion, or UnionRegion.
191295
191296
  */
191296
191297
  static computeXYArea(root) {
@@ -233562,7 +233563,7 @@ class PolyfaceClip {
233562
233563
  * * This method computes the portion of the input mesh that lies inside the clipper generated from sweeping the input region in the given direction.
233563
233564
  * @param mesh input mesh, untouched
233564
233565
  * @param region planar region to drape onto mesh
233565
- * @param sweepVector optional sweep direction for region; if undefined, region normal is used
233566
+ * @param sweepVector optional sweep direction for region, magnitude unused. If undefined, sweep is along the region normal.
233566
233567
  * @param options how to stroke the region boundary
233567
233568
  * @returns clipped facets. No other mesh data but vertices appear in output.
233568
233569
  */
@@ -233572,10 +233573,13 @@ class PolyfaceClip {
233572
233573
  const contour = _solid_SweepContour__WEBPACK_IMPORTED_MODULE_15__.SweepContour.createForLinearSweep(region);
233573
233574
  if (!contour)
233574
233575
  return undefined;
233575
- const clipper = contour.sweepToUnionOfConvexClipPlaneSets(sweepVector, false, false, options);
233576
+ let sweep = sweepVector;
233577
+ if (sweepVector && contour.localToWorld.matrix.dotColumnZ(sweepVector) < 0.0)
233578
+ sweep = sweepVector.scale(-1); // avoid inverted clipper
233579
+ const clipper = contour.sweepToUnionOfConvexClipPlaneSets(sweep, false, false, options);
233576
233580
  if (!clipper)
233577
233581
  return undefined;
233578
- const builders = ClippedPolyfaceBuilders.create(true);
233582
+ const builders = ClippedPolyfaceBuilders.create(true); // we want only the facets inside the clipper
233579
233583
  this.clipPolyfaceUnionOfConvexClipPlaneSetsToBuilders(mesh, clipper, builders, 1);
233580
233584
  return builders.claimPolyface(0, true);
233581
233585
  }
@@ -234426,7 +234430,7 @@ class PolyfaceQuery {
234426
234430
  return result;
234427
234431
  }
234428
234432
  /** Return the sum of all facet areas.
234429
- * @param vectorToEye compute facet area projected to a view plane perpendicular to this vector
234433
+ * @param vectorToEye compute sum of *signed* facet areas projected to a view plane perpendicular to this vector
234430
234434
  */
234431
234435
  static sumFacetAreas(source, vectorToEye) {
234432
234436
  let s = 0;
@@ -251141,9 +251145,11 @@ class SweepContour {
251141
251145
  }
251142
251146
  /**
251143
251147
  * Create a UnionOfConvexClipPlaneSets that clips to the swept faceted contour region.
251144
- * @param sweepVector the sweep direction (does not have to be perpendicular to the contour). If undefined, the sweep direction is perpendicular to the plane of the contour, and no caps are constructed.
251148
+ * @param sweepVector the sweep direction and distance:
251149
+ * * If undefined, the sweep direction is along the contour normal and no caps are constructed (the sweep is infinite in both directions).
251150
+ * * If defined, the returned clipper is inverted if and only if sweepVector is in the opposite half-space as the computed contour normal.
251145
251151
  * @param cap0 construct a clip plane equal to the contour plane. Note that `sweepVector` must be defined.
251146
- * @param cap1 construct a clip plane parallel to the contour plane at the end of `sweepVector`. That is, sweepVector indicates both direction and distance.
251152
+ * @param cap1 construct a clip plane parallel to the contour plane at the end of `sweepVector`.
251147
251153
  * @param options how to stroke the contour
251148
251154
  * @returns clipper defined by faceting then sweeping the contour region
251149
251155
  */
@@ -288378,7 +288384,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
288378
288384
  /***/ ((module) => {
288379
288385
 
288380
288386
  "use strict";
288381
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.7","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.3.0-dev.7","@itwin/core-bentley":"workspace:^4.3.0-dev.7","@itwin/core-common":"workspace:^4.3.0-dev.7","@itwin/core-geometry":"workspace:^4.3.0-dev.7","@itwin/core-orbitgt":"workspace:^4.3.0-dev.7","@itwin/core-quantity":"workspace:^4.3.0-dev.7"},"//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","typemoq":"^2.1.0","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"}}');
288387
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.8","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.3.0-dev.8","@itwin/core-bentley":"workspace:^4.3.0-dev.8","@itwin/core-common":"workspace:^4.3.0-dev.8","@itwin/core-geometry":"workspace:^4.3.0-dev.8","@itwin/core-orbitgt":"workspace:^4.3.0-dev.8","@itwin/core-quantity":"workspace:^4.3.0-dev.8"},"//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","typemoq":"^2.1.0","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"}}');
288382
288388
 
288383
288389
  /***/ })
288384
288390