@itwin/core-geometry 5.3.0-dev.2 → 5.3.0-dev.21

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.
Files changed (608) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/lib/cjs/Constant.js.map +1 -1
  3. package/lib/cjs/Geometry.js.map +1 -1
  4. package/lib/cjs/bspline/AkimaCurve3d.js.map +1 -1
  5. package/lib/cjs/bspline/BSpline1dNd.js.map +1 -1
  6. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  7. package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -1
  8. package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -1
  9. package/lib/cjs/bspline/BSplineSurface.js.map +1 -1
  10. package/lib/cjs/bspline/Bezier1dNd.js.map +1 -1
  11. package/lib/cjs/bspline/BezierCurve3d.js.map +1 -1
  12. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -1
  13. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -1
  14. package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -1
  15. package/lib/cjs/bspline/KnotVector.js.map +1 -1
  16. package/lib/cjs/bspline/SurfaceLocationDetail.js.map +1 -1
  17. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  18. package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -1
  19. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -1
  20. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  21. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -1
  22. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  23. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  24. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  25. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  26. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  27. package/lib/cjs/core-geometry.js.map +1 -1
  28. package/lib/cjs/curve/Arc3d.d.ts +15 -1
  29. package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
  30. package/lib/cjs/curve/Arc3d.js +36 -9
  31. package/lib/cjs/curve/Arc3d.js.map +1 -1
  32. package/lib/cjs/curve/ConstructCurveBetweenCurves.js.map +1 -1
  33. package/lib/cjs/curve/CoordinateXYZ.js.map +1 -1
  34. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  35. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  36. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  37. package/lib/cjs/curve/CurveExtendMode.js.map +1 -1
  38. package/lib/cjs/curve/CurveFactory.d.ts +25 -8
  39. package/lib/cjs/curve/CurveFactory.d.ts.map +1 -1
  40. package/lib/cjs/curve/CurveFactory.js +51 -55
  41. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  42. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  43. package/lib/cjs/curve/CurveOps.d.ts +2 -5
  44. package/lib/cjs/curve/CurveOps.d.ts.map +1 -1
  45. package/lib/cjs/curve/CurveOps.js +2 -5
  46. package/lib/cjs/curve/CurveOps.js.map +1 -1
  47. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  48. package/lib/cjs/curve/CurveProcessor.js.map +1 -1
  49. package/lib/cjs/curve/CurveTypes.js.map +1 -1
  50. package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -1
  51. package/lib/cjs/curve/GeometryQuery.js.map +1 -1
  52. package/lib/cjs/curve/LineSegment3d.js.map +1 -1
  53. package/lib/cjs/curve/LineString3d.js.map +1 -1
  54. package/lib/cjs/curve/Loop.js.map +1 -1
  55. package/lib/cjs/curve/OffsetOptions.js.map +1 -1
  56. package/lib/cjs/curve/ParityRegion.js.map +1 -1
  57. package/lib/cjs/curve/Path.js.map +1 -1
  58. package/lib/cjs/curve/PointString3d.js.map +1 -1
  59. package/lib/cjs/curve/ProxyCurve.js.map +1 -1
  60. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  61. package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -1
  62. package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -1
  63. package/lib/cjs/curve/Query/InOutTests.js.map +1 -1
  64. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts +50 -15
  65. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  66. package/lib/cjs/curve/Query/PlanarSubdivision.js +102 -84
  67. package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -1
  68. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -1
  69. package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -1
  70. package/lib/cjs/curve/RegionMomentsXY.js.map +1 -1
  71. package/lib/cjs/curve/RegionOps.d.ts +44 -25
  72. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  73. package/lib/cjs/curve/RegionOps.js +74 -39
  74. package/lib/cjs/curve/RegionOps.js.map +1 -1
  75. package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  76. package/lib/cjs/curve/RegionOpsClassificationSweeps.js +8 -8
  77. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  78. package/lib/cjs/curve/StrokeOptions.js.map +1 -1
  79. package/lib/cjs/curve/UnionRegion.js.map +1 -1
  80. package/lib/cjs/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  81. package/lib/cjs/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  82. package/lib/cjs/curve/internalContexts/ChainCollectorContext.js.map +1 -1
  83. package/lib/cjs/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  84. package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  85. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  86. package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  87. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  88. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts +1 -0
  89. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  90. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js +102 -92
  91. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  92. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  93. package/lib/cjs/curve/internalContexts/CurveLengthContext.js.map +1 -1
  94. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  95. package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
  96. package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -1
  97. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  98. package/lib/cjs/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  99. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  100. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  101. package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -1
  102. package/lib/cjs/curve/internalContexts/TransferWithSplitArcs.js.map +1 -1
  103. package/lib/cjs/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  104. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +10 -13
  105. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -1
  106. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js +23 -22
  107. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  108. package/lib/cjs/curve/spiral/ClothoidSeries.d.ts +10 -6
  109. package/lib/cjs/curve/spiral/ClothoidSeries.d.ts.map +1 -1
  110. package/lib/cjs/curve/spiral/ClothoidSeries.js +36 -19
  111. package/lib/cjs/curve/spiral/ClothoidSeries.js.map +1 -1
  112. package/lib/cjs/curve/spiral/CubicEvaluator.d.ts +7 -6
  113. package/lib/cjs/curve/spiral/CubicEvaluator.d.ts.map +1 -1
  114. package/lib/cjs/curve/spiral/CubicEvaluator.js +29 -14
  115. package/lib/cjs/curve/spiral/CubicEvaluator.js.map +1 -1
  116. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts +34 -44
  117. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -1
  118. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js +47 -53
  119. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  120. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +2 -2
  121. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -1
  122. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js +17 -7
  123. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  124. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts +112 -104
  125. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  126. package/lib/cjs/curve/spiral/DirectSpiral3d.js +143 -117
  127. package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -1
  128. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts +71 -53
  129. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  130. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +99 -66
  131. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  132. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +8 -12
  133. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -1
  134. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +11 -13
  135. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  136. package/lib/cjs/curve/spiral/NormalizedTransition.d.ts +36 -29
  137. package/lib/cjs/curve/spiral/NormalizedTransition.d.ts.map +1 -1
  138. package/lib/cjs/curve/spiral/NormalizedTransition.js +62 -40
  139. package/lib/cjs/curve/spiral/NormalizedTransition.js.map +1 -1
  140. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts +13 -18
  141. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -1
  142. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js +21 -24
  143. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  144. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts +41 -27
  145. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  146. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js +50 -33
  147. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  148. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts +45 -34
  149. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  150. package/lib/cjs/curve/spiral/TransitionSpiral3d.js +56 -38
  151. package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -1
  152. package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts +27 -21
  153. package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts.map +1 -1
  154. package/lib/cjs/curve/spiral/XYCurveEvaluator.js +23 -18
  155. package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -1
  156. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  157. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
  158. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -1
  159. package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -1
  160. package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -1
  161. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -1
  162. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
  163. package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -1
  164. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -1
  165. package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -1
  166. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -1
  167. package/lib/cjs/geometry3d/GrowableXYArray.d.ts +98 -99
  168. package/lib/cjs/geometry3d/GrowableXYArray.d.ts.map +1 -1
  169. package/lib/cjs/geometry3d/GrowableXYArray.js +123 -111
  170. package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -1
  171. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts +137 -143
  172. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  173. package/lib/cjs/geometry3d/GrowableXYZArray.js +167 -161
  174. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -1
  175. package/lib/cjs/geometry3d/IndexedCollectionInterval.js.map +1 -1
  176. package/lib/cjs/geometry3d/IndexedXYCollection.d.ts +51 -34
  177. package/lib/cjs/geometry3d/IndexedXYCollection.d.ts.map +1 -1
  178. package/lib/cjs/geometry3d/IndexedXYCollection.js +16 -6
  179. package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -1
  180. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts +87 -93
  181. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  182. package/lib/cjs/geometry3d/IndexedXYZCollection.js +41 -38
  183. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -1
  184. package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  185. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  186. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -1
  187. package/lib/cjs/geometry3d/Plane3d.js.map +1 -1
  188. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  189. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  190. package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -1
  191. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -1
  192. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  193. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  194. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
  195. package/lib/cjs/geometry3d/PointStreaming.js.map +1 -1
  196. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  197. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  198. package/lib/cjs/geometry3d/PolylineOps.d.ts +2 -2
  199. package/lib/cjs/geometry3d/PolylineOps.js +2 -2
  200. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -1
  201. package/lib/cjs/geometry3d/Range.js.map +1 -1
  202. package/lib/cjs/geometry3d/Ray2d.js.map +1 -1
  203. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  204. package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -1
  205. package/lib/cjs/geometry3d/Segment1d.js.map +1 -1
  206. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -1
  207. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  208. package/lib/cjs/geometry3d/UVSurfaceOps.js.map +1 -1
  209. package/lib/cjs/geometry3d/XYZProps.js.map +1 -1
  210. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  211. package/lib/cjs/geometry4d/Map4d.js.map +1 -1
  212. package/lib/cjs/geometry4d/Matrix4d.js.map +1 -1
  213. package/lib/cjs/geometry4d/MomentData.js.map +1 -1
  214. package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  215. package/lib/cjs/geometry4d/Point4d.js.map +1 -1
  216. package/lib/cjs/numerics/BandedSystem.js.map +1 -1
  217. package/lib/cjs/numerics/BezierPolynomials.js.map +1 -1
  218. package/lib/cjs/numerics/ClusterableArray.d.ts.map +1 -1
  219. package/lib/cjs/numerics/ClusterableArray.js +2 -2
  220. package/lib/cjs/numerics/ClusterableArray.js.map +1 -1
  221. package/lib/cjs/numerics/Complex.js.map +1 -1
  222. package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -1
  223. package/lib/cjs/numerics/Newton.js.map +1 -1
  224. package/lib/cjs/numerics/PascalCoefficients.js.map +1 -1
  225. package/lib/cjs/numerics/PolarData.js.map +1 -1
  226. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  227. package/lib/cjs/numerics/Quadrature.js.map +1 -1
  228. package/lib/cjs/numerics/Range1dArray.js.map +1 -1
  229. package/lib/cjs/numerics/SmallSystem.js.map +1 -1
  230. package/lib/cjs/numerics/TriDiagonalSystem.js.map +1 -1
  231. package/lib/cjs/numerics/UnionFind.js.map +1 -1
  232. package/lib/cjs/numerics/UsageSums.js.map +1 -1
  233. package/lib/cjs/polyface/AuxData.js.map +1 -1
  234. package/lib/cjs/polyface/BoxTopology.js.map +1 -1
  235. package/lib/cjs/polyface/FacetFaceData.js.map +1 -1
  236. package/lib/cjs/polyface/FacetLocationDetail.js.map +1 -1
  237. package/lib/cjs/polyface/FacetOrientation.js.map +1 -1
  238. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  239. package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -1
  240. package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  241. package/lib/cjs/polyface/IndexedPolyfaceWalker.js.map +1 -1
  242. package/lib/cjs/polyface/Polyface.js.map +1 -1
  243. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  244. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
  245. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  246. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  247. package/lib/cjs/polyface/RangeLengthData.js.map +1 -1
  248. package/lib/cjs/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  249. package/lib/cjs/polyface/RangeTree/MinimumValueTester.js.map +1 -1
  250. package/lib/cjs/polyface/RangeTree/Point3dArrayRangeTreeContext.js.map +1 -1
  251. package/lib/cjs/polyface/RangeTree/PolyfaceRangeTreeContext.js.map +1 -1
  252. package/lib/cjs/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  253. package/lib/cjs/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  254. package/lib/cjs/polyface/TaggedNumericData.js.map +1 -1
  255. package/lib/cjs/polyface/TriangleCandidate.js.map +1 -1
  256. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  257. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  258. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  259. package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  260. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  261. package/lib/cjs/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  262. package/lib/cjs/polyface/multiclip/RangeSearch.js.map +1 -1
  263. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  264. package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -1
  265. package/lib/cjs/serialization/BGFBAccessors.js.map +1 -1
  266. package/lib/cjs/serialization/BGFBReader.js.map +1 -1
  267. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  268. package/lib/cjs/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  269. package/lib/cjs/serialization/DeepCompare.js.map +1 -1
  270. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  271. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  272. package/lib/cjs/serialization/SerializationHelpers.js.map +1 -1
  273. package/lib/cjs/solid/Box.js.map +1 -1
  274. package/lib/cjs/solid/Cone.js.map +1 -1
  275. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  276. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  277. package/lib/cjs/solid/RuledSweep.js.map +1 -1
  278. package/lib/cjs/solid/SolidPrimitive.js.map +1 -1
  279. package/lib/cjs/solid/Sphere.js.map +1 -1
  280. package/lib/cjs/solid/SweepContour.js.map +1 -1
  281. package/lib/cjs/solid/TorusPipe.js.map +1 -1
  282. package/lib/cjs/topology/ChainMerge.js.map +1 -1
  283. package/lib/cjs/topology/Graph.js.map +1 -1
  284. package/lib/cjs/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  285. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -1
  286. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  287. package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -1
  288. package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -1
  289. package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  290. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  291. package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -1
  292. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -1
  293. package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -1
  294. package/lib/cjs/topology/MaskManager.js.map +1 -1
  295. package/lib/cjs/topology/Merging.d.ts +15 -7
  296. package/lib/cjs/topology/Merging.d.ts.map +1 -1
  297. package/lib/cjs/topology/Merging.js +15 -10
  298. package/lib/cjs/topology/Merging.js.map +1 -1
  299. package/lib/cjs/topology/RegularizeFace.js.map +1 -1
  300. package/lib/cjs/topology/SignedDataSummary.js.map +1 -1
  301. package/lib/cjs/topology/SpaceTriangulation.js.map +1 -1
  302. package/lib/cjs/topology/Triangulation.js.map +1 -1
  303. package/lib/cjs/topology/Voronoi.js.map +1 -1
  304. package/lib/cjs/topology/XYParitySearchContext.js.map +1 -1
  305. package/lib/esm/Constant.js.map +1 -1
  306. package/lib/esm/Geometry.js.map +1 -1
  307. package/lib/esm/bspline/AkimaCurve3d.js.map +1 -1
  308. package/lib/esm/bspline/BSpline1dNd.js.map +1 -1
  309. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  310. package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -1
  311. package/lib/esm/bspline/BSplineCurveOps.js.map +1 -1
  312. package/lib/esm/bspline/BSplineSurface.js.map +1 -1
  313. package/lib/esm/bspline/Bezier1dNd.js.map +1 -1
  314. package/lib/esm/bspline/BezierCurve3d.js.map +1 -1
  315. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -1
  316. package/lib/esm/bspline/BezierCurveBase.js.map +1 -1
  317. package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -1
  318. package/lib/esm/bspline/KnotVector.js.map +1 -1
  319. package/lib/esm/bspline/SurfaceLocationDetail.js.map +1 -1
  320. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  321. package/lib/esm/clipping/BooleanClipFactory.js.map +1 -1
  322. package/lib/esm/clipping/BooleanClipNode.js.map +1 -1
  323. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  324. package/lib/esm/clipping/ClipPrimitive.js.map +1 -1
  325. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  326. package/lib/esm/clipping/ClipVector.js.map +1 -1
  327. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  328. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  329. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  330. package/lib/esm/core-geometry.js.map +1 -1
  331. package/lib/esm/curve/Arc3d.d.ts +15 -1
  332. package/lib/esm/curve/Arc3d.d.ts.map +1 -1
  333. package/lib/esm/curve/Arc3d.js +36 -9
  334. package/lib/esm/curve/Arc3d.js.map +1 -1
  335. package/lib/esm/curve/ConstructCurveBetweenCurves.js.map +1 -1
  336. package/lib/esm/curve/CoordinateXYZ.js.map +1 -1
  337. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  338. package/lib/esm/curve/CurveCollection.js.map +1 -1
  339. package/lib/esm/curve/CurveCurve.js.map +1 -1
  340. package/lib/esm/curve/CurveExtendMode.js.map +1 -1
  341. package/lib/esm/curve/CurveFactory.d.ts +25 -8
  342. package/lib/esm/curve/CurveFactory.d.ts.map +1 -1
  343. package/lib/esm/curve/CurveFactory.js +51 -55
  344. package/lib/esm/curve/CurveFactory.js.map +1 -1
  345. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  346. package/lib/esm/curve/CurveOps.d.ts +2 -5
  347. package/lib/esm/curve/CurveOps.d.ts.map +1 -1
  348. package/lib/esm/curve/CurveOps.js +2 -5
  349. package/lib/esm/curve/CurveOps.js.map +1 -1
  350. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  351. package/lib/esm/curve/CurveProcessor.js.map +1 -1
  352. package/lib/esm/curve/CurveTypes.js.map +1 -1
  353. package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -1
  354. package/lib/esm/curve/GeometryQuery.js.map +1 -1
  355. package/lib/esm/curve/LineSegment3d.js.map +1 -1
  356. package/lib/esm/curve/LineString3d.js.map +1 -1
  357. package/lib/esm/curve/Loop.js.map +1 -1
  358. package/lib/esm/curve/OffsetOptions.js.map +1 -1
  359. package/lib/esm/curve/ParityRegion.js.map +1 -1
  360. package/lib/esm/curve/Path.js.map +1 -1
  361. package/lib/esm/curve/PointString3d.js.map +1 -1
  362. package/lib/esm/curve/ProxyCurve.js.map +1 -1
  363. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  364. package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -1
  365. package/lib/esm/curve/Query/CylindricalRange.js.map +1 -1
  366. package/lib/esm/curve/Query/InOutTests.js.map +1 -1
  367. package/lib/esm/curve/Query/PlanarSubdivision.d.ts +50 -15
  368. package/lib/esm/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  369. package/lib/esm/curve/Query/PlanarSubdivision.js +102 -84
  370. package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -1
  371. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -1
  372. package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -1
  373. package/lib/esm/curve/RegionMomentsXY.js.map +1 -1
  374. package/lib/esm/curve/RegionOps.d.ts +44 -25
  375. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  376. package/lib/esm/curve/RegionOps.js +72 -37
  377. package/lib/esm/curve/RegionOps.js.map +1 -1
  378. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  379. package/lib/esm/curve/RegionOpsClassificationSweeps.js +8 -8
  380. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  381. package/lib/esm/curve/StrokeOptions.js.map +1 -1
  382. package/lib/esm/curve/UnionRegion.js.map +1 -1
  383. package/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  384. package/lib/esm/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  385. package/lib/esm/curve/internalContexts/ChainCollectorContext.js.map +1 -1
  386. package/lib/esm/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  387. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  388. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  389. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  390. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  391. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts +1 -0
  392. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  393. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js +102 -92
  394. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  395. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  396. package/lib/esm/curve/internalContexts/CurveLengthContext.js.map +1 -1
  397. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  398. package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
  399. package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -1
  400. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  401. package/lib/esm/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  402. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  403. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  404. package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -1
  405. package/lib/esm/curve/internalContexts/TransferWithSplitArcs.js.map +1 -1
  406. package/lib/esm/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  407. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +10 -13
  408. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -1
  409. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js +23 -22
  410. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  411. package/lib/esm/curve/spiral/ClothoidSeries.d.ts +10 -6
  412. package/lib/esm/curve/spiral/ClothoidSeries.d.ts.map +1 -1
  413. package/lib/esm/curve/spiral/ClothoidSeries.js +36 -19
  414. package/lib/esm/curve/spiral/ClothoidSeries.js.map +1 -1
  415. package/lib/esm/curve/spiral/CubicEvaluator.d.ts +7 -6
  416. package/lib/esm/curve/spiral/CubicEvaluator.d.ts.map +1 -1
  417. package/lib/esm/curve/spiral/CubicEvaluator.js +29 -14
  418. package/lib/esm/curve/spiral/CubicEvaluator.js.map +1 -1
  419. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts +34 -44
  420. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -1
  421. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js +47 -53
  422. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  423. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +2 -2
  424. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -1
  425. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js +17 -7
  426. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  427. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts +112 -104
  428. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  429. package/lib/esm/curve/spiral/DirectSpiral3d.js +143 -117
  430. package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -1
  431. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts +71 -53
  432. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  433. package/lib/esm/curve/spiral/IntegratedSpiral3d.js +99 -66
  434. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  435. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +8 -12
  436. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -1
  437. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +11 -13
  438. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  439. package/lib/esm/curve/spiral/NormalizedTransition.d.ts +36 -29
  440. package/lib/esm/curve/spiral/NormalizedTransition.d.ts.map +1 -1
  441. package/lib/esm/curve/spiral/NormalizedTransition.js +62 -40
  442. package/lib/esm/curve/spiral/NormalizedTransition.js.map +1 -1
  443. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts +13 -18
  444. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -1
  445. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js +21 -24
  446. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  447. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts +41 -27
  448. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  449. package/lib/esm/curve/spiral/TransitionConditionalProperties.js +50 -33
  450. package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  451. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts +45 -34
  452. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  453. package/lib/esm/curve/spiral/TransitionSpiral3d.js +56 -38
  454. package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -1
  455. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts +27 -21
  456. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts.map +1 -1
  457. package/lib/esm/curve/spiral/XYCurveEvaluator.js +23 -18
  458. package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -1
  459. package/lib/esm/geometry3d/Angle.js.map +1 -1
  460. package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
  461. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -1
  462. package/lib/esm/geometry3d/BilinearPatch.js.map +1 -1
  463. package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -1
  464. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -1
  465. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
  466. package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -1
  467. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -1
  468. package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -1
  469. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -1
  470. package/lib/esm/geometry3d/GrowableXYArray.d.ts +98 -99
  471. package/lib/esm/geometry3d/GrowableXYArray.d.ts.map +1 -1
  472. package/lib/esm/geometry3d/GrowableXYArray.js +124 -112
  473. package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -1
  474. package/lib/esm/geometry3d/GrowableXYZArray.d.ts +137 -143
  475. package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  476. package/lib/esm/geometry3d/GrowableXYZArray.js +167 -161
  477. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -1
  478. package/lib/esm/geometry3d/IndexedCollectionInterval.js.map +1 -1
  479. package/lib/esm/geometry3d/IndexedXYCollection.d.ts +51 -34
  480. package/lib/esm/geometry3d/IndexedXYCollection.d.ts.map +1 -1
  481. package/lib/esm/geometry3d/IndexedXYCollection.js +14 -5
  482. package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -1
  483. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +87 -93
  484. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  485. package/lib/esm/geometry3d/IndexedXYZCollection.js +41 -38
  486. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -1
  487. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  488. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  489. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -1
  490. package/lib/esm/geometry3d/Plane3d.js.map +1 -1
  491. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  492. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  493. package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -1
  494. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -1
  495. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  496. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  497. package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
  498. package/lib/esm/geometry3d/PointStreaming.js.map +1 -1
  499. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  500. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  501. package/lib/esm/geometry3d/PolylineOps.d.ts +2 -2
  502. package/lib/esm/geometry3d/PolylineOps.js +2 -2
  503. package/lib/esm/geometry3d/PolylineOps.js.map +1 -1
  504. package/lib/esm/geometry3d/Range.js.map +1 -1
  505. package/lib/esm/geometry3d/Ray2d.js.map +1 -1
  506. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  507. package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -1
  508. package/lib/esm/geometry3d/Segment1d.js.map +1 -1
  509. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -1
  510. package/lib/esm/geometry3d/Transform.js.map +1 -1
  511. package/lib/esm/geometry3d/UVSurfaceOps.js.map +1 -1
  512. package/lib/esm/geometry3d/XYZProps.js.map +1 -1
  513. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  514. package/lib/esm/geometry4d/Map4d.js.map +1 -1
  515. package/lib/esm/geometry4d/Matrix4d.js.map +1 -1
  516. package/lib/esm/geometry4d/MomentData.js.map +1 -1
  517. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  518. package/lib/esm/geometry4d/Point4d.js.map +1 -1
  519. package/lib/esm/numerics/BandedSystem.js.map +1 -1
  520. package/lib/esm/numerics/BezierPolynomials.js.map +1 -1
  521. package/lib/esm/numerics/ClusterableArray.d.ts.map +1 -1
  522. package/lib/esm/numerics/ClusterableArray.js +2 -2
  523. package/lib/esm/numerics/ClusterableArray.js.map +1 -1
  524. package/lib/esm/numerics/Complex.js.map +1 -1
  525. package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -1
  526. package/lib/esm/numerics/Newton.js.map +1 -1
  527. package/lib/esm/numerics/PascalCoefficients.js.map +1 -1
  528. package/lib/esm/numerics/PolarData.js.map +1 -1
  529. package/lib/esm/numerics/Polynomials.js.map +1 -1
  530. package/lib/esm/numerics/Quadrature.js.map +1 -1
  531. package/lib/esm/numerics/Range1dArray.js.map +1 -1
  532. package/lib/esm/numerics/SmallSystem.js.map +1 -1
  533. package/lib/esm/numerics/TriDiagonalSystem.js.map +1 -1
  534. package/lib/esm/numerics/UnionFind.js.map +1 -1
  535. package/lib/esm/numerics/UsageSums.js.map +1 -1
  536. package/lib/esm/polyface/AuxData.js.map +1 -1
  537. package/lib/esm/polyface/BoxTopology.js.map +1 -1
  538. package/lib/esm/polyface/FacetFaceData.js.map +1 -1
  539. package/lib/esm/polyface/FacetLocationDetail.js.map +1 -1
  540. package/lib/esm/polyface/FacetOrientation.js.map +1 -1
  541. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  542. package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -1
  543. package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  544. package/lib/esm/polyface/IndexedPolyfaceWalker.js.map +1 -1
  545. package/lib/esm/polyface/Polyface.js.map +1 -1
  546. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  547. package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
  548. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  549. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  550. package/lib/esm/polyface/RangeLengthData.js.map +1 -1
  551. package/lib/esm/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  552. package/lib/esm/polyface/RangeTree/MinimumValueTester.js.map +1 -1
  553. package/lib/esm/polyface/RangeTree/Point3dArrayRangeTreeContext.js.map +1 -1
  554. package/lib/esm/polyface/RangeTree/PolyfaceRangeTreeContext.js.map +1 -1
  555. package/lib/esm/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  556. package/lib/esm/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  557. package/lib/esm/polyface/TaggedNumericData.js.map +1 -1
  558. package/lib/esm/polyface/TriangleCandidate.js.map +1 -1
  559. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  560. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  561. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  562. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  563. package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  564. package/lib/esm/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  565. package/lib/esm/polyface/multiclip/RangeSearch.js.map +1 -1
  566. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  567. package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -1
  568. package/lib/esm/serialization/BGFBAccessors.js.map +1 -1
  569. package/lib/esm/serialization/BGFBReader.js.map +1 -1
  570. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  571. package/lib/esm/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  572. package/lib/esm/serialization/DeepCompare.js.map +1 -1
  573. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  574. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  575. package/lib/esm/serialization/SerializationHelpers.js.map +1 -1
  576. package/lib/esm/solid/Box.js.map +1 -1
  577. package/lib/esm/solid/Cone.js.map +1 -1
  578. package/lib/esm/solid/LinearSweep.js.map +1 -1
  579. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  580. package/lib/esm/solid/RuledSweep.js.map +1 -1
  581. package/lib/esm/solid/SolidPrimitive.js.map +1 -1
  582. package/lib/esm/solid/Sphere.js.map +1 -1
  583. package/lib/esm/solid/SweepContour.js.map +1 -1
  584. package/lib/esm/solid/TorusPipe.js.map +1 -1
  585. package/lib/esm/topology/ChainMerge.js.map +1 -1
  586. package/lib/esm/topology/Graph.js.map +1 -1
  587. package/lib/esm/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  588. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -1
  589. package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  590. package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -1
  591. package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -1
  592. package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  593. package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  594. package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -1
  595. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -1
  596. package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -1
  597. package/lib/esm/topology/MaskManager.js.map +1 -1
  598. package/lib/esm/topology/Merging.d.ts +15 -7
  599. package/lib/esm/topology/Merging.d.ts.map +1 -1
  600. package/lib/esm/topology/Merging.js +15 -10
  601. package/lib/esm/topology/Merging.js.map +1 -1
  602. package/lib/esm/topology/RegularizeFace.js.map +1 -1
  603. package/lib/esm/topology/SignedDataSummary.js.map +1 -1
  604. package/lib/esm/topology/SpaceTriangulation.js.map +1 -1
  605. package/lib/esm/topology/Triangulation.js.map +1 -1
  606. package/lib/esm/topology/Voronoi.js.map +1 -1
  607. package/lib/esm/topology/XYParitySearchContext.js.map +1 -1
  608. package/package.json +3 -3
