@itwin/ecschema-rpcinterface-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 +91 -67
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -166242,6 +166242,9 @@ class GltfReader {
|
|
|
166242
166242
|
}
|
|
166243
166243
|
case _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfMeshMode.LineStrip: {
|
|
166244
166244
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== bufferView); // compiler can't seem to infer this...
|
|
166245
|
+
// Per the KHR_mesh_primitive_restart extension (https://github.com/KhronosGroup/glTF/pull/2569), the indices accessor may contain
|
|
166246
|
+
// "primitive restart" values - the maximum value for the accessor's component type - each of which terminates the current line strip
|
|
166247
|
+
// and begins a new one. This permits many strips to be batched into a single primitive.
|
|
166245
166248
|
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);
|
|
166246
166249
|
for (const index of data.buffer) {
|
|
166247
166250
|
if (index === restart) {
|
|
@@ -221614,12 +221617,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221614
221617
|
return true;
|
|
221615
221618
|
}
|
|
221616
221619
|
/** Test the fraction by strict parameter, but allow toleranced distance test at ends. */
|
|
221617
|
-
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB
|
|
221620
|
+
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB) {
|
|
221618
221621
|
if (!extend0 && fraction < 0) {
|
|
221619
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(fraction * pointA.
|
|
221622
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(fraction * fraction * pointA.distanceSquaredXY(pointB), this._coincidentGeometryContext.tolerance * this._coincidentGeometryContext.tolerance);
|
|
221623
|
+
}
|
|
221624
|
+
else if (!extend1 && fraction > 1.0) {
|
|
221625
|
+
const f = fraction - 1;
|
|
221626
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(f * f * pointA.distanceSquaredXY(pointB), this._coincidentGeometryContext.tolerance * this._coincidentGeometryContext.tolerance);
|
|
221620
221627
|
}
|
|
221621
|
-
else if (!extend1 && fraction > 1.0)
|
|
221622
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol((fraction - 1.0) * pointA.distanceXY(pointB), tolerance);
|
|
221623
221628
|
return true;
|
|
221624
221629
|
}
|
|
221625
221630
|
/**
|
|
@@ -221633,7 +221638,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221633
221638
|
return result;
|
|
221634
221639
|
}
|
|
221635
221640
|
/**
|
|
221636
|
-
* Record the pre-computed intersection between two curves.
|
|
221641
|
+
* Record the pre-computed intersection between two curves. Record with fraction mapping.
|
|
221637
221642
|
* @param localFractionA intersection fraction local to the subcurve of cpA between fractionA0 and fractionA1
|
|
221638
221643
|
* @param cpA the first curve
|
|
221639
221644
|
* @param fractionA0 start of the subcurve of cpA
|
|
@@ -221713,8 +221718,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221713
221718
|
computeSegmentSegment3D(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, cpB, extendB0, pointB0, fractionB0, pointB1, fractionB1, extendB1, reversed) {
|
|
221714
221719
|
const aDir = { x: pointA1.x - pointA0.x, y: pointA1.y - pointA0.y };
|
|
221715
221720
|
const bDir = { x: pointB1.x - pointB0.x, y: pointB1.y - pointB0.y };
|
|
221716
|
-
const
|
|
221717
|
-
const fractions = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegmentXYUVIntersectionUnbounded(pointA0, aDir, pointB0, bDir, tol);
|
|
221721
|
+
const fractions = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegmentXYUVIntersectionUnbounded(pointA0, aDir, pointB0, bDir, this._coincidentGeometryContext.tolerance);
|
|
221718
221722
|
if (!fractions)
|
|
221719
221723
|
return;
|
|
221720
221724
|
if (fractions.f1) { // the lines are coincident
|
|
@@ -221727,8 +221731,8 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221727
221731
|
this.recordPointWithLocalFractions(overlap.detailA.fraction, cpA, fractionA0, fractionA1, overlap.detailB.fraction, cpB, fractionB0, fractionB1, reversed, overlap);
|
|
221728
221732
|
}
|
|
221729
221733
|
else { // the lines have a transverse intersection
|
|
221730
|
-
if (this.acceptFractionOnLine(extendA0, fractions.f0.x, extendA1, pointA0, pointA1
|
|
221731
|
-
if (this.acceptFractionOnLine(extendB0, fractions.f0.y, extendB1, pointB0, pointB1
|
|
221734
|
+
if (this.acceptFractionOnLine(extendA0, fractions.f0.x, extendA1, pointA0, pointA1)) {
|
|
221735
|
+
if (this.acceptFractionOnLine(extendB0, fractions.f0.y, extendB1, pointB0, pointB1))
|
|
221732
221736
|
this.recordPointWithLocalFractions(fractions.f0.x, cpA, fractionA0, fractionA1, fractions.f0.y, cpB, fractionB0, fractionB1, reversed);
|
|
221733
221737
|
}
|
|
221734
221738
|
}
|
|
@@ -221793,10 +221797,6 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221793
221797
|
// solve for theta; evaluate points; project back to line
|
|
221794
221798
|
if (this._worldToLocalPerspective) {
|
|
221795
221799
|
const data = arc.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
221796
|
-
const radians0 = data.sweep.fractionToRadians(0);
|
|
221797
|
-
const pointB0H = data.center.plus2Scaled(data.vector0, Math.cos(radians0), data.vector90, Math.sin(radians0));
|
|
221798
|
-
const radians1 = data.sweep.fractionToRadians(1);
|
|
221799
|
-
const pointB1H = data.center.plus2Scaled(data.vector0, Math.cos(radians1), data.vector90, Math.sin(radians1));
|
|
221800
221800
|
const pointA0H = this._worldToLocalPerspective.multiplyPoint3d(pointA0, 1);
|
|
221801
221801
|
const pointA1H = this._worldToLocalPerspective.multiplyPoint3d(pointA1, 1);
|
|
221802
221802
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.center);
|
|
@@ -221805,35 +221805,49 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221805
221805
|
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
221806
221806
|
const closeApproach = (0 === numRoots);
|
|
221807
221807
|
if (closeApproach)
|
|
221808
|
-
numRoots = 1; //
|
|
221809
|
-
|
|
221810
|
-
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(iRoot), data.vector90, sines.atUncheckedIndex(iRoot));
|
|
221811
|
-
let fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(iRoot), extendB0);
|
|
221812
|
-
let fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, arcPoint);
|
|
221813
|
-
if (fLine === undefined)
|
|
221814
|
-
return undefined;
|
|
221815
|
-
if (!checkOnlyEndPointDistance && this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1))
|
|
221816
|
-
return { fLine, fArc };
|
|
221817
|
-
// check for an endpoint intersection that is beyond parametric tolerance but within point tolerance
|
|
221818
|
-
fLine = fLine < 0.5 ? 0 : 1;
|
|
221819
|
-
fArc = data.sweep.fractionToSignedPeriodicFraction(fArc) < 0.5 ? 0 : 1;
|
|
221820
|
-
const pointAH = fLine ? pointA1H : pointA0H;
|
|
221821
|
-
const pointBH = fArc ? pointB1H : pointB0H;
|
|
221822
|
-
const dist2 = pointAH.realDistanceSquaredXY(pointBH);
|
|
221823
|
-
return (dist2 !== undefined && _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2)) ? { fLine, fArc } : undefined;
|
|
221824
|
-
};
|
|
221808
|
+
numRoots = 1; // arc closest approach is the first entry
|
|
221809
|
+
let numAccepted = 0;
|
|
221825
221810
|
for (let i = 0; i < numRoots; i++) {
|
|
221826
|
-
const
|
|
221827
|
-
|
|
221828
|
-
|
|
221811
|
+
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
221812
|
+
const fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(i), extendB0);
|
|
221813
|
+
const fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, arcPoint);
|
|
221814
|
+
if (fLine === undefined)
|
|
221815
|
+
continue;
|
|
221816
|
+
if (closeApproach) {
|
|
221817
|
+
const linePoint = pointA0H.interpolate(fLine, pointA1H);
|
|
221818
|
+
const dist2 = arcPoint.realDistanceSquaredXY(linePoint);
|
|
221819
|
+
if (dist2 === undefined || !_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2))
|
|
221820
|
+
continue;
|
|
221821
|
+
}
|
|
221822
|
+
if (this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1)) {
|
|
221823
|
+
this.recordPointWithLocalFractions(fLine, cpA, fractionA0, fractionA1, fArc, arc, 0, 1, reversed);
|
|
221824
|
+
numAccepted++;
|
|
221825
|
+
}
|
|
221826
|
+
}
|
|
221827
|
+
if (numAccepted === 0 && !arc.sweep.isFullCircle) {
|
|
221828
|
+
// check for endpoint intersection beyond parametric tolerance but within point tolerance
|
|
221829
|
+
const pointB0H = this._worldToLocalPerspective.multiplyPoint3d(arc.startPoint(), 1);
|
|
221830
|
+
const pointB1H = this._worldToLocalPerspective.multiplyPoint3d(arc.endPoint(), 1);
|
|
221831
|
+
const dist2 = [];
|
|
221832
|
+
let d2 = pointA0H.realDistanceSquaredXY(pointB0H);
|
|
221833
|
+
if (d2 !== undefined)
|
|
221834
|
+
dist2.push({ d2, fA: 0, fB: 0 });
|
|
221835
|
+
d2 = pointA0H.realDistanceSquaredXY(pointB1H);
|
|
221836
|
+
if (d2 !== undefined)
|
|
221837
|
+
dist2.push({ d2, fA: 0, fB: 1 });
|
|
221838
|
+
d2 = pointA1H.realDistanceSquaredXY(pointB0H);
|
|
221839
|
+
if (d2 !== undefined)
|
|
221840
|
+
dist2.push({ d2, fA: 1, fB: 0 });
|
|
221841
|
+
d2 = pointA1H.realDistanceSquaredXY(pointB1H);
|
|
221842
|
+
if (d2 !== undefined)
|
|
221843
|
+
dist2.push({ d2, fA: 1, fB: 1 });
|
|
221844
|
+
dist2.sort((a, b) => a.d2 - b.d2);
|
|
221845
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2[0].d2, tol2))
|
|
221846
|
+
this.recordPointWithLocalFractions(dist2[0].fA, cpA, fractionA0, fractionA1, dist2[0].fB, arc, 0, 1, reversed);
|
|
221829
221847
|
}
|
|
221830
221848
|
}
|
|
221831
221849
|
else {
|
|
221832
221850
|
const data = arc.toTransformedVectors(this._worldToLocalAffine);
|
|
221833
|
-
const radians0 = data.sweep.fractionToRadians(0);
|
|
221834
|
-
const pointB0Local = data.center.plus2Scaled(data.vector0, Math.cos(radians0), data.vector90, Math.sin(radians0));
|
|
221835
|
-
const radians1 = data.sweep.fractionToRadians(1);
|
|
221836
|
-
const pointB1Local = data.center.plus2Scaled(data.vector0, Math.cos(radians1), data.vector90, Math.sin(radians1));
|
|
221837
221851
|
let pointA0Local = pointA0;
|
|
221838
221852
|
let pointA1Local = pointA1;
|
|
221839
221853
|
if (this._worldToLocalAffine) {
|
|
@@ -221846,27 +221860,40 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
221846
221860
|
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
221847
221861
|
const closeApproach = (0 === numRoots);
|
|
221848
221862
|
if (closeApproach)
|
|
221849
|
-
numRoots = 1; //
|
|
221850
|
-
|
|
221851
|
-
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(iRoot), data.vector90, sines.atUncheckedIndex(iRoot));
|
|
221852
|
-
let fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(iRoot), extendB0);
|
|
221853
|
-
let fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
221854
|
-
if (fLine === undefined)
|
|
221855
|
-
return undefined;
|
|
221856
|
-
if (!checkOnlyEndPointDistance && this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1))
|
|
221857
|
-
return { fLine, fArc };
|
|
221858
|
-
// check for an endpoint intersection that is beyond parametric tolerance but within point tolerance
|
|
221859
|
-
fLine = fLine < 0.5 ? 0 : 1;
|
|
221860
|
-
fArc = data.sweep.fractionToSignedPeriodicFraction(fArc) < 0.5 ? 0 : 1;
|
|
221861
|
-
const pointALocal = fLine ? pointA1Local : pointA0Local;
|
|
221862
|
-
const pointBLocal = fArc ? pointB1Local : pointB0Local;
|
|
221863
|
-
const dist2 = pointALocal.distanceSquaredXY(pointBLocal);
|
|
221864
|
-
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2, tol2) ? { fLine, fArc } : undefined;
|
|
221865
|
-
};
|
|
221863
|
+
numRoots = 1; // arc closest approach is the first entry
|
|
221864
|
+
let numAccepted = 0;
|
|
221866
221865
|
for (let i = 0; i < numRoots; i++) {
|
|
221867
|
-
const
|
|
221868
|
-
|
|
221869
|
-
|
|
221866
|
+
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
221867
|
+
const fArc = data.sweep.radiansToSignedFraction(radians.atUncheckedIndex(i), extendB0);
|
|
221868
|
+
const fLine = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
221869
|
+
if (fLine === undefined)
|
|
221870
|
+
continue;
|
|
221871
|
+
if (closeApproach) {
|
|
221872
|
+
const linePoint = pointA0Local.interpolate(fLine, pointA1Local);
|
|
221873
|
+
if (!_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(arcPoint.distanceSquaredXY(linePoint), tol2))
|
|
221874
|
+
continue;
|
|
221875
|
+
}
|
|
221876
|
+
if (this.acceptFraction(extendA0, fLine, extendA1) && this.acceptFraction(extendB0, fArc, extendB1)) {
|
|
221877
|
+
this.recordPointWithLocalFractions(fLine, cpA, fractionA0, fractionA1, fArc, arc, 0, 1, reversed);
|
|
221878
|
+
numAccepted++;
|
|
221879
|
+
}
|
|
221880
|
+
}
|
|
221881
|
+
if (numAccepted === 0 && !arc.sweep.isFullCircle) {
|
|
221882
|
+
// check for endpoint intersection beyond parametric tolerance but within point tolerance
|
|
221883
|
+
const pointB0Local = arc.startPoint();
|
|
221884
|
+
const pointB1Local = arc.endPoint();
|
|
221885
|
+
if (this._worldToLocalAffine) {
|
|
221886
|
+
this._worldToLocalAffine.multiplyXYAndZInPlace(pointB0Local);
|
|
221887
|
+
this._worldToLocalAffine.multiplyXYAndZInPlace(pointB1Local);
|
|
221888
|
+
}
|
|
221889
|
+
const dist2 = [];
|
|
221890
|
+
dist2.push({ d2: pointA0Local.distanceSquaredXY(pointB0Local), fA: 0, fB: 0 });
|
|
221891
|
+
dist2.push({ d2: pointA0Local.distanceSquaredXY(pointB1Local), fA: 0, fB: 1 });
|
|
221892
|
+
dist2.push({ d2: pointA1Local.distanceSquaredXY(pointB0Local), fA: 1, fB: 0 });
|
|
221893
|
+
dist2.push({ d2: pointA1Local.distanceSquaredXY(pointB1Local), fA: 1, fB: 1 });
|
|
221894
|
+
dist2.sort((a, b) => a.d2 - b.d2);
|
|
221895
|
+
if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isDistanceWithinTol(dist2[0].d2, tol2))
|
|
221896
|
+
this.recordPointWithLocalFractions(dist2[0].fA, cpA, fractionA0, fractionA1, dist2[0].fB, arc, 0, 1, reversed);
|
|
221870
221897
|
}
|
|
221871
221898
|
}
|
|
221872
221899
|
}
|
|
@@ -252813,10 +252840,7 @@ class Transform {
|
|
|
252813
252840
|
// Tx = Mx + o so we return Mx + o
|
|
252814
252841
|
return _Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.xyzPlusMatrixTimesXYZ(this._origin, this._matrix, point, result);
|
|
252815
252842
|
}
|
|
252816
|
-
/**
|
|
252817
|
-
* Transform the input 3d point in place (using `Tp = M*p + o`).
|
|
252818
|
-
* Return as a new point or in the pre-allocated result (if result is given).
|
|
252819
|
-
*/
|
|
252843
|
+
/** Transform the input 3d point in place (using `Tp = M*p + o`). */
|
|
252820
252844
|
multiplyXYAndZInPlace(point) {
|
|
252821
252845
|
return _Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.xyzPlusMatrixTimesXYZInPlace(this._origin, this._matrix, point);
|
|
252822
252846
|
}
|
|
@@ -259823,11 +259847,11 @@ class AnalyticRoots {
|
|
|
259823
259847
|
* * -2 -- all coefficients identically 0. The entire c, s plane-- and therefore the entire unit circle-- is a solution.
|
|
259824
259848
|
* * -1 -- beta, gamma are zero, alpha is not.There is no line defined.There are no solutions.
|
|
259825
259849
|
* * 0 -- the line is well defined, but passes completely outside the unit circle.
|
|
259826
|
-
* * In this case, (
|
|
259850
|
+
* * 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.
|
|
259827
259851
|
* * 1 -- the line is tangent to the unit circle.
|
|
259828
259852
|
* * Tangency is determined by tolerances, which calls a "close approach" point a tangency.
|
|
259829
|
-
* * (
|
|
259830
|
-
* * (
|
|
259853
|
+
* * (c[0], s[0]) is the closest circle point
|
|
259854
|
+
* * (c[1], s[1]) is the line point.
|
|
259831
259855
|
* * 2 -- two simple intersections.
|
|
259832
259856
|
* @param alpha constant coefficient on line
|
|
259833
259857
|
* @param beta x cosine coefficient on line
|
|
@@ -259858,15 +259882,15 @@ class AnalyticRoots {
|
|
|
259858
259882
|
if (D2 < -twoTol) {
|
|
259859
259883
|
const delta = Math.sqrt(delta2);
|
|
259860
259884
|
const iota = (alpha < 0) ? (1.0 / delta) : (-1.0 / delta);
|
|
259861
|
-
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
259862
259885
|
this.appendCosSinRadians(beta * iota, gamma * iota, cosValues, sinValues, radiansValues);
|
|
259886
|
+
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
259863
259887
|
solutionType = 0;
|
|
259864
259888
|
}
|
|
259865
259889
|
else if (D2 < twoTol) {
|
|
259866
259890
|
const delta = Math.sqrt(delta2);
|
|
259867
259891
|
const iota = (alpha < 0) ? (1.0 / delta) : (-1.0 / delta);
|
|
259868
|
-
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
259869
259892
|
this.appendCosSinRadians(beta * iota, gamma * iota, cosValues, sinValues, radiansValues);
|
|
259893
|
+
this.appendCosSinRadians(lambda * beta, lambda * gamma, cosValues, sinValues, radiansValues);
|
|
259870
259894
|
solutionType = 1;
|
|
259871
259895
|
}
|
|
259872
259896
|
else {
|
|
@@ -333040,7 +333064,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
333040
333064
|
/***/ ((module) => {
|
|
333041
333065
|
|
|
333042
333066
|
"use strict";
|
|
333043
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.
|
|
333067
|
+
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"}}');
|
|
333044
333068
|
|
|
333045
333069
|
/***/ })
|
|
333046
333070
|
|