@itwin/rpcinterface-full-stack-tests 4.0.0-dev.68 → 4.0.0-dev.70
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/_d48c.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +105 -93
- 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/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_5_0_node_modules_itwin_obj-e3e81d.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_3_1_node_modules_loaders_gl_draco_di-d3af41.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_d48c.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\
|
|
1
|
+
{"version":3,"file":"_d48c.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\57\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.3.1\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -173547,7 +173547,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
173547
173547
|
super.onCleanup();
|
|
173548
173548
|
this.releasePointerLock();
|
|
173549
173549
|
}
|
|
173550
|
-
pointerLockChangeEvent() {
|
|
173550
|
+
async pointerLockChangeEvent() {
|
|
173551
173551
|
const vp = this.viewTool.viewport;
|
|
173552
173552
|
if (undefined !== vp && document.pointerLockElement === vp.canvas) {
|
|
173553
173553
|
vp.npcToView(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.NpcCenter, this._anchorPtView); // Display indicator in the middle of the view for pointer lock...
|
|
@@ -173556,7 +173556,11 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
173556
173556
|
vp.invalidateDecorations();
|
|
173557
173557
|
}
|
|
173558
173558
|
else {
|
|
173559
|
-
|
|
173559
|
+
// If ESC is used to disable pointer lock, exit the tool instead of continuing in drag mode...
|
|
173560
|
+
if (this._havePointerLock && this.viewTool.inDynamicUpdate)
|
|
173561
|
+
await this.viewTool.exitTool();
|
|
173562
|
+
else
|
|
173563
|
+
this._havePointerLock = false;
|
|
173560
173564
|
}
|
|
173561
173565
|
}
|
|
173562
173566
|
requestPointerLock(enable) {
|
|
@@ -173579,7 +173583,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
173579
173583
|
// NOTE: Chrome appears to be the only browser that doesn't require pointer lock to be requested from an engagement event like click.
|
|
173580
173584
|
// Currently pointer lock is requested for "click" and not "mousedown" since we don't want pointer lock for drag operation.
|
|
173581
173585
|
if (undefined === this._pointerLockChangeListener) {
|
|
173582
|
-
this._pointerLockChangeListener = () => this.pointerLockChangeEvent();
|
|
173586
|
+
this._pointerLockChangeListener = async () => this.pointerLockChangeEvent();
|
|
173583
173587
|
document.addEventListener("pointerlockchange", this._pointerLockChangeListener, false);
|
|
173584
173588
|
}
|
|
173585
173589
|
if (undefined === this._pointerLockClickEngagementListener) {
|
|
@@ -173824,23 +173828,6 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
173824
173828
|
vp.viewToNpc(vp.npcToView(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.NpcCenter), this._lastReadPt);
|
|
173825
173829
|
this._lastReadPt.z = ViewManip.getFocusPlaneNpc(vp);
|
|
173826
173830
|
vp.npcToWorld(this._lastReadPt, this._lastReadPt);
|
|
173827
|
-
// Rotate view to look straight down...
|
|
173828
|
-
// const frust = vp.getWorldFrustum();
|
|
173829
|
-
// const saveFrustum = frust.clone();
|
|
173830
|
-
// const viewUp = vp.view.getYVector();
|
|
173831
|
-
// const viewDir = vp.view.getZVector(); viewDir.scaleInPlace(-1);
|
|
173832
|
-
// const worldUp = Vector3d.unitZ();
|
|
173833
|
-
// const viewAngle = worldUp.angleTo(viewUp).radians;
|
|
173834
|
-
// const pitchAngle = Angle.createRadians((-Math.PI / 2) - (viewDir.z < 0 ? -viewAngle : viewAngle));
|
|
173835
|
-
// const pitchMatrix = Matrix3d.createRotationAroundVector(Vector3d.unitX(), pitchAngle)!;
|
|
173836
|
-
// const pitchTimesView = pitchMatrix.multiplyMatrixMatrix(vp.rotation);
|
|
173837
|
-
// const invViewRot = vp.rotation.inverse()!;
|
|
173838
|
-
// const inverseViewTimesPitchTimesView = invViewRot.multiplyMatrixMatrix(pitchTimesView);
|
|
173839
|
-
// const transform = Transform.createFixedPointAndMatrix(view.getEyePoint(), inverseViewTimesPitchTimesView);
|
|
173840
|
-
// frust.multiply(transform);
|
|
173841
|
-
// vp.setupViewFromFrustum(frust);
|
|
173842
|
-
// this.computeCollisionData(vp, eyePt);
|
|
173843
|
-
// vp.setupViewFromFrustum(saveFrustum);
|
|
173844
173831
|
this.computeCollisionData(vp, eyePt);
|
|
173845
173832
|
}
|
|
173846
173833
|
if (undefined === this._currentContour || this._currentContour.numPoints() < 2 || positionInput.z <= 0.0)
|
|
@@ -174192,22 +174179,6 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
174192
174179
|
super.drawHandle(context, hasFocus);
|
|
174193
174180
|
if (!hasFocus || context.viewport !== this.viewTool.viewport)
|
|
174194
174181
|
return;
|
|
174195
|
-
// if (undefined !== this._currentContour && this._currentContour.numPoints() > 0) {
|
|
174196
|
-
// const builder = context.createGraphicBuilder(GraphicType.WorldOverlay);
|
|
174197
|
-
// const color = context.viewport.getContrastToBackgroundColor();
|
|
174198
|
-
// builder.setSymbology(color, color, 8);
|
|
174199
|
-
// if (this._currentContour.numPoints() > 1)
|
|
174200
|
-
// builder.addLineString(this._currentContour.points);
|
|
174201
|
-
// else
|
|
174202
|
-
// builder.addPointString(this._currentContour.points);
|
|
174203
|
-
// builder.setSymbology(ColorDef.blue, color, 15);
|
|
174204
|
-
// builder.addPointString([this._lastReadPt]);
|
|
174205
|
-
// if (this._lastReference) {
|
|
174206
|
-
// builder.setSymbology(ColorDef.green, color, 15);
|
|
174207
|
-
// builder.addPointString([this._lastReference.getOriginRef()]);
|
|
174208
|
-
// }
|
|
174209
|
-
// context.addDecorationFromBuilder(builder);
|
|
174210
|
-
// }
|
|
174211
174182
|
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_22__.ToolSettings.walkCollisions && this.viewTool.inDynamicUpdate) {
|
|
174212
174183
|
const position = this._anchorPtView.clone();
|
|
174213
174184
|
position.x = Math.floor(position.x) + 0.5;
|
|
@@ -222869,14 +222840,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
222869
222840
|
|
|
222870
222841
|
|
|
222871
222842
|
|
|
222872
|
-
/**
|
|
222873
|
-
*
|
|
222874
|
-
* *
|
|
222875
|
-
*
|
|
222843
|
+
/**
|
|
222844
|
+
* A Ray3d contains
|
|
222845
|
+
* * an `origin` point.
|
|
222846
|
+
* * a `direction` vector (The vector is not required to be normalized).
|
|
222847
|
+
* * an optional weight (number).
|
|
222876
222848
|
* @public
|
|
222877
222849
|
*/
|
|
222878
222850
|
class Ray3d {
|
|
222879
|
-
// constructor captures references
|
|
222851
|
+
// constructor (captures references)
|
|
222880
222852
|
constructor(origin, direction) {
|
|
222881
222853
|
this.origin = origin;
|
|
222882
222854
|
this.direction = direction;
|
|
@@ -222886,11 +222858,17 @@ class Ray3d {
|
|
|
222886
222858
|
return new Ray3d(_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create(x, y, z), _Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Vector3d.create(u, v, w));
|
|
222887
222859
|
}
|
|
222888
222860
|
/** Create a ray on the x axis. */
|
|
222889
|
-
static createXAxis() {
|
|
222861
|
+
static createXAxis() {
|
|
222862
|
+
return Ray3d._create(0, 0, 0, 1, 0, 0);
|
|
222863
|
+
}
|
|
222890
222864
|
/** Create a ray on the y axis. */
|
|
222891
|
-
static createYAxis() {
|
|
222865
|
+
static createYAxis() {
|
|
222866
|
+
return Ray3d._create(0, 0, 0, 0, 1, 0);
|
|
222867
|
+
}
|
|
222892
222868
|
/** Create a ray on the z axis. */
|
|
222893
|
-
static createZAxis() {
|
|
222869
|
+
static createZAxis() {
|
|
222870
|
+
return Ray3d._create(0, 0, 0, 0, 0, 1);
|
|
222871
|
+
}
|
|
222894
222872
|
/** Create a ray with all zeros. */
|
|
222895
222873
|
static createZero(result) {
|
|
222896
222874
|
if (result) {
|
|
@@ -222900,20 +222878,51 @@ class Ray3d {
|
|
|
222900
222878
|
}
|
|
222901
222879
|
return new Ray3d(_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.createZero(), _Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Vector3d.createZero());
|
|
222902
222880
|
}
|
|
222903
|
-
/**
|
|
222881
|
+
/**
|
|
222882
|
+
* Test for nearly equal Ray3d objects.
|
|
222904
222883
|
* * This tests for near equality of origin and direction -- i.e. member-by-member comparison.
|
|
222905
|
-
* * Use [[isAlmostEqualPointSet]] to allow origins to be anywhere along the common ray and to have to allow the
|
|
222906
|
-
|
|
222884
|
+
* * Use [[isAlmostEqualPointSet]] to allow origins to be anywhere along the common ray and to have to allow the
|
|
222885
|
+
* directions to be scaled or opposing.
|
|
222886
|
+
*/
|
|
222907
222887
|
isAlmostEqual(other) {
|
|
222908
222888
|
return this.origin.isAlmostEqual(other.origin) && this.direction.isAlmostEqual(other.direction);
|
|
222909
222889
|
}
|
|
222910
|
-
/**
|
|
222890
|
+
/** Return the dot product of the ray's direction vector with a vector from the ray origin to the `spacePoint`. */
|
|
222891
|
+
dotProductToPoint(spacePoint) {
|
|
222892
|
+
return this.direction.dotProductStartEnd(this.origin, spacePoint);
|
|
222893
|
+
}
|
|
222894
|
+
/** Return the fractional coordinate (along the direction vector) of the `spacePoint` projected to the ray. */
|
|
222895
|
+
pointToFraction(spacePoint) {
|
|
222896
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.safeDivideFraction(this.dotProductToPoint(spacePoint), this.direction.magnitudeSquared(), 0);
|
|
222897
|
+
}
|
|
222898
|
+
/** Return the `spacePoint` projected onto the ray. */
|
|
222899
|
+
projectPointToRay(spacePoint) {
|
|
222900
|
+
/**
|
|
222901
|
+
* To project a point to the ray, we can create a vector called "v" from ray origin to the spacePoint and project
|
|
222902
|
+
* that vector to the ray direction vector "r". The projection is "((v.r)/||r||^2) r" where "v.r" is the dot
|
|
222903
|
+
* product. Note that pointToFraction returns "(v.r)/||r||^2".
|
|
222904
|
+
* Note: If r is the normal of a plane, then projection length "(v.r)/||r||" is the signed altitude of the
|
|
222905
|
+
* spacePoint with respect to the plane.
|
|
222906
|
+
*/
|
|
222907
|
+
return this.origin.plusScaled(this.direction, this.pointToFraction(spacePoint));
|
|
222908
|
+
}
|
|
222909
|
+
/**
|
|
222910
|
+
* Test for nearly equal rays, allowing origin float and direction scaling.
|
|
222911
222911
|
* * Use [[isAlmostEqual]] to require member-by-member comparison.
|
|
222912
|
-
|
|
222912
|
+
*/
|
|
222913
222913
|
isAlmostEqualPointSet(other) {
|
|
222914
|
+
/**
|
|
222915
|
+
* This function tests two rays to determine if they define the same infinite lines.
|
|
222916
|
+
* So the origins can be different as long as they are on the infinite line (they can
|
|
222917
|
+
* "float") but the directions must be parallel or antiparallel.
|
|
222918
|
+
*/
|
|
222914
222919
|
if (!this.direction.isParallelTo(other.direction, true))
|
|
222915
222920
|
return false;
|
|
222916
|
-
|
|
222921
|
+
/**
|
|
222922
|
+
* In exact math, we consider a ray to have an infinite line as direction (not a finite vector).
|
|
222923
|
+
* Therefore, in exact math it is not possible for one origin to be on the other ray but not vice
|
|
222924
|
+
* versa. However, we test both ways because first check may pass due to round-off errors.
|
|
222925
|
+
*/
|
|
222917
222926
|
let workPoint = this.projectPointToRay(other.origin);
|
|
222918
222927
|
if (!other.origin.isAlmostEqualMetric(workPoint))
|
|
222919
222928
|
return false;
|
|
@@ -222931,7 +222940,8 @@ class Ray3d {
|
|
|
222931
222940
|
return new Ray3d(origin.clone(), direction.clone());
|
|
222932
222941
|
}
|
|
222933
222942
|
/**
|
|
222934
|
-
* Given a homogeneous point and its derivative components, construct a Ray3d with cartesian
|
|
222943
|
+
* Given a homogeneous point and its derivative components, construct a Ray3d with cartesian
|
|
222944
|
+
* coordinates and derivatives.
|
|
222935
222945
|
* @param weightedPoint `[x,y,z,w]` parts of weighted point.
|
|
222936
222946
|
* @param weightedDerivative `[x,y,z,w]` derivatives
|
|
222937
222947
|
* @param result
|
|
@@ -222976,7 +222986,7 @@ class Ray3d {
|
|
|
222976
222986
|
result.a = a;
|
|
222977
222987
|
return result;
|
|
222978
222988
|
}
|
|
222979
|
-
/** Create from origin and target.
|
|
222989
|
+
/** Create from origin and target. The direction vector is the full length (non-unit) vector from origin to target. */
|
|
222980
222990
|
static createStartEnd(origin, target, result) {
|
|
222981
222991
|
if (result) {
|
|
222982
222992
|
result.origin.setFrom(origin);
|
|
@@ -222986,10 +222996,14 @@ class Ray3d {
|
|
|
222986
222996
|
return new Ray3d(origin.clone(), _Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Vector3d.createStartEnd(origin, target));
|
|
222987
222997
|
}
|
|
222988
222998
|
/** Return a reference to the ray's origin. */
|
|
222989
|
-
getOriginRef() {
|
|
222999
|
+
getOriginRef() {
|
|
223000
|
+
return this.origin;
|
|
223001
|
+
}
|
|
222990
223002
|
/** Return a reference to the ray's direction vector. */
|
|
222991
|
-
getDirectionRef() {
|
|
222992
|
-
|
|
223003
|
+
getDirectionRef() {
|
|
223004
|
+
return this.direction;
|
|
223005
|
+
}
|
|
223006
|
+
/** Copy coordinates from origin and direction. */
|
|
222993
223007
|
set(origin, direction) {
|
|
222994
223008
|
this.origin.setFrom(origin);
|
|
222995
223009
|
this.direction.setFrom(direction);
|
|
@@ -223020,37 +223034,26 @@ class Ray3d {
|
|
|
223020
223034
|
transform.multiplyVector(this.direction, this.direction);
|
|
223021
223035
|
}
|
|
223022
223036
|
/** Copy data from another ray. */
|
|
223023
|
-
setFrom(source) {
|
|
223024
|
-
|
|
223025
|
-
* * fraction 1 is at the end of the direction vector when placed at the origin.
|
|
223026
|
-
* @returns Return a point at fractional position along the ray.
|
|
223027
|
-
*/
|
|
223028
|
-
fractionToPoint(fraction, result) { return this.origin.plusScaled(this.direction, fraction, result); }
|
|
223029
|
-
/** Return the dot product of the ray's direction vector with a vector from the ray origin to the space point. */
|
|
223030
|
-
dotProductToPoint(spacePoint) { return this.direction.dotProductStartEnd(this.origin, spacePoint); }
|
|
223031
|
-
/**
|
|
223032
|
-
* Return the fractional coordinate (along the direction vector) of the spacePoint projected to the ray.
|
|
223033
|
-
*/
|
|
223034
|
-
pointToFraction(spacePoint) {
|
|
223035
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.safeDivideFraction(this.direction.dotProductStartEnd(this.origin, spacePoint), this.direction.magnitudeSquared(), 0);
|
|
223037
|
+
setFrom(source) {
|
|
223038
|
+
this.set(source.origin, source.direction);
|
|
223036
223039
|
}
|
|
223037
223040
|
/**
|
|
223038
|
-
*
|
|
223039
|
-
*
|
|
223041
|
+
* Return a point at fractional position along the ray.
|
|
223042
|
+
* * fraction 0 is the ray origin.
|
|
223043
|
+
* * fraction 1 is at the end of the direction vector when placed at the origin.
|
|
223040
223044
|
*/
|
|
223041
|
-
|
|
223042
|
-
return this.origin.plusScaled(this.direction,
|
|
223045
|
+
fractionToPoint(fraction, result) {
|
|
223046
|
+
return this.origin.plusScaled(this.direction, fraction, result);
|
|
223043
223047
|
}
|
|
223044
|
-
/**
|
|
223045
|
-
* at ray origin with z in ray direction.
|
|
223048
|
+
/**
|
|
223049
|
+
* Return a transform for rigid axes at ray origin with z in ray direction.
|
|
223050
|
+
* * If the direction vector is zero, axes default to identity (from [[Matrix3d.createRigidHeadsUp]])
|
|
223046
223051
|
*/
|
|
223047
223052
|
toRigidZFrame() {
|
|
223048
223053
|
const axes = _Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.createRigidHeadsUp(this.direction, _Geometry__WEBPACK_IMPORTED_MODULE_1__.AxisOrder.ZXY);
|
|
223049
223054
|
return _Transform__WEBPACK_IMPORTED_MODULE_3__.Transform.createOriginAndMatrix(this.origin, axes);
|
|
223050
223055
|
}
|
|
223051
|
-
/**
|
|
223052
|
-
* Convert {origin:[x,y,z], direction:[u,v,w]} to a Ray3d.
|
|
223053
|
-
*/
|
|
223056
|
+
/** Convert {origin:[x,y,z], direction:[u,v,w]} to a Ray3d. */
|
|
223054
223057
|
setFromJSON(json) {
|
|
223055
223058
|
if (!json) {
|
|
223056
223059
|
this.origin.set(0, 0, 0);
|
|
@@ -223061,8 +223064,8 @@ class Ray3d {
|
|
|
223061
223064
|
this.direction.setFromJSON(json.direction);
|
|
223062
223065
|
}
|
|
223063
223066
|
/**
|
|
223064
|
-
*
|
|
223065
|
-
*
|
|
223067
|
+
* Try to scale the direction vector to a given magnitude.
|
|
223068
|
+
* * Returns false if ray direction is a zero vector.
|
|
223066
223069
|
*/
|
|
223067
223070
|
trySetDirectionMagnitudeInPlace(magnitude = 1.0) {
|
|
223068
223071
|
if (this.direction.tryNormalizeInPlace()) {
|
|
@@ -223095,11 +223098,13 @@ class Ray3d {
|
|
|
223095
223098
|
return false;
|
|
223096
223099
|
}
|
|
223097
223100
|
/**
|
|
223098
|
-
*
|
|
223101
|
+
* Construct a JSON object from this Ray3d.
|
|
223099
223102
|
* @return {*} [origin,normal]
|
|
223100
223103
|
*/
|
|
223101
|
-
toJSON() {
|
|
223102
|
-
|
|
223104
|
+
toJSON() {
|
|
223105
|
+
return { origin: this.origin.toJSON(), direction: this.direction.toJSON() };
|
|
223106
|
+
}
|
|
223107
|
+
/** Create a new ray from json object. See `setFromJSON` for json structure; */
|
|
223103
223108
|
static fromJSON(json) {
|
|
223104
223109
|
const result = Ray3d.createXAxis();
|
|
223105
223110
|
result.setFromJSON(json);
|
|
@@ -223138,7 +223143,7 @@ class Ray3d {
|
|
|
223138
223143
|
return division;
|
|
223139
223144
|
}
|
|
223140
223145
|
/**
|
|
223141
|
-
*
|
|
223146
|
+
* Find intersection of the ray with a Range3d.
|
|
223142
223147
|
* * return the range of fractions (on the ray) which are "inside" the range.
|
|
223143
223148
|
* * Note that a range is always returned; if there is no intersection it is indicated by the test `result.sNull`
|
|
223144
223149
|
*/
|
|
@@ -223152,9 +223157,10 @@ class Ray3d {
|
|
|
223152
223157
|
return interval;
|
|
223153
223158
|
return interval;
|
|
223154
223159
|
}
|
|
223155
|
-
/**
|
|
223160
|
+
/**
|
|
223161
|
+
* Construct a vector from `ray.origin` to target point.
|
|
223156
223162
|
* * return the part of the vector that is perpendicular to `ray.direction`.
|
|
223157
|
-
*
|
|
223163
|
+
* * i.e., return the shortest vector from the ray to the point.
|
|
223158
223164
|
*/
|
|
223159
223165
|
perpendicularPartOfVectorToTarget(targetPoint, result) {
|
|
223160
223166
|
const vectorV = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Vector3d.createStartEnd(this.origin, targetPoint);
|
|
@@ -223163,14 +223169,20 @@ class Ray3d {
|
|
|
223163
223169
|
const fraction = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.safeDivideFraction(uv, uu, 0.0);
|
|
223164
223170
|
return vectorV.plusScaled(this.direction, -fraction, result);
|
|
223165
223171
|
}
|
|
223166
|
-
/**
|
|
223172
|
+
/**
|
|
223173
|
+
* Determine if two rays intersect, are fully overlapped, parallel but no coincident, or skew
|
|
223167
223174
|
* * Return a CurveLocationDetailPair which
|
|
223168
223175
|
* * contains fraction and point on each ray.
|
|
223169
|
-
* * has (in the CurveLocationDetailPair structure, as member approachType) annotation indicating one of
|
|
223170
|
-
*
|
|
223171
|
-
* * CurveCurveApproachType.
|
|
223172
|
-
*
|
|
223173
|
-
* * CurveCurveApproachType.
|
|
223176
|
+
* * has (in the CurveLocationDetailPair structure, as member approachType) annotation indicating one of
|
|
223177
|
+
* these relationships
|
|
223178
|
+
* * CurveCurveApproachType.Intersection -- the rays have a simple intersection, at fractions indicated
|
|
223179
|
+
* in detailA and detailB
|
|
223180
|
+
* * CurveCurveApproachType.PerpendicularChord -- there is pair of where the rays have closest approach.
|
|
223181
|
+
* The rays are skew in space.
|
|
223182
|
+
* * CurveCurveApproachType.CoincidentGeometry -- the rays are the same unbounded line in space. The
|
|
223183
|
+
* fractions and points are a representative single common point.
|
|
223184
|
+
* * CurveCurveApproachType.Parallel -- the rays are parallel (and not coincident). The two points are
|
|
223185
|
+
* at the minimum distance
|
|
223174
223186
|
*/
|
|
223175
223187
|
static closestApproachRay3dRay3d(rayA, rayB) {
|
|
223176
223188
|
const intersectionFractions = _Point2dVector2d__WEBPACK_IMPORTED_MODULE_5__.Vector2d.create();
|
|
@@ -281616,7 +281628,7 @@ class TestContext {
|
|
|
281616
281628
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
281617
281629
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
281618
281630
|
await core_frontend_1.NoRenderApp.startup({
|
|
281619
|
-
applicationVersion: "4.0.0-dev.
|
|
281631
|
+
applicationVersion: "4.0.0-dev.70",
|
|
281620
281632
|
applicationId: this.settings.gprid,
|
|
281621
281633
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
281622
281634
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -301189,7 +301201,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
301189
301201
|
/***/ ((module) => {
|
|
301190
301202
|
|
|
301191
301203
|
"use strict";
|
|
301192
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.
|
|
301204
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.70","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","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"./node_modules/@itwin/eslint-plugin/dist/configs/extension-exports-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"},"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.0.0-dev.70","@itwin/core-bentley":"workspace:^4.0.0-dev.70","@itwin/core-common":"workspace:^4.0.0-dev.70","@itwin/core-geometry":"workspace:^4.0.0-dev.70","@itwin/core-orbitgt":"workspace:^4.0.0-dev.70","@itwin/core-quantity":"workspace:^4.0.0-dev.70"},"//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.32","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/mocha":"^8.2.2","@types/node":"^18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~5.0.2","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/object-storage-azure":"^1.5.0","@itwin/cloud-agnostic-core":"^1.5.0","@itwin/object-storage-core":"^1.5.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","deep-assign":"^2.0.0","fuse.js":"^3.3.0","qs":"^6.5.3","semver":"^7.3.5","superagent":"^7.1.5","wms-capabilities":"0.4.0","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
301193
301205
|
|
|
301194
301206
|
/***/ }),
|
|
301195
301207
|
|