@@ -21,10 +21,10 @@ const MXCubicAlongArcSpiralEvaluator_1 = require("./MXCubicAlongArcSpiralEvaluat
21
21
  const PolishCubicSpiralEvaluator_1 = require("./PolishCubicSpiralEvaluator");
22
22
  const TransitionSpiral3d_1 = require("./TransitionSpiral3d");
23
23
  /**
24
- * DirectSpiral3d acts like a TransitionSpiral3d for serialization purposes, but implements spiral types that have "direct" xy calculations without the integrations required
25
- * for IntegratedSpiral3d.
24
+ * DirectSpiral3d acts like a TransitionSpiral3d for serialization purposes, but implements spiral types that have
25
+ * "direct" xy calculations without the integrations required for IntegratedSpiral3d.
26
26
  * * Each DirectSpiral3d carries an XYCurveEvaluator to give it specialized behavior.
27
- * * Direct spirals that flow through serialization to native imodel02 are create with these static methods:
27
+ * * Direct spirals that flow through serialization to native imodel02 are created with these static methods:
28
28
  * * createArema
29
29
  * * createJapaneseCubic
30
30
  * * createAustralianRail
@@ -37,32 +37,45 @@ const TransitionSpiral3d_1 = require("./TransitionSpiral3d");
37
37
  * @public
38
38
  */
39
39
  class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
40
- /** String name for schema properties */
40
+ /** String name for schema properties. */
41
41
  curvePrimitiveType = "transitionSpiral";
42
- /** stroked approximation of entire spiral. This is AFTER the localToWorld transform ... */
42
+ /** Stroked approximation of entire spiral. This is AFTER the localToWorld transform. */
43
43
  _globalStrokes;
44
- /** stroked approximation of active spiral. This is AFTER the localToWorld transfomr ...
45
- * * Same count as global -- possibly overly fine, but it gives some consistency between same clothoid constructed as partial versus complete.
46
- * * If no trimming, this points to the same place as the _globalStrokes !!! Don't double transform!!!
44
+ /**
45
+ * Stroked approximation of active spiral. This is AFTER the localToWorld transform.
46
+ * * Same count as global; possibly overly fine, but it gives some consistency between same clothoid constructed as
47
+ * partial versus complete.
48
+ * * If no trimming, this points to the same place as the _globalStrokes. DO NOT double transform.
47
49
  */
48
50
  _activeStrokes;
49
- /** Return the internal stroked form of the (possibly partial) spiral */
50
- get activeStrokes() { return this._activeStrokes !== undefined ? this._activeStrokes : this._globalStrokes; }
51
+ /** Return the internal stroked form of the (possibly partial) spiral. */
52
+ get activeStrokes() {
53
+ return this._activeStrokes !== undefined ? this._activeStrokes : this._globalStrokes;
54
+ }
51
55
  _nominalL1;
52
56
  _nominalR1;
53
57
  _evaluator;
54
58
  /** Return the nominal end radius. */
55
- get nominalR1() { return this._nominalR1; }
59
+ get nominalR1() {
60
+ return this._nominalR1;
61
+ }
56
62
  /** Return the nominal distance from inflection to endpoint. */
57
- get nominalL1() { return this._nominalL1; }
63
+ get nominalL1() {
64
+ return this._nominalL1;
65
+ }
58
66
  /** Return the nominal end curvature */
59
- get nominalCurvature1() { return TransitionSpiral3d_1.TransitionSpiral3d.radiusToCurvature(this._nominalR1); }
60
- /** Return the low level evaluator
67
+ get nominalCurvature1() {
68
+ return TransitionSpiral3d_1.TransitionSpiral3d.radiusToCurvature(this._nominalR1);
69
+ }
70
+ /**
71
+ * Return the low level evaluator.
61
72
  * @internal
62
73
  */
63
- get evaluator() { return this._evaluator; }
74
+ get evaluator() {
75
+ return this._evaluator;
76
+ }
64
77
  // constructor demands radius1 and distance1 for nominal construction.
65
- // caller is responsible for managing intervals of partial spiral
78
+ // caller is responsible for managing intervals of partial spiral.
66
79
  constructor(localToWorld, spiralType, originalProperties, nominalL1, nominalR1, activeFractionInterval, evaluator) {
67
80
  super(spiralType, localToWorld, activeFractionInterval, originalProperties);
68
81
  this._nominalL1 = nominalL1;
@@ -70,14 +83,16 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
70
83
  this._evaluator = evaluator;
71
84
  this._globalStrokes = LineString3d_1.LineString3d.create();
72
85
  this._activeStrokes = LineString3d_1.LineString3d.create();
73
- // initialize for compiler -- but this will be recomputed in refreshComputeProperties ...
86
+ // initialize for compiler; but this will be recomputed in refreshComputeProperties
74
87
  this.refreshComputedProperties();
75
88
  }
76
89
  /**
77
90
  * Compute stroke data in an interval.
78
91
  * @param strokes strokes to clear and refill.
79
- * @param fraction0 start fraction
80
- * @param fraction1 end fraction
92
+ * @param fractionA start fraction.
93
+ * @param fractionB end fraction.
94
+ * @param numInterval number of intervals.
95
+ * @param applyLocalToWorld if true, apply the localToWorld transform.
81
96
  */
82
97
  computeStrokes(strokes, fractionA, fractionB, numInterval, applyLocalToWorld = true) {
83
98
  if (numInterval < 1)
@@ -106,7 +121,7 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
106
121
  trueDistance0 = trueDistance1;
107
122
  }
108
123
  }
