@itwin/rpcinterface-full-stack-tests 5.12.0-dev.12 → 5.12.0-dev.13
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 +92 -68
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -196270,6 +196270,9 @@ class GltfReader {
|
|
|
196270
196270
|
}
|
|
196271
196271
|
case _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfMeshMode.LineStrip: {
|
|
196272
196272
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== bufferView); // compiler can't seem to infer this...
|
|
196273
|
+
// Per the KHR_mesh_primitive_restart extension (https://github.com/KhronosGroup/glTF/pull/2569), the indices accessor may contain
|
|
196274
|
+
// "primitive restart" values - the maximum value for the accessor's component type - each of which terminates the current line strip
|
|
196275
|
+
// and begins a new one. This permits many strips to be batched into a single primitive.
|
|
196273
196276
|
const restart = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfDataType.UnsignedByte === bufferView.type ? 0xff : (_common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfDataType.UnsignedShort === bufferView.type ? 0xffff : 0xffffffff);
|
|
196274
196277
|
for (const index of data.buffer) {
|
|
196275
196278
|
if (index === restart) {
|
|
@@ -251642,12 +251645,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251642
251645
|
return true;
|
|
251643
251646
|
}
|
|
251644
251647
|
/** Test the fraction by strict parameter, but allow toleranced distance test at ends. */
|
|
251645
|
-
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB
|
|
251648
|
+
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB) {
|
|
251646
251649
|
if (!extend0 && fraction < 0) {
|
|
251647
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(fraction * pointA.
|
|
251650
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(fraction * fraction * pointA.distanceSquaredXY(pointB), this._coincidentGeometryContext.tolerance * this._coincidentGeometryContext.tolerance);
|
|
251651
|
+
}
|
|
251652
|
+
else if (!extend1 && fraction > 1.0) {
|
|
251653
|
+
const f = fraction - 1;
|
|
251654
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(f * f * pointA.distanceSquaredXY(pointB), this._coincidentGeometryContext.tolerance * this._coincidentGeometryContext.tolerance);
|
|
251648
251655
|
}
|
|
251649
|
-
else if (!extend1 && fraction > 1.0)
|
|
251650
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol((fraction - 1.0) * pointA.distanceXY(pointB), tolerance);
|
|
251651
251656
|
return true;
|
|
251652
251657
|
}
|
|
251653
251658
|
/**
|
|
@@ -251661,7 +251666,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251661
251666
|
return result;
|
|
251662
251667
|
}
|
|
251663
251668
|
/**
|
|
251664
|
-
* Record the pre-computed intersection between two curves.
|
|
251669
|
+
* Record the pre-computed intersection between two curves. Record with fraction mapping.
|
|
251665
251670
|
* @param localFractionA intersection fraction local to the subcurve of cpA between fractionA0 and fractionA1
|
|
251666
251671
|
* @param cpA the first curve
|
|
251667
251672
|
* @param fractionA0 start of the subcurve of cpA
|
|
@@ -251741,8 +251746,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251741
251746
|
computeSegmentSegment3D(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
251742
251747
|
const aDir = { x: pointA1.x - pointA0.x, y: pointA1.y - pointA0.y };
|
|
251743
251748
|
const bDir = { x: pointB1.x - pointB0.x, y: pointB1.y - pointB0.y };
|
|
251744
|
-
const
|
|
251745
|
-
const fractions = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegmentXYUVIntersectionUnbounded(pointA0, aDir, pointB0, bDir, tol);
|
|
251749
|
+
const fractions = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegmentXYUVIntersectionUnbounded(pointA0, aDir, pointB0, bDir, this._coincidentGeometryContext.tolerance);
|
|
251746
251750
|
if (!fractions)
|
|
251747
251751
|
return;
|
|
251748
251752
|
if (fractions.f1) { // the lines are coincident
|
|
@@ -251755,8 +251759,8 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251755
251759
|
this.recordPointWithLocalFractions(overlap.detailA.fraction, cpA, fractionA0, fractionA1, overlap.detailB.fraction, cpB, fractionB0, fractionB1, reversed, overlap);
|
|
251756
251760
|
}
|
|
251757
251761
|
else { // the lines have a transverse intersection
|
|
251758
|
-
if (this.acceptFractionOnLine(extendA0, fractions.f0.x, extendA1, pointA0, pointA1
|
|
251759
|
-
if (this.acceptFractionOnLine(extendB0, fractions.f0.y, extendB1, pointB0, pointB1
|
|
251762
|
+
if (this.acceptFractionOnLine(extendA0, fractions.f0.x, extendA1, pointA0, pointA1)) {
|
|
251763
|
+
if (this.acceptFractionOnLine(extendB0, fractions.f0.y, extendB1, pointB0, pointB1))
|
|
251760
251764
|
this.recordPointWithLocalFractions(fractions.f0.x, cpA, fractionA0, fractionA1, fractions.f0.y, cpB, fractionB0, fractionB1, reversed);
|
|
251761
251765
|
}
|
|
251762
251766
|
}
|
|
@@ -251821,10 +251825,6 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251821
251825
|
// solve for theta; evaluate points; project back to line
|
|
251822
251826
|
if (this._worldToLocalPerspective) {
|
|
251823
251827
|
const data = arc.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
251824
|
-
const radians0 = data.sweep.fractionToRadians(0);
|
|
251825
|
-
const pointB0H = data.center.plus2Scaled(data.vector0, Math.cos(radians0), data.vector90, Math.sin(radians0));
|
|
251826
|
-
const radians1 = data.sweep.fractionToRadians(1);
|
|
251827
|
-
const pointB1H = data.center.plus2Scaled(data.vector0, Math.cos(radians1), data.vector90, Math.sin(radians1));
|
|
251828
251828
|
const pointA0H = this._worldToLocalPerspective.multiplyPoint3d(pointA0, 1);
|
|
251829
251829
|
const pointA1H = this._worldToLocalPerspective.multiplyPoint3d(pointA1, 1);
|
|
251830
251830
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.center);
|
|
@@ -251833,35 +251833,49 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251833
251833
|
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
251834
251834
|
const closeApproach = (0 === numRoots);
|
|
251835
251835
|
if (closeApproach)
|
|
251836
|
-
numRoots = 1; //
|
|
251837
|
-
|
|
251838
|
-
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(iRoot), data.vector90, sines.atUncheckedIndex(iRoot));
|
|
251839
|
-
let fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(iRoot), extendB0);
|
|
251840
|
-
let fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, arcPoint);
|
|
251841
|
-
if (fLine === undefined)
|
|
251842
|
-
return undefined;
|
|
251843
|
-
if (!checkOnlyEndPointDistance && this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1))
|
|
251844
|
-
return { fLine, fArc };
|
|
251845
|
-
// check for an endpoint intersection that is beyond parametric tolerance but within point tolerance
|
|
251846
|
-
fLine = fLine < 0.5 ? 0 : 1;
|
|
251847
|
-
fArc = data.sweep.fractionToSignedPeriodicFraction(fArc) < 0.5 ? 0 : 1;
|
|
251848
|
-
const pointAH = fLine ? pointA1H : pointA0H;
|
|
251849
|
-
const pointBH = fArc ? pointB1H : pointB0H;
|
|
251850
|
-
const dist2 = pointAH.realDistanceSquaredXY(pointBH);
|
|
251851
|
-
return (dist2 !== undefined && _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2)) ? { fLine, fArc } : undefined;
|
|
251852
|
-
};
|
|
251836
|
+
numRoots = 1; // arc closest approach is the first entry
|
|
251837
|
+
let numAccepted = 0;
|
|
251853
251838
|
for (let i = 0; i < numRoots; i++) {
|
|
251854
|
-
const
|
|
251855
|
-
|
|
251856
|
-
|
|
251839
|
+
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
251840
|
+
const fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(i), extendB0);
|
|
251841
|
+
const fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, arcPoint);
|
|
251842
|
+
if (fLine === undefined)
|
|
251843
|
+
continue;
|
|
251844
|
+
if (closeApproach) {
|
|
251845
|
+
const linePoint = pointA0H.interpolate(fLine, pointA1H);
|
|
251846
|
+
const dist2 = arcPoint.realDistanceSquaredXY(linePoint);
|
|
251847
|
+
if (dist2 === undefined || !_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2))
|
|
251848
|
+
continue;
|
|
251849
|
+
}
|
|
251850
|
+
if (this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1)) {
|
|
251851
|
+
this.recordPointWithLocalFractions(fLine, cpA, fractionA0, fractionA1, fArc, arc, 0, 1, reversed);
|
|
251852
|
+
numAccepted++;
|
|
251853
|
+
}
|
|
251854
|
+
}
|
|
251855
|
+
if (numAccepted === 0 && !arc.sweep.isFullCircle) {
|
|
251856
|
+
// check for endpoint intersection beyond parametric tolerance but within point tolerance
|
|
251857
|
+
const pointB0H = this._worldToLocalPerspective.multiplyPoint3d(arc.startPoint(), 1);
|
|
251858
|
+
const pointB1H = this._worldToLocalPerspective.multiplyPoint3d(arc.endPoint(), 1);
|
|
251859
|
+
const dist2 = [];
|
|
251860
|
+
let d2 = pointA0H.realDistanceSquaredXY(pointB0H);
|
|
251861
|
+
if (d2 !== undefined)
|
|
251862
|
+
dist2.push({ d2, fA: 0, fB: 0 });
|
|
251863
|
+
d2 = pointA0H.realDistanceSquaredXY(pointB1H);
|
|
251864
|
+
if (d2 !== undefined)
|
|
251865
|
+
dist2.push({ d2, fA: 0, fB: 1 });
|
|
251866
|
+
d2 = pointA1H.realDistanceSquaredXY(pointB0H);
|
|
251867
|
+
if (d2 !== undefined)
|
|
251868
|
+
dist2.push({ d2, fA: 1, fB: 0 });
|
|
251869
|
+
d2 = pointA1H.realDistanceSquaredXY(pointB1H);
|
|
251870
|
+
if (d2 !== undefined)
|
|
251871
|
+
dist2.push({ d2, fA: 1, fB: 1 });
|
|
251872
|
+
dist2.sort((a, b) => a.d2 - b.d2);
|
|
251873
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2[0].d2, tol2))
|
|
251874
|
+
this.recordPointWithLocalFractions(dist2[0].fA, cpA, fractionA0, fractionA1, dist2[0].fB, arc, 0, 1, reversed);
|
|
251857
251875
|
}
|
|
251858
251876
|
}
|
|
251859
251877
|
else {
|
|
251860
251878
|
const data = arc.toTransformedVectors(this._worldToLocalAffine);
|
|
251861
|
-
const radians0 = data.sweep.fractionToRadians(0);
|
|
251862
|
-
const pointB0Local = data.center.plus2Scaled(data.vector0, Math.cos(radians0), data.vector90, Math.sin(radians0));
|
|
251863
|
-
const radians1 = data.sweep.fractionToRadians(1);
|
|
251864
|
-
const pointB1Local = data.center.plus2Scaled(data.vector0, Math.cos(radians1), data.vector90, Math.sin(radians1));
|
|
251865
251879
|
let pointA0Local = pointA0;
|
|
251866
251880
|
let pointA1Local = pointA1;
|
|
251867
251881
|
if (this._worldToLocalAffine) {
|
|
@@ -251874,27 +251888,40 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
251874
251888
|
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
251875
251889
|
const closeApproach = (0 === numRoots);
|
|
251876
251890
|
if (closeApproach)
|
|
251877
|
-
numRoots = 1; //
|
|
251878
|
-
|
|
251879
|
-
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(iRoot), data.vector90, sines.atUncheckedIndex(iRoot));
|
|
251880
|
-
let fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(iRoot), extendB0);
|
|
251881
|
-
let fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
251882
|
-
if (fLine === undefined)
|
|
251883
|
-
return undefined;
|
|
251884
|
-
if (!checkOnlyEndPointDistance && this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1))
|
|
251885
|
-
return { fLine, fArc };
|
|
251886
|
-
// check for an endpoint intersection that is beyond parametric tolerance but within point tolerance
|
|
251887
|
-
fLine = fLine < 0.5 ? 0 : 1;
|
|
251888
|
-
fArc = data.sweep.fractionToSignedPeriodicFraction(fArc) < 0.5 ? 0 : 1;
|
|
251889
|
-
const pointALocal = fLine ? pointA1Local : pointA0Local;
|
|
251890
|
-
const pointBLocal = fArc ? pointB1Local : pointB0Local;
|
|
251891
|
-
const dist2 = pointALocal.distanceSquaredXY(pointBLocal);
|
|
251892
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2) ? { fLine, fArc } : undefined;
|
|
251893
|
-
};
|
|
251891
|
+
numRoots = 1; // arc closest approach is the first entry
|
|
251892
|
+
let numAccepted = 0;
|
|
251894
251893
|
for (let i = 0; i < numRoots; i++) {
|
|
251895
|
-
const
|
|
251896
|
-
|
|
251897
|
-
|
|
251894
|
+
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
251895
|
+
const fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(i), extendB0);
|
|
251896
|
+
const fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
251897
|
+
if (fLine === undefined)
|
|
251898
|
+
continue;
|
|
251899
|
+
if (closeApproach) {
|
|
251900
|
+
const linePoint = pointA0Local.interpolate(fLine, pointA1Local);
|
|
251901
|
+
if (!_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(arcPoint.distanceSquaredXY(linePoint), tol2))
|
|
251902
|
+
continue;
|
|
251903
|
+
}
|
|
251904
|
+
if (this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1)) {
|
|
251905
|
+
this.recordPointWithLocalFractions(fLine, cpA, fractionA0, fractionA1, fArc, arc, 0, 1, reversed);
|
|
251906
|
+
numAccepted++;
|
|
251907
|
+
}
|
|
251908
|
+
}
|
|
251909
|
+
if (numAccepted === 0 && !arc.sweep.isFullCircle) {
|
|
251910
|
+
// check for endpoint intersection beyond parametric tolerance but within point tolerance
|
|
251911
|
+
const pointB0Local = arc.startPoint();
|
|
251912
|
+
const pointB1Local = arc.endPoint();
|
|
251913
|
+
if (this._worldToLocalAffine) {
|
|
251914
|
+
this._worldToLocalAffine.multiplyXYAndZInPlace(pointB0Local);
|
|
251915
|
+
this._worldToLocalAffine.multiplyXYAndZInPlace(pointB1Local);
|
|
251916
|
+
}
|
|
251917
|
+
const dist2 = [];
|
|
251918
|
+
dist2.push({ d2: pointA0Local.distanceSquaredXY(pointB0Local), fA: 0, fB: 0 });
|
|
251919
|
+
dist2.push({ d2: pointA0Local.distanceSquaredXY(pointB1Local), fA: 0, fB: 1 });
|
|
251920
|
+
dist2.push({ d2: pointA1Local.distanceSquaredXY(pointB0Local), fA: 1, fB: 0 });
|
|
251921
|
+
dist2.push({ d2: pointA1Local.distanceSquaredXY(pointB1Local), fA: 1, fB: 1 });
|
|
251922
|
+
dist2.sort((a, b) => a.d2 - b.d2);
|
|
251923
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2[0].d2, tol2))
|
|
251924
|
+
this.recordPointWithLocalFractions(dist2[0].fA, cpA, fractionA0, fractionA1, dist2[0].fB, arc, 0, 1, reversed);
|
|
251898
251925
|
}
|
|
251899
251926
|
}
|
|
251900
251927
|
}
|
|
@@ -282841,10 +282868,7 @@ class Transform {
|
|
|
282841
282868
|
// Tx = Mx + o so we return Mx + o
|
|
282842
282869
|
return _Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.xyzPlusMatrixTimesXYZ(this._origin, this._matrix, point, result);
|
|
282843
282870
|
}
|
|
282844
|
-
/**
|
|
282845
|
-
* Transform the input 3d point in place (using `Tp = M*p + o`).
|
|
282846
|
-
* Return as a new point or in the pre-allocated result (if result is given).
|
|
282847
|
-
*/
|
|
282871
|
+
/** Transform the input 3d point in place (using `Tp = M*p + o`). */
|
|
282848
282872
|
multiplyXYAndZInPlace(point) {
|
|
282849
282873
|
return _Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.xyzPlusMatrixTimesXYZInPlace(this._origin, this._matrix, point);
|
|
282850
282874
|
}
|
|
@@ -289851,11 +289875,11 @@ class AnalyticRoots {
|
|
|
289851
289875
|
* * -2 -- all coefficients identically 0. The entire c, s plane-- and therefore the entire unit circle-- is a solution.
|
|
289852
289876
|
* * -1 -- beta, gamma are zero, alpha is not.There is no line defined.There are no solutions.
|
|
289853
289877
|
* * 0 -- the line is well defined, but passes completely outside the unit circle.
|
|
289854
|
-
* * In this case, (
|
|
289878
|
+
* * In this case, (c[0], s[0]) is the circle point closest to the line and (c[1], s[1]) is the line point closest to the circle.
|
|
289855
289879
|
* * 1 -- the line is tangent to the unit circle.
|
|
289856
289880
|
* * Tangency is determined by tolerances, which calls a "close approach" point a tangency.
|
|
289857
|
-
* * (
|
|
289858
|
-
* * (
|
|
289881
|
+
* * (c[0], s[0]) is the closest circle point
|
|
289882
|
+
* * (c[1], s[1]) is the line point.
|
|
289859
289883
|
* * 2 -- two simple intersections.
|
|
289860
289884
|
* @param alpha constant coefficient on line
|
|
289861
289885
|
* @param beta x cosine coefficient on line
|
|
@@ -289886,15 +289910,15 @@ class AnalyticRoots {
|
|
|
289886
289910
|
if (D2 < -twoTol) {
|
|
289887
289911
|
const delta = Math.sqrt(delta2);
|
|
289888
289912
|
const iota = (alpha < 0) ? (1.0 / delta) : (-1.0 / delta);
|
|
289889
|
-
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
289890
289913
|
this.appendCosSinRadians(beta * iota, gamma * iota, cosValues, sinValues, radiansValues);
|
|
289914
|
+
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
289891
289915
|
solutionType = 0;
|
|
289892
289916
|
}
|
|
289893
289917
|
else if (D2 < twoTol) {
|
|
289894
289918
|
const delta = Math.sqrt(delta2);
|
|
289895
289919
|
const iota = (alpha < 0) ? (1.0 / delta) : (-1.0 / delta);
|
|
289896
|
-
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
289897
289920
|
this.appendCosSinRadians(beta * iota, gamma * iota, cosValues, sinValues, radiansValues);
|
|
289921
|
+
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
289898
289922
|
solutionType = 1;
|
|
289899
289923
|
}
|
|
289900
289924
|
else {
|
|
@@ -349050,7 +349074,7 @@ class TestContext {
|
|
|
349050
349074
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
349051
349075
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
349052
349076
|
await core_frontend_1.NoRenderApp.startup({
|
|
349053
|
-
applicationVersion: "5.12.0-dev.
|
|
349077
|
+
applicationVersion: "5.12.0-dev.13",
|
|
349054
349078
|
applicationId: this.settings.gprid,
|
|
349055
349079
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
349056
349080
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -376008,7 +376032,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
376008
376032
|
/***/ ((module) => {
|
|
376009
376033
|
|
|
376010
376034
|
"use strict";
|
|
376011
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.
|
|
376035
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.13","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/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.8","@vitest/coverage-v8":"^4.1.8","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":"^4.1.8","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"}}');
|
|
376012
376036
|
|
|
376013
376037
|
/***/ }),
|
|
376014
376038
|
|