@itwin/rpcinterface-full-stack-tests 4.3.0-dev.22 → 4.3.0-dev.23
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 +600 -524
- 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/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_4_14_node_modules_loaders_gl_draco_d-aa4ff5.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -173041,9 +173041,10 @@ class Geometry {
|
|
|
173041
173041
|
// (c0,s0) is the closest approach of the line to the circle center (origin)
|
|
173042
173042
|
const c0 = da2b2 * cosCoff; // -ad/(a^2+b^2)
|
|
173043
173043
|
const s0 = da2b2 * sinCoff; // -bd/(a^2+b^2)
|
|
173044
|
-
if (criterion <=
|
|
173045
|
-
// We observed criterion = -2.22e-16 in a rotated tangent system,
|
|
173046
|
-
//
|
|
173044
|
+
if (criterion <= Geometry.smallMetricDistanceSquared) { // nSolution = 1
|
|
173045
|
+
// We observed criterion = -2.22e-16 in a rotated tangent system, and criterion = 4.44e-16 in a
|
|
173046
|
+
// transverse line-arc intersectXYZ near-tangency, therefore for criteria near zero (on either side),
|
|
173047
|
+
// return the (near) tangency; any larger criteria fall through to return both solutions.
|
|
173047
173048
|
result = [_geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_1__.Vector2d.create(c0, s0)];
|
|
173048
173049
|
}
|
|
173049
173050
|
else { // nSolution = 2
|
|
@@ -184172,43 +184173,42 @@ class LineStringOffsetClipperContext {
|
|
|
184172
184173
|
"use strict";
|
|
184173
184174
|
__webpack_require__.r(__webpack_exports__);
|
|
184174
184175
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
184175
|
-
/* harmony export */
|
|
184176
|
-
/* harmony export */
|
|
184177
|
-
/* harmony export */
|
|
184178
|
-
/* harmony export */ AnalyticRoots: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_56__.AnalyticRoots),
|
|
184176
|
+
/* harmony export */ AkimaCurve3d: () => (/* reexport safe */ _bspline_AkimaCurve3d__WEBPACK_IMPORTED_MODULE_97__.AkimaCurve3d),
|
|
184177
|
+
/* harmony export */ AkimaCurve3dOptions: () => (/* reexport safe */ _bspline_AkimaCurve3d__WEBPACK_IMPORTED_MODULE_97__.AkimaCurve3dOptions),
|
|
184178
|
+
/* harmony export */ AnalyticRoots: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.AnalyticRoots),
|
|
184179
184179
|
/* harmony export */ Angle: () => (/* reexport safe */ _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_0__.Angle),
|
|
184180
184180
|
/* harmony export */ AngleSweep: () => (/* reexport safe */ _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep),
|
|
184181
|
-
/* harmony export */ AnnotatedLineString3d: () => (/* reexport safe */
|
|
184182
|
-
/* harmony export */ Arc3d: () => (/* reexport safe */
|
|
184183
|
-
/* harmony export */ AuxChannel: () => (/* reexport safe */
|
|
184184
|
-
/* harmony export */ AuxChannelData: () => (/* reexport safe */
|
|
184185
|
-
/* harmony export */ AuxChannelDataType: () => (/* reexport safe */
|
|
184181
|
+
/* harmony export */ AnnotatedLineString3d: () => (/* reexport safe */ _curve_LineString3d__WEBPACK_IMPORTED_MODULE_73__.AnnotatedLineString3d),
|
|
184182
|
+
/* harmony export */ Arc3d: () => (/* reexport safe */ _curve_Arc3d__WEBPACK_IMPORTED_MODULE_59__.Arc3d),
|
|
184183
|
+
/* harmony export */ AuxChannel: () => (/* reexport safe */ _polyface_AuxData__WEBPACK_IMPORTED_MODULE_109__.AuxChannel),
|
|
184184
|
+
/* harmony export */ AuxChannelData: () => (/* reexport safe */ _polyface_AuxData__WEBPACK_IMPORTED_MODULE_109__.AuxChannelData),
|
|
184185
|
+
/* harmony export */ AuxChannelDataType: () => (/* reexport safe */ _polyface_AuxData__WEBPACK_IMPORTED_MODULE_109__.AuxChannelDataType),
|
|
184186
184186
|
/* harmony export */ AxisIndex: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.AxisIndex),
|
|
184187
184187
|
/* harmony export */ AxisOrder: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.AxisOrder),
|
|
184188
184188
|
/* harmony export */ AxisScaleSelect: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.AxisScaleSelect),
|
|
184189
|
-
/* harmony export */ BSpline1dNd: () => (/* reexport safe */
|
|
184190
|
-
/* harmony export */ BSpline2dNd: () => (/* reexport safe */
|
|
184191
|
-
/* harmony export */ BSplineCurve3d: () => (/* reexport safe */
|
|
184192
|
-
/* harmony export */ BSplineCurve3dBase: () => (/* reexport safe */
|
|
184193
|
-
/* harmony export */ BSplineCurve3dH: () => (/* reexport safe */
|
|
184194
|
-
/* harmony export */ BSplineCurveOps: () => (/* reexport safe */
|
|
184195
|
-
/* harmony export */ BSplineSurface3d: () => (/* reexport safe */
|
|
184196
|
-
/* harmony export */ BSplineSurface3dH: () => (/* reexport safe */
|
|
184197
|
-
/* harmony export */ BSplineWrapMode: () => (/* reexport safe */
|
|
184198
|
-
/* harmony export */ BagOfCurves: () => (/* reexport safe */
|
|
184189
|
+
/* harmony export */ BSpline1dNd: () => (/* reexport safe */ _bspline_BSpline1dNd__WEBPACK_IMPORTED_MODULE_104__.BSpline1dNd),
|
|
184190
|
+
/* harmony export */ BSpline2dNd: () => (/* reexport safe */ _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__.BSpline2dNd),
|
|
184191
|
+
/* harmony export */ BSplineCurve3d: () => (/* reexport safe */ _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_102__.BSplineCurve3d),
|
|
184192
|
+
/* harmony export */ BSplineCurve3dBase: () => (/* reexport safe */ _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_102__.BSplineCurve3dBase),
|
|
184193
|
+
/* harmony export */ BSplineCurve3dH: () => (/* reexport safe */ _bspline_BSplineCurve3dH__WEBPACK_IMPORTED_MODULE_105__.BSplineCurve3dH),
|
|
184194
|
+
/* harmony export */ BSplineCurveOps: () => (/* reexport safe */ _bspline_BSplineCurveOps__WEBPACK_IMPORTED_MODULE_103__.BSplineCurveOps),
|
|
184195
|
+
/* harmony export */ BSplineSurface3d: () => (/* reexport safe */ _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__.BSplineSurface3d),
|
|
184196
|
+
/* harmony export */ BSplineSurface3dH: () => (/* reexport safe */ _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__.BSplineSurface3dH),
|
|
184197
|
+
/* harmony export */ BSplineWrapMode: () => (/* reexport safe */ _bspline_KnotVector__WEBPACK_IMPORTED_MODULE_108__.BSplineWrapMode),
|
|
184198
|
+
/* harmony export */ BagOfCurves: () => (/* reexport safe */ _curve_CurveCollection__WEBPACK_IMPORTED_MODULE_64__.BagOfCurves),
|
|
184199
184199
|
/* harmony export */ BarycentricTriangle: () => (/* reexport safe */ _geometry3d_BarycentricTriangle__WEBPACK_IMPORTED_MODULE_3__.BarycentricTriangle),
|
|
184200
|
-
/* harmony export */ BentleyGeometryFlatBuffer: () => (/* reexport safe */
|
|
184201
|
-
/* harmony export */ Bezier1dNd: () => (/* reexport safe */
|
|
184200
|
+
/* harmony export */ BentleyGeometryFlatBuffer: () => (/* reexport safe */ _serialization_BentleyGeometryFlatBuffer__WEBPACK_IMPORTED_MODULE_128__.BentleyGeometryFlatBuffer),
|
|
184201
|
+
/* harmony export */ Bezier1dNd: () => (/* reexport safe */ _bspline_Bezier1dNd__WEBPACK_IMPORTED_MODULE_98__.Bezier1dNd),
|
|
184202
184202
|
/* harmony export */ BezierCoffs: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.BezierCoffs),
|
|
184203
|
-
/* harmony export */ BezierCurve3d: () => (/* reexport safe */
|
|
184204
|
-
/* harmony export */ BezierCurve3dH: () => (/* reexport safe */
|
|
184205
|
-
/* harmony export */ BezierCurveBase: () => (/* reexport safe */
|
|
184203
|
+
/* harmony export */ BezierCurve3d: () => (/* reexport safe */ _bspline_BezierCurve3d__WEBPACK_IMPORTED_MODULE_100__.BezierCurve3d),
|
|
184204
|
+
/* harmony export */ BezierCurve3dH: () => (/* reexport safe */ _bspline_BezierCurve3dH__WEBPACK_IMPORTED_MODULE_101__.BezierCurve3dH),
|
|
184205
|
+
/* harmony export */ BezierCurveBase: () => (/* reexport safe */ _bspline_BezierCurveBase__WEBPACK_IMPORTED_MODULE_99__.BezierCurveBase),
|
|
184206
184206
|
/* harmony export */ BezierPolynomialAlgebra: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.BezierPolynomialAlgebra),
|
|
184207
184207
|
/* harmony export */ BilinearPatch: () => (/* reexport safe */ _geometry3d_BilinearPatch__WEBPACK_IMPORTED_MODULE_4__.BilinearPatch),
|
|
184208
|
-
/* harmony export */ BilinearPolynomial: () => (/* reexport safe */
|
|
184208
|
+
/* harmony export */ BilinearPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.BilinearPolynomial),
|
|
184209
184209
|
/* harmony export */ BooleanClipFactory: () => (/* reexport safe */ _clipping_BooleanClipFactory__WEBPACK_IMPORTED_MODULE_38__.BooleanClipFactory),
|
|
184210
|
-
/* harmony export */ Box: () => (/* reexport safe */
|
|
184211
|
-
/* harmony export */ BoxTopology: () => (/* reexport safe */
|
|
184210
|
+
/* harmony export */ Box: () => (/* reexport safe */ _solid_Box__WEBPACK_IMPORTED_MODULE_88__.Box),
|
|
184211
|
+
/* harmony export */ BoxTopology: () => (/* reexport safe */ _polyface_BoxTopology__WEBPACK_IMPORTED_MODULE_110__.BoxTopology),
|
|
184212
184212
|
/* harmony export */ ClipMaskXYZRangePlanes: () => (/* reexport safe */ _clipping_ClipPrimitive__WEBPACK_IMPORTED_MODULE_42__.ClipMaskXYZRangePlanes),
|
|
184213
184213
|
/* harmony export */ ClipPlane: () => (/* reexport safe */ _clipping_ClipPlane__WEBPACK_IMPORTED_MODULE_39__.ClipPlane),
|
|
184214
184214
|
/* harmony export */ ClipPlaneContainment: () => (/* reexport safe */ _clipping_ClipUtils__WEBPACK_IMPORTED_MODULE_44__.ClipPlaneContainment),
|
|
@@ -184218,109 +184218,103 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
184218
184218
|
/* harmony export */ ClipStepAction: () => (/* reexport safe */ _clipping_ClipUtils__WEBPACK_IMPORTED_MODULE_44__.ClipStepAction),
|
|
184219
184219
|
/* harmony export */ ClipUtilities: () => (/* reexport safe */ _clipping_ClipUtils__WEBPACK_IMPORTED_MODULE_44__.ClipUtilities),
|
|
184220
184220
|
/* harmony export */ ClipVector: () => (/* reexport safe */ _clipping_ClipVector__WEBPACK_IMPORTED_MODULE_43__.ClipVector),
|
|
184221
|
-
/* harmony export */ ClippedPolyfaceBuilders: () => (/* reexport safe */
|
|
184221
|
+
/* harmony export */ ClippedPolyfaceBuilders: () => (/* reexport safe */ _polyface_PolyfaceClip__WEBPACK_IMPORTED_MODULE_120__.ClippedPolyfaceBuilders),
|
|
184222
184222
|
/* harmony export */ ClusterableArray: () => (/* reexport safe */ _numerics_ClusterableArray__WEBPACK_IMPORTED_MODULE_52__.ClusterableArray),
|
|
184223
|
-
/* harmony export */ Complex: () => (/* reexport safe */
|
|
184224
|
-
/* harmony export */ Cone: () => (/* reexport safe */
|
|
184225
|
-
/* harmony export */ ConsolidateAdjacentCurvePrimitivesOptions: () => (/* reexport safe */
|
|
184223
|
+
/* harmony export */ Complex: () => (/* reexport safe */ _numerics_Complex__WEBPACK_IMPORTED_MODULE_53__.Complex),
|
|
184224
|
+
/* harmony export */ Cone: () => (/* reexport safe */ _solid_Cone__WEBPACK_IMPORTED_MODULE_89__.Cone),
|
|
184225
|
+
/* harmony export */ ConsolidateAdjacentCurvePrimitivesOptions: () => (/* reexport safe */ _curve_RegionOps__WEBPACK_IMPORTED_MODULE_79__.ConsolidateAdjacentCurvePrimitivesOptions),
|
|
184226
184226
|
/* harmony export */ Constant: () => (/* reexport safe */ _Constant__WEBPACK_IMPORTED_MODULE_37__.Constant),
|
|
184227
|
-
/* harmony export */ ConstructCurveBetweenCurves: () => (/* reexport safe */
|
|
184227
|
+
/* harmony export */ ConstructCurveBetweenCurves: () => (/* reexport safe */ _curve_ConstructCurveBetweenCurves__WEBPACK_IMPORTED_MODULE_60__.ConstructCurveBetweenCurves),
|
|
184228
184228
|
/* harmony export */ ConvexClipPlaneSet: () => (/* reexport safe */ _clipping_ConvexClipPlaneSet__WEBPACK_IMPORTED_MODULE_40__.ConvexClipPlaneSet),
|
|
184229
|
-
/* harmony export */ ConvexFacetLocationDetail: () => (/* reexport safe */
|
|
184229
|
+
/* harmony export */ ConvexFacetLocationDetail: () => (/* reexport safe */ _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_113__.ConvexFacetLocationDetail),
|
|
184230
184230
|
/* harmony export */ ConvexPolygon2d: () => (/* reexport safe */ _numerics_ConvexPolygon2d__WEBPACK_IMPORTED_MODULE_45__.ConvexPolygon2d),
|
|
184231
|
-
/* harmony export */ CoordinateXYZ: () => (/* reexport safe */
|
|
184232
|
-
/* harmony export */ CurveChain: () => (/* reexport safe */
|
|
184233
|
-
/* harmony export */ CurveChainWithDistanceIndex: () => (/* reexport safe */
|
|
184234
|
-
/* harmony export */ CurveCollection: () => (/* reexport safe */
|
|
184235
|
-
/* harmony export */ CurveCurve: () => (/* reexport safe */
|
|
184236
|
-
/* harmony export */ CurveCurveApproachType: () => (/* reexport safe */
|
|
184237
|
-
/* harmony export */ CurveExtendMode: () => (/* reexport safe */
|
|
184238
|
-
/* harmony export */ CurveExtendOptions: () => (/* reexport safe */
|
|
184239
|
-
/* harmony export */ CurveFactory: () => (/* reexport safe */
|
|
184240
|
-
/* harmony export */ CurveIntervalRole: () => (/* reexport safe */
|
|
184241
|
-
/* harmony export */ CurveLocationDetail: () => (/* reexport safe */
|
|
184242
|
-
/* harmony export */ CurveLocationDetailArrayPair: () => (/* reexport safe */
|
|
184243
|
-
/* harmony export */ CurveLocationDetailPair: () => (/* reexport safe */
|
|
184244
|
-
/* harmony export */ CurveOps: () => (/* reexport safe */
|
|
184245
|
-
/* harmony export */ CurvePrimitive: () => (/* reexport safe */
|
|
184246
|
-
/* harmony export */ CurveSearchStatus: () => (/* reexport safe */
|
|
184231
|
+
/* harmony export */ CoordinateXYZ: () => (/* reexport safe */ _curve_CoordinateXYZ__WEBPACK_IMPORTED_MODULE_61__.CoordinateXYZ),
|
|
184232
|
+
/* harmony export */ CurveChain: () => (/* reexport safe */ _curve_CurveCollection__WEBPACK_IMPORTED_MODULE_64__.CurveChain),
|
|
184233
|
+
/* harmony export */ CurveChainWithDistanceIndex: () => (/* reexport safe */ _curve_CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_62__.CurveChainWithDistanceIndex),
|
|
184234
|
+
/* harmony export */ CurveCollection: () => (/* reexport safe */ _curve_CurveCollection__WEBPACK_IMPORTED_MODULE_64__.CurveCollection),
|
|
184235
|
+
/* harmony export */ CurveCurve: () => (/* reexport safe */ _curve_CurveCurve__WEBPACK_IMPORTED_MODULE_65__.CurveCurve),
|
|
184236
|
+
/* harmony export */ CurveCurveApproachType: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveCurveApproachType),
|
|
184237
|
+
/* harmony export */ CurveExtendMode: () => (/* reexport safe */ _curve_CurveExtendMode__WEBPACK_IMPORTED_MODULE_63__.CurveExtendMode),
|
|
184238
|
+
/* harmony export */ CurveExtendOptions: () => (/* reexport safe */ _curve_CurveExtendMode__WEBPACK_IMPORTED_MODULE_63__.CurveExtendOptions),
|
|
184239
|
+
/* harmony export */ CurveFactory: () => (/* reexport safe */ _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_67__.CurveFactory),
|
|
184240
|
+
/* harmony export */ CurveIntervalRole: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveIntervalRole),
|
|
184241
|
+
/* harmony export */ CurveLocationDetail: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveLocationDetail),
|
|
184242
|
+
/* harmony export */ CurveLocationDetailArrayPair: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveLocationDetailArrayPair),
|
|
184243
|
+
/* harmony export */ CurveLocationDetailPair: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveLocationDetailPair),
|
|
184244
|
+
/* harmony export */ CurveOps: () => (/* reexport safe */ _curve_CurveOps__WEBPACK_IMPORTED_MODULE_68__.CurveOps),
|
|
184245
|
+
/* harmony export */ CurvePrimitive: () => (/* reexport safe */ _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_69__.CurvePrimitive),
|
|
184246
|
+
/* harmony export */ CurveSearchStatus: () => (/* reexport safe */ _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__.CurveSearchStatus),
|
|
184247
184247
|
/* harmony export */ CutLoop: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.CutLoop),
|
|
184248
184248
|
/* harmony export */ CutLoopMergeContext: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.CutLoopMergeContext),
|
|
184249
|
-
/* harmony export */ DeepCompare: () => (/* reexport safe */
|
|
184250
|
-
/* harmony export */ Degree2PowerPolynomial: () => (/* reexport safe */
|
|
184251
|
-
/* harmony export */ Degree3PowerPolynomial: () => (/* reexport safe */
|
|
184252
|
-
/* harmony export */ Degree4PowerPolynomial: () => (/* reexport safe */
|
|
184253
|
-
/* harmony export */ DirectSpiral3d: () => (/* reexport safe */
|
|
184254
|
-
/* harmony export */ DuplicateFacetClusterSelector: () => (/* reexport safe */
|
|
184249
|
+
/* harmony export */ DeepCompare: () => (/* reexport safe */ _serialization_DeepCompare__WEBPACK_IMPORTED_MODULE_126__.DeepCompare),
|
|
184250
|
+
/* harmony export */ Degree2PowerPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.Degree2PowerPolynomial),
|
|
184251
|
+
/* harmony export */ Degree3PowerPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.Degree3PowerPolynomial),
|
|
184252
|
+
/* harmony export */ Degree4PowerPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.Degree4PowerPolynomial),
|
|
184253
|
+
/* harmony export */ DirectSpiral3d: () => (/* reexport safe */ _curve_spiral_DirectSpiral3d__WEBPACK_IMPORTED_MODULE_85__.DirectSpiral3d),
|
|
184254
|
+
/* harmony export */ DuplicateFacetClusterSelector: () => (/* reexport safe */ _polyface_PolyfaceQuery__WEBPACK_IMPORTED_MODULE_119__.DuplicateFacetClusterSelector),
|
|
184255
184255
|
/* harmony export */ Ellipsoid: () => (/* reexport safe */ _geometry3d_Ellipsoid__WEBPACK_IMPORTED_MODULE_5__.Ellipsoid),
|
|
184256
184256
|
/* harmony export */ EllipsoidPatch: () => (/* reexport safe */ _geometry3d_Ellipsoid__WEBPACK_IMPORTED_MODULE_5__.EllipsoidPatch),
|
|
184257
|
-
/* harmony export */ FacetFaceData: () => (/* reexport safe */
|
|
184258
|
-
/* harmony export */ FacetIntersectOptions: () => (/* reexport safe */
|
|
184257
|
+
/* harmony export */ FacetFaceData: () => (/* reexport safe */ _polyface_FacetFaceData__WEBPACK_IMPORTED_MODULE_111__.FacetFaceData),
|
|
184258
|
+
/* harmony export */ FacetIntersectOptions: () => (/* reexport safe */ _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_113__.FacetIntersectOptions),
|
|
184259
184259
|
/* harmony export */ FrameBuilder: () => (/* reexport safe */ _geometry3d_FrameBuilder__WEBPACK_IMPORTED_MODULE_6__.FrameBuilder),
|
|
184260
|
-
/* harmony export */ GaussMapper: () => (/* reexport safe */
|
|
184260
|
+
/* harmony export */ GaussMapper: () => (/* reexport safe */ _numerics_Quadrature__WEBPACK_IMPORTED_MODULE_56__.GaussMapper),
|
|
184261
184261
|
/* harmony export */ GeodesicPathPoint: () => (/* reexport safe */ _geometry3d_Ellipsoid__WEBPACK_IMPORTED_MODULE_5__.GeodesicPathPoint),
|
|
184262
184262
|
/* harmony export */ GeodesicPathSolver: () => (/* reexport safe */ _geometry3d_Ellipsoid__WEBPACK_IMPORTED_MODULE_5__.GeodesicPathSolver),
|
|
184263
184263
|
/* harmony export */ Geometry: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.Geometry),
|
|
184264
184264
|
/* harmony export */ GeometryHandler: () => (/* reexport safe */ _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_8__.GeometryHandler),
|
|
184265
|
-
/* harmony export */ GeometryQuery: () => (/* reexport safe */
|
|
184266
|
-
/* harmony export */ GriddedRaggedRange2dSet: () => (/* reexport safe */
|
|
184267
|
-
/* harmony export */ GriddedRaggedRange2dSetWithOverflow: () => (/* reexport safe */
|
|
184265
|
+
/* harmony export */ GeometryQuery: () => (/* reexport safe */ _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_71__.GeometryQuery),
|
|
184266
|
+
/* harmony export */ GriddedRaggedRange2dSet: () => (/* reexport safe */ _polyface_multiclip_GriddedRaggedRange2dSet__WEBPACK_IMPORTED_MODULE_115__.GriddedRaggedRange2dSet),
|
|
184267
|
+
/* harmony export */ GriddedRaggedRange2dSetWithOverflow: () => (/* reexport safe */ _polyface_multiclip_GriddedRaggedRange2dSetWithOverflow__WEBPACK_IMPORTED_MODULE_116__.GriddedRaggedRange2dSetWithOverflow),
|
|
184268
184268
|
/* harmony export */ GrowableBlockedArray: () => (/* reexport safe */ _geometry3d_GrowableBlockedArray__WEBPACK_IMPORTED_MODULE_9__.GrowableBlockedArray),
|
|
184269
184269
|
/* harmony export */ GrowableFloat64Array: () => (/* reexport safe */ _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_10__.GrowableFloat64Array),
|
|
184270
184270
|
/* harmony export */ GrowableXYArray: () => (/* reexport safe */ _geometry3d_GrowableXYArray__WEBPACK_IMPORTED_MODULE_11__.GrowableXYArray),
|
|
184271
184271
|
/* harmony export */ GrowableXYZArray: () => (/* reexport safe */ _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_12__.GrowableXYZArray),
|
|
184272
|
-
/* harmony export */ HalfEdge: () => (/* reexport safe */
|
|
184273
|
-
/* harmony export */ HalfEdgeGraph: () => (/* reexport safe */
|
|
184274
|
-
/* harmony export */ HalfEdgeMask: () => (/* reexport safe */
|
|
184275
|
-
/* harmony export */ IModelJson: () => (/* reexport safe */
|
|
184276
|
-
/* harmony export */ ImplicitLineXY: () => (/* reexport safe */
|
|
184272
|
+
/* harmony export */ HalfEdge: () => (/* reexport safe */ _topology_Graph__WEBPACK_IMPORTED_MODULE_122__.HalfEdge),
|
|
184273
|
+
/* harmony export */ HalfEdgeGraph: () => (/* reexport safe */ _topology_Graph__WEBPACK_IMPORTED_MODULE_122__.HalfEdgeGraph),
|
|
184274
|
+
/* harmony export */ HalfEdgeMask: () => (/* reexport safe */ _topology_Graph__WEBPACK_IMPORTED_MODULE_122__.HalfEdgeMask),
|
|
184275
|
+
/* harmony export */ IModelJson: () => (/* reexport safe */ _serialization_IModelJsonSchema__WEBPACK_IMPORTED_MODULE_125__.IModelJson),
|
|
184276
|
+
/* harmony export */ ImplicitLineXY: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.ImplicitLineXY),
|
|
184277
184277
|
/* harmony export */ IndexedCollectionInterval: () => (/* reexport safe */ _geometry3d_IndexedCollectionInterval__WEBPACK_IMPORTED_MODULE_13__.IndexedCollectionInterval),
|
|
184278
|
-
/* harmony export */ IndexedPolyface: () => (/* reexport safe */
|
|
184279
|
-
/* harmony export */ IndexedPolyfaceSubsetVisitor: () => (/* reexport safe */
|
|
184280
|
-
/* harmony export */ IndexedPolyfaceVisitor: () => (/* reexport safe */
|
|
184278
|
+
/* harmony export */ IndexedPolyface: () => (/* reexport safe */ _polyface_Polyface__WEBPACK_IMPORTED_MODULE_112__.IndexedPolyface),
|
|
184279
|
+
/* harmony export */ IndexedPolyfaceSubsetVisitor: () => (/* reexport safe */ _polyface_IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_114__.IndexedPolyfaceSubsetVisitor),
|
|
184280
|
+
/* harmony export */ IndexedPolyfaceVisitor: () => (/* reexport safe */ _polyface_IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_114__.IndexedPolyfaceVisitor),
|
|
184281
184281
|
/* harmony export */ IndexedReadWriteXYZCollection: () => (/* reexport safe */ _geometry3d_IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_15__.IndexedReadWriteXYZCollection),
|
|
184282
184282
|
/* harmony export */ IndexedXYCollection: () => (/* reexport safe */ _geometry3d_IndexedXYCollection__WEBPACK_IMPORTED_MODULE_14__.IndexedXYCollection),
|
|
184283
184283
|
/* harmony export */ IndexedXYZCollection: () => (/* reexport safe */ _geometry3d_IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_15__.IndexedXYZCollection),
|
|
184284
184284
|
/* harmony export */ IndexedXYZCollectionInterval: () => (/* reexport safe */ _geometry3d_IndexedCollectionInterval__WEBPACK_IMPORTED_MODULE_13__.IndexedXYZCollectionInterval),
|
|
184285
184285
|
/* harmony export */ IndexedXYZCollectionPolygonOps: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.IndexedXYZCollectionPolygonOps),
|
|
184286
|
-
/* harmony export */ IntegratedSpiral3d: () => (/* reexport safe */
|
|
184287
|
-
/* harmony export */ InterpolationCurve3d: () => (/* reexport safe */
|
|
184288
|
-
/* harmony export */ InterpolationCurve3dOptions: () => (/* reexport safe */
|
|
184286
|
+
/* harmony export */ IntegratedSpiral3d: () => (/* reexport safe */ _curve_spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_84__.IntegratedSpiral3d),
|
|
184287
|
+
/* harmony export */ InterpolationCurve3d: () => (/* reexport safe */ _bspline_InterpolationCurve3d__WEBPACK_IMPORTED_MODULE_107__.InterpolationCurve3d),
|
|
184288
|
+
/* harmony export */ InterpolationCurve3dOptions: () => (/* reexport safe */ _bspline_InterpolationCurve3d__WEBPACK_IMPORTED_MODULE_107__.InterpolationCurve3dOptions),
|
|
184289
184289
|
/* harmony export */ InverseMatrixState: () => (/* reexport safe */ _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.InverseMatrixState),
|
|
184290
|
-
/* harmony export */ JointOptions: () => (/* reexport safe */
|
|
184291
|
-
/* harmony export */ KnotVector: () => (/* reexport safe */
|
|
184292
|
-
/* harmony export */ LineSegment3d: () => (/* reexport safe */
|
|
184293
|
-
/* harmony export */ LineString3d: () => (/* reexport safe */
|
|
184294
|
-
/* harmony export */ LinearSweep: () => (/* reexport safe */
|
|
184290
|
+
/* harmony export */ JointOptions: () => (/* reexport safe */ _curve_OffsetOptions__WEBPACK_IMPORTED_MODULE_75__.JointOptions),
|
|
184291
|
+
/* harmony export */ KnotVector: () => (/* reexport safe */ _bspline_KnotVector__WEBPACK_IMPORTED_MODULE_108__.KnotVector),
|
|
184292
|
+
/* harmony export */ LineSegment3d: () => (/* reexport safe */ _curve_LineSegment3d__WEBPACK_IMPORTED_MODULE_72__.LineSegment3d),
|
|
184293
|
+
/* harmony export */ LineString3d: () => (/* reexport safe */ _curve_LineString3d__WEBPACK_IMPORTED_MODULE_73__.LineString3d),
|
|
184294
|
+
/* harmony export */ LinearSweep: () => (/* reexport safe */ _solid_LinearSweep__WEBPACK_IMPORTED_MODULE_90__.LinearSweep),
|
|
184295
184295
|
/* harmony export */ LongitudeLatitudeNumber: () => (/* reexport safe */ _geometry3d_LongitudeLatitudeAltitude__WEBPACK_IMPORTED_MODULE_2__.LongitudeLatitudeNumber),
|
|
184296
|
-
/* harmony export */ Loop: () => (/* reexport safe */
|
|
184297
|
-
/* harmony export */ LoopCurveLoopCurve: () => (/* reexport safe */
|
|
184296
|
+
/* harmony export */ Loop: () => (/* reexport safe */ _curve_Loop__WEBPACK_IMPORTED_MODULE_74__.Loop),
|
|
184297
|
+
/* harmony export */ LoopCurveLoopCurve: () => (/* reexport safe */ _curve_Loop__WEBPACK_IMPORTED_MODULE_74__.LoopCurveLoopCurve),
|
|
184298
184298
|
/* harmony export */ Map4d: () => (/* reexport safe */ _geometry4d_Map4d__WEBPACK_IMPORTED_MODULE_49__.Map4d),
|
|
184299
184299
|
/* harmony export */ Matrix3d: () => (/* reexport safe */ _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d),
|
|
184300
184300
|
/* harmony export */ Matrix4d: () => (/* reexport safe */ _geometry4d_Matrix4d__WEBPACK_IMPORTED_MODULE_48__.Matrix4d),
|
|
184301
|
-
/* harmony export */ MiteredSweepOutputSelect: () => (/* reexport safe */
|
|
184301
|
+
/* harmony export */ MiteredSweepOutputSelect: () => (/* reexport safe */ _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_67__.MiteredSweepOutputSelect),
|
|
184302
184302
|
/* harmony export */ MomentData: () => (/* reexport safe */ _geometry4d_MomentData__WEBPACK_IMPORTED_MODULE_50__.MomentData),
|
|
184303
|
-
/* harmony export */
|
|
184304
|
-
/* harmony export */ Newton1dUnboundedApproximateDerivative: () => (/* reexport safe */ _numerics_Newton__WEBPACK_IMPORTED_MODULE_53__.Newton1dUnboundedApproximateDerivative),
|
|
184305
|
-
/* harmony export */ Newton2dUnboundedWithDerivative: () => (/* reexport safe */ _numerics_Newton__WEBPACK_IMPORTED_MODULE_53__.Newton2dUnboundedWithDerivative),
|
|
184306
|
-
/* harmony export */ NewtonEvaluatorRRtoRRD: () => (/* reexport safe */ _numerics_Newton__WEBPACK_IMPORTED_MODULE_53__.NewtonEvaluatorRRtoRRD),
|
|
184307
|
-
/* harmony export */ NewtonEvaluatorRtoR: () => (/* reexport safe */ _numerics_Newton__WEBPACK_IMPORTED_MODULE_53__.NewtonEvaluatorRtoR),
|
|
184308
|
-
/* harmony export */ NewtonEvaluatorRtoRD: () => (/* reexport safe */ _numerics_Newton__WEBPACK_IMPORTED_MODULE_53__.NewtonEvaluatorRtoRD),
|
|
184309
|
-
/* harmony export */ NonConvexFacetLocationDetail: () => (/* reexport safe */ _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_114__.NonConvexFacetLocationDetail),
|
|
184303
|
+
/* harmony export */ NonConvexFacetLocationDetail: () => (/* reexport safe */ _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_113__.NonConvexFacetLocationDetail),
|
|
184310
184304
|
/* harmony export */ NullGeometryHandler: () => (/* reexport safe */ _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_8__.NullGeometryHandler),
|
|
184311
184305
|
/* harmony export */ NumberArray: () => (/* reexport safe */ _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_24__.NumberArray),
|
|
184312
|
-
/* harmony export */ OffsetMeshOptions: () => (/* reexport safe */
|
|
184313
|
-
/* harmony export */ OffsetOptions: () => (/* reexport safe */
|
|
184306
|
+
/* harmony export */ OffsetMeshOptions: () => (/* reexport safe */ _polyface_PolyfaceQuery__WEBPACK_IMPORTED_MODULE_119__.OffsetMeshOptions),
|
|
184307
|
+
/* harmony export */ OffsetOptions: () => (/* reexport safe */ _curve_OffsetOptions__WEBPACK_IMPORTED_MODULE_75__.OffsetOptions),
|
|
184314
184308
|
/* harmony export */ Order2Bezier: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.Order2Bezier),
|
|
184315
184309
|
/* harmony export */ Order3Bezier: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.Order3Bezier),
|
|
184316
184310
|
/* harmony export */ Order4Bezier: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.Order4Bezier),
|
|
184317
184311
|
/* harmony export */ Order5Bezier: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.Order5Bezier),
|
|
184318
184312
|
/* harmony export */ OrderedRotationAngles: () => (/* reexport safe */ _geometry3d_OrderedRotationAngles__WEBPACK_IMPORTED_MODULE_17__.OrderedRotationAngles),
|
|
184319
184313
|
/* harmony export */ PackedMatrix3dOps: () => (/* reexport safe */ _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.PackedMatrix3dOps),
|
|
184320
|
-
/* harmony export */ ParityRegion: () => (/* reexport safe */
|
|
184321
|
-
/* harmony export */ PascalCoefficients: () => (/* reexport safe */
|
|
184322
|
-
/* harmony export */ Path: () => (/* reexport safe */
|
|
184323
|
-
/* harmony export */ PathFragment: () => (/* reexport safe */
|
|
184314
|
+
/* harmony export */ ParityRegion: () => (/* reexport safe */ _curve_ParityRegion__WEBPACK_IMPORTED_MODULE_76__.ParityRegion),
|
|
184315
|
+
/* harmony export */ PascalCoefficients: () => (/* reexport safe */ _numerics_PascalCoefficients__WEBPACK_IMPORTED_MODULE_54__.PascalCoefficients),
|
|
184316
|
+
/* harmony export */ Path: () => (/* reexport safe */ _curve_Path__WEBPACK_IMPORTED_MODULE_77__.Path),
|
|
184317
|
+
/* harmony export */ PathFragment: () => (/* reexport safe */ _curve_CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_62__.PathFragment),
|
|
184324
184318
|
/* harmony export */ Plane3d: () => (/* reexport safe */ _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_18__.Plane3d),
|
|
184325
184319
|
/* harmony export */ Plane3dByOriginAndUnitNormal: () => (/* reexport safe */ _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_19__.Plane3dByOriginAndUnitNormal),
|
|
184326
184320
|
/* harmony export */ Plane3dByOriginAndVectors: () => (/* reexport safe */ _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_20__.Plane3dByOriginAndVectors),
|
|
@@ -184334,78 +184328,77 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
184334
184328
|
/* harmony export */ Point3dArrayPolygonOps: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.Point3dArrayPolygonOps),
|
|
184335
184329
|
/* harmony export */ Point4d: () => (/* reexport safe */ _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_47__.Point4d),
|
|
184336
184330
|
/* harmony export */ Point4dArray: () => (/* reexport safe */ _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_24__.Point4dArray),
|
|
184337
|
-
/* harmony export */ PointString3d: () => (/* reexport safe */
|
|
184338
|
-
/* harmony export */ Polyface: () => (/* reexport safe */
|
|
184339
|
-
/* harmony export */ PolyfaceAuxData: () => (/* reexport safe */
|
|
184340
|
-
/* harmony export */ PolyfaceBuilder: () => (/* reexport safe */
|
|
184341
|
-
/* harmony export */ PolyfaceClip: () => (/* reexport safe */
|
|
184342
|
-
/* harmony export */ PolyfaceData: () => (/* reexport safe */
|
|
184343
|
-
/* harmony export */ PolyfaceQuery: () => (/* reexport safe */
|
|
184331
|
+
/* harmony export */ PointString3d: () => (/* reexport safe */ _curve_PointString3d__WEBPACK_IMPORTED_MODULE_80__.PointString3d),
|
|
184332
|
+
/* harmony export */ Polyface: () => (/* reexport safe */ _polyface_Polyface__WEBPACK_IMPORTED_MODULE_112__.Polyface),
|
|
184333
|
+
/* harmony export */ PolyfaceAuxData: () => (/* reexport safe */ _polyface_AuxData__WEBPACK_IMPORTED_MODULE_109__.PolyfaceAuxData),
|
|
184334
|
+
/* harmony export */ PolyfaceBuilder: () => (/* reexport safe */ _polyface_PolyfaceBuilder__WEBPACK_IMPORTED_MODULE_117__.PolyfaceBuilder),
|
|
184335
|
+
/* harmony export */ PolyfaceClip: () => (/* reexport safe */ _polyface_PolyfaceClip__WEBPACK_IMPORTED_MODULE_120__.PolyfaceClip),
|
|
184336
|
+
/* harmony export */ PolyfaceData: () => (/* reexport safe */ _polyface_PolyfaceData__WEBPACK_IMPORTED_MODULE_118__.PolyfaceData),
|
|
184337
|
+
/* harmony export */ PolyfaceQuery: () => (/* reexport safe */ _polyface_PolyfaceQuery__WEBPACK_IMPORTED_MODULE_119__.PolyfaceQuery),
|
|
184344
184338
|
/* harmony export */ PolygonLocation: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.PolygonLocation),
|
|
184345
184339
|
/* harmony export */ PolygonLocationDetail: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.PolygonLocationDetail),
|
|
184346
184340
|
/* harmony export */ PolygonOps: () => (/* reexport safe */ _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_27__.PolygonOps),
|
|
184347
184341
|
/* harmony export */ PolylineOps: () => (/* reexport safe */ _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_26__.PolylineOps),
|
|
184348
|
-
/* harmony export */ PowerPolynomial: () => (/* reexport safe */
|
|
184349
|
-
/* harmony export */ ProxyCurve: () => (/* reexport safe */
|
|
184350
|
-
/* harmony export */ Quadrature: () => (/* reexport safe */
|
|
184342
|
+
/* harmony export */ PowerPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.PowerPolynomial),
|
|
184343
|
+
/* harmony export */ ProxyCurve: () => (/* reexport safe */ _curve_ProxyCurve__WEBPACK_IMPORTED_MODULE_81__.ProxyCurve),
|
|
184344
|
+
/* harmony export */ Quadrature: () => (/* reexport safe */ _numerics_Quadrature__WEBPACK_IMPORTED_MODULE_56__.Quadrature),
|
|
184351
184345
|
/* harmony export */ Range1d: () => (/* reexport safe */ _geometry3d_Range__WEBPACK_IMPORTED_MODULE_28__.Range1d),
|
|
184352
|
-
/* harmony export */ Range1dArray: () => (/* reexport safe */
|
|
184346
|
+
/* harmony export */ Range1dArray: () => (/* reexport safe */ _numerics_Range1dArray__WEBPACK_IMPORTED_MODULE_57__.Range1dArray),
|
|
184353
184347
|
/* harmony export */ Range2d: () => (/* reexport safe */ _geometry3d_Range__WEBPACK_IMPORTED_MODULE_28__.Range2d),
|
|
184354
184348
|
/* harmony export */ Range3d: () => (/* reexport safe */ _geometry3d_Range__WEBPACK_IMPORTED_MODULE_28__.Range3d),
|
|
184355
184349
|
/* harmony export */ RangeBase: () => (/* reexport safe */ _geometry3d_Range__WEBPACK_IMPORTED_MODULE_28__.RangeBase),
|
|
184356
184350
|
/* harmony export */ Ray2d: () => (/* reexport safe */ _geometry3d_Ray2d__WEBPACK_IMPORTED_MODULE_29__.Ray2d),
|
|
184357
184351
|
/* harmony export */ Ray3d: () => (/* reexport safe */ _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_30__.Ray3d),
|
|
184358
184352
|
/* harmony export */ RecurseToCurvesGeometryHandler: () => (/* reexport safe */ _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_8__.RecurseToCurvesGeometryHandler),
|
|
184359
|
-
/* harmony export */ RecursiveCurveProcessor: () => (/* reexport safe */
|
|
184360
|
-
/* harmony export */ RecursiveCurveProcessorWithStack: () => (/* reexport safe */
|
|
184361
|
-
/* harmony export */ RegionBinaryOpType: () => (/* reexport safe */
|
|
184362
|
-
/* harmony export */ RegionMomentsXY: () => (/* reexport safe */
|
|
184363
|
-
/* harmony export */ RegionOps: () => (/* reexport safe */
|
|
184364
|
-
/* harmony export */ RotationalSweep: () => (/* reexport safe */
|
|
184365
|
-
/* harmony export */ RuledSweep: () => (/* reexport safe */
|
|
184366
|
-
/* harmony export */ Sample: () => (/* reexport safe */
|
|
184353
|
+
/* harmony export */ RecursiveCurveProcessor: () => (/* reexport safe */ _curve_CurveProcessor__WEBPACK_IMPORTED_MODULE_70__.RecursiveCurveProcessor),
|
|
184354
|
+
/* harmony export */ RecursiveCurveProcessorWithStack: () => (/* reexport safe */ _curve_CurveProcessor__WEBPACK_IMPORTED_MODULE_70__.RecursiveCurveProcessorWithStack),
|
|
184355
|
+
/* harmony export */ RegionBinaryOpType: () => (/* reexport safe */ _curve_RegionOps__WEBPACK_IMPORTED_MODULE_79__.RegionBinaryOpType),
|
|
184356
|
+
/* harmony export */ RegionMomentsXY: () => (/* reexport safe */ _curve_RegionMomentsXY__WEBPACK_IMPORTED_MODULE_78__.RegionMomentsXY),
|
|
184357
|
+
/* harmony export */ RegionOps: () => (/* reexport safe */ _curve_RegionOps__WEBPACK_IMPORTED_MODULE_79__.RegionOps),
|
|
184358
|
+
/* harmony export */ RotationalSweep: () => (/* reexport safe */ _solid_RotationalSweep__WEBPACK_IMPORTED_MODULE_91__.RotationalSweep),
|
|
184359
|
+
/* harmony export */ RuledSweep: () => (/* reexport safe */ _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_92__.RuledSweep),
|
|
184360
|
+
/* harmony export */ Sample: () => (/* reexport safe */ _serialization_GeometrySamples__WEBPACK_IMPORTED_MODULE_127__.Sample),
|
|
184367
184361
|
/* harmony export */ Segment1d: () => (/* reexport safe */ _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_31__.Segment1d),
|
|
184368
|
-
/* harmony export */
|
|
184369
|
-
/* harmony export */
|
|
184370
|
-
/* harmony export */ SmallSystem: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_56__.SmallSystem),
|
|
184362
|
+
/* harmony export */ SineCosinePolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.SineCosinePolynomial),
|
|
184363
|
+
/* harmony export */ SmallSystem: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.SmallSystem),
|
|
184371
184364
|
/* harmony export */ SmoothTransformBetweenFrusta: () => (/* reexport safe */ _geometry3d_FrustumAnimation__WEBPACK_IMPORTED_MODULE_7__.SmoothTransformBetweenFrusta),
|
|
184372
|
-
/* harmony export */ SolidPrimitive: () => (/* reexport safe */
|
|
184373
|
-
/* harmony export */ SpacePolygonTriangulation: () => (/* reexport safe */
|
|
184374
|
-
/* harmony export */ Sphere: () => (/* reexport safe */
|
|
184375
|
-
/* harmony export */ SphereImplicit: () => (/* reexport safe */
|
|
184365
|
+
/* harmony export */ SolidPrimitive: () => (/* reexport safe */ _solid_SolidPrimitive__WEBPACK_IMPORTED_MODULE_93__.SolidPrimitive),
|
|
184366
|
+
/* harmony export */ SpacePolygonTriangulation: () => (/* reexport safe */ _topology_SpaceTriangulation__WEBPACK_IMPORTED_MODULE_124__.SpacePolygonTriangulation),
|
|
184367
|
+
/* harmony export */ Sphere: () => (/* reexport safe */ _solid_Sphere__WEBPACK_IMPORTED_MODULE_94__.Sphere),
|
|
184368
|
+
/* harmony export */ SphereImplicit: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.SphereImplicit),
|
|
184376
184369
|
/* harmony export */ StandardViewIndex: () => (/* reexport safe */ _Geometry__WEBPACK_IMPORTED_MODULE_36__.StandardViewIndex),
|
|
184377
|
-
/* harmony export */ SteppedIndexFunctionFactory: () => (/* reexport safe */
|
|
184370
|
+
/* harmony export */ SteppedIndexFunctionFactory: () => (/* reexport safe */ _serialization_GeometrySamples__WEBPACK_IMPORTED_MODULE_127__.SteppedIndexFunctionFactory),
|
|
184378
184371
|
/* harmony export */ StringifiedClipVector: () => (/* reexport safe */ _clipping_ClipVector__WEBPACK_IMPORTED_MODULE_43__.StringifiedClipVector),
|
|
184379
|
-
/* harmony export */ StrokeCountMap: () => (/* reexport safe */
|
|
184380
|
-
/* harmony export */ StrokeOptions: () => (/* reexport safe */
|
|
184381
|
-
/* harmony export */ SweepContour: () => (/* reexport safe */
|
|
184382
|
-
/* harmony export */ SweepLineStringToFacetsOptions: () => (/* reexport safe */
|
|
184383
|
-
/* harmony export */ TaggedNumericConstants: () => (/* reexport safe */
|
|
184384
|
-
/* harmony export */ TaggedNumericData: () => (/* reexport safe */
|
|
184385
|
-
/* harmony export */ TorusImplicit: () => (/* reexport safe */
|
|
184386
|
-
/* harmony export */ TorusPipe: () => (/* reexport safe */
|
|
184372
|
+
/* harmony export */ StrokeCountMap: () => (/* reexport safe */ _curve_Query_StrokeCountMap__WEBPACK_IMPORTED_MODULE_87__.StrokeCountMap),
|
|
184373
|
+
/* harmony export */ StrokeOptions: () => (/* reexport safe */ _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_82__.StrokeOptions),
|
|
184374
|
+
/* harmony export */ SweepContour: () => (/* reexport safe */ _solid_SweepContour__WEBPACK_IMPORTED_MODULE_95__.SweepContour),
|
|
184375
|
+
/* harmony export */ SweepLineStringToFacetsOptions: () => (/* reexport safe */ _polyface_PolyfaceQuery__WEBPACK_IMPORTED_MODULE_119__.SweepLineStringToFacetsOptions),
|
|
184376
|
+
/* harmony export */ TaggedNumericConstants: () => (/* reexport safe */ _polyface_TaggedNumericData__WEBPACK_IMPORTED_MODULE_121__.TaggedNumericConstants),
|
|
184377
|
+
/* harmony export */ TaggedNumericData: () => (/* reexport safe */ _polyface_TaggedNumericData__WEBPACK_IMPORTED_MODULE_121__.TaggedNumericData),
|
|
184378
|
+
/* harmony export */ TorusImplicit: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.TorusImplicit),
|
|
184379
|
+
/* harmony export */ TorusPipe: () => (/* reexport safe */ _solid_TorusPipe__WEBPACK_IMPORTED_MODULE_96__.TorusPipe),
|
|
184387
184380
|
/* harmony export */ Transform: () => (/* reexport safe */ _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_32__.Transform),
|
|
184388
|
-
/* harmony export */ TransitionSpiral3d: () => (/* reexport safe */
|
|
184389
|
-
/* harmony export */ TriDiagonalSystem: () => (/* reexport safe */
|
|
184381
|
+
/* harmony export */ TransitionSpiral3d: () => (/* reexport safe */ _curve_spiral_TransitionSpiral3d__WEBPACK_IMPORTED_MODULE_83__.TransitionSpiral3d),
|
|
184382
|
+
/* harmony export */ TriDiagonalSystem: () => (/* reexport safe */ _numerics_TriDiagonalSystem__WEBPACK_IMPORTED_MODULE_58__.TriDiagonalSystem),
|
|
184390
184383
|
/* harmony export */ TriangleLocationDetail: () => (/* reexport safe */ _geometry3d_BarycentricTriangle__WEBPACK_IMPORTED_MODULE_3__.TriangleLocationDetail),
|
|
184391
|
-
/* harmony export */ TriangularFacetLocationDetail: () => (/* reexport safe */
|
|
184392
|
-
/* harmony export */ Triangulator: () => (/* reexport safe */
|
|
184393
|
-
/* harmony export */ TrigPolynomial: () => (/* reexport safe */
|
|
184394
|
-
/* harmony export */ UVSelect: () => (/* reexport safe */
|
|
184384
|
+
/* harmony export */ TriangularFacetLocationDetail: () => (/* reexport safe */ _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_113__.TriangularFacetLocationDetail),
|
|
184385
|
+
/* harmony export */ Triangulator: () => (/* reexport safe */ _topology_Triangulation__WEBPACK_IMPORTED_MODULE_123__.Triangulator),
|
|
184386
|
+
/* harmony export */ TrigPolynomial: () => (/* reexport safe */ _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__.TrigPolynomial),
|
|
184387
|
+
/* harmony export */ UVSelect: () => (/* reexport safe */ _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__.UVSelect),
|
|
184395
184388
|
/* harmony export */ UVSurfaceOps: () => (/* reexport safe */ _geometry3d_UVSurfaceOps__WEBPACK_IMPORTED_MODULE_33__.UVSurfaceOps),
|
|
184396
184389
|
/* harmony export */ UnionOfConvexClipPlaneSets: () => (/* reexport safe */ _clipping_UnionOfConvexClipPlaneSets__WEBPACK_IMPORTED_MODULE_41__.UnionOfConvexClipPlaneSets),
|
|
184397
|
-
/* harmony export */ UnionRegion: () => (/* reexport safe */
|
|
184390
|
+
/* harmony export */ UnionRegion: () => (/* reexport safe */ _curve_UnionRegion__WEBPACK_IMPORTED_MODULE_86__.UnionRegion),
|
|
184398
184391
|
/* harmony export */ UnivariateBezier: () => (/* reexport safe */ _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__.UnivariateBezier),
|
|
184399
184392
|
/* harmony export */ Vector2d: () => (/* reexport safe */ _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_22__.Vector2d),
|
|
184400
184393
|
/* harmony export */ Vector3d: () => (/* reexport safe */ _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_23__.Vector3d),
|
|
184401
184394
|
/* harmony export */ Vector3dArray: () => (/* reexport safe */ _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_24__.Vector3dArray),
|
|
184402
|
-
/* harmony export */ WeightStyle: () => (/* reexport safe */
|
|
184395
|
+
/* harmony export */ WeightStyle: () => (/* reexport safe */ _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__.WeightStyle),
|
|
184403
184396
|
/* harmony export */ XY: () => (/* reexport safe */ _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_22__.XY),
|
|
184404
184397
|
/* harmony export */ XYAndZ: () => (/* reexport safe */ _geometry3d_XYZProps__WEBPACK_IMPORTED_MODULE_34__.XYAndZ),
|
|
184405
184398
|
/* harmony export */ XYZ: () => (/* reexport safe */ _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_23__.XYZ),
|
|
184406
184399
|
/* harmony export */ YawPitchRollAngles: () => (/* reexport safe */ _geometry3d_YawPitchRollAngles__WEBPACK_IMPORTED_MODULE_35__.YawPitchRollAngles),
|
|
184407
|
-
/* harmony export */ compareRange1dLexicalLowHigh: () => (/* reexport safe */
|
|
184408
|
-
/* harmony export */ interpolateColor: () => (/* reexport safe */
|
|
184400
|
+
/* harmony export */ compareRange1dLexicalLowHigh: () => (/* reexport safe */ _numerics_Range1dArray__WEBPACK_IMPORTED_MODULE_57__.compareRange1dLexicalLowHigh),
|
|
184401
|
+
/* harmony export */ interpolateColor: () => (/* reexport safe */ _polyface_IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_114__.interpolateColor)
|
|
184409
184402
|
/* harmony export */ });
|
|
184410
184403
|
/* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
|
|
184411
184404
|
/* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
|
|
@@ -184460,83 +184453,82 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
184460
184453
|
/* harmony import */ var _geometry4d_MomentData__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./geometry4d/MomentData */ "../../core/geometry/lib/esm/geometry4d/MomentData.js");
|
|
184461
184454
|
/* harmony import */ var _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./numerics/BezierPolynomials */ "../../core/geometry/lib/esm/numerics/BezierPolynomials.js");
|
|
184462
184455
|
/* harmony import */ var _numerics_ClusterableArray__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./numerics/ClusterableArray */ "../../core/geometry/lib/esm/numerics/ClusterableArray.js");
|
|
184463
|
-
/* harmony import */ var
|
|
184464
|
-
/* harmony import */ var
|
|
184465
|
-
/* harmony import */ var
|
|
184466
|
-
/* harmony import */ var
|
|
184467
|
-
/* harmony import */ var
|
|
184468
|
-
/* harmony import */ var
|
|
184469
|
-
/* harmony import */ var
|
|
184470
|
-
/* harmony import */ var
|
|
184471
|
-
/* harmony import */ var
|
|
184472
|
-
/* harmony import */ var
|
|
184473
|
-
/* harmony import */ var
|
|
184474
|
-
/* harmony import */ var
|
|
184475
|
-
/* harmony import */ var
|
|
184476
|
-
/* harmony import */ var
|
|
184477
|
-
/* harmony import */ var
|
|
184478
|
-
/* harmony import */ var
|
|
184479
|
-
/* harmony import */ var
|
|
184480
|
-
/* harmony import */ var
|
|
184481
|
-
/* harmony import */ var
|
|
184482
|
-
/* harmony import */ var
|
|
184483
|
-
/* harmony import */ var
|
|
184484
|
-
/* harmony import */ var
|
|
184485
|
-
/* harmony import */ var
|
|
184486
|
-
/* harmony import */ var
|
|
184487
|
-
/* harmony import */ var
|
|
184488
|
-
/* harmony import */ var
|
|
184489
|
-
/* harmony import */ var
|
|
184490
|
-
/* harmony import */ var
|
|
184491
|
-
/* harmony import */ var
|
|
184492
|
-
/* harmony import */ var
|
|
184493
|
-
/* harmony import */ var
|
|
184494
|
-
/* harmony import */ var
|
|
184495
|
-
/* harmony import */ var
|
|
184496
|
-
/* harmony import */ var
|
|
184497
|
-
/* harmony import */ var
|
|
184498
|
-
/* harmony import */ var
|
|
184499
|
-
/* harmony import */ var
|
|
184500
|
-
/* harmony import */ var
|
|
184501
|
-
/* harmony import */ var
|
|
184502
|
-
/* harmony import */ var
|
|
184503
|
-
/* harmony import */ var
|
|
184504
|
-
/* harmony import */ var
|
|
184505
|
-
/* harmony import */ var
|
|
184506
|
-
/* harmony import */ var
|
|
184507
|
-
/* harmony import */ var
|
|
184508
|
-
/* harmony import */ var
|
|
184509
|
-
/* harmony import */ var
|
|
184510
|
-
/* harmony import */ var
|
|
184511
|
-
/* harmony import */ var
|
|
184512
|
-
/* harmony import */ var
|
|
184513
|
-
/* harmony import */ var
|
|
184514
|
-
/* harmony import */ var
|
|
184515
|
-
/* harmony import */ var
|
|
184516
|
-
/* harmony import */ var
|
|
184517
|
-
/* harmony import */ var
|
|
184518
|
-
/* harmony import */ var
|
|
184519
|
-
/* harmony import */ var
|
|
184520
|
-
/* harmony import */ var
|
|
184521
|
-
/* harmony import */ var
|
|
184522
|
-
/* harmony import */ var
|
|
184523
|
-
/* harmony import */ var
|
|
184524
|
-
/* harmony import */ var
|
|
184525
|
-
/* harmony import */ var
|
|
184526
|
-
/* harmony import */ var
|
|
184527
|
-
/* harmony import */ var
|
|
184528
|
-
/* harmony import */ var
|
|
184529
|
-
/* harmony import */ var
|
|
184530
|
-
/* harmony import */ var
|
|
184531
|
-
/* harmony import */ var
|
|
184532
|
-
/* harmony import */ var
|
|
184533
|
-
/* harmony import */ var
|
|
184534
|
-
/* harmony import */ var
|
|
184535
|
-
/* harmony import */ var
|
|
184536
|
-
/* harmony import */ var
|
|
184537
|
-
/* harmony import */ var
|
|
184538
|
-
/* harmony import */ var
|
|
184539
|
-
/* harmony import */ var _serialization_BentleyGeometryFlatBuffer__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(/*! ./serialization/BentleyGeometryFlatBuffer */ "../../core/geometry/lib/esm/serialization/BentleyGeometryFlatBuffer.js");
|
|
184456
|
+
/* harmony import */ var _numerics_Complex__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./numerics/Complex */ "../../core/geometry/lib/esm/numerics/Complex.js");
|
|
184457
|
+
/* harmony import */ var _numerics_PascalCoefficients__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./numerics/PascalCoefficients */ "../../core/geometry/lib/esm/numerics/PascalCoefficients.js");
|
|
184458
|
+
/* harmony import */ var _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./numerics/Polynomials */ "../../core/geometry/lib/esm/numerics/Polynomials.js");
|
|
184459
|
+
/* harmony import */ var _numerics_Quadrature__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./numerics/Quadrature */ "../../core/geometry/lib/esm/numerics/Quadrature.js");
|
|
184460
|
+
/* harmony import */ var _numerics_Range1dArray__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./numerics/Range1dArray */ "../../core/geometry/lib/esm/numerics/Range1dArray.js");
|
|
184461
|
+
/* harmony import */ var _numerics_TriDiagonalSystem__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./numerics/TriDiagonalSystem */ "../../core/geometry/lib/esm/numerics/TriDiagonalSystem.js");
|
|
184462
|
+
/* harmony import */ var _curve_Arc3d__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./curve/Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
184463
|
+
/* harmony import */ var _curve_ConstructCurveBetweenCurves__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./curve/ConstructCurveBetweenCurves */ "../../core/geometry/lib/esm/curve/ConstructCurveBetweenCurves.js");
|
|
184464
|
+
/* harmony import */ var _curve_CoordinateXYZ__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./curve/CoordinateXYZ */ "../../core/geometry/lib/esm/curve/CoordinateXYZ.js");
|
|
184465
|
+
/* harmony import */ var _curve_CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./curve/CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
|
|
184466
|
+
/* harmony import */ var _curve_CurveExtendMode__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./curve/CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
|
|
184467
|
+
/* harmony import */ var _curve_CurveCollection__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./curve/CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
|
|
184468
|
+
/* harmony import */ var _curve_CurveCurve__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./curve/CurveCurve */ "../../core/geometry/lib/esm/curve/CurveCurve.js");
|
|
184469
|
+
/* harmony import */ var _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./curve/CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
|
|
184470
|
+
/* harmony import */ var _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./curve/CurveFactory */ "../../core/geometry/lib/esm/curve/CurveFactory.js");
|
|
184471
|
+
/* harmony import */ var _curve_CurveOps__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./curve/CurveOps */ "../../core/geometry/lib/esm/curve/CurveOps.js");
|
|
184472
|
+
/* harmony import */ var _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./curve/CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
|
|
184473
|
+
/* harmony import */ var _curve_CurveProcessor__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./curve/CurveProcessor */ "../../core/geometry/lib/esm/curve/CurveProcessor.js");
|
|
184474
|
+
/* harmony import */ var _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./curve/GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
|
|
184475
|
+
/* harmony import */ var _curve_LineSegment3d__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./curve/LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
|
|
184476
|
+
/* harmony import */ var _curve_LineString3d__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./curve/LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
184477
|
+
/* harmony import */ var _curve_Loop__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./curve/Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
|
|
184478
|
+
/* harmony import */ var _curve_OffsetOptions__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./curve/OffsetOptions */ "../../core/geometry/lib/esm/curve/OffsetOptions.js");
|
|
184479
|
+
/* harmony import */ var _curve_ParityRegion__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./curve/ParityRegion */ "../../core/geometry/lib/esm/curve/ParityRegion.js");
|
|
184480
|
+
/* harmony import */ var _curve_Path__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./curve/Path */ "../../core/geometry/lib/esm/curve/Path.js");
|
|
184481
|
+
/* harmony import */ var _curve_RegionMomentsXY__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./curve/RegionMomentsXY */ "../../core/geometry/lib/esm/curve/RegionMomentsXY.js");
|
|
184482
|
+
/* harmony import */ var _curve_RegionOps__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./curve/RegionOps */ "../../core/geometry/lib/esm/curve/RegionOps.js");
|
|
184483
|
+
/* harmony import */ var _curve_PointString3d__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./curve/PointString3d */ "../../core/geometry/lib/esm/curve/PointString3d.js");
|
|
184484
|
+
/* harmony import */ var _curve_ProxyCurve__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./curve/ProxyCurve */ "../../core/geometry/lib/esm/curve/ProxyCurve.js");
|
|
184485
|
+
/* harmony import */ var _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./curve/StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
|
|
184486
|
+
/* harmony import */ var _curve_spiral_TransitionSpiral3d__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./curve/spiral/TransitionSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/TransitionSpiral3d.js");
|
|
184487
|
+
/* harmony import */ var _curve_spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./curve/spiral/IntegratedSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/IntegratedSpiral3d.js");
|
|
184488
|
+
/* harmony import */ var _curve_spiral_DirectSpiral3d__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./curve/spiral/DirectSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/DirectSpiral3d.js");
|
|
184489
|
+
/* harmony import */ var _curve_UnionRegion__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./curve/UnionRegion */ "../../core/geometry/lib/esm/curve/UnionRegion.js");
|
|
184490
|
+
/* harmony import */ var _curve_Query_StrokeCountMap__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./curve/Query/StrokeCountMap */ "../../core/geometry/lib/esm/curve/Query/StrokeCountMap.js");
|
|
184491
|
+
/* harmony import */ var _solid_Box__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./solid/Box */ "../../core/geometry/lib/esm/solid/Box.js");
|
|
184492
|
+
/* harmony import */ var _solid_Cone__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./solid/Cone */ "../../core/geometry/lib/esm/solid/Cone.js");
|
|
184493
|
+
/* harmony import */ var _solid_LinearSweep__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./solid/LinearSweep */ "../../core/geometry/lib/esm/solid/LinearSweep.js");
|
|
184494
|
+
/* harmony import */ var _solid_RotationalSweep__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./solid/RotationalSweep */ "../../core/geometry/lib/esm/solid/RotationalSweep.js");
|
|
184495
|
+
/* harmony import */ var _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./solid/RuledSweep */ "../../core/geometry/lib/esm/solid/RuledSweep.js");
|
|
184496
|
+
/* harmony import */ var _solid_SolidPrimitive__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./solid/SolidPrimitive */ "../../core/geometry/lib/esm/solid/SolidPrimitive.js");
|
|
184497
|
+
/* harmony import */ var _solid_Sphere__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./solid/Sphere */ "../../core/geometry/lib/esm/solid/Sphere.js");
|
|
184498
|
+
/* harmony import */ var _solid_SweepContour__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./solid/SweepContour */ "../../core/geometry/lib/esm/solid/SweepContour.js");
|
|
184499
|
+
/* harmony import */ var _solid_TorusPipe__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./solid/TorusPipe */ "../../core/geometry/lib/esm/solid/TorusPipe.js");
|
|
184500
|
+
/* harmony import */ var _bspline_AkimaCurve3d__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./bspline/AkimaCurve3d */ "../../core/geometry/lib/esm/bspline/AkimaCurve3d.js");
|
|
184501
|
+
/* harmony import */ var _bspline_Bezier1dNd__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./bspline/Bezier1dNd */ "../../core/geometry/lib/esm/bspline/Bezier1dNd.js");
|
|
184502
|
+
/* harmony import */ var _bspline_BezierCurveBase__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./bspline/BezierCurveBase */ "../../core/geometry/lib/esm/bspline/BezierCurveBase.js");
|
|
184503
|
+
/* harmony import */ var _bspline_BezierCurve3d__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./bspline/BezierCurve3d */ "../../core/geometry/lib/esm/bspline/BezierCurve3d.js");
|
|
184504
|
+
/* harmony import */ var _bspline_BezierCurve3dH__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./bspline/BezierCurve3dH */ "../../core/geometry/lib/esm/bspline/BezierCurve3dH.js");
|
|
184505
|
+
/* harmony import */ var _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./bspline/BSplineCurve */ "../../core/geometry/lib/esm/bspline/BSplineCurve.js");
|
|
184506
|
+
/* harmony import */ var _bspline_BSplineCurveOps__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./bspline/BSplineCurveOps */ "../../core/geometry/lib/esm/bspline/BSplineCurveOps.js");
|
|
184507
|
+
/* harmony import */ var _bspline_BSpline1dNd__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./bspline/BSpline1dNd */ "../../core/geometry/lib/esm/bspline/BSpline1dNd.js");
|
|
184508
|
+
/* harmony import */ var _bspline_BSplineCurve3dH__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./bspline/BSplineCurve3dH */ "../../core/geometry/lib/esm/bspline/BSplineCurve3dH.js");
|
|
184509
|
+
/* harmony import */ var _bspline_BSplineSurface__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./bspline/BSplineSurface */ "../../core/geometry/lib/esm/bspline/BSplineSurface.js");
|
|
184510
|
+
/* harmony import */ var _bspline_InterpolationCurve3d__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./bspline/InterpolationCurve3d */ "../../core/geometry/lib/esm/bspline/InterpolationCurve3d.js");
|
|
184511
|
+
/* harmony import */ var _bspline_KnotVector__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./bspline/KnotVector */ "../../core/geometry/lib/esm/bspline/KnotVector.js");
|
|
184512
|
+
/* harmony import */ var _polyface_AuxData__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./polyface/AuxData */ "../../core/geometry/lib/esm/polyface/AuxData.js");
|
|
184513
|
+
/* harmony import */ var _polyface_BoxTopology__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./polyface/BoxTopology */ "../../core/geometry/lib/esm/polyface/BoxTopology.js");
|
|
184514
|
+
/* harmony import */ var _polyface_FacetFaceData__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./polyface/FacetFaceData */ "../../core/geometry/lib/esm/polyface/FacetFaceData.js");
|
|
184515
|
+
/* harmony import */ var _polyface_Polyface__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./polyface/Polyface */ "../../core/geometry/lib/esm/polyface/Polyface.js");
|
|
184516
|
+
/* harmony import */ var _polyface_FacetLocationDetail__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./polyface/FacetLocationDetail */ "../../core/geometry/lib/esm/polyface/FacetLocationDetail.js");
|
|
184517
|
+
/* harmony import */ var _polyface_IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./polyface/IndexedPolyfaceVisitor */ "../../core/geometry/lib/esm/polyface/IndexedPolyfaceVisitor.js");
|
|
184518
|
+
/* harmony import */ var _polyface_multiclip_GriddedRaggedRange2dSet__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./polyface/multiclip/GriddedRaggedRange2dSet */ "../../core/geometry/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js");
|
|
184519
|
+
/* harmony import */ var _polyface_multiclip_GriddedRaggedRange2dSetWithOverflow__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./polyface/multiclip/GriddedRaggedRange2dSetWithOverflow */ "../../core/geometry/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js");
|
|
184520
|
+
/* harmony import */ var _polyface_PolyfaceBuilder__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./polyface/PolyfaceBuilder */ "../../core/geometry/lib/esm/polyface/PolyfaceBuilder.js");
|
|
184521
|
+
/* harmony import */ var _polyface_PolyfaceData__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./polyface/PolyfaceData */ "../../core/geometry/lib/esm/polyface/PolyfaceData.js");
|
|
184522
|
+
/* harmony import */ var _polyface_PolyfaceQuery__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./polyface/PolyfaceQuery */ "../../core/geometry/lib/esm/polyface/PolyfaceQuery.js");
|
|
184523
|
+
/* harmony import */ var _polyface_PolyfaceClip__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./polyface/PolyfaceClip */ "../../core/geometry/lib/esm/polyface/PolyfaceClip.js");
|
|
184524
|
+
/* harmony import */ var _polyface_TaggedNumericData__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./polyface/TaggedNumericData */ "../../core/geometry/lib/esm/polyface/TaggedNumericData.js");
|
|
184525
|
+
/* harmony import */ var _topology_Graph__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./topology/Graph */ "../../core/geometry/lib/esm/topology/Graph.js");
|
|
184526
|
+
/* harmony import */ var _topology_Triangulation__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./topology/Triangulation */ "../../core/geometry/lib/esm/topology/Triangulation.js");
|
|
184527
|
+
/* harmony import */ var _topology_SpaceTriangulation__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./topology/SpaceTriangulation */ "../../core/geometry/lib/esm/topology/SpaceTriangulation.js");
|
|
184528
|
+
/* harmony import */ var _serialization_IModelJsonSchema__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ./serialization/IModelJsonSchema */ "../../core/geometry/lib/esm/serialization/IModelJsonSchema.js");
|
|
184529
|
+
/* harmony import */ var _serialization_DeepCompare__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ./serialization/DeepCompare */ "../../core/geometry/lib/esm/serialization/DeepCompare.js");
|
|
184530
|
+
/* harmony import */ var _serialization_GeometrySamples__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! ./serialization/GeometrySamples */ "../../core/geometry/lib/esm/serialization/GeometrySamples.js");
|
|
184531
|
+
/* harmony import */ var _serialization_BentleyGeometryFlatBuffer__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(/*! ./serialization/BentleyGeometryFlatBuffer */ "../../core/geometry/lib/esm/serialization/BentleyGeometryFlatBuffer.js");
|
|
184540
184532
|
/*---------------------------------------------------------------------------------------------
|
|
184541
184533
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
184542
184534
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -184786,8 +184778,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
184786
184778
|
|
|
184787
184779
|
|
|
184788
184780
|
|
|
184789
|
-
|
|
184790
|
-
|
|
184791
184781
|
|
|
184792
184782
|
|
|
184793
184783
|
|
|
@@ -185037,13 +185027,13 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_0__.CurvePrimitive
|
|
|
185037
185027
|
static createCircularStartMiddleEnd(pointA, pointB, pointC, result) {
|
|
185038
185028
|
const vectorAB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__.Vector3d.createStartEnd(pointA, pointB);
|
|
185039
185029
|
const vectorAC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__.Vector3d.createStartEnd(pointA, pointC);
|
|
185040
|
-
const
|
|
185041
|
-
const
|
|
185042
|
-
const normal = vectorAB.sizedCrossProduct(vectorAC, Math.sqrt(
|
|
185030
|
+
const ab2 = vectorAB.magnitudeSquared();
|
|
185031
|
+
const ac2 = vectorAC.magnitudeSquared();
|
|
185032
|
+
const normal = vectorAB.sizedCrossProduct(vectorAC, Math.sqrt(Math.sqrt(ab2 * ac2)));
|
|
185043
185033
|
if (normal) {
|
|
185044
185034
|
const vectorToCenter = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.linearSystem3d(normal.x, normal.y, normal.z, vectorAB.x, vectorAB.y, vectorAB.z, vectorAC.x, vectorAC.y, vectorAC.z, 0, // vectorToCenter DOT normal = 0
|
|
185045
|
-
0.5 *
|
|
185046
|
-
0.5 *
|
|
185035
|
+
0.5 * ab2, // vectorToCenter DOT vectorAB = 0.5 * vectorAB DOT vectorAB (Rayleigh quotient)
|
|
185036
|
+
0.5 * ac2);
|
|
185047
185037
|
if (vectorToCenter) {
|
|
185048
185038
|
const center = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__.Point3d.create(pointA.x, pointA.y, pointA.z).plus(vectorToCenter);
|
|
185049
185039
|
const vectorX = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__.Vector3d.createStartEnd(center, pointA);
|
|
@@ -190690,6 +190680,7 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_0__.CurvePri
|
|
|
190690
190680
|
/**
|
|
190691
190681
|
* Evaluate a point a fractional position and derivative with respect to fraction along this linestring.
|
|
190692
190682
|
* * See `LineString3d` class comments for description of how fraction relates to the linestring points.
|
|
190683
|
+
* * At interior corners and the end point, the left derivative is returned; at the start point, the right derivative is returned.
|
|
190693
190684
|
* @param fraction fractional position
|
|
190694
190685
|
* @param result optional result
|
|
190695
190686
|
*/
|
|
@@ -196744,16 +196735,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
196744
196735
|
/* harmony import */ var _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../bspline/BSplineCurve */ "../../core/geometry/lib/esm/bspline/BSplineCurve.js");
|
|
196745
196736
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
196746
196737
|
/* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
|
|
196747
|
-
/* harmony import */ var
|
|
196748
|
-
/* harmony import */ var
|
|
196738
|
+
/* harmony import */ var _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../geometry3d/GrowableFloat64Array */ "../../core/geometry/lib/esm/geometry3d/GrowableFloat64Array.js");
|
|
196739
|
+
/* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
196749
196740
|
/* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
|
|
196750
|
-
/* harmony import */ var
|
|
196741
|
+
/* harmony import */ var _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../numerics/Newton */ "../../core/geometry/lib/esm/numerics/Newton.js");
|
|
196742
|
+
/* harmony import */ var _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../numerics/Polynomials */ "../../core/geometry/lib/esm/numerics/Polynomials.js");
|
|
196751
196743
|
/* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
196752
|
-
/* harmony import */ var
|
|
196753
|
-
/* harmony import */ var
|
|
196744
|
+
/* harmony import */ var _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
|
|
196745
|
+
/* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
|
|
196754
196746
|
/* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
|
|
196755
|
-
/* harmony import */ var
|
|
196756
|
-
/* harmony import */ var
|
|
196747
|
+
/* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
|
|
196748
|
+
/* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
196757
196749
|
/*---------------------------------------------------------------------------------------------
|
|
196758
196750
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
196759
196751
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -196775,7 +196767,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
196775
196767
|
|
|
196776
196768
|
|
|
196777
196769
|
|
|
196778
|
-
|
|
196770
|
+
|
|
196771
|
+
// cspell:word XYRR currentdFdX
|
|
196779
196772
|
/**
|
|
196780
196773
|
* Handler class for XY close approach between _geometryB and another geometry.
|
|
196781
196774
|
* * Approach means the XY distance (z is ignored) between _geometryB and another geometry.
|
|
@@ -197110,10 +197103,44 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197110
197103
|
this.testAndRecordProjection(cpB, fB1, pointB1, cpA, fA0, fA1, !reversed);
|
|
197111
197104
|
}
|
|
197112
197105
|
}
|
|
197106
|
+
/**
|
|
197107
|
+
* Return XY closest approach between a curve primitive and a point.
|
|
197108
|
+
* Currently, this function only supports Arc3d and LineSegment.
|
|
197109
|
+
* Note that this function doesn't handle endpoints.
|
|
197110
|
+
*/
|
|
197111
|
+
getPointCurveClosestApproachXYNewton(curveP, pointQ) {
|
|
197112
|
+
if (!(curveP instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) && !(curveP instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__.LineSegment3d)) {
|
|
197113
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!!"getPointCurveClosestApproachXYNewton only supports Arc3d and LineSegment");
|
|
197114
|
+
return undefined;
|
|
197115
|
+
}
|
|
197116
|
+
const seeds = [0.2, 0.4, 0.6, 0.8]; // HEURISTIC: arcs have up to 4 perpendiculars; lines have only 1
|
|
197117
|
+
const newtonEvaluator = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__.CurvePointCloseApproachXYRtoRD(curveP, pointQ);
|
|
197118
|
+
const newtonSearcher = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__.Newton1dUnbounded(newtonEvaluator);
|
|
197119
|
+
let minCloseApproachLength = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.largeCoordinateResult;
|
|
197120
|
+
let minCurvePFraction;
|
|
197121
|
+
let minPointP;
|
|
197122
|
+
for (const seed of seeds) {
|
|
197123
|
+
newtonSearcher.setX(seed);
|
|
197124
|
+
if (newtonSearcher.runIterations()) {
|
|
197125
|
+
const curvePFraction = newtonSearcher.getX();
|
|
197126
|
+
if (this.acceptFraction(curvePFraction)) {
|
|
197127
|
+
const pointP = curveP.fractionToPoint(curvePFraction);
|
|
197128
|
+
const closeApproachLength = pointP.distanceSquaredXY(pointQ);
|
|
197129
|
+
if (closeApproachLength < minCloseApproachLength) {
|
|
197130
|
+
minCloseApproachLength = closeApproachLength;
|
|
197131
|
+
minCurvePFraction = curvePFraction;
|
|
197132
|
+
minPointP = pointP;
|
|
197133
|
+
}
|
|
197134
|
+
}
|
|
197135
|
+
}
|
|
197136
|
+
}
|
|
197137
|
+
if (minCurvePFraction && minPointP)
|
|
197138
|
+
return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetail.createCurveFractionPoint(curveP, minCurvePFraction, minPointP);
|
|
197139
|
+
return undefined;
|
|
197140
|
+
}
|
|
197113
197141
|
/** Find the closest approach between pointA and cpB. Add the approach if it's within fB0 and fB1. */
|
|
197114
197142
|
testAndRecordProjection(cpA, fA, pointA, cpB, fB0, fB1, reversed) {
|
|
197115
|
-
|
|
197116
|
-
const detail = cpB.closestPoint(pointA, false);
|
|
197143
|
+
const detail = this.getPointCurveClosestApproachXYNewton(cpB, pointA);
|
|
197117
197144
|
if (detail) {
|
|
197118
197145
|
const fB = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.restrictToInterval(detail.fraction, fB0, fB1);
|
|
197119
197146
|
if (fB === detail.fraction) { // if fraction is within fB0 and fB1
|
|
@@ -197142,13 +197169,13 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197142
197169
|
this.computeSegmentSegment3D(cpA, pointA0, fractionA0, pointA1, fractionA1, cpB, pointB0, fractionB0, pointB1, fractionB1, reversed);
|
|
197143
197170
|
}
|
|
197144
197171
|
/**
|
|
197145
|
-
* Low level dispatch of segment with arc.
|
|
197172
|
+
* Low level dispatch of line segment with arc.
|
|
197146
197173
|
* Find close approaches within maxDistance between a line segments (pointA0, pointA1) and an arc.
|
|
197147
197174
|
* To consider:
|
|
197148
197175
|
* 1) intersection between arc and segment.
|
|
197149
|
-
* 2)
|
|
197150
|
-
* 3)
|
|
197151
|
-
* @param cpA curve A (line segment or line string)
|
|
197176
|
+
* 2) endpoints to endpoints or endpoints projection to the other curve.
|
|
197177
|
+
* 3) arc tangent parallel to line segment (or line string).
|
|
197178
|
+
* @param cpA curve A (line segment or line string; if it is a line string, then the fractions must specify a segment)
|
|
197152
197179
|
* @param pointA0 start point of the segment
|
|
197153
197180
|
* @param fractionA0 fraction of the start of the segment
|
|
197154
197181
|
* @param pointA1 end point of the segment
|
|
@@ -197157,7 +197184,7 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197157
197184
|
* @param reversed whether to reverse the details in the pair (e.g., so that detailB refers to geometryB).
|
|
197158
197185
|
*/
|
|
197159
197186
|
dispatchSegmentArc(cpA, pointA0, fractionA0, pointA1, fractionA1, arc, reversed) {
|
|
197160
|
-
// 1) intersection between arc and segment
|
|
197187
|
+
// 1) intersection between arc and line segment (or string).
|
|
197161
197188
|
// Suppose:
|
|
197162
197189
|
// Arc: X = C + cU + sV where c = cos(theta) and s = sin(theta)
|
|
197163
197190
|
// Line: contains points A0 and A1
|
|
@@ -197173,15 +197200,15 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197173
197200
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.center, 1); // det(A0, A1, C)
|
|
197174
197201
|
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector0, 0); // det(A0, A1, U)
|
|
197175
197202
|
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_3__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector90, 0); // det(A0, A1, V)
|
|
197176
|
-
const cosines = new
|
|
197177
|
-
const sines = new
|
|
197178
|
-
const radians = new
|
|
197179
|
-
const numRoots =
|
|
197203
|
+
const cosines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_7__.GrowableFloat64Array(2);
|
|
197204
|
+
const sines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_7__.GrowableFloat64Array(2);
|
|
197205
|
+
const radians = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_7__.GrowableFloat64Array(2);
|
|
197206
|
+
const numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_8__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(// solve the equation
|
|
197180
197207
|
alpha, beta, gamma, cosines, sines, radians);
|
|
197181
197208
|
for (let i = 0; i < numRoots; i++) {
|
|
197182
197209
|
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
197183
197210
|
const arcFraction = data.sweep.radiansToSignedPeriodicFraction(radians.atUncheckedIndex(i));
|
|
197184
|
-
const lineFraction =
|
|
197211
|
+
const lineFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
197185
197212
|
// only add if the point is within the start and end fractions of both line segment and arc
|
|
197186
197213
|
if (lineFraction !== undefined && this.acceptFraction(lineFraction) && this.acceptFraction(arcFraction)) {
|
|
197187
197214
|
this.recordPointWithLocalFractions(lineFraction, cpA, fractionA0, fractionA1, arcFraction, arc, 0, 1, reversed);
|
|
@@ -197190,9 +197217,9 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197190
197217
|
}
|
|
197191
197218
|
if (intersectionFound)
|
|
197192
197219
|
return;
|
|
197193
|
-
// 2) endpoints to endpoints or endpoints projection to the other curve
|
|
197194
|
-
this.testAndRecordFractionalPairApproach(cpA, fractionA0, fractionA1, true, arc, 0, 1,
|
|
197195
|
-
// 3)
|
|
197220
|
+
// 2) endpoints to endpoints or endpoints projection to the other curve.
|
|
197221
|
+
this.testAndRecordFractionalPairApproach(cpA, fractionA0, fractionA1, true, arc, 0, 1, true, reversed);
|
|
197222
|
+
// 3) arc tangent parallel to line segment (or string).
|
|
197196
197223
|
// If line does not intersect the arc, then the closest (and/or the furthest) point on arc to the line is a
|
|
197197
197224
|
// point where the tangent line on arc at that point is parallel to the line.
|
|
197198
197225
|
const dotUT = data.vector0.crossProductStartEndXY(pointA0, pointA1);
|
|
@@ -197201,94 +197228,71 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197201
197228
|
for (const radians1 of [parallelRadians, parallelRadians + Math.PI]) {
|
|
197202
197229
|
const arcPoint = data.center.plus2Scaled(data.vector0, Math.cos(radians1), data.vector90, Math.sin(radians1));
|
|
197203
197230
|
const arcFraction = data.sweep.radiansToSignedPeriodicFraction(radians1);
|
|
197204
|
-
const lineFraction =
|
|
197231
|
+
const lineFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_8__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
197205
197232
|
// only add if the point is within the start and end fractions of both line segment and arc
|
|
197206
197233
|
if (lineFraction !== undefined && this.acceptFraction(lineFraction) && this.acceptFraction(arcFraction)) {
|
|
197207
197234
|
this.recordPointWithLocalFractions(lineFraction, cpA, fractionA0, fractionA1, arcFraction, arc, 0, 1, reversed);
|
|
197208
197235
|
}
|
|
197209
197236
|
}
|
|
197210
197237
|
}
|
|
197211
|
-
/**
|
|
197212
|
-
|
|
197213
|
-
const
|
|
197214
|
-
const
|
|
197215
|
-
|
|
197216
|
-
|
|
197217
|
-
|
|
197218
|
-
|
|
197219
|
-
|
|
197220
|
-
|
|
197221
|
-
|
|
197222
|
-
|
|
197223
|
-
|
|
197224
|
-
for (const rA of [-radiusA, radiusA]) {
|
|
197225
|
-
for (const rB of [-radiusB, radiusB]) {
|
|
197226
|
-
const tangentDistance = c - rA + rB;
|
|
197227
|
-
if (tangentDistance < e) {
|
|
197228
|
-
const detailA = this.resolveDirectionToArcXYFraction(cpA, vectorAB, rA);
|
|
197229
|
-
if (detailA) {
|
|
197230
|
-
const detailB = this.resolveDirectionToArcXYFraction(cpB, vectorAB, rB);
|
|
197231
|
-
if (detailB)
|
|
197232
|
-
this.captureDetailPair(detailA, detailB, reversed);
|
|
197233
|
-
}
|
|
197238
|
+
/** Solve Newton for 2 arcs and the given newtonEvaluator. */
|
|
197239
|
+
solveArcArcNewton(curveP, curveQ, reversed, newtonEvaluator) {
|
|
197240
|
+
const seedsU = [0.2, 0.4, 0.6, 0.8]; // HEURISTIC: 2 arcs have up to 4 perpendiculars/intersections
|
|
197241
|
+
const seedsV = [0.2, 0.4, 0.6, 0.8];
|
|
197242
|
+
const newtonSearcher = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__.Newton2dUnboundedWithDerivative(newtonEvaluator);
|
|
197243
|
+
for (const seedU of seedsU) {
|
|
197244
|
+
for (const seedV of seedsV) {
|
|
197245
|
+
newtonSearcher.setUV(seedU, seedV);
|
|
197246
|
+
if (newtonSearcher.runIterations()) {
|
|
197247
|
+
const curvePFraction = newtonSearcher.getU();
|
|
197248
|
+
const curveQFraction = newtonSearcher.getV();
|
|
197249
|
+
if (this.acceptFraction(curvePFraction) && this.acceptFraction(curveQFraction)) {
|
|
197250
|
+
this.recordPointWithLocalFractions(curvePFraction, curveP, 0, 1, curveQFraction, curveQ, 0, 1, reversed);
|
|
197234
197251
|
}
|
|
197235
197252
|
}
|
|
197236
197253
|
}
|
|
197237
197254
|
}
|
|
197238
197255
|
}
|
|
197239
|
-
/** Find
|
|
197240
|
-
|
|
197241
|
-
|
|
197242
|
-
|
|
197243
|
-
const s = scale * arc.matrixRef.columnDotXYZ(1, radialVector.x, radialVector.y, 0);
|
|
197244
|
-
const radians = Math.atan2(s, c);
|
|
197245
|
-
const fraction = arc.sweep.radiansToPositivePeriodicFraction(radians, 0);
|
|
197246
|
-
if (fraction < 1.0)
|
|
197247
|
-
return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetail.createCurveEvaluatedFraction(arc, fraction);
|
|
197248
|
-
return undefined;
|
|
197256
|
+
/** Find and store perpendicular line between 2 arcs. */
|
|
197257
|
+
findPerpLineXYArcArcNewton(curveP, curveQ, reversed) {
|
|
197258
|
+
const newtonEvaluator = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__.CurveCurveCloseApproachXYRRtoRRD(curveP, curveQ);
|
|
197259
|
+
this.solveArcArcNewton(curveP, curveQ, reversed, newtonEvaluator);
|
|
197249
197260
|
}
|
|
197250
|
-
/** Low level dispatch of arc with
|
|
197261
|
+
/** Low level dispatch of arc with Arc3d. */
|
|
197251
197262
|
dispatchArcArc(cpA, cpB, reversed) {
|
|
197252
197263
|
const rangeA = cpA.range();
|
|
197253
197264
|
const rangeB = cpB.range();
|
|
197254
197265
|
rangeA.expandInPlace(this._maxDistanceToAccept);
|
|
197255
197266
|
if (!rangeB.intersectsRangeXY(rangeA))
|
|
197256
197267
|
return;
|
|
197257
|
-
|
|
197258
|
-
|
|
197259
|
-
|
|
197260
|
-
|
|
197261
|
-
if (radiusA >= radiusB)
|
|
197262
|
-
this.dispatchCircularCircularOrdered(cpA, radiusA, cpB, radiusB, reversed);
|
|
197263
|
-
else
|
|
197264
|
-
this.dispatchCircularCircularOrdered(cpB, radiusB, cpA, radiusA, !reversed);
|
|
197265
|
-
return;
|
|
197266
|
-
}
|
|
197267
|
-
}
|
|
197268
|
+
// 1) endpoints to endpoints or endpoints projection to the other curve
|
|
197269
|
+
this.testAndRecordFractionalPairApproach(cpA, 0, 1, true, cpB, 0, 1, true, reversed);
|
|
197270
|
+
// 2) perpendicular line between 2 arcs (includes intersections)
|
|
197271
|
+
this.findPerpLineXYArcArcNewton(cpA, cpB, reversed);
|
|
197268
197272
|
}
|
|
197269
197273
|
/** Low level dispatch of arc with (beziers of) a bspline curve */
|
|
197270
197274
|
dispatchArcBsplineCurve3d(cpA, cpB, reversed) {
|
|
197271
|
-
const ls =
|
|
197275
|
+
const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d.create();
|
|
197272
197276
|
cpB.emitStrokes(ls);
|
|
197273
197277
|
this.computeArcLineString(cpA, ls, reversed);
|
|
197274
197278
|
}
|
|
197275
197279
|
/** Low level dispatch of (beziers of) a bspline curve with (beziers of) a bspline curve */
|
|
197276
197280
|
dispatchBSplineCurve3dBSplineCurve3d(bcurveA, bcurveB, reversed) {
|
|
197277
|
-
const lsA =
|
|
197281
|
+
const lsA = _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d.create();
|
|
197278
197282
|
bcurveA.emitStrokes(lsA);
|
|
197279
|
-
const lsB =
|
|
197283
|
+
const lsB = _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d.create();
|
|
197280
197284
|
bcurveB.emitStrokes(lsB);
|
|
197281
197285
|
this.computeLineStringLineString(lsA, lsB, reversed);
|
|
197282
197286
|
}
|
|
197283
197287
|
/** Low level dispatch of linestring with (beziers of) a bspline curve */
|
|
197284
197288
|
dispatchLineStringBSplineCurve(lsA, curveB, reversed) {
|
|
197285
|
-
const lsB =
|
|
197289
|
+
const lsB = _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d.create();
|
|
197286
197290
|
curveB.emitStrokes(lsB);
|
|
197287
197291
|
this.computeLineStringLineString(lsA, lsB, reversed);
|
|
197288
197292
|
}
|
|
197289
197293
|
/** Low level dispatch of segment with (beziers of) a bspline curve */
|
|
197290
197294
|
dispatchSegmentBsplineCurve(segA, curveB, reversed) {
|
|
197291
|
-
const lsB =
|
|
197295
|
+
const lsB = _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d.create();
|
|
197292
197296
|
curveB.emitStrokes(lsB);
|
|
197293
197297
|
this.computeSegmentLineString(segA, lsB, reversed);
|
|
197294
197298
|
}
|
|
@@ -197335,7 +197339,7 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197335
197339
|
/** Low level dispatch of curve collection. */
|
|
197336
197340
|
dispatchCurveCollection(geomA, geomAHandler) {
|
|
197337
197341
|
const geomB = this._geometryB; // save
|
|
197338
|
-
if (!geomB || !geomB.children || !(geomB instanceof
|
|
197342
|
+
if (!geomB || !geomB.children || !(geomB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_10__.CurveCollection))
|
|
197339
197343
|
return;
|
|
197340
197344
|
for (const child of geomB.children) {
|
|
197341
197345
|
this.resetGeometry(child);
|
|
@@ -197345,9 +197349,9 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197345
197349
|
}
|
|
197346
197350
|
/** Low level dispatch to geomA given a CurveChainWithDistanceIndex in geometryB. */
|
|
197347
197351
|
dispatchCurveChainWithDistanceIndex(geomA, geomAHandler) {
|
|
197348
|
-
if (!this._geometryB || !(this._geometryB instanceof
|
|
197352
|
+
if (!this._geometryB || !(this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex))
|
|
197349
197353
|
return;
|
|
197350
|
-
if (geomA instanceof
|
|
197354
|
+
if (geomA instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex) {
|
|
197351
197355
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!!"call handleCurveChainWithDistanceIndex(geomA) instead");
|
|
197352
197356
|
return;
|
|
197353
197357
|
}
|
|
@@ -197358,15 +197362,15 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197358
197362
|
geomAHandler(geomA);
|
|
197359
197363
|
}
|
|
197360
197364
|
this.resetGeometry(geomB); // restore
|
|
197361
|
-
this._results =
|
|
197365
|
+
this._results = _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex.convertChildDetailToChainDetail(this._results, index0, undefined, geomB, true);
|
|
197362
197366
|
}
|
|
197363
197367
|
/** Double dispatch handler for strongly typed segment. */
|
|
197364
197368
|
handleLineSegment3d(segmentA) {
|
|
197365
|
-
if (this._geometryB instanceof
|
|
197369
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__.LineSegment3d) {
|
|
197366
197370
|
const segmentB = this._geometryB;
|
|
197367
197371
|
this.dispatchSegmentSegment(segmentA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, segmentB, segmentB.point0Ref, 0.0, segmentB.point1Ref, 1.0, false);
|
|
197368
197372
|
}
|
|
197369
|
-
else if (this._geometryB instanceof
|
|
197373
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d) {
|
|
197370
197374
|
this.computeSegmentLineString(segmentA, this._geometryB, false);
|
|
197371
197375
|
}
|
|
197372
197376
|
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
@@ -197375,10 +197379,10 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197375
197379
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_12__.BSplineCurve3d) {
|
|
197376
197380
|
this.dispatchSegmentBsplineCurve(segmentA, this._geometryB, false);
|
|
197377
197381
|
}
|
|
197378
|
-
else if (this._geometryB instanceof
|
|
197382
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_10__.CurveCollection) {
|
|
197379
197383
|
this.dispatchCurveCollection(segmentA, this.handleLineSegment3d.bind(this));
|
|
197380
197384
|
}
|
|
197381
|
-
else if (this._geometryB instanceof
|
|
197385
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex) {
|
|
197382
197386
|
this.dispatchCurveChainWithDistanceIndex(segmentA, this.handleLineSegment3d.bind(this));
|
|
197383
197387
|
}
|
|
197384
197388
|
return undefined;
|
|
@@ -197461,11 +197465,11 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197461
197465
|
}
|
|
197462
197466
|
/** Double dispatch handler for strongly typed linestring. */
|
|
197463
197467
|
handleLineString3d(lsA) {
|
|
197464
|
-
if (this._geometryB instanceof
|
|
197468
|
+
if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d) {
|
|
197465
197469
|
const lsB = this._geometryB;
|
|
197466
197470
|
this.computeLineStringLineString(lsA, lsB, false);
|
|
197467
197471
|
}
|
|
197468
|
-
else if (this._geometryB instanceof
|
|
197472
|
+
else if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__.LineSegment3d) {
|
|
197469
197473
|
this.computeSegmentLineString(this._geometryB, lsA, true);
|
|
197470
197474
|
}
|
|
197471
197475
|
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
@@ -197474,20 +197478,20 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197474
197478
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_12__.BSplineCurve3d) {
|
|
197475
197479
|
this.dispatchLineStringBSplineCurve(lsA, this._geometryB, false);
|
|
197476
197480
|
}
|
|
197477
|
-
else if (this._geometryB instanceof
|
|
197481
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_10__.CurveCollection) {
|
|
197478
197482
|
this.dispatchCurveCollection(lsA, this.handleLineString3d.bind(this));
|
|
197479
197483
|
}
|
|
197480
|
-
else if (this._geometryB instanceof
|
|
197484
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex) {
|
|
197481
197485
|
this.dispatchCurveChainWithDistanceIndex(lsA, this.handleLineString3d.bind(this));
|
|
197482
197486
|
}
|
|
197483
197487
|
return undefined;
|
|
197484
197488
|
}
|
|
197485
197489
|
/** Double dispatch handler for strongly typed arc. */
|
|
197486
197490
|
handleArc3d(arc0) {
|
|
197487
|
-
if (this._geometryB instanceof
|
|
197491
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__.LineSegment3d) {
|
|
197488
197492
|
this.dispatchSegmentArc(this._geometryB, this._geometryB.point0Ref, 0.0, this._geometryB.point1Ref, 1.0, arc0, true);
|
|
197489
197493
|
}
|
|
197490
|
-
else if (this._geometryB instanceof
|
|
197494
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d) {
|
|
197491
197495
|
this.computeArcLineString(arc0, this._geometryB, false);
|
|
197492
197496
|
}
|
|
197493
197497
|
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
@@ -197496,20 +197500,20 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197496
197500
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_12__.BSplineCurve3d) {
|
|
197497
197501
|
this.dispatchArcBsplineCurve3d(arc0, this._geometryB, false);
|
|
197498
197502
|
}
|
|
197499
|
-
else if (this._geometryB instanceof
|
|
197503
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_10__.CurveCollection) {
|
|
197500
197504
|
this.dispatchCurveCollection(arc0, this.handleArc3d.bind(this));
|
|
197501
197505
|
}
|
|
197502
|
-
else if (this._geometryB instanceof
|
|
197506
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex) {
|
|
197503
197507
|
this.dispatchCurveChainWithDistanceIndex(arc0, this.handleArc3d.bind(this));
|
|
197504
197508
|
}
|
|
197505
197509
|
return undefined;
|
|
197506
197510
|
}
|
|
197507
197511
|
/** Double dispatch handler for strongly typed bspline curve. */
|
|
197508
197512
|
handleBSplineCurve3d(curve) {
|
|
197509
|
-
if (this._geometryB instanceof
|
|
197513
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_5__.LineSegment3d) {
|
|
197510
197514
|
this.dispatchSegmentBsplineCurve(this._geometryB, curve, true);
|
|
197511
197515
|
}
|
|
197512
|
-
else if (this._geometryB instanceof
|
|
197516
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_9__.LineString3d) {
|
|
197513
197517
|
this.dispatchLineStringBSplineCurve(this._geometryB, curve, true);
|
|
197514
197518
|
}
|
|
197515
197519
|
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
@@ -197518,10 +197522,10 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197518
197522
|
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_12__.BSplineCurve3dBase) {
|
|
197519
197523
|
this.dispatchBSplineCurve3dBSplineCurve3d(curve, this._geometryB, false);
|
|
197520
197524
|
}
|
|
197521
|
-
else if (this._geometryB instanceof
|
|
197525
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_10__.CurveCollection) {
|
|
197522
197526
|
this.dispatchCurveCollection(curve, this.handleBSplineCurve3d.bind(this));
|
|
197523
197527
|
}
|
|
197524
|
-
else if (this._geometryB instanceof
|
|
197528
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex) {
|
|
197525
197529
|
this.dispatchCurveChainWithDistanceIndex(curve, this.handleBSplineCurve3d.bind(this));
|
|
197526
197530
|
}
|
|
197527
197531
|
return undefined;
|
|
@@ -197530,7 +197534,7 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197530
197534
|
handleCurveChainWithDistanceIndex(chain) {
|
|
197531
197535
|
super.handleCurveChainWithDistanceIndex(chain);
|
|
197532
197536
|
// if _geometryB is also a CurveChainWithDistanceIndex, it will already have been converted by dispatchCurveChainWithDistanceIndex
|
|
197533
|
-
this._results =
|
|
197537
|
+
this._results = _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_11__.CurveChainWithDistanceIndex.convertChildDetailToChainDetail(this._results, 0, chain, undefined, true);
|
|
197534
197538
|
}
|
|
197535
197539
|
/** Double dispatch handler for strongly typed homogeneous bspline curve .. */
|
|
197536
197540
|
handleBSplineCurve3dH(_curve) {
|
|
@@ -197550,11 +197554,11 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
197550
197554
|
return undefined;
|
|
197551
197555
|
}
|
|
197552
197556
|
}
|
|
197553
|
-
CurveCurveCloseApproachXY._workPointAA0 =
|
|
197554
|
-
CurveCurveCloseApproachXY._workPointAA1 =
|
|
197555
|
-
CurveCurveCloseApproachXY._workPointBB0 =
|
|
197556
|
-
CurveCurveCloseApproachXY._workPointBB1 =
|
|
197557
|
-
CurveCurveCloseApproachXY._workPointB =
|
|
197557
|
+
CurveCurveCloseApproachXY._workPointAA0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.create();
|
|
197558
|
+
CurveCurveCloseApproachXY._workPointAA1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.create();
|
|
197559
|
+
CurveCurveCloseApproachXY._workPointBB0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.create();
|
|
197560
|
+
CurveCurveCloseApproachXY._workPointBB1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.create();
|
|
197561
|
+
CurveCurveCloseApproachXY._workPointB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.create();
|
|
197558
197562
|
|
|
197559
197563
|
|
|
197560
197564
|
|
|
@@ -197569,29 +197573,27 @@ CurveCurveCloseApproachXY._workPointB = _geometry3d_Point3dVector3d__WEBPACK_IMP
|
|
|
197569
197573
|
"use strict";
|
|
197570
197574
|
__webpack_require__.r(__webpack_exports__);
|
|
197571
197575
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
197572
|
-
/* harmony export */ BezierBezierIntersectionXYRRToRRD: () => (/* binding */ BezierBezierIntersectionXYRRToRRD),
|
|
197573
197576
|
/* harmony export */ CurveCurveIntersectXY: () => (/* binding */ CurveCurveIntersectXY)
|
|
197574
197577
|
/* harmony export */ });
|
|
197575
197578
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
197576
|
-
/* harmony import */ var
|
|
197577
|
-
/* harmony import */ var
|
|
197578
|
-
/* harmony import */ var
|
|
197579
|
-
/* harmony import */ var
|
|
197580
|
-
/* harmony import */ var
|
|
197581
|
-
/* harmony import */ var
|
|
197582
|
-
/* harmony import */ var
|
|
197583
|
-
/* harmony import */ var
|
|
197584
|
-
/* harmony import */ var
|
|
197585
|
-
/* harmony import */ var
|
|
197586
|
-
/* harmony import */ var
|
|
197587
|
-
/* harmony import */ var
|
|
197588
|
-
/* harmony import */ var
|
|
197589
|
-
/* harmony import */ var
|
|
197590
|
-
/* harmony import */ var
|
|
197591
|
-
/* harmony import */ var
|
|
197592
|
-
/* harmony import */ var
|
|
197593
|
-
/* harmony import */ var
|
|
197594
|
-
/* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
197579
|
+
/* harmony import */ var _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../bspline/BSplineCurve */ "../../core/geometry/lib/esm/bspline/BSplineCurve.js");
|
|
197580
|
+
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
197581
|
+
/* harmony import */ var _geometry3d_CoincidentGeometryOps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../geometry3d/CoincidentGeometryOps */ "../../core/geometry/lib/esm/geometry3d/CoincidentGeometryOps.js");
|
|
197582
|
+
/* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
|
|
197583
|
+
/* harmony import */ var _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../geometry3d/GrowableFloat64Array */ "../../core/geometry/lib/esm/geometry3d/GrowableFloat64Array.js");
|
|
197584
|
+
/* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
|
|
197585
|
+
/* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
197586
|
+
/* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
197587
|
+
/* harmony import */ var _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../geometry4d/Point4d */ "../../core/geometry/lib/esm/geometry4d/Point4d.js");
|
|
197588
|
+
/* harmony import */ var _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../numerics/BezierPolynomials */ "../../core/geometry/lib/esm/numerics/BezierPolynomials.js");
|
|
197589
|
+
/* harmony import */ var _numerics_Newton__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../numerics/Newton */ "../../core/geometry/lib/esm/numerics/Newton.js");
|
|
197590
|
+
/* harmony import */ var _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../numerics/Polynomials */ "../../core/geometry/lib/esm/numerics/Polynomials.js");
|
|
197591
|
+
/* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
197592
|
+
/* harmony import */ var _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
|
|
197593
|
+
/* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
|
|
197594
|
+
/* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
|
|
197595
|
+
/* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
|
|
197596
|
+
/* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
197595
197597
|
/*---------------------------------------------------------------------------------------------
|
|
197596
197598
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
197597
197599
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -197618,35 +197620,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
197618
197620
|
|
|
197619
197621
|
|
|
197620
197622
|
|
|
197621
|
-
|
|
197622
197623
|
// cspell:word XYRR
|
|
197623
|
-
/**
|
|
197624
|
-
* Private class for refining bezier-bezier intersections.
|
|
197625
|
-
* * The inputs are assumed pre-transformed so that the target condition is to match x and y coordinates.
|
|
197626
|
-
* @internal
|
|
197627
|
-
*/
|
|
197628
|
-
class BezierBezierIntersectionXYRRToRRD extends _numerics_Newton__WEBPACK_IMPORTED_MODULE_1__.NewtonEvaluatorRRtoRRD {
|
|
197629
|
-
constructor(curveA, curveB) {
|
|
197630
|
-
super();
|
|
197631
|
-
this._curveA = curveA;
|
|
197632
|
-
this._curveB = curveB;
|
|
197633
|
-
this._rayA = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_2__.Ray3d.createZero();
|
|
197634
|
-
this._rayB = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_2__.Ray3d.createZero();
|
|
197635
|
-
}
|
|
197636
|
-
evaluate(fractionA, fractionB) {
|
|
197637
|
-
this._curveA.fractionToPointAndDerivative(fractionA, this._rayA);
|
|
197638
|
-
this._curveB.fractionToPointAndDerivative(fractionB, this._rayB);
|
|
197639
|
-
this.currentF.setOriginAndVectorsXYZ(this._rayB.origin.x - this._rayA.origin.x, this._rayB.origin.y - this._rayA.origin.y, 0.0, -this._rayA.direction.x, -this._rayA.direction.y, 0.0, this._rayB.direction.x, this._rayB.direction.y, 0.0);
|
|
197640
|
-
return true;
|
|
197641
|
-
}
|
|
197642
|
-
}
|
|
197643
197624
|
/**
|
|
197644
197625
|
* Handler class for XY intersections between _geometryB and another geometry.
|
|
197645
197626
|
* * Instances are initialized and called from CurveCurve.
|
|
197646
197627
|
* * geometryB is saved for later reference.
|
|
197647
197628
|
* @internal
|
|
197648
197629
|
*/
|
|
197649
|
-
class CurveCurveIntersectXY extends
|
|
197630
|
+
class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_1__.RecurseToCurvesGeometryHandler {
|
|
197650
197631
|
/**
|
|
197651
197632
|
* The constructor.
|
|
197652
197633
|
* @param worldToLocal optional transform (possibly perspective) to project to xy plane for intersection.
|
|
@@ -197655,7 +197636,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197655
197636
|
* @param extendB flag for extension of geometryB.
|
|
197656
197637
|
* @param tolerance optional distance tolerance for coincidence.
|
|
197657
197638
|
*/
|
|
197658
|
-
constructor(worldToLocal, extendA, geometryB, extendB, tolerance =
|
|
197639
|
+
constructor(worldToLocal, extendA, geometryB, extendB, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallMetricDistance) {
|
|
197659
197640
|
super();
|
|
197660
197641
|
this._extendA = extendA;
|
|
197661
197642
|
this._geometryB = geometryB;
|
|
@@ -197667,7 +197648,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197667
197648
|
if (!this._worldToLocalAffine)
|
|
197668
197649
|
this._worldToLocalPerspective = worldToLocal.clone();
|
|
197669
197650
|
}
|
|
197670
|
-
this._coincidentGeometryContext =
|
|
197651
|
+
this._coincidentGeometryContext = _geometry3d_CoincidentGeometryOps__WEBPACK_IMPORTED_MODULE_3__.CoincidentGeometryQuery.create(tolerance);
|
|
197671
197652
|
this._results = [];
|
|
197672
197653
|
}
|
|
197673
197654
|
/** Reset the geometry, leaving all other parts unchanged (and preserving accumulated intersections). */
|
|
@@ -197682,12 +197663,12 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197682
197663
|
return true;
|
|
197683
197664
|
}
|
|
197684
197665
|
/** Test the fraction by strict parameter, but allow toleranced distance test at ends. */
|
|
197685
|
-
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB, tolerance =
|
|
197666
|
+
acceptFractionOnLine(extend0, fraction, extend1, pointA, pointB, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallMetricDistance) {
|
|
197686
197667
|
if (!extend0 && fraction < 0) {
|
|
197687
|
-
return
|
|
197668
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.isDistanceWithinTol(fraction * pointA.distanceXY(pointB), tolerance);
|
|
197688
197669
|
}
|
|
197689
197670
|
else if (!extend1 && fraction > 1.0)
|
|
197690
|
-
return
|
|
197671
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.isDistanceWithinTol((fraction - 1.0) * pointA.distanceXY(pointB), tolerance);
|
|
197691
197672
|
return true;
|
|
197692
197673
|
}
|
|
197693
197674
|
/**
|
|
@@ -197720,14 +197701,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197720
197701
|
intervalDetails.detailA.hasFraction1 &&
|
|
197721
197702
|
intervalDetails.detailB.hasFraction1;
|
|
197722
197703
|
if (isInterval) {
|
|
197723
|
-
globalFractionA =
|
|
197724
|
-
globalFractionB =
|
|
197725
|
-
globalFractionA1 =
|
|
197726
|
-
globalFractionB1 =
|
|
197704
|
+
globalFractionA = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionA0, intervalDetails.detailA.fraction, fractionA1);
|
|
197705
|
+
globalFractionB = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionB0, intervalDetails.detailB.fraction, fractionB1);
|
|
197706
|
+
globalFractionA1 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionA0, intervalDetails.detailA.fraction1, fractionA1);
|
|
197707
|
+
globalFractionB1 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionB0, intervalDetails.detailB.fraction1, fractionB1);
|
|
197727
197708
|
}
|
|
197728
197709
|
else {
|
|
197729
|
-
globalFractionA = globalFractionA1 =
|
|
197730
|
-
globalFractionB = globalFractionB1 =
|
|
197710
|
+
globalFractionA = globalFractionA1 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionA0, localFractionA, fractionA1);
|
|
197711
|
+
globalFractionB = globalFractionB1 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(fractionB0, localFractionB, fractionB1);
|
|
197731
197712
|
}
|
|
197732
197713
|
// ignore duplicate of most recent pair
|
|
197733
197714
|
const numPrevious = this._results.length;
|
|
@@ -197745,21 +197726,21 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197745
197726
|
return;
|
|
197746
197727
|
}
|
|
197747
197728
|
}
|
|
197748
|
-
const detailA =
|
|
197749
|
-
const detailB =
|
|
197729
|
+
const detailA = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetail.createCurveFractionPoint(cpA, globalFractionA, cpA.fractionToPoint(globalFractionA));
|
|
197730
|
+
const detailB = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetail.createCurveFractionPoint(cpB, globalFractionB, cpB.fractionToPoint(globalFractionB));
|
|
197750
197731
|
if (isInterval) {
|
|
197751
197732
|
detailA.captureFraction1Point1(globalFractionA1, cpA.fractionToPoint(globalFractionA1));
|
|
197752
197733
|
detailB.captureFraction1Point1(globalFractionB1, cpB.fractionToPoint(globalFractionB1));
|
|
197753
197734
|
}
|
|
197754
197735
|
else {
|
|
197755
|
-
detailA.setIntervalRole(
|
|
197756
|
-
detailB.setIntervalRole(
|
|
197736
|
+
detailA.setIntervalRole(_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveIntervalRole.isolated);
|
|
197737
|
+
detailB.setIntervalRole(_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveIntervalRole.isolated);
|
|
197757
197738
|
}
|
|
197758
197739
|
if (reversed) {
|
|
197759
|
-
this._results.push(new
|
|
197740
|
+
this._results.push(new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetailPair(detailB, detailA));
|
|
197760
197741
|
}
|
|
197761
197742
|
else {
|
|
197762
|
-
this._results.push(new
|
|
197743
|
+
this._results.push(new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_4__.CurveLocationDetailPair(detailA, detailB));
|
|
197763
197744
|
}
|
|
197764
197745
|
}
|
|
197765
197746
|
/**
|
|
@@ -197789,7 +197770,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197789
197770
|
this.recordPointWithLocalFractions(overlap.detailA.fraction, cpA, fractionA0, fractionA1, overlap.detailB.fraction, cpB, fractionB0, fractionB1, reversed, overlap);
|
|
197790
197771
|
}
|
|
197791
197772
|
}
|
|
197792
|
-
else if (
|
|
197773
|
+
else if (_numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dXYTransverseIntersectionUnbounded(pointA0, pointA1, pointB0, pointB1, uv)) {
|
|
197793
197774
|
if (this.acceptFractionOnLine(extendA0, uv.x, extendA1, pointA0, pointA1, this._coincidentGeometryContext.tolerance) &&
|
|
197794
197775
|
this.acceptFractionOnLine(extendB0, uv.y, extendB1, pointB0, pointB1, this._coincidentGeometryContext.tolerance)) {
|
|
197795
197776
|
this.recordPointWithLocalFractions(uv.x, cpA, fractionA0, fractionA1, uv.y, cpB, fractionB0, fractionB1, reversed);
|
|
@@ -197809,7 +197790,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197809
197790
|
this._worldToLocalPerspective.multiplyPoint3d(pointA1, 1, hA1);
|
|
197810
197791
|
this._worldToLocalPerspective.multiplyPoint3d(pointB0, 1, hB0);
|
|
197811
197792
|
this._worldToLocalPerspective.multiplyPoint3d(pointB1, 1, hB1);
|
|
197812
|
-
const fractionAB =
|
|
197793
|
+
const fractionAB = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dHXYTransverseIntersectionUnbounded(hA0, hA1, hB0, hB1);
|
|
197813
197794
|
if (fractionAB !== undefined) {
|
|
197814
197795
|
const fractionA = fractionAB.x;
|
|
197815
197796
|
const fractionB = fractionAB.y;
|
|
@@ -197852,17 +197833,17 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197852
197833
|
const data = arc.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
197853
197834
|
const pointA0H = this._worldToLocalPerspective.multiplyPoint3d(pointA0, 1);
|
|
197854
197835
|
const pointA1H = this._worldToLocalPerspective.multiplyPoint3d(pointA1, 1);
|
|
197855
|
-
const alpha =
|
|
197856
|
-
const beta =
|
|
197857
|
-
const gamma =
|
|
197858
|
-
const cosines = new
|
|
197859
|
-
const sines = new
|
|
197860
|
-
const radians = new
|
|
197861
|
-
const numRoots =
|
|
197836
|
+
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.center);
|
|
197837
|
+
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector0);
|
|
197838
|
+
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector90);
|
|
197839
|
+
const cosines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197840
|
+
const sines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197841
|
+
const radians = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197842
|
+
const numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
197862
197843
|
for (let i = 0; i < numRoots; i++) {
|
|
197863
197844
|
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
197864
197845
|
const arcFraction = data.sweep.radiansToSignedPeriodicFraction(radians.atUncheckedIndex(i));
|
|
197865
|
-
const lineFraction =
|
|
197846
|
+
const lineFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, arcPoint);
|
|
197866
197847
|
if (lineFraction !== undefined &&
|
|
197867
197848
|
this.acceptFraction(extendA0, lineFraction, extendA1) &&
|
|
197868
197849
|
this.acceptFraction(extendB0, arcFraction, extendB1)) {
|
|
@@ -197878,19 +197859,19 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197878
197859
|
pointA0Local = this._worldToLocalAffine.multiplyPoint3d(pointA0);
|
|
197879
197860
|
pointA1Local = this._worldToLocalAffine.multiplyPoint3d(pointA1);
|
|
197880
197861
|
}
|
|
197881
|
-
const alpha =
|
|
197882
|
-
const beta =
|
|
197883
|
-
const gamma =
|
|
197884
|
-
const cosines = new
|
|
197885
|
-
const sines = new
|
|
197886
|
-
const radians = new
|
|
197887
|
-
const numRoots =
|
|
197862
|
+
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.center, 1);
|
|
197863
|
+
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector0, 0);
|
|
197864
|
+
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector90, 0);
|
|
197865
|
+
const cosines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197866
|
+
const sines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197867
|
+
const radians = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array(2);
|
|
197868
|
+
const numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
197888
197869
|
const lineFractionTol = 1.0e-10;
|
|
197889
197870
|
const arcFractionTol = 1.0e-7;
|
|
197890
197871
|
for (let i = 0; i < numRoots; i++) {
|
|
197891
197872
|
const arcPoint = data.center.plus2Scaled(data.vector0, cosines.atUncheckedIndex(i), data.vector90, sines.atUncheckedIndex(i));
|
|
197892
197873
|
const arcFraction = data.sweep.radiansToSignedPeriodicFraction(radians.atUncheckedIndex(i));
|
|
197893
|
-
const lineFraction =
|
|
197874
|
+
const lineFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dXYClosestPointUnbounded(pointA0Local, pointA1Local, arcPoint);
|
|
197894
197875
|
if (lineFraction !== undefined &&
|
|
197895
197876
|
this.acceptFraction(extendA0, lineFraction, extendA1, lineFractionTol) &&
|
|
197896
197877
|
this.acceptFraction(extendB0, arcFraction, extendB1, arcFractionTol)) {
|
|
@@ -197899,65 +197880,66 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197899
197880
|
}
|
|
197900
197881
|
}
|
|
197901
197882
|
}
|
|
197902
|
-
|
|
197903
|
-
|
|
197904
|
-
|
|
197905
|
-
|
|
197906
|
-
|
|
197907
|
-
|
|
197908
|
-
extendB, reversed) {
|
|
197883
|
+
/**
|
|
197884
|
+
* Compute the intersection of two xy-arcs.
|
|
197885
|
+
* * Each matrix has [U V C] in (x,y,w) form from homogeneous projection (local to world).
|
|
197886
|
+
* * Arcs are ordered so that matrixA is better conditioned.
|
|
197887
|
+
*/
|
|
197888
|
+
dispatchArcArcThisOrder(cpA, // arc closer to being circular
|
|
197889
|
+
matrixA, extendA, cpB, matrixB, extendB, reversed) {
|
|
197890
|
+
// inverseA transforms arcA to its local coordinates, where it is the unit xy-circle.
|
|
197909
197891
|
const inverseA = matrixA.inverse();
|
|
197910
197892
|
if (inverseA) {
|
|
197911
|
-
|
|
197893
|
+
// localB defines the arc formed by transforming arcB into the local coordinates of arcA
|
|
197894
|
+
const localB = inverseA.multiplyMatrixMatrix(matrixB);
|
|
197912
197895
|
const ellipseRadians = [];
|
|
197913
197896
|
const circleRadians = [];
|
|
197914
|
-
|
|
197897
|
+
// find the intersection of the transformed arcs
|
|
197898
|
+
_numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.TrigPolynomial.solveUnitCircleHomogeneousEllipseIntersection(localB.coffs[2], localB.coffs[5], localB.coffs[8], // center xyw
|
|
197915
197899
|
localB.coffs[0], localB.coffs[3], localB.coffs[6], // vector0 xyw
|
|
197916
197900
|
localB.coffs[1], localB.coffs[4], localB.coffs[7], // vector90 xyw
|
|
197917
197901
|
ellipseRadians, circleRadians);
|
|
197902
|
+
// the intersections are transform-invariant, so the solution angles apply directly to the input arcs
|
|
197918
197903
|
for (let i = 0; i < ellipseRadians.length; i++) {
|
|
197919
197904
|
const fractionA = cpA.sweep.radiansToSignedPeriodicFraction(circleRadians[i]);
|
|
197920
197905
|
const fractionB = cpB.sweep.radiansToSignedPeriodicFraction(ellipseRadians[i]);
|
|
197921
|
-
// hm .. do we really need to check the fractions? We know they are internal to the beziers
|
|
197922
197906
|
if (this.acceptFraction(extendA, fractionA, extendA) && this.acceptFraction(extendB, fractionB, extendB)) {
|
|
197923
197907
|
this.recordPointWithLocalFractions(fractionA, cpA, 0, 1, fractionB, cpB, 0, 1, reversed);
|
|
197924
197908
|
}
|
|
197925
197909
|
}
|
|
197926
197910
|
}
|
|
197927
197911
|
}
|
|
197928
|
-
|
|
197929
|
-
|
|
197930
|
-
|
|
197912
|
+
/**
|
|
197913
|
+
* We have 2 xy-arcs.
|
|
197914
|
+
* 1- We pick the arc that is closest to circular (larger condition number is closer to circular).
|
|
197915
|
+
* 2- Transform it to local coords, where it becomes the unit xy-circle.
|
|
197916
|
+
* 3- Use the same map to transform the other arc.
|
|
197917
|
+
* 4- Find the intersection of arc and unit circle.
|
|
197918
|
+
* 5- Convert intersection angles to fractions and record intersections.
|
|
197919
|
+
*/
|
|
197931
197920
|
dispatchArcArc(cpA, extendA, cpB, extendB, reversed) {
|
|
197932
|
-
// Arc: X = C + cU + sV
|
|
197933
|
-
// Line: contains points A0,A1
|
|
197934
|
-
// Arc point colinear with line if det (A0, A1, X) = 0
|
|
197935
|
-
// with homogeneous xyw points and vectors.
|
|
197936
|
-
// With equational X: det (A0, A1, C) + c det (A0, A1, U) + s det (A0, A1, V) = 0.
|
|
197937
|
-
// solve for theta.
|
|
197938
|
-
// evaluate points.
|
|
197939
|
-
// project back to line.
|
|
197940
197921
|
let matrixA;
|
|
197941
197922
|
let matrixB;
|
|
197942
197923
|
if (this._worldToLocalPerspective) {
|
|
197943
197924
|
const dataA = cpA.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
197944
197925
|
const dataB = cpB.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
197945
|
-
matrixA =
|
|
197946
|
-
matrixB =
|
|
197926
|
+
matrixA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataA.vector0, dataA.vector0.w, dataA.vector90, dataA.vector90.w, dataA.center, dataA.center.w);
|
|
197927
|
+
matrixB = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataB.vector0, dataB.vector0.w, dataB.vector90, dataA.vector90.w, dataB.center, dataB.center.w);
|
|
197947
197928
|
}
|
|
197948
197929
|
else {
|
|
197949
197930
|
const dataA = cpA.toTransformedVectors(this._worldToLocalAffine);
|
|
197950
197931
|
const dataB = cpB.toTransformedVectors(this._worldToLocalAffine);
|
|
197951
|
-
matrixA =
|
|
197952
|
-
matrixB =
|
|
197932
|
+
matrixA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataA.vector0, 0, dataA.vector90, 0, dataA.center, 1);
|
|
197933
|
+
matrixB = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataB.vector0, 0, dataB.vector90, 0, dataB.center, 1);
|
|
197953
197934
|
}
|
|
197954
197935
|
const conditionA = matrixA.conditionNumber();
|
|
197955
197936
|
const conditionB = matrixB.conditionNumber();
|
|
197937
|
+
// pick the arc that is closest to circular.
|
|
197956
197938
|
if (conditionA > conditionB)
|
|
197957
197939
|
this.dispatchArcArcThisOrder(cpA, matrixA, extendA, cpB, matrixB, extendB, reversed);
|
|
197958
197940
|
else
|
|
197959
197941
|
this.dispatchArcArcThisOrder(cpB, matrixB, extendB, cpA, matrixA, extendA, !reversed);
|
|
197960
|
-
// overlap handling
|
|
197942
|
+
// overlap handling. perspective is not handled.
|
|
197961
197943
|
if (!this._coincidentGeometryContext) {
|
|
197962
197944
|
// do nothing
|
|
197963
197945
|
}
|
|
@@ -197979,11 +197961,11 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197979
197961
|
let matrixA;
|
|
197980
197962
|
if (this._worldToLocalPerspective) {
|
|
197981
197963
|
const dataA = cpA.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
197982
|
-
matrixA =
|
|
197964
|
+
matrixA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataA.vector0, dataA.vector0.w, dataA.vector90, dataA.vector90.w, dataA.center, dataA.center.w);
|
|
197983
197965
|
}
|
|
197984
197966
|
else {
|
|
197985
197967
|
const dataA = cpA.toTransformedVectors(this._worldToLocalAffine);
|
|
197986
|
-
matrixA =
|
|
197968
|
+
matrixA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_7__.Matrix3d.createColumnsXYW(dataA.vector0, 0, dataA.vector90, 0, dataA.center, 1);
|
|
197987
197969
|
}
|
|
197988
197970
|
// The worldToLocal has moved the arc vectors into local space.
|
|
197989
197971
|
// matrixA captures the xyw parts (ignoring z)
|
|
@@ -197994,7 +197976,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
197994
197976
|
const orderF = cpB.order; // order of the beziers for simple coordinates
|
|
197995
197977
|
const orderG = 2 * orderF - 1; // order of the (single) bezier for squared coordinates.
|
|
197996
197978
|
const coffF = new Float64Array(orderF);
|
|
197997
|
-
const univariateBezierG = new
|
|
197979
|
+
const univariateBezierG = new _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_8__.UnivariateBezier(orderG);
|
|
197998
197980
|
const axx = matrixAInverse.at(0, 0);
|
|
197999
197981
|
const axy = matrixAInverse.at(0, 1);
|
|
198000
197982
|
const axz = 0.0;
|
|
@@ -198065,13 +198047,13 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198065
198047
|
dispatchBezierBezierStrokeFirst(bezierA, bcurveA, strokeCountA, bezierB, bcurveB, _strokeCountB, univariateBezierB, // caller-allocated for univariate coefficients.
|
|
198066
198048
|
reversed) {
|
|
198067
198049
|
if (!this._xyzwA0)
|
|
198068
|
-
this._xyzwA0 =
|
|
198050
|
+
this._xyzwA0 = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198069
198051
|
if (!this._xyzwA1)
|
|
198070
|
-
this._xyzwA1 =
|
|
198052
|
+
this._xyzwA1 = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198071
198053
|
if (!this._xyzwPlane)
|
|
198072
|
-
this._xyzwPlane =
|
|
198054
|
+
this._xyzwPlane = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198073
198055
|
if (!this._xyzwB)
|
|
198074
|
-
this._xyzwB =
|
|
198056
|
+
this._xyzwB = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198075
198057
|
/*
|
|
198076
198058
|
const roots = univariateBezierG.roots(0.0, true);
|
|
198077
198059
|
if (roots) {
|
|
@@ -198097,7 +198079,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198097
198079
|
for (let i = 1; i <= strokeCountA; i++, f0 = f1, this._xyzwA0.setFrom(this._xyzwA1)) {
|
|
198098
198080
|
f1 = i * df;
|
|
198099
198081
|
bezierA.fractionToPoint4d(f1, this._xyzwA1);
|
|
198100
|
-
|
|
198082
|
+
_geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.createPlanePointPointZ(this._xyzwA0, this._xyzwA1, this._xyzwPlane);
|
|
198101
198083
|
bezierB.poleProductsXYZW(univariateBezierB.coffs, this._xyzwPlane.x, this._xyzwPlane.y, this._xyzwPlane.z, this._xyzwPlane.w);
|
|
198102
198084
|
let errors = 0;
|
|
198103
198085
|
const roots = univariateBezierB.roots(0.0, true);
|
|
@@ -198105,35 +198087,22 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198105
198087
|
for (const r of roots) {
|
|
198106
198088
|
let bezierBFraction = r;
|
|
198107
198089
|
bezierB.fractionToPoint4d(bezierBFraction, this._xyzwB);
|
|
198108
|
-
const segmentAFraction =
|
|
198109
|
-
if (segmentAFraction &&
|
|
198110
|
-
let bezierAFraction =
|
|
198111
|
-
|
|
198112
|
-
|
|
198090
|
+
const segmentAFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(this._xyzwA0, this._xyzwA1, this._xyzwB);
|
|
198091
|
+
if (segmentAFraction && _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.isIn01WithTolerance(segmentAFraction, intervalTolerance)) {
|
|
198092
|
+
let bezierAFraction = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.interpolate(f0, segmentAFraction, f1);
|
|
198093
|
+
// We have a near intersection at fractions on the two beziers
|
|
198094
|
+
// Iterate on the curves for a true intersection
|
|
198095
|
+
const xyMatchingFunction = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_10__.CurveCurveIntersectionXYRRToRRD(bezierA, bezierB);
|
|
198096
|
+
const newtonSearcher = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_10__.Newton2dUnboundedWithDerivative(xyMatchingFunction);
|
|
198113
198097
|
newtonSearcher.setUV(bezierAFraction, bezierBFraction);
|
|
198114
198098
|
if (newtonSearcher.runIterations()) {
|
|
198115
198099
|
bezierAFraction = newtonSearcher.getU();
|
|
198116
198100
|
bezierBFraction = newtonSearcher.getV();
|
|
198117
198101
|
}
|
|
198118
|
-
// We have a near intersection at fractions on the two beziers !!!
|
|
198119
|
-
// Iterate on the curves for a true intersection ....
|
|
198120
|
-
// NEEDS WORK -- just accept . . .
|
|
198121
198102
|
const bcurveAFraction = bezierA.fractionToParentFraction(bezierAFraction);
|
|
198122
198103
|
const bcurveBFraction = bezierB.fractionToParentFraction(bezierBFraction);
|
|
198123
|
-
|
|
198124
|
-
|
|
198125
|
-
const xyzB0 = bezierB.fractionToPoint(bezierBFraction);
|
|
198126
|
-
const xyzB1 = bcurveB.fractionToPoint(bcurveBFraction);
|
|
198127
|
-
if (!xyzA0.isAlmostEqualXY(xyzA1))
|
|
198128
|
-
errors++;
|
|
198129
|
-
if (!xyzB0.isAlmostEqualXY(xyzB1))
|
|
198130
|
-
errors++;
|
|
198131
|
-
if (errors > 0 && !xyzA0.isAlmostEqual(xyzB0))
|
|
198132
|
-
errors++;
|
|
198133
|
-
if (errors > 0 && !xyzA1.isAlmostEqual(xyzB1))
|
|
198134
|
-
errors++;
|
|
198135
|
-
if (this.acceptFraction(false, bcurveAFraction, false) &&
|
|
198136
|
-
this.acceptFraction(false, bcurveBFraction, false)) {
|
|
198104
|
+
if (false) {}
|
|
198105
|
+
if (this.acceptFraction(false, bcurveAFraction, false) && this.acceptFraction(false, bcurveBFraction, false)) {
|
|
198137
198106
|
this.recordPointWithLocalFractions(bcurveAFraction, bcurveA, 0, 1, bcurveBFraction, bcurveB, 0, 1, reversed);
|
|
198138
198107
|
}
|
|
198139
198108
|
}
|
|
@@ -198152,8 +198121,8 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198152
198121
|
const rangeB = this.getRanges(bezierSpanB);
|
|
198153
198122
|
const orderA = bcurveA.order;
|
|
198154
198123
|
const orderB = bcurveB.order;
|
|
198155
|
-
const univariateCoffsA = new
|
|
198156
|
-
const univariateCoffsB = new
|
|
198124
|
+
const univariateCoffsA = new _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_8__.UnivariateBezier(orderA);
|
|
198125
|
+
const univariateCoffsB = new _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_8__.UnivariateBezier(orderB);
|
|
198157
198126
|
for (let a = 0; a < numA; a++) {
|
|
198158
198127
|
for (let b = 0; b < numB; b++) {
|
|
198159
198128
|
if (rangeA[a].intersectsRangeXY(rangeB[b])) {
|
|
@@ -198177,7 +198146,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198177
198146
|
return this._worldToLocalPerspective.multiplyPoint3d(xyz, w);
|
|
198178
198147
|
if (this._worldToLocalAffine)
|
|
198179
198148
|
return this._worldToLocalAffine.multiplyXYZW(xyz.x, xyz.y, xyz.z, w);
|
|
198180
|
-
return
|
|
198149
|
+
return _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.createFromPointAndWeight(xyz, w);
|
|
198181
198150
|
}
|
|
198182
198151
|
mapNPCPlaneToWorld(npcPlane, worldPlane) {
|
|
198183
198152
|
// for NPC pointY, Y^ * H = 0 is "on" plane H. (Hat is transpose)
|
|
@@ -198201,7 +198170,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198201
198170
|
dispatchSegmentBsplineCurve(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, bcurve, extendB, reversed) {
|
|
198202
198171
|
const pointA0H = this.projectPoint(pointA0);
|
|
198203
198172
|
const pointA1H = this.projectPoint(pointA1);
|
|
198204
|
-
const planeCoffs =
|
|
198173
|
+
const planeCoffs = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.createPlanePointPointZ(pointA0H, pointA1H);
|
|
198205
198174
|
this.mapNPCPlaneToWorld(planeCoffs, planeCoffs);
|
|
198206
198175
|
// NOW .. we have a plane in world space. Intersect it with the bspline:
|
|
198207
198176
|
const intersections = [];
|
|
@@ -198213,7 +198182,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198213
198182
|
const fractionB = detail.fraction;
|
|
198214
198183
|
const curvePoint = detail.point;
|
|
198215
198184
|
const curvePointH = this.projectPoint(curvePoint);
|
|
198216
|
-
const lineFraction =
|
|
198185
|
+
const lineFraction = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SmallSystem.lineSegment3dHXYClosestPointUnbounded(pointA0H, pointA1H, curvePointH);
|
|
198217
198186
|
if (lineFraction !== undefined) {
|
|
198218
198187
|
if (this.acceptFraction(extendA0, lineFraction, extendA1) && this.acceptFraction(extendB, fractionB, extendB)) {
|
|
198219
198188
|
this.recordPointWithLocalFractions(lineFraction, cpA, fractionA0, fractionA1, fractionB, bcurve, 0, 1, reversed);
|
|
@@ -198321,7 +198290,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198321
198290
|
/** Low level dispatch of curve collection. */
|
|
198322
198291
|
dispatchCurveCollection(geomA, geomAHandler) {
|
|
198323
198292
|
const geomB = this._geometryB; // save
|
|
198324
|
-
if (!geomB || !geomB.children || !(geomB instanceof
|
|
198293
|
+
if (!geomB || !geomB.children || !(geomB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_11__.CurveCollection))
|
|
198325
198294
|
return;
|
|
198326
198295
|
for (const child of geomB.children) {
|
|
198327
198296
|
this.resetGeometry(child);
|
|
@@ -198329,11 +198298,11 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198329
198298
|
}
|
|
198330
198299
|
this._geometryB = geomB; // restore
|
|
198331
198300
|
}
|
|
198332
|
-
/** Low level dispatch
|
|
198301
|
+
/** Low level dispatch of CurveChainWithDistanceIndex. */
|
|
198333
198302
|
dispatchCurveChainWithDistanceIndex(geomA, geomAHandler) {
|
|
198334
|
-
if (!this._geometryB || !(this._geometryB instanceof
|
|
198303
|
+
if (!this._geometryB || !(this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex))
|
|
198335
198304
|
return;
|
|
198336
|
-
if (geomA instanceof
|
|
198305
|
+
if (geomA instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex) {
|
|
198337
198306
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!!"call handleCurveChainWithDistanceIndex(geomA) instead");
|
|
198338
198307
|
return;
|
|
198339
198308
|
}
|
|
@@ -198344,94 +198313,94 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198344
198313
|
geomAHandler(geomA);
|
|
198345
198314
|
}
|
|
198346
198315
|
this.resetGeometry(geomB); // restore
|
|
198347
|
-
this._results =
|
|
198316
|
+
this._results = _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex.convertChildDetailToChainDetail(this._results, index0, undefined, geomB, true);
|
|
198348
198317
|
}
|
|
198349
198318
|
/** Double dispatch handler for strongly typed segment. */
|
|
198350
198319
|
handleLineSegment3d(segmentA) {
|
|
198351
|
-
if (this._geometryB instanceof
|
|
198320
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_13__.LineSegment3d) {
|
|
198352
198321
|
const segmentB = this._geometryB;
|
|
198353
198322
|
this.dispatchSegmentSegment(segmentA, this._extendA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, this._extendA, segmentB, this._extendB, segmentB.point0Ref, 0.0, segmentB.point1Ref, 1.0, this._extendB, false);
|
|
198354
198323
|
}
|
|
198355
|
-
else if (this._geometryB instanceof
|
|
198324
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d) {
|
|
198356
198325
|
this.computeSegmentLineString(segmentA, this._extendA, this._geometryB, this._extendB, false);
|
|
198357
198326
|
}
|
|
198358
|
-
else if (this._geometryB instanceof
|
|
198327
|
+
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_15__.Arc3d) {
|
|
198359
198328
|
this.dispatchSegmentArc(segmentA, this._extendA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, this._extendA, this._geometryB, this._extendB, this._extendB, false);
|
|
198360
198329
|
}
|
|
198361
|
-
else if (this._geometryB instanceof
|
|
198330
|
+
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_16__.BSplineCurve3d) {
|
|
198362
198331
|
this.dispatchSegmentBsplineCurve(segmentA, this._extendA, segmentA.point0Ref, 0.0, segmentA.point1Ref, 1.0, this._extendA, this._geometryB, this._extendB, false);
|
|
198363
198332
|
}
|
|
198364
|
-
else if (this._geometryB instanceof
|
|
198333
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_11__.CurveCollection) {
|
|
198365
198334
|
this.dispatchCurveCollection(segmentA, this.handleLineSegment3d.bind(this));
|
|
198366
198335
|
}
|
|
198367
|
-
else if (this._geometryB instanceof
|
|
198336
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex) {
|
|
198368
198337
|
this.dispatchCurveChainWithDistanceIndex(segmentA, this.handleLineSegment3d.bind(this));
|
|
198369
198338
|
}
|
|
198370
198339
|
return undefined;
|
|
198371
198340
|
}
|
|
198372
198341
|
/** Double dispatch handler for strongly typed linestring. */
|
|
198373
198342
|
handleLineString3d(lsA) {
|
|
198374
|
-
if (this._geometryB instanceof
|
|
198343
|
+
if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d) {
|
|
198375
198344
|
const lsB = this._geometryB;
|
|
198376
198345
|
this.computeLineStringLineString(lsA, lsB, false);
|
|
198377
198346
|
}
|
|
198378
|
-
else if (this._geometryB instanceof
|
|
198347
|
+
else if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_13__.LineSegment3d) {
|
|
198379
198348
|
this.computeSegmentLineString(this._geometryB, this._extendB, lsA, this._extendA, true);
|
|
198380
198349
|
}
|
|
198381
|
-
else if (this._geometryB instanceof
|
|
198350
|
+
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_15__.Arc3d) {
|
|
198382
198351
|
this.computeArcLineString(this._geometryB, this._extendB, lsA, this._extendA, true);
|
|
198383
198352
|
}
|
|
198384
|
-
else if (this._geometryB instanceof
|
|
198353
|
+
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_16__.BSplineCurve3d) {
|
|
198385
198354
|
this.dispatchLineStringBSplineCurve(lsA, this._extendA, this._geometryB, this._extendB, false);
|
|
198386
198355
|
}
|
|
198387
|
-
else if (this._geometryB instanceof
|
|
198356
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_11__.CurveCollection) {
|
|
198388
198357
|
this.dispatchCurveCollection(lsA, this.handleLineString3d.bind(this));
|
|
198389
198358
|
}
|
|
198390
|
-
else if (this._geometryB instanceof
|
|
198359
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex) {
|
|
198391
198360
|
this.dispatchCurveChainWithDistanceIndex(lsA, this.handleLineString3d.bind(this));
|
|
198392
198361
|
}
|
|
198393
198362
|
return undefined;
|
|
198394
198363
|
}
|
|
198395
198364
|
/** Double dispatch handler for strongly typed arc. */
|
|
198396
198365
|
handleArc3d(arc0) {
|
|
198397
|
-
if (this._geometryB instanceof
|
|
198366
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_13__.LineSegment3d) {
|
|
198398
198367
|
this.dispatchSegmentArc(this._geometryB, this._extendB, this._geometryB.point0Ref, 0.0, this._geometryB.point1Ref, 1.0, this._extendB, arc0, this._extendA, this._extendA, true);
|
|
198399
198368
|
}
|
|
198400
|
-
else if (this._geometryB instanceof
|
|
198369
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d) {
|
|
198401
198370
|
this.computeArcLineString(arc0, this._extendA, this._geometryB, this._extendB, false);
|
|
198402
198371
|
}
|
|
198403
|
-
else if (this._geometryB instanceof
|
|
198372
|
+
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_15__.Arc3d) {
|
|
198404
198373
|
this.dispatchArcArc(arc0, this._extendA, this._geometryB, this._extendB, false);
|
|
198405
198374
|
}
|
|
198406
|
-
else if (this._geometryB instanceof
|
|
198375
|
+
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_16__.BSplineCurve3d) {
|
|
198407
198376
|
this.dispatchArcBsplineCurve3d(arc0, this._extendA, this._geometryB, this._extendB, false);
|
|
198408
198377
|
}
|
|
198409
|
-
else if (this._geometryB instanceof
|
|
198378
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_11__.CurveCollection) {
|
|
198410
198379
|
this.dispatchCurveCollection(arc0, this.handleArc3d.bind(this));
|
|
198411
198380
|
}
|
|
198412
|
-
else if (this._geometryB instanceof
|
|
198381
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex) {
|
|
198413
198382
|
this.dispatchCurveChainWithDistanceIndex(arc0, this.handleArc3d.bind(this));
|
|
198414
198383
|
}
|
|
198415
198384
|
return undefined;
|
|
198416
198385
|
}
|
|
198417
198386
|
/** Double dispatch handler for strongly typed bspline curve. */
|
|
198418
198387
|
handleBSplineCurve3d(curve) {
|
|
198419
|
-
if (this._geometryB instanceof
|
|
198388
|
+
if (this._geometryB instanceof _LineSegment3d__WEBPACK_IMPORTED_MODULE_13__.LineSegment3d) {
|
|
198420
198389
|
this.dispatchSegmentBsplineCurve(this._geometryB, this._extendB, this._geometryB.point0Ref, 0.0, this._geometryB.point1Ref, 1.0, this._extendB, curve, this._extendA, true);
|
|
198421
198390
|
}
|
|
198422
|
-
else if (this._geometryB instanceof
|
|
198391
|
+
else if (this._geometryB instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_14__.LineString3d) {
|
|
198423
198392
|
this.dispatchLineStringBSplineCurve(this._geometryB, this._extendB, curve, this._extendA, true);
|
|
198424
198393
|
}
|
|
198425
|
-
else if (this._geometryB instanceof
|
|
198394
|
+
else if (this._geometryB instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_15__.Arc3d) {
|
|
198426
198395
|
this.dispatchArcBsplineCurve3d(this._geometryB, this._extendB, curve, this._extendA, true);
|
|
198427
198396
|
}
|
|
198428
|
-
else if (this._geometryB instanceof
|
|
198397
|
+
else if (this._geometryB instanceof _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_16__.BSplineCurve3dBase) {
|
|
198429
198398
|
this.dispatchBSplineCurve3dBSplineCurve3d(curve, this._geometryB, false);
|
|
198430
198399
|
}
|
|
198431
|
-
else if (this._geometryB instanceof
|
|
198400
|
+
else if (this._geometryB instanceof _CurveCollection__WEBPACK_IMPORTED_MODULE_11__.CurveCollection) {
|
|
198432
198401
|
this.dispatchCurveCollection(curve, this.handleBSplineCurve3d.bind(this));
|
|
198433
198402
|
}
|
|
198434
|
-
else if (this._geometryB instanceof
|
|
198403
|
+
else if (this._geometryB instanceof _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex) {
|
|
198435
198404
|
this.dispatchCurveChainWithDistanceIndex(curve, this.handleBSplineCurve3d.bind(this));
|
|
198436
198405
|
}
|
|
198437
198406
|
return undefined;
|
|
@@ -198440,7 +198409,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198440
198409
|
handleCurveChainWithDistanceIndex(chain) {
|
|
198441
198410
|
super.handleCurveChainWithDistanceIndex(chain);
|
|
198442
198411
|
// if _geometryB is also a CurveChainWithDistanceIndex, it will already have been converted by dispatchCurveChainWithDistanceIndex
|
|
198443
|
-
this._results =
|
|
198412
|
+
this._results = _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_12__.CurveChainWithDistanceIndex.convertChildDetailToChainDetail(this._results, 0, chain, undefined, true);
|
|
198444
198413
|
}
|
|
198445
198414
|
/** Double dispatch handler for strongly typed homogeneous bspline curve .. */
|
|
198446
198415
|
handleBSplineCurve3dH(_curve) {
|
|
@@ -198460,19 +198429,19 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
198460
198429
|
return undefined;
|
|
198461
198430
|
}
|
|
198462
198431
|
}
|
|
198463
|
-
CurveCurveIntersectXY._workVector2dA =
|
|
198464
|
-
CurveCurveIntersectXY._workPointA0H =
|
|
198465
|
-
CurveCurveIntersectXY._workPointA1H =
|
|
198466
|
-
CurveCurveIntersectXY._workPointB0H =
|
|
198467
|
-
CurveCurveIntersectXY._workPointB1H =
|
|
198468
|
-
CurveCurveIntersectXY._workPointAA0 =
|
|
198469
|
-
CurveCurveIntersectXY._workPointAA1 =
|
|
198470
|
-
CurveCurveIntersectXY._workPointBB0 =
|
|
198471
|
-
CurveCurveIntersectXY._workPointBB1 =
|
|
198472
|
-
CurveCurveIntersectXY._workPointA0 =
|
|
198473
|
-
CurveCurveIntersectXY._workPointA1 =
|
|
198474
|
-
CurveCurveIntersectXY._workPointB0 =
|
|
198475
|
-
CurveCurveIntersectXY._workPointB1 =
|
|
198432
|
+
CurveCurveIntersectXY._workVector2dA = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_17__.Vector2d.create();
|
|
198433
|
+
CurveCurveIntersectXY._workPointA0H = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198434
|
+
CurveCurveIntersectXY._workPointA1H = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198435
|
+
CurveCurveIntersectXY._workPointB0H = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198436
|
+
CurveCurveIntersectXY._workPointB1H = _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_9__.Point4d.create();
|
|
198437
|
+
CurveCurveIntersectXY._workPointAA0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198438
|
+
CurveCurveIntersectXY._workPointAA1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198439
|
+
CurveCurveIntersectXY._workPointBB0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198440
|
+
CurveCurveIntersectXY._workPointBB1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198441
|
+
CurveCurveIntersectXY._workPointA0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198442
|
+
CurveCurveIntersectXY._workPointA1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198443
|
+
CurveCurveIntersectXY._workPointB0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198444
|
+
CurveCurveIntersectXY._workPointB1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_18__.Point3d.create();
|
|
198476
198445
|
|
|
198477
198446
|
|
|
198478
198447
|
|
|
@@ -198651,11 +198620,12 @@ class CurveCurveIntersectXYZ extends _geometry3d_GeometryHandler__WEBPACK_IMPORT
|
|
|
198651
198620
|
return undefined;
|
|
198652
198621
|
}
|
|
198653
198622
|
// Caller accesses data from a linestring or segment and passes it here.
|
|
198654
|
-
// The line
|
|
198623
|
+
// The line in question might be (a) a full line segment or (b) a fragment within a linestring.
|
|
198655
198624
|
// The fraction and extend parameters allow all combinations to be passed in.
|
|
198656
198625
|
dispatchSegmentArc(cpA, extendA0, pointA0, fractionA0, pointA1, fractionA1, extendA1, arc, extendB0, extendB1, reversed) {
|
|
198657
198626
|
const lineVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Vector3d.createStartEnd(pointA0, pointA1);
|
|
198658
|
-
const
|
|
198627
|
+
const cosValue = 0.94; // cosine of 20 degrees
|
|
198628
|
+
const plane = this.createPlaneWithPreferredPerpendicular(pointA0, lineVector, cosValue, arc.perpendicularVector, arc.vector0);
|
|
198659
198629
|
if (plane !== undefined) {
|
|
198660
198630
|
const candidates = [];
|
|
198661
198631
|
arc.appendPlaneIntersectionPoints(plane, candidates);
|
|
@@ -228621,6 +228591,9 @@ class ConvexPolygon2d {
|
|
|
228621
228591
|
__webpack_require__.r(__webpack_exports__);
|
|
228622
228592
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
228623
228593
|
/* harmony export */ AbstractNewtonIterator: () => (/* binding */ AbstractNewtonIterator),
|
|
228594
|
+
/* harmony export */ CurveCurveCloseApproachXYRRtoRRD: () => (/* binding */ CurveCurveCloseApproachXYRRtoRRD),
|
|
228595
|
+
/* harmony export */ CurveCurveIntersectionXYRRToRRD: () => (/* binding */ CurveCurveIntersectionXYRRToRRD),
|
|
228596
|
+
/* harmony export */ CurvePointCloseApproachXYRtoRD: () => (/* binding */ CurvePointCloseApproachXYRtoRD),
|
|
228624
228597
|
/* harmony export */ Newton1dUnbounded: () => (/* binding */ Newton1dUnbounded),
|
|
228625
228598
|
/* harmony export */ Newton1dUnboundedApproximateDerivative: () => (/* binding */ Newton1dUnboundedApproximateDerivative),
|
|
228626
228599
|
/* harmony export */ Newton2dUnboundedWithDerivative: () => (/* binding */ Newton2dUnboundedWithDerivative),
|
|
@@ -228632,6 +228605,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
228632
228605
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
228633
228606
|
/* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
|
|
228634
228607
|
/* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
228608
|
+
/* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
|
|
228635
228609
|
/* harmony import */ var _Polynomials__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Polynomials */ "../../core/geometry/lib/esm/numerics/Polynomials.js");
|
|
228636
228610
|
/*---------------------------------------------------------------------------------------------
|
|
228637
228611
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -228644,7 +228618,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
228644
228618
|
|
|
228645
228619
|
|
|
228646
228620
|
|
|
228647
|
-
|
|
228621
|
+
|
|
228622
|
+
// cspell:word currentdFdX XYRR
|
|
228648
228623
|
/**
|
|
228649
228624
|
* Base class for Newton iterations in various dimensions.
|
|
228650
228625
|
* Dimension-specific classes carry all dimension-related data and answer generalized queries from this base class.
|
|
@@ -228698,6 +228673,7 @@ class AbstractNewtonIterator {
|
|
|
228698
228673
|
this.numIterations = 0;
|
|
228699
228674
|
while (this.numIterations++ < this._maxIterations && this.computeStep()) {
|
|
228700
228675
|
if (this.testConvergence(this.currentStepSize()) && this.applyCurrentStep(true)) {
|
|
228676
|
+
// console.log("iter: " + this.numIterations); // print number of Newton iterations for debug
|
|
228701
228677
|
return true;
|
|
228702
228678
|
}
|
|
228703
228679
|
this.applyCurrentStep(false);
|
|
@@ -228747,7 +228723,7 @@ class Newton1dUnbounded extends AbstractNewtonIterator {
|
|
|
228747
228723
|
// console.log(this._currentX - this._currentStep); // print approximations for debug
|
|
228748
228724
|
return this.setX(this._currentX - this._currentStep);
|
|
228749
228725
|
}
|
|
228750
|
-
/** Compute the univariate newton step. */
|
|
228726
|
+
/** Compute the univariate newton step dx. */
|
|
228751
228727
|
computeStep() {
|
|
228752
228728
|
if (this._func.evaluate(this._currentX)) {
|
|
228753
228729
|
const dx = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(this._func.currentF - this._target, this._func.currentdFdX);
|
|
@@ -228800,7 +228776,7 @@ class Newton1dUnboundedApproximateDerivative extends AbstractNewtonIterator {
|
|
|
228800
228776
|
// console.log(this._currentX - this._currentStep); // print approximations for debug
|
|
228801
228777
|
return this.setX(this._currentX - this._currentStep);
|
|
228802
228778
|
}
|
|
228803
|
-
/** Univariate newton step computed with approximate derivative. */
|
|
228779
|
+
/** Univariate newton step dx, computed with approximate derivative. */
|
|
228804
228780
|
computeStep() {
|
|
228805
228781
|
if (this._func.evaluate(this._currentX)) {
|
|
228806
228782
|
const fA = this._func.currentF; // f(x_n)
|
|
@@ -228838,7 +228814,7 @@ class NewtonEvaluatorRRtoRRD {
|
|
|
228838
228814
|
* * Suppose we want to find the roots of `F(u,v) := (x(u,v), y(u,v))`. Writing `X := (u,v)` and `F(X)` as column vectors,
|
|
228839
228815
|
* the 2D Newton's iteration to find a root of `F` is given by:
|
|
228840
228816
|
* `X_{n+1} = X_n - dX = X_n - JInv(X_n)F(X_n)`, where `JInv` is the inverse of the Jacobian matrix `J`, and `J` is
|
|
228841
|
-
* defined
|
|
228817
|
+
* defined by the partial derivatives of the component functions of F:
|
|
228842
228818
|
*
|
|
228843
228819
|
* `[dx/du dx/dv]`
|
|
228844
228820
|
*
|
|
@@ -228851,7 +228827,8 @@ class Newton2dUnboundedWithDerivative extends AbstractNewtonIterator {
|
|
|
228851
228827
|
* @param func function that returns both function value and derivative.
|
|
228852
228828
|
*/
|
|
228853
228829
|
constructor(func) {
|
|
228854
|
-
|
|
228830
|
+
const maxIterations = 100; // Was default (15). We observed 49 iters to achieve 1e-11 tol with tangent geometry.
|
|
228831
|
+
super(undefined, undefined, maxIterations);
|
|
228855
228832
|
this._func = func;
|
|
228856
228833
|
this._currentStep = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_2__.Vector2d.createZero();
|
|
228857
228834
|
this._currentUV = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_2__.Point2d.createZero();
|
|
@@ -228883,7 +228860,10 @@ class Newton2dUnboundedWithDerivative extends AbstractNewtonIterator {
|
|
|
228883
228860
|
if (this._func.evaluate(this._currentUV.x, this._currentUV.y)) {
|
|
228884
228861
|
const fA = this._func.currentF;
|
|
228885
228862
|
if ( // Given X_{n+1} = X_n - dX = X_n - JInv(X_n) F(X_n), we solve J(X_n) dX = F(X_n) for dX:
|
|
228886
|
-
_Polynomials__WEBPACK_IMPORTED_MODULE_3__.SmallSystem.linearSystem2d(fA.vectorU.x, fA.vectorV.x,
|
|
228863
|
+
_Polynomials__WEBPACK_IMPORTED_MODULE_3__.SmallSystem.linearSystem2d(fA.vectorU.x, fA.vectorV.x, // x_u(X_n), x_v(X_n): 1st row of J evaluated at X_n
|
|
228864
|
+
fA.vectorU.y, fA.vectorV.y, // y_u(X_n), y_v(X_n): 2nd row of J evaluated at X_n
|
|
228865
|
+
fA.origin.x, fA.origin.y, // F(X_n) := (x(X_n), y(X_n))
|
|
228866
|
+
this._currentStep))
|
|
228887
228867
|
return true;
|
|
228888
228868
|
}
|
|
228889
228869
|
return false;
|
|
@@ -228937,6 +228917,106 @@ class SimpleNewton {
|
|
|
228937
228917
|
return undefined;
|
|
228938
228918
|
}
|
|
228939
228919
|
}
|
|
228920
|
+
/**
|
|
228921
|
+
* Class to evaluate XY intersection between 2 curve primitives using the Newton method.
|
|
228922
|
+
* @internal
|
|
228923
|
+
*/
|
|
228924
|
+
class CurveCurveIntersectionXYRRToRRD extends NewtonEvaluatorRRtoRRD {
|
|
228925
|
+
constructor(curveP, curveQ) {
|
|
228926
|
+
super();
|
|
228927
|
+
this._curveP = curveP;
|
|
228928
|
+
this._curveQ = curveQ;
|
|
228929
|
+
this._rayP = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_4__.Ray3d.createZero();
|
|
228930
|
+
this._rayQ = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_4__.Ray3d.createZero();
|
|
228931
|
+
}
|
|
228932
|
+
evaluate(fractionU, fractionV) {
|
|
228933
|
+
/**
|
|
228934
|
+
* To find an intersection between xy-curves P(u) = (x_p(u), y_p(u)) and Q(v) = (x_q(v), y_q(v)) we should solve
|
|
228935
|
+
* F(u,v) := P(u) - Q(v) = (0,0)
|
|
228936
|
+
* Using the Newton method we can find the fractions u and v at the intersection via
|
|
228937
|
+
* [u_{n+1}] [u_n] [x_p'(u_n) -x_q'(v_n)] [x_p(u_n) - x_q(v_n)]
|
|
228938
|
+
* = - Inv( )
|
|
228939
|
+
* [v_{n+1}] [v_n] [y_p'(u_n) -y_q'(v_n)] [y_p(u_n) - y_q(v_n)]
|
|
228940
|
+
* Note that this is xy intersection so we can ignore z.
|
|
228941
|
+
*/
|
|
228942
|
+
this._curveP.fractionToPointAndDerivative(fractionU, this._rayP);
|
|
228943
|
+
this._curveQ.fractionToPointAndDerivative(fractionV, this._rayQ);
|
|
228944
|
+
this.currentF.setOriginAndVectorsXYZ(this._rayP.origin.x - this._rayQ.origin.x, this._rayP.origin.y - this._rayQ.origin.y, 0.0, this._rayP.direction.x, this._rayP.direction.y, 0.0, -this._rayQ.direction.x, -this._rayQ.direction.y, 0.0);
|
|
228945
|
+
return true;
|
|
228946
|
+
}
|
|
228947
|
+
}
|
|
228948
|
+
/**
|
|
228949
|
+
* Class to evaluate XY close approach between a curve primitive and a point using the Newton method.
|
|
228950
|
+
* @internal
|
|
228951
|
+
*/
|
|
228952
|
+
class CurvePointCloseApproachXYRtoRD extends NewtonEvaluatorRtoRD {
|
|
228953
|
+
constructor(curveP, pointQ) {
|
|
228954
|
+
super();
|
|
228955
|
+
this._curveP = curveP;
|
|
228956
|
+
this._pointQ = pointQ;
|
|
228957
|
+
this._planeP = _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndVectors.createXYPlane();
|
|
228958
|
+
}
|
|
228959
|
+
evaluate(fractionU) {
|
|
228960
|
+
/**
|
|
228961
|
+
* To find a close approach between xy-curve P(u) and xy-point q we should solve
|
|
228962
|
+
* F(u) := P'(u).(P(u) - q) = 0
|
|
228963
|
+
* For a solution u, the segment S(u) := P(u) - q is perpendicular to the curve tangent P'(u), which means S(u) is a close approach.
|
|
228964
|
+
* Using the Newton method we can find the fractions u at the close approach location via
|
|
228965
|
+
* u_{n+1} = u_n + F(u_n)/F'(u_n) = u_n + [ P'(u_n).S(u_n) ]/[ P''(u_n).S(u_n) + P'(u_n).P'(u_n) ]
|
|
228966
|
+
* Note that this is xy close approach so we can ignore z.
|
|
228967
|
+
*/
|
|
228968
|
+
this._curveP.fractionToPointAnd2Derivatives(fractionU, this._planeP);
|
|
228969
|
+
const segX = this._planeP.origin.x - this._pointQ.x;
|
|
228970
|
+
const segY = this._planeP.origin.y - this._pointQ.y;
|
|
228971
|
+
const pDerivX = this._planeP.vectorU.x;
|
|
228972
|
+
const pDerivY = this._planeP.vectorU.y;
|
|
228973
|
+
const p2DerivX = this._planeP.vectorV.x;
|
|
228974
|
+
const p2DerivY = this._planeP.vectorV.y;
|
|
228975
|
+
this.currentF = pDerivX * segX + pDerivY * segY;
|
|
228976
|
+
this.currentdFdX = p2DerivX * segX + pDerivX * pDerivX + p2DerivY * segY + pDerivY * pDerivY;
|
|
228977
|
+
return true;
|
|
228978
|
+
}
|
|
228979
|
+
}
|
|
228980
|
+
/**
|
|
228981
|
+
* Class to evaluate XY close approach between 2 curve primitives using the Newton method.
|
|
228982
|
+
* @internal
|
|
228983
|
+
*/
|
|
228984
|
+
class CurveCurveCloseApproachXYRRtoRRD extends NewtonEvaluatorRRtoRRD {
|
|
228985
|
+
constructor(curveP, curveQ) {
|
|
228986
|
+
super();
|
|
228987
|
+
this._curveP = curveP;
|
|
228988
|
+
this._curveQ = curveQ;
|
|
228989
|
+
this._planeP = _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndVectors.createXYPlane();
|
|
228990
|
+
this._planeQ = _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndVectors.createXYPlane();
|
|
228991
|
+
}
|
|
228992
|
+
evaluate(fractionU, fractionV) {
|
|
228993
|
+
/**
|
|
228994
|
+
* To find a close approach between xy-curves P(u) and Q(v) we should solve
|
|
228995
|
+
* F(u,v) := (P'(u).(P(u) - Q(v)), Q'(v).(P(u) - Q(v))) = (0,0)
|
|
228996
|
+
* For a solution (u,v), the segment S(u,v) := P(u) - Q(v) is perpendicular to the curve tangents P'(u) and Q'(v),
|
|
228997
|
+
* which means S(u,v) is a close approach.
|
|
228998
|
+
* Using the Newton method we can find the fractions u and v at the close approach location via
|
|
228999
|
+
* [u_{n+1}] [u_n] [P''(u_n).S(u_n,v_n) + P'(u_n).P'(u_n) -P'(u_n).Q'(v_n)] [P'(u_n).S(u_n,v_n)]
|
|
229000
|
+
* = - Inv( )
|
|
229001
|
+
* [v_{n+1}] [v_n] [Q'(v_n).P'(u_n) Q''(v_n).S(u_n,v_n) - Q'(v_n).Q'(v_n)] [Q'(v_n).S(u_n,v_n)]
|
|
229002
|
+
* Note that this is xy close approach so we can ignore z.
|
|
229003
|
+
*/
|
|
229004
|
+
this._curveP.fractionToPointAnd2Derivatives(fractionU, this._planeP);
|
|
229005
|
+
this._curveQ.fractionToPointAnd2Derivatives(fractionV, this._planeQ);
|
|
229006
|
+
const segX = this._planeP.origin.x - this._planeQ.origin.x;
|
|
229007
|
+
const segY = this._planeP.origin.y - this._planeQ.origin.y;
|
|
229008
|
+
const pDerivX = this._planeP.vectorU.x;
|
|
229009
|
+
const pDerivY = this._planeP.vectorU.y;
|
|
229010
|
+
const qDerivX = this._planeQ.vectorU.x;
|
|
229011
|
+
const qDerivY = this._planeQ.vectorU.y;
|
|
229012
|
+
const p2DerivX = this._planeP.vectorV.x;
|
|
229013
|
+
const p2DerivY = this._planeP.vectorV.y;
|
|
229014
|
+
const q2DerivX = this._planeQ.vectorV.x;
|
|
229015
|
+
const q2DerivY = this._planeQ.vectorV.y;
|
|
229016
|
+
this.currentF.setOriginAndVectorsXYZ(pDerivX * segX + pDerivY * segY, qDerivX * segX + qDerivY * segY, 0.0, p2DerivX * segX + p2DerivY * segY + pDerivX * pDerivX + pDerivY * pDerivY, qDerivX * pDerivX + qDerivY * pDerivY, 0.0, -(pDerivX * qDerivX + pDerivY * qDerivY), q2DerivX * segX + q2DerivY * segY - qDerivX * qDerivX - qDerivY * qDerivY, 0.0);
|
|
229017
|
+
return true;
|
|
229018
|
+
}
|
|
229019
|
+
}
|
|
228940
229020
|
|
|
228941
229021
|
|
|
228942
229022
|
/***/ }),
|
|
@@ -230125,10 +230205,8 @@ class TrigPolynomial {
|
|
|
230125
230205
|
* @param referenceCoefficient A number which represents the size of coefficients
|
|
230126
230206
|
* at various stages of computation. A small fraction of this will be used as a zero
|
|
230127
230207
|
* tolerance
|
|
230128
|
-
* @param
|
|
230129
|
-
* @
|
|
230130
|
-
* one to pass-by-reference)
|
|
230131
|
-
* Returns false if equation is all zeros. This usually means any angle is a solution.
|
|
230208
|
+
* @param radians Roots are placed here
|
|
230209
|
+
* @return false if equation is all zeros. This usually means any angle is a solution.
|
|
230132
230210
|
*/
|
|
230133
230211
|
static solveAngles(coff, nominalDegree, referenceCoefficient, radians) {
|
|
230134
230212
|
let maxCoff = Math.abs(referenceCoefficient);
|
|
@@ -230206,7 +230284,6 @@ class TrigPolynomial {
|
|
|
230206
230284
|
* @param ay Coefficient of y
|
|
230207
230285
|
* @param a1 Constant coefficient
|
|
230208
230286
|
* @param radians solution angles
|
|
230209
|
-
* @param numAngle number of solution angles(Passed as array to make changes to reference)
|
|
230210
230287
|
*/
|
|
230211
230288
|
static solveUnitCircleImplicitQuadricIntersection(axx, axy, ayy, ax, ay, a1, radians) {
|
|
230212
230289
|
const Coffs = new Float64Array(5);
|
|
@@ -230272,9 +230349,8 @@ class TrigPolynomial {
|
|
|
230272
230349
|
return status;
|
|
230273
230350
|
}
|
|
230274
230351
|
/**
|
|
230275
|
-
* Compute intersections of unit circle x^2 + y^2 = w^2 with the ellipse
|
|
230276
|
-
*
|
|
230277
|
-
* Solutions are returned as angles in the ellipse space.
|
|
230352
|
+
* Compute intersections of unit circle `x^2 + y^2 = w^2` with the ellipse
|
|
230353
|
+
* `F(t) = (cx + ux cos(t) + vx sin(t), cy + uy cos(t) + vy sin(t)) / (cw + uw cos(t) + vw sin(t))`.
|
|
230278
230354
|
* @param cx center x
|
|
230279
230355
|
* @param cy center y
|
|
230280
230356
|
* @param cw center w
|
|
@@ -281893,7 +281969,7 @@ class TestContext {
|
|
|
281893
281969
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
281894
281970
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
281895
281971
|
await core_frontend_1.NoRenderApp.startup({
|
|
281896
|
-
applicationVersion: "4.3.0-dev.
|
|
281972
|
+
applicationVersion: "4.3.0-dev.23",
|
|
281897
281973
|
applicationId: this.settings.gprid,
|
|
281898
281974
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
281899
281975
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -301305,7 +301381,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
301305
301381
|
/***/ ((module) => {
|
|
301306
301382
|
|
|
301307
301383
|
"use strict";
|
|
301308
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.
|
|
301384
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.23","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.23","@itwin/core-bentley":"workspace:^4.3.0-dev.23","@itwin/core-common":"workspace:^4.3.0-dev.23","@itwin/core-geometry":"workspace:^4.3.0-dev.23","@itwin/core-orbitgt":"workspace:^4.3.0-dev.23","@itwin/core-quantity":"workspace:^4.3.0-dev.23"},"//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"}}');
|
|
301309
301385
|
|
|
301310
301386
|
/***/ }),
|
|
301311
301387
|
|