109
- /** Recompute strokes */
124
+ /** Recompute strokes. */
110
125
  refreshComputedProperties() {
111
126
  const sweepRadians = this.nominalL1 / (2.0 * this.nominalR1);
112
127
  const radiansStep = 0.02;
@@ -118,12 +133,14 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
118
133
  }
119
134
  /**
120
135
  * Create a spiral object which uses numXTerm terms from the clothoid X series and numYTerm from the clothoid Y series.
121
- * @param numXTerm number of terms to use from X series
136
+ * @param spiralType type of spiral.
137
+ * @param localToWorld placement frame. Inflection point is at origin, initial direction is along x axis.
138
+ * @param numXTerm number of terms to use from X series
122
139
  * @param numYTerm number of terms to use from Y series
123
- * @param localToWorld placement frame. Inflection point is at origin, initial direction is along x axis.
140
+ * @param originalProperties (optional) transition conditional properties.
124
141
  * @param nominalL1 design distance from inflection to end point.
125
142
  * @param nominalR1 design radius at end point.
126
- * @param activeInterval active interval (as fractions of nominalL1 !!!)
143
+ * @param activeInterval (optional) active interval (as fractions of nominalL1)
127
144
  */
128
145
  static createTruncatedClothoid(spiralType, localToWorld, numXTerm, numYTerm, originalProperties, nominalL1, nominalR1, activeInterval) {
129
146
  if (numXTerm < 1)
@@ -133,29 +150,16 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
133
150
  const evaluator = new ClothoidSeries_1.ClothoidSeriesRLEvaluator(nominalL1, 1.0 / (2.0 * nominalL1 * nominalR1), numXTerm, numYTerm);
134
151
  return new DirectSpiral3d(localToWorld.clone(), spiralType, originalProperties, nominalL1, nominalR1, activeInterval ? activeInterval.clone() : Segment1d_1.Segment1d.create(0, 1), evaluator);
135
152
  }
136
- /**
137
- * Create an Japanese spiral clothoid approximation
138
- * * X is 1 terms of the clothoid series as a function of nominal distance along.
139
- * * Y is 1 terms f the clothoid series as a function of nominal distance along.
140
- * * Remark: This is identical to the ChineseCubic
141
- * @param localToWorld axes with inflection at origin, tangent along x axis
142
- * @param nominalL1 nominal length as used in series LR terms.
143
- * @param nominalR1 nominal final radius as used in series LR terms
144
- * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along
145
- */
146
- static createJapaneseCubic(localToWorld, nominalL1, nominalR1, activeInterval) {
147
- return this.createTruncatedClothoid("JapaneseCubic", localToWorld, 1, 1, undefined, nominalL1, nominalR1, activeInterval);
148
- }
149
153
  /**
150
154
  * Create a czech cubic.
151
- * This is y= m*x^3 with
152
- * * x any point on the x axis
153
- * * `fraction` along the spiral goes to `x = fraction * L`
154
- * * m is gamma / (6RL)
155
+ * This is y = m*x^3 with
156
+ * * x any point on the x axis.
157
+ * * `fraction` along the spiral goes to `x = fraction * L`.
158
+ * * m is gamma/(6RL).
155
159
  * * 1/(6RL) is the leading term of the sine series.
156
- * * `gamma = 2R/sqrt (4RR-LL)` pushes y up a little bit to simulate the lost series terms.
160
+ * * `gamma = 2R/sqrt(4RR-LL)` pushes y up a little bit to simulate the lost series terms.
157
161
  * @param localToWorld
158
- * @param nominalLx nominal length along x axis
162
+ * @param nominalLx nominal length along x axis.
159
163
  * @param nominalR1
160
164
  * @param activeInterval
161
165
  */
@@ -167,15 +171,14 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
167
171
  }
168
172
  /**
169
173
  * Create an italian spiral
170
- * This is y= m*x^3 with
171
- * * x any point on the x axis
172
- * * `fraction` along the spiral goes to `x = fraction * L`
173
- * * m is gamma / (6RL)
174
+ * This is y = m*x^3 with
175
+ * * x any point on the x axis.
176
+ * * `fraction` along the spiral goes to `x = fraction * L`.
177
+ * * m is gamma/(6RL).
174
178
  * * 1/(6RL) is the leading term of the sine series.
175
- * * `gamma = 2R/sqrt (4RR-LL)` pushes y up a little bit to simulate the lost series terms.
176
- * * L in gamma and m is the
179
+ * * `gamma = 2R/sqrt(4RR-LL)` pushes y up a little bit to simulate the lost series terms.
177
180
  * @param localToWorld
178
- * @param nominalL1 nominal length along the spiral
181
+ * @param nominalL1 nominal length along the spiral.
179
182
  * @param nominalR1
180
183
  * @param activeInterval
181
184
  */
@@ -187,12 +190,12 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
187
190
  }
188
191
  /**
189
192
  * Create an MX Cubic whose nominal length is close to along the curve.
190
- * This is y= m*x^3 with
191
- * * m is 1/ (6RL1)
193
+ * This is y = m*x^3 with
194
+ * * m is 1/(6RL1).
192
195
  * * 1/(6RL) is the leading term of the sine series.
193
- * * L1 is an along-the-x-axis distance that is slightly LESS THAN the nominal length
194
- * * x is axis position that is slightly LESS than nominal distance along
195
- * * L1, x use the approximation `x = s * ( 1 - s^4/ (40 R R L L))
196
+ * * L1 is an along-the-x-axis distance that is slightly LESS THAN the nominal length.
197
+ * * x is axis position that is slightly LESS than nominal distance along.
198
+ * * L1, x use the approximation `x = s * ( 1 - s^4/ (40 R R L L))
196
199
  * @param localToWorld
197
200
  * @param nominalL1
198
201
  * @param nominalR1
@@ -206,12 +209,12 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
206
209
  }
207
210
  /**
208
211
  * Create a polish cubic
209
- * This is y= m*x^3 with
210
- * * m is 1/ (6RL)
212
+ * This is y = m*x^3 with
213
+ * * m is 1/(6RL).
211
214
  * * 1/(6RL) is the leading term of the sine series.
212
- * * L is nominal length
215
+ * * L is nominal length.
213
216
  * * R is nominal end radius.
214
- * * x ranges up to the x axis distance for which the polish distance series produces f(x)=L
217
+ * * x ranges up to the x axis distance for which the polish distance series produces f(x) = L.
215
218
  * * The support class PolishCubicEvaluator has static methods for the distance series and its inversion.
216
219
  */
217
220
  static createPolishCubic(localToWorld, nominalL1, nominalR1, activeInterval) {
@@ -222,12 +225,12 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
222
225
  }
223
226
  /**
224
227
  * Create an AustralianRailCorp spiral
225
- * This is y= m*x^3 with
226
- * * x any point on the x axis
227
- * * `fraction` along the spiral goes to `x = fraction * L`
228
- * * m is gamma / (6RL)
228
+ * This is y = m*x^3 with
229
+ * * x any point on the x axis.
230
+ * * `fraction` along the spiral goes to `x = fraction * L`.
231
+ * * m is gamma/(6RL).
229
232
  * * 1/(6RL) is the leading term of the sine series.
230
- * * `gamma = 2R/sqrt (4RR-LL)` pushes y up a little bit to simulate the lost series terms.
233
+ * * `gamma = 2R/sqrt(4RR-LL)` pushes y up a little bit to simulate the lost series terms.
231
234
  * @param localToWorld
232
235
  * @param nominalL1
233
236
  * @param nominalR1
@@ -240,64 +243,78 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
240
243
  return new DirectSpiral3d(localToWorld.clone(), "AustralianRailCorp", undefined, nominalL1, nominalR1, activeInterval ? activeInterval.clone() : Segment1d_1.Segment1d.create(0, 1), evaluator);
241
244
  }
242
245
  static createDirectHalfCosine(localToWorld, nominalL1, nominalR1, activeInterval) {
243
- return new this(localToWorld, "HalfCosine", undefined, nominalL1, nominalR1, activeInterval, new DirectHalfCosineSpiralEvaluator_1.DirectHalfCosineSpiralEvaluator(nominalL1, nominalR1));
246
+ return new DirectSpiral3d(localToWorld, "HalfCosine", undefined, nominalL1, nominalR1, activeInterval, new DirectHalfCosineSpiralEvaluator_1.DirectHalfCosineSpiralEvaluator(nominalL1, nominalR1));
244
247
  }
245
248
  /**
246
249
  * Create an Arema spiral clothoid approximation
247
- * * X is 2 terms of the clothoid series as a function of nominal distance along
248
- * * Y is 2 terms f the clothoid series as a function of nominal distance along
249
- * * Remark: This is identical to the ChineseCubic
250
- * @param localToWorld axes with inflection at origin, tangent along x axis
250
+ * * X is 2 terms of the clothoid series as a function of nominal distance along.
251
+ * * Y is 2 terms f the clothoid series as a function of nominal distance along.
252
+ * * Remark: This is identical to the ChineseCubic.
253
+ * @param localToWorld axes with inflection at origin, tangent along x axis.
251
254
  * @param nominalL1 nominal length as used in series LR terms.
252
- * @param nominalR1 nominal final radius as used in series LR terms
253
- * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along
255
+ * @param nominalR1 nominal final radius as used in series LR terms.
256
+ * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along.
254
257
  */
255
258
  static createArema(localToWorld, nominalL1, nominalR1, activeInterval) {
256
259
  return this.createTruncatedClothoid("Arema", localToWorld, 2, 2, undefined, nominalL1, nominalR1, activeInterval);
257
260
  }
258
261
  /**
259
- * Create a Chinese clothoid approximation
260
- * * X is 2 terms of the clothoid series as a function of nominal distance along
261
- * * Y is 2 terms f the clothoid series as a function of nominal distance along
262
- * * Remark: This is identical to the Arema spiral
263
- * @param localToWorld axes with inflection at origin, tangent along x axis
262
+ * Create a Japanese spiral clothoid approximation.
263
+ * * X is 1 terms of the clothoid series as a function of nominal distance along.
264
+ * * Y is 1 terms of the clothoid series as a function of nominal distance along.
265
+ * * Remark: This is identical to the ChineseCubic.
266
+ * @param localToWorld axes with inflection at origin, tangent along x axis.
264
267
  * @param nominalL1 nominal length as used in series LR terms.
265
- * @param nominalR1 nominal final radius as used in series LR terms
268
+ * @param nominalR1 nominal final radius as used in series LR terms.
266
269
  * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along
267
270
  */
271
+ static createJapaneseCubic(localToWorld, nominalL1, nominalR1, activeInterval) {
272
+ return this.createTruncatedClothoid("JapaneseCubic", localToWorld, 1, 1, undefined, nominalL1, nominalR1, activeInterval);
273
+ }
274
+ /**
275
+ * Create a Chinese clothoid approximation
276
+ * * X is 2 terms of the clothoid series as a function of nominal distance along.
277
+ * * Y is 2 terms f the clothoid series as a function of nominal distance along.
278
+ * * Remark: This is identical to the Arema spiral.
279
+ * @param localToWorld axes with inflection at origin, tangent along x axis.
280
+ * @param nominalL1 nominal length as used in series LR terms.
281
+ * @param nominalR1 nominal final radius as used in series LR terms.
282
+ * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along.
283
+ */
268
284
  static createChineseCubic(localToWorld, nominalL1, nominalR1, activeInterval) {
269
285
  return this.createTruncatedClothoid("ChineseCubic", localToWorld, 2, 2, undefined, nominalL1, nominalR1, activeInterval);
270
286
  }
271
287
  /**
272
288
  * Create a Western Australian direct spiral.
273
- * * X is 2 terms of the clothoid series as a function of distance along
274
- * * Y is 1 term (cubic in nominal distance along)
275
- * @param localToWorld axes with inflection at origin, tangent along x axis
289
+ * * X is 2 terms of the clothoid series as a function of distance along.
290
+ * * Y is 1 term (cubic in nominal distance along).
291
+ * @param localToWorld axes with inflection at origin, tangent along x axis.
276
292
  * @param nominalL1 nominal length as used in series LR terms.
277
- * @param nominalR1 nominal final radius as used in series LR terms
278
- * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along
293
+ * @param nominalR1 nominal final radius as used in series LR terms.
294
+ * @param activeInterval fractional interval with (0, nominalL1) range for nominal distance along.
279
295
  */
280
296
  static createWesternAustralian(localToWorld, nominalL1, nominalR1, activeInterval) {
281
297
  return this.createTruncatedClothoid("WesternAustralian", localToWorld, 2, 1, undefined, nominalL1, nominalR1, activeInterval);
282
298
  }
283
299
  /**
284
300
  * Create (if possible) a DirectSpiral3d, applying various strict conditions appropriate to the spiral type.
285
- * The parameter list includes extraneous values in order to directly match IntegratedSpiral3d.create, which has greater flexibility about
286
- * mixtures of values.
287
- * * IMPORTANT RESTRICTIONS
301
+ * The parameter list includes extraneous values in order to directly match IntegratedSpiral3d.create, which has
302
+ * greater flexibility about mixtures of values.
303
+ * * IMPORTANT RESTRICTIONS:
288
304
  * * Direct spirals must have the inflection at the origin of their coordinate system, aligned with the x axis.
289
- * * hence bearing0 = 0
290
- * * hence radius0 = 0
291
- * * bearing1 is ignored
305
+ * * hence bearing0 = 0.
306
+ * * hence radius0 = 0.
307
+ * * bearing1 is ignored.
292
308
  * * radius1 must be given.
293
309
  * * arcLength must be given,
294
- * @param spiralType one of the types in `DirectSpiralTypeNames`
295
- * @param radius0 radius (or 0 for tangent to line) at start. Must be ZERO or UNDEFINED
310
+ * @param spiralType one of the types in `DirectSpiralTypeName`
311
+ * @param radius0 radius (or 0 for tangent to line) at start. Must be ZERO or UNDEFINED
296
312
  * @param radius1 radius (or 0 for tangent to line) at end.
297
- * @param bearing0 bearing, measured CCW from x axis at start. Must be ZERO or UNDEFINED
298
- * @param bearing1 bearing, measured CCW from x axis at end. IGNORED.
299
- * @param fractionInterval optional fractional interval for an "active" portion of the curve. if omitted, the full [0,1] is used.
300
- * @param localToWorld placement transform
313
+ * @param bearing0 bearing, measured CCW from x axis at start. Must be ZERO or UNDEFINED
314
+ * @param bearing1 bearing, measured CCW from x axis at end. IGNORED.
315
+ * @param fractionInterval (optional) fractional interval for an "active" portion of the curve. If omitted, the
316
+ * full [0,1] is used.
317
+ * @param localToWorld placement transform.
301
318
  */
302
319
  static createFromLengthAndRadius(spiralType, radius0, radius1, bearing0, _bearing1, arcLength, activeInterval, localToWorld) {
303
320
  if (bearing0 !== undefined && !bearing0.isAlmostZero)
@@ -330,11 +347,11 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
330
347
  return this.createPolishCubic(localToWorld, arcLength, radius1, activeInterval);
331
348
  return undefined;
332
349
  }
333
- /** Deep clone of this spiral */
350
+ /** Deep clone of this spiral. */
334
351
  clone() {
335
352
  return new DirectSpiral3d(this.localToWorld.clone(), this._spiralType, this.designProperties?.clone(), this._nominalL1, this._nominalR1, this._activeFractionInterval?.clone(), this._evaluator.clone());
336
353
  }
337
- /** apply `transform` to this spiral's local to world transform. */
354
+ /** Apply `transform` to this spiral's local to world transform. */
338
355
  tryTransformInPlace(transformA) {
339
356
  const rigidData = this.applyRigidPartOfTransform(transformA);
340
357
  if (rigidData !== undefined) {
@@ -349,17 +366,18 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
349
366
  startPoint(result) {
350
367
  return this.activeStrokes.startPoint(result);
351
368
  }
352
- /** return the spiral end point. */
369
+ /** Return the spiral end point. */
353
370
  endPoint(result) {
354
371
  return this.activeStrokes.endPoint(result);
355
372
  }
356
- /** test if the local to world transform places the spiral xy plane into `plane` */
373
+ /** Test if the local to world transform places the spiral xy plane into `plane`. */
357
374
  isInPlane(plane) {
358
375
  return plane.isPointInPlane(this.localToWorld.origin)
359
376
  && Geometry_1.Geometry.isSameCoordinate(0.0, this.localToWorld.matrix.dotColumnX(plane.getNormalRef()))
360
377
  && Geometry_1.Geometry.isSameCoordinate(0.0, this.localToWorld.matrix.dotColumnY(plane.getNormalRef()));
361
378
  }
362
- /** Return quick length of the spiral.
379
+ /**
380
+ * Return quick length of the spiral.
363
381
  * The tangent vector of a true clothoid is length 1 everywhere, so simple proportion of nominalL1 is a good approximation.
364
382
  */
365
383
  quickLength() {
@@ -367,18 +385,24 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
367
385
  const n = distanceData.length;
368
386
  return distanceData.getYAtUncheckedPointIndex(n - 1);
369
387
  }
370
- /** Return length of the spiral.
371
- * * True length is stored at back of uvParams . . .
372
- */
373
- // use the generic integrator ... public override curveLength() { return this.quickLength(); }
388
+ // We claim true length is stored at the back of `packedUVParams`.
389
+ // Nevertheless defer to the generic integrator in the default implementation.
390
+ // public override curveLength() {
391
+ // return this.quickLength();
392
+ // }
374
393
  /** Test if `other` is an instance of `TransitionSpiral3d` */
375
- isSameGeometryClass(other) { return other instanceof DirectSpiral3d; }
376
- /** Add strokes from this spiral to `dest`.
377
- * * Linestrings will usually stroke as just their points.
394
+ isSameGeometryClass(other) {
395
+ return other instanceof TransitionSpiral3d_1.TransitionSpiral3d;
396
+ }
397
+ /**
398
+ * Add strokes from this spiral to `dest`.
399
+ * * Line strings will usually stroke as just their points.
378
400
  * * If maxEdgeLength is given, this will sub-stroke within the linestring -- not what we want.
379
401
  */
380
- emitStrokes(dest, options) { this.activeStrokes.emitStrokes(dest, options); }
381
- /** emit stroke fragments to `dest` handler. */
402
+ emitStrokes(dest, options) {
403
+ this.activeStrokes.emitStrokes(dest, options);
404
+ }
405
+ /** Emit stroke fragments to `dest` handler. */
382
406
  emitStrokableParts(dest, options) {
383
407
  const n = this.computeStrokeCountForOptions(options);
384
408
  const activeStrokes = this.activeStrokes;
@@ -399,8 +423,8 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
399
423
  dest.endParentCurvePrimitive(this);
400
424
  }
401
425
  /**
402
- * return the stroke count required for given options.
403
- * @param options StrokeOptions that determine count
426
+ * Return the stroke count required for given options.
427
+ * @param options StrokeOptions that determine count.
404
428
  */
405
429
  computeStrokeCountForOptions(options) {
406
430
  let numStroke;
@@ -417,8 +441,9 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
417
441
  numStroke = Math.ceil(this._activeFractionInterval.absoluteDelta() * numStroke);
418
442
  return numStroke;
419
443
  }
420
- /** Reverse the active interval and active strokes.
421
- * * Primary defining data remains unchanged !!!
444
+ /**
445
+ * Reverse the active interval and active strokes.
446
+ * * Primary defining data remains unchanged.
422
447
  */
423
448
  reverseInPlace() {
424
449
  this._activeFractionInterval.reverseInPlace();
@@ -441,10 +466,11 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
441
466
  result.transformInPlace(this.localToWorld);
442
467
  return result;
443
468
  }
444
- /** Return a plane with
445
- *
446
- * * origin at fractional position along the curve
447
- * * vectorU is the first derivative, i.e. tangent vector with length equal to the rate of change with respect to the fraction.
469
+ /**
470
+ * Return a plane with
471
+ * * origin at fractional position along the curve.
472
+ * * vectorU is the first derivative, i.e. tangent vector with length equal to the rate of change with respect to
473
+ * the fraction.
448
474
  * * vectorV is the second derivative, i.e.derivative of vectorU.
449
475
  */
450
476
  fractionToPointAnd2Derivatives(activeFraction, result) {
@@ -456,11 +482,11 @@ class DirectSpiral3d extends TransitionSpiral3d_1.TransitionSpiral3d {
456
482
  result.transformInPlace(this.localToWorld);
457
483
  return result;
458
484
  }
459
- /** Second step of double dispatch: call `handler.handleTransitionSpiral(this)` */
485
+ /** Second step of double dispatch: call `handler.handleTransitionSpiral(this)`. */
460
486
  dispatchToGeometryHandler(handler) {
461
487
  return handler.handleTransitionSpiral(this);
462
488
  }
463
- /** compare various coordinate quantities */
489
+ /** Compare various coordinate quantities. */
464
490
  isAlmostEqual(other) {
465
491
  if (other instanceof DirectSpiral3d) {
466
492
  return Geometry_1.Geometry.isSameCoordinate(this._nominalL1, other._nominalL1)