@itwin/core-geometry 4.2.0-dev.9 → 4.3.0-dev.1

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 (478) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/lib/cjs/Geometry.d.ts +4 -4
  3. package/lib/cjs/Geometry.d.ts.map +1 -1
  4. package/lib/cjs/Geometry.js +2 -2
  5. package/lib/cjs/Geometry.js.map +1 -1
  6. package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts +4 -3
  7. package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts.map +1 -1
  8. package/lib/cjs/clipping/AlternatingConvexClipTree.js +1 -1
  9. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  10. package/lib/cjs/clipping/BooleanClipNode.d.ts +4 -3
  11. package/lib/cjs/clipping/BooleanClipNode.d.ts.map +1 -1
  12. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -1
  13. package/lib/cjs/clipping/ClipPlane.d.ts +2 -1
  14. package/lib/cjs/clipping/ClipPlane.d.ts.map +1 -1
  15. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  16. package/lib/cjs/clipping/ClipUtils.d.ts +17 -11
  17. package/lib/cjs/clipping/ClipUtils.d.ts.map +1 -1
  18. package/lib/cjs/clipping/ClipUtils.js +14 -8
  19. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  20. package/lib/cjs/clipping/ClipVector.d.ts +6 -5
  21. package/lib/cjs/clipping/ClipVector.d.ts.map +1 -1
  22. package/lib/cjs/clipping/ClipVector.js +1 -1
  23. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  24. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts +3 -2
  25. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  26. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  27. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts +2 -1
  28. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -1
  29. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  30. package/lib/cjs/core-geometry.d.ts +1 -3
  31. package/lib/cjs/core-geometry.d.ts.map +1 -1
  32. package/lib/cjs/core-geometry.js +1 -3
  33. package/lib/cjs/core-geometry.js.map +1 -1
  34. package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
  35. package/lib/cjs/curve/Arc3d.js +4 -4
  36. package/lib/cjs/curve/Arc3d.js.map +1 -1
  37. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts +93 -91
  38. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  39. package/lib/cjs/curve/CurveChainWithDistanceIndex.js +171 -152
  40. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  41. package/lib/cjs/curve/CurveCollection.d.ts +19 -19
  42. package/lib/cjs/curve/CurveCollection.d.ts.map +1 -1
  43. package/lib/cjs/curve/CurveCollection.js +20 -22
  44. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  45. package/lib/cjs/curve/CurveCurve.d.ts +47 -30
  46. package/lib/cjs/curve/CurveCurve.d.ts.map +1 -1
  47. package/lib/cjs/curve/CurveCurve.js +81 -46
  48. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  49. package/lib/cjs/curve/CurveFactory.d.ts +1 -1
  50. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  51. package/lib/cjs/curve/CurveLocationDetail.d.ts +17 -5
  52. package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -1
  53. package/lib/cjs/curve/CurveLocationDetail.js +14 -2
  54. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  55. package/lib/cjs/curve/CurveOps.d.ts +1 -1
  56. package/lib/cjs/curve/CurveOps.js.map +1 -1
  57. package/lib/cjs/curve/CurvePrimitive.d.ts +1 -2
  58. package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -1
  59. package/lib/cjs/curve/CurvePrimitive.js +2 -2
  60. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  61. package/lib/cjs/curve/CurveProcessor.d.ts +1 -1
  62. package/lib/cjs/curve/CurveProcessor.js.map +1 -1
  63. package/lib/cjs/curve/{CurveChain.d.ts → CurveTypes.d.ts} +6 -6
  64. package/lib/cjs/curve/CurveTypes.d.ts.map +1 -0
  65. package/lib/cjs/curve/{CurveChain.js → CurveTypes.js} +1 -1
  66. package/lib/cjs/curve/CurveTypes.js.map +1 -0
  67. package/lib/cjs/curve/CurveWireMomentsXYZ.d.ts +1 -1
  68. package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -1
  69. package/lib/cjs/curve/ParityRegion.d.ts +3 -3
  70. package/lib/cjs/curve/ParityRegion.d.ts.map +1 -1
  71. package/lib/cjs/curve/ParityRegion.js +2 -2
  72. package/lib/cjs/curve/ParityRegion.js.map +1 -1
  73. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts +3 -2
  74. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -1
  75. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js +2 -2
  76. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  77. package/lib/cjs/curve/Query/CurveSplitContext.d.ts +1 -1
  78. package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -1
  79. package/lib/cjs/curve/Query/CylindricalRange.d.ts +1 -1
  80. package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -1
  81. package/lib/cjs/curve/Query/InOutTests.d.ts +1 -1
  82. package/lib/cjs/curve/Query/InOutTests.js.map +1 -1
  83. package/lib/cjs/curve/Query/StrokeCountChain.d.ts +1 -1
  84. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -1
  85. package/lib/cjs/curve/RegionOps.d.ts +54 -5
  86. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  87. package/lib/cjs/curve/RegionOps.js +154 -3
  88. package/lib/cjs/curve/RegionOps.js.map +1 -1
  89. package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts +1 -1
  90. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  91. package/lib/cjs/curve/StrokeOptions.d.ts +20 -11
  92. package/lib/cjs/curve/StrokeOptions.d.ts.map +1 -1
  93. package/lib/cjs/curve/StrokeOptions.js +22 -11
  94. package/lib/cjs/curve/StrokeOptions.js.map +1 -1
  95. package/lib/cjs/curve/UnionRegion.d.ts +3 -3
  96. package/lib/cjs/curve/UnionRegion.d.ts.map +1 -1
  97. package/lib/cjs/curve/UnionRegion.js +2 -2
  98. package/lib/cjs/curve/UnionRegion.js.map +1 -1
  99. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.d.ts +1 -1
  100. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.d.ts.map +1 -1
  101. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js +2 -2
  102. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  103. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +233 -0
  104. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -0
  105. package/lib/cjs/curve/{CurveCurveCloseApproachXY.js → internalContexts/CurveCurveCloseApproachXY.js} +299 -202
  106. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -0
  107. package/lib/{esm/curve → cjs/curve/internalContexts}/CurveCurveIntersectXY.d.ts +45 -51
  108. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -0
  109. package/lib/cjs/curve/{CurveCurveIntersectXY.js → internalContexts/CurveCurveIntersectXY.js} +104 -115
  110. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -0
  111. package/lib/cjs/curve/{CurveCurveIntersectXYZ.d.ts → internalContexts/CurveCurveIntersectXYZ.d.ts} +18 -18
  112. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -0
  113. package/lib/cjs/curve/{CurveCurveIntersectXYZ.js → internalContexts/CurveCurveIntersectXYZ.js} +134 -108
  114. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -0
  115. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.d.ts +2 -2
  116. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.d.ts.map +1 -1
  117. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.js +9 -5
  118. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  119. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts +1 -1
  120. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  121. package/lib/cjs/geometry3d/BarycentricTriangle.d.ts +1 -0
  122. package/lib/cjs/geometry3d/BarycentricTriangle.d.ts.map +1 -1
  123. package/lib/cjs/geometry3d/BarycentricTriangle.js +1 -0
  124. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -1
  125. package/lib/cjs/geometry3d/FrameBuilder.d.ts +28 -11
  126. package/lib/cjs/geometry3d/FrameBuilder.d.ts.map +1 -1
  127. package/lib/cjs/geometry3d/FrameBuilder.js +57 -45
  128. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
  129. package/lib/cjs/geometry3d/GeometryHandler.d.ts +15 -26
  130. package/lib/cjs/geometry3d/GeometryHandler.d.ts.map +1 -1
  131. package/lib/cjs/geometry3d/GeometryHandler.js +23 -32
  132. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -1
  133. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts +0 -8
  134. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  135. package/lib/cjs/geometry3d/GrowableXYZArray.js +0 -16
  136. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -1
  137. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts +4 -4
  138. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  139. package/lib/cjs/geometry3d/IndexedXYZCollection.js +12 -0
  140. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -1
  141. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
  142. package/lib/cjs/geometry3d/Matrix3d.js +3 -6
  143. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  144. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  145. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  146. package/lib/cjs/geometry3d/Point3dVector3d.d.ts +1 -2
  147. package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -1
  148. package/lib/cjs/geometry3d/Point3dVector3d.js +0 -1
  149. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  150. package/lib/cjs/geometry3d/PolygonOps.d.ts +2 -2
  151. package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -1
  152. package/lib/cjs/geometry3d/PolygonOps.js +2 -3
  153. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  154. package/lib/cjs/geometry3d/Range.d.ts +1 -1
  155. package/lib/cjs/geometry3d/Range.d.ts.map +1 -1
  156. package/lib/cjs/geometry3d/Range.js +1 -1
  157. package/lib/cjs/geometry3d/Range.js.map +1 -1
  158. package/lib/cjs/geometry3d/Ray3d.d.ts +3 -1
  159. package/lib/cjs/geometry3d/Ray3d.d.ts.map +1 -1
  160. package/lib/cjs/geometry3d/Ray3d.js +4 -3
  161. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  162. package/lib/cjs/geometry3d/ReusableObjectCache.d.ts +2 -1
  163. package/lib/cjs/geometry3d/ReusableObjectCache.d.ts.map +1 -1
  164. package/lib/cjs/geometry3d/ReusableObjectCache.js +1 -1
  165. package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -1
  166. package/lib/cjs/geometry3d/SortablePolygon.d.ts +1 -1
  167. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -1
  168. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -1
  169. package/lib/cjs/geometry3d/Transform.js +4 -6
  170. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  171. package/lib/cjs/geometry3d/YawPitchRollAngles.js +1 -1
  172. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  173. package/lib/cjs/geometry4d/Map4d.d.ts +14 -8
  174. package/lib/cjs/geometry4d/Map4d.d.ts.map +1 -1
  175. package/lib/cjs/geometry4d/Map4d.js +38 -16
  176. package/lib/cjs/geometry4d/Map4d.js.map +1 -1
  177. package/lib/cjs/geometry4d/Matrix4d.d.ts.map +1 -1
  178. package/lib/cjs/geometry4d/Matrix4d.js +4 -2
  179. package/lib/cjs/geometry4d/Matrix4d.js.map +1 -1
  180. package/lib/cjs/geometry4d/Point4d.js.map +1 -1
  181. package/lib/cjs/numerics/Polynomials.d.ts +2 -2
  182. package/lib/cjs/numerics/Polynomials.d.ts.map +1 -1
  183. package/lib/cjs/numerics/Polynomials.js +2 -2
  184. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  185. package/lib/cjs/polyface/PolyfaceBuilder.d.ts +18 -6
  186. package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -1
  187. package/lib/cjs/polyface/PolyfaceBuilder.js +55 -25
  188. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  189. package/lib/cjs/polyface/PolyfaceClip.d.ts +16 -7
  190. package/lib/cjs/polyface/PolyfaceClip.d.ts.map +1 -1
  191. package/lib/cjs/polyface/PolyfaceClip.js +38 -7
  192. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
  193. package/lib/cjs/polyface/PolyfaceData.d.ts +5 -39
  194. package/lib/cjs/polyface/PolyfaceData.d.ts.map +1 -1
  195. package/lib/cjs/polyface/PolyfaceData.js +7 -41
  196. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  197. package/lib/cjs/polyface/PolyfaceQuery.d.ts +10 -8
  198. package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -1
  199. package/lib/cjs/polyface/PolyfaceQuery.js +64 -18
  200. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  201. package/lib/cjs/serialization/GeometrySamples.d.ts +6 -0
  202. package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -1
  203. package/lib/cjs/serialization/GeometrySamples.js +68 -2
  204. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  205. package/lib/cjs/solid/LinearSweep.d.ts +1 -1
  206. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  207. package/lib/cjs/solid/RotationalSweep.d.ts +1 -1
  208. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  209. package/lib/cjs/solid/RuledSweep.d.ts +1 -1
  210. package/lib/cjs/solid/RuledSweep.js.map +1 -1
  211. package/lib/cjs/solid/SweepContour.d.ts +35 -26
  212. package/lib/cjs/solid/SweepContour.d.ts.map +1 -1
  213. package/lib/cjs/solid/SweepContour.js +84 -100
  214. package/lib/cjs/solid/SweepContour.js.map +1 -1
  215. package/lib/cjs/topology/Graph.d.ts +29 -11
  216. package/lib/cjs/topology/Graph.d.ts.map +1 -1
  217. package/lib/cjs/topology/Graph.js +45 -26
  218. package/lib/cjs/topology/Graph.js.map +1 -1
  219. package/lib/cjs/topology/HalfEdgeMarkSet.d.ts +2 -2
  220. package/lib/cjs/topology/HalfEdgeMarkSet.d.ts.map +1 -1
  221. package/lib/cjs/topology/HalfEdgeMarkSet.js +4 -4
  222. package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -1
  223. package/lib/cjs/topology/Merging.d.ts +3 -0
  224. package/lib/cjs/topology/Merging.d.ts.map +1 -1
  225. package/lib/cjs/topology/Merging.js +19 -5
  226. package/lib/cjs/topology/Merging.js.map +1 -1
  227. package/lib/cjs/topology/Triangulation.d.ts +15 -7
  228. package/lib/cjs/topology/Triangulation.d.ts.map +1 -1
  229. package/lib/cjs/topology/Triangulation.js +89 -47
  230. package/lib/cjs/topology/Triangulation.js.map +1 -1
  231. package/lib/esm/Geometry.d.ts +4 -4
  232. package/lib/esm/Geometry.d.ts.map +1 -1
  233. package/lib/esm/Geometry.js +2 -2
  234. package/lib/esm/Geometry.js.map +1 -1
  235. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts +4 -3
  236. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts.map +1 -1
  237. package/lib/esm/clipping/AlternatingConvexClipTree.js +1 -1
  238. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  239. package/lib/esm/clipping/BooleanClipNode.d.ts +4 -3
  240. package/lib/esm/clipping/BooleanClipNode.d.ts.map +1 -1
  241. package/lib/esm/clipping/BooleanClipNode.js.map +1 -1
  242. package/lib/esm/clipping/ClipPlane.d.ts +2 -1
  243. package/lib/esm/clipping/ClipPlane.d.ts.map +1 -1
  244. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  245. package/lib/esm/clipping/ClipUtils.d.ts +17 -11
  246. package/lib/esm/clipping/ClipUtils.d.ts.map +1 -1
  247. package/lib/esm/clipping/ClipUtils.js +14 -8
  248. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  249. package/lib/esm/clipping/ClipVector.d.ts +6 -5
  250. package/lib/esm/clipping/ClipVector.d.ts.map +1 -1
  251. package/lib/esm/clipping/ClipVector.js +1 -1
  252. package/lib/esm/clipping/ClipVector.js.map +1 -1
  253. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts +3 -2
  254. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  255. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  256. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts +2 -1
  257. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -1
  258. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  259. package/lib/esm/core-geometry.d.ts +1 -3
  260. package/lib/esm/core-geometry.d.ts.map +1 -1
  261. package/lib/esm/core-geometry.js +1 -3
  262. package/lib/esm/core-geometry.js.map +1 -1
  263. package/lib/esm/curve/Arc3d.d.ts.map +1 -1
  264. package/lib/esm/curve/Arc3d.js +4 -4
  265. package/lib/esm/curve/Arc3d.js.map +1 -1
  266. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +93 -91
  267. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  268. package/lib/esm/curve/CurveChainWithDistanceIndex.js +171 -152
  269. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  270. package/lib/esm/curve/CurveCollection.d.ts +19 -19
  271. package/lib/esm/curve/CurveCollection.d.ts.map +1 -1
  272. package/lib/esm/curve/CurveCollection.js +19 -20
  273. package/lib/esm/curve/CurveCollection.js.map +1 -1
  274. package/lib/esm/curve/CurveCurve.d.ts +47 -30
  275. package/lib/esm/curve/CurveCurve.d.ts.map +1 -1
  276. package/lib/esm/curve/CurveCurve.js +81 -46
  277. package/lib/esm/curve/CurveCurve.js.map +1 -1
  278. package/lib/esm/curve/CurveFactory.d.ts +1 -1
  279. package/lib/esm/curve/CurveFactory.js.map +1 -1
  280. package/lib/esm/curve/CurveLocationDetail.d.ts +17 -5
  281. package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -1
  282. package/lib/esm/curve/CurveLocationDetail.js +12 -1
  283. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  284. package/lib/esm/curve/CurveOps.d.ts +1 -1
  285. package/lib/esm/curve/CurveOps.js.map +1 -1
  286. package/lib/esm/curve/CurvePrimitive.d.ts +1 -2
  287. package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -1
  288. package/lib/esm/curve/CurvePrimitive.js +2 -2
  289. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  290. package/lib/esm/curve/CurveProcessor.d.ts +1 -1
  291. package/lib/esm/curve/CurveProcessor.js.map +1 -1
  292. package/lib/esm/curve/{CurveChain.d.ts → CurveTypes.d.ts} +6 -6
  293. package/lib/esm/curve/CurveTypes.d.ts.map +1 -0
  294. package/lib/esm/curve/{CurveChain.js → CurveTypes.js} +1 -1
  295. package/lib/esm/curve/CurveTypes.js.map +1 -0
  296. package/lib/esm/curve/CurveWireMomentsXYZ.d.ts +1 -1
  297. package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -1
  298. package/lib/esm/curve/ParityRegion.d.ts +3 -3
  299. package/lib/esm/curve/ParityRegion.d.ts.map +1 -1
  300. package/lib/esm/curve/ParityRegion.js +2 -2
  301. package/lib/esm/curve/ParityRegion.js.map +1 -1
  302. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts +3 -2
  303. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -1
  304. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js +1 -1
  305. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  306. package/lib/esm/curve/Query/CurveSplitContext.d.ts +1 -1
  307. package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -1
  308. package/lib/esm/curve/Query/CylindricalRange.d.ts +1 -1
  309. package/lib/esm/curve/Query/CylindricalRange.js.map +1 -1
  310. package/lib/esm/curve/Query/InOutTests.d.ts +1 -1
  311. package/lib/esm/curve/Query/InOutTests.js.map +1 -1
  312. package/lib/esm/curve/Query/StrokeCountChain.d.ts +1 -1
  313. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -1
  314. package/lib/esm/curve/RegionOps.d.ts +54 -5
  315. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  316. package/lib/esm/curve/RegionOps.js +153 -3
  317. package/lib/esm/curve/RegionOps.js.map +1 -1
  318. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts +1 -1
  319. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  320. package/lib/esm/curve/StrokeOptions.d.ts +20 -11
  321. package/lib/esm/curve/StrokeOptions.d.ts.map +1 -1
  322. package/lib/esm/curve/StrokeOptions.js +22 -11
  323. package/lib/esm/curve/StrokeOptions.js.map +1 -1
  324. package/lib/esm/curve/UnionRegion.d.ts +3 -3
  325. package/lib/esm/curve/UnionRegion.d.ts.map +1 -1
  326. package/lib/esm/curve/UnionRegion.js +2 -2
  327. package/lib/esm/curve/UnionRegion.js.map +1 -1
  328. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.d.ts +1 -1
  329. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.d.ts.map +1 -1
  330. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js +2 -2
  331. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  332. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +233 -0
  333. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -0
  334. package/lib/esm/curve/{CurveCurveCloseApproachXY.js → internalContexts/CurveCurveCloseApproachXY.js} +299 -202
  335. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -0
  336. package/lib/{cjs/curve → esm/curve/internalContexts}/CurveCurveIntersectXY.d.ts +45 -51
  337. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -0
  338. package/lib/esm/curve/{CurveCurveIntersectXY.js → internalContexts/CurveCurveIntersectXY.js} +103 -113
  339. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -0
  340. package/lib/esm/curve/{CurveCurveIntersectXYZ.d.ts → internalContexts/CurveCurveIntersectXYZ.d.ts} +18 -18
  341. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -0
  342. package/lib/esm/curve/{CurveCurveIntersectXYZ.js → internalContexts/CurveCurveIntersectXYZ.js} +134 -108
  343. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -0
  344. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.d.ts +2 -2
  345. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.d.ts.map +1 -1
  346. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js +9 -5
  347. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  348. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts +1 -1
  349. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  350. package/lib/esm/geometry3d/BarycentricTriangle.d.ts +1 -0
  351. package/lib/esm/geometry3d/BarycentricTriangle.d.ts.map +1 -1
  352. package/lib/esm/geometry3d/BarycentricTriangle.js +1 -0
  353. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -1
  354. package/lib/esm/geometry3d/FrameBuilder.d.ts +28 -11
  355. package/lib/esm/geometry3d/FrameBuilder.d.ts.map +1 -1
  356. package/lib/esm/geometry3d/FrameBuilder.js +57 -45
  357. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
  358. package/lib/esm/geometry3d/GeometryHandler.d.ts +15 -26
  359. package/lib/esm/geometry3d/GeometryHandler.d.ts.map +1 -1
  360. package/lib/esm/geometry3d/GeometryHandler.js +23 -32
  361. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -1
  362. package/lib/esm/geometry3d/GrowableXYZArray.d.ts +0 -8
  363. package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  364. package/lib/esm/geometry3d/GrowableXYZArray.js +0 -16
  365. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -1
  366. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +4 -4
  367. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  368. package/lib/esm/geometry3d/IndexedXYZCollection.js +12 -0
  369. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -1
  370. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
  371. package/lib/esm/geometry3d/Matrix3d.js +3 -6
  372. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  373. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  374. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  375. package/lib/esm/geometry3d/Point3dVector3d.d.ts +1 -2
  376. package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -1
  377. package/lib/esm/geometry3d/Point3dVector3d.js +0 -1
  378. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  379. package/lib/esm/geometry3d/PolygonOps.d.ts +2 -2
  380. package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -1
  381. package/lib/esm/geometry3d/PolygonOps.js +2 -3
  382. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  383. package/lib/esm/geometry3d/Range.d.ts +1 -1
  384. package/lib/esm/geometry3d/Range.d.ts.map +1 -1
  385. package/lib/esm/geometry3d/Range.js +1 -1
  386. package/lib/esm/geometry3d/Range.js.map +1 -1
  387. package/lib/esm/geometry3d/Ray3d.d.ts +3 -1
  388. package/lib/esm/geometry3d/Ray3d.d.ts.map +1 -1
  389. package/lib/esm/geometry3d/Ray3d.js +4 -3
  390. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  391. package/lib/esm/geometry3d/ReusableObjectCache.d.ts +2 -1
  392. package/lib/esm/geometry3d/ReusableObjectCache.d.ts.map +1 -1
  393. package/lib/esm/geometry3d/ReusableObjectCache.js +1 -1
  394. package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -1
  395. package/lib/esm/geometry3d/SortablePolygon.d.ts +1 -1
  396. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -1
  397. package/lib/esm/geometry3d/Transform.d.ts.map +1 -1
  398. package/lib/esm/geometry3d/Transform.js +4 -6
  399. package/lib/esm/geometry3d/Transform.js.map +1 -1
  400. package/lib/esm/geometry3d/YawPitchRollAngles.js +1 -1
  401. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  402. package/lib/esm/geometry4d/Map4d.d.ts +14 -8
  403. package/lib/esm/geometry4d/Map4d.d.ts.map +1 -1
  404. package/lib/esm/geometry4d/Map4d.js +38 -16
  405. package/lib/esm/geometry4d/Map4d.js.map +1 -1
  406. package/lib/esm/geometry4d/Matrix4d.d.ts.map +1 -1
  407. package/lib/esm/geometry4d/Matrix4d.js +4 -2
  408. package/lib/esm/geometry4d/Matrix4d.js.map +1 -1
  409. package/lib/esm/geometry4d/Point4d.js.map +1 -1
  410. package/lib/esm/numerics/Polynomials.d.ts +2 -2
  411. package/lib/esm/numerics/Polynomials.d.ts.map +1 -1
  412. package/lib/esm/numerics/Polynomials.js +2 -2
  413. package/lib/esm/numerics/Polynomials.js.map +1 -1
  414. package/lib/esm/polyface/PolyfaceBuilder.d.ts +18 -6
  415. package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -1
  416. package/lib/esm/polyface/PolyfaceBuilder.js +55 -25
  417. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  418. package/lib/esm/polyface/PolyfaceClip.d.ts +16 -7
  419. package/lib/esm/polyface/PolyfaceClip.d.ts.map +1 -1
  420. package/lib/esm/polyface/PolyfaceClip.js +38 -7
  421. package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
  422. package/lib/esm/polyface/PolyfaceData.d.ts +5 -39
  423. package/lib/esm/polyface/PolyfaceData.d.ts.map +1 -1
  424. package/lib/esm/polyface/PolyfaceData.js +7 -41
  425. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  426. package/lib/esm/polyface/PolyfaceQuery.d.ts +10 -8
  427. package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -1
  428. package/lib/esm/polyface/PolyfaceQuery.js +64 -18
  429. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  430. package/lib/esm/serialization/GeometrySamples.d.ts +6 -0
  431. package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -1
  432. package/lib/esm/serialization/GeometrySamples.js +68 -2
  433. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  434. package/lib/esm/solid/LinearSweep.d.ts +1 -1
  435. package/lib/esm/solid/LinearSweep.js.map +1 -1
  436. package/lib/esm/solid/RotationalSweep.d.ts +1 -1
  437. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  438. package/lib/esm/solid/RuledSweep.d.ts +1 -1
  439. package/lib/esm/solid/RuledSweep.js.map +1 -1
  440. package/lib/esm/solid/SweepContour.d.ts +35 -26
  441. package/lib/esm/solid/SweepContour.d.ts.map +1 -1
  442. package/lib/esm/solid/SweepContour.js +84 -100
  443. package/lib/esm/solid/SweepContour.js.map +1 -1
  444. package/lib/esm/topology/Graph.d.ts +29 -11
  445. package/lib/esm/topology/Graph.d.ts.map +1 -1
  446. package/lib/esm/topology/Graph.js +45 -26
  447. package/lib/esm/topology/Graph.js.map +1 -1
  448. package/lib/esm/topology/HalfEdgeMarkSet.d.ts +2 -2
  449. package/lib/esm/topology/HalfEdgeMarkSet.d.ts.map +1 -1
  450. package/lib/esm/topology/HalfEdgeMarkSet.js +2 -2
  451. package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -1
  452. package/lib/esm/topology/Merging.d.ts +3 -0
  453. package/lib/esm/topology/Merging.d.ts.map +1 -1
  454. package/lib/esm/topology/Merging.js +19 -5
  455. package/lib/esm/topology/Merging.js.map +1 -1
  456. package/lib/esm/topology/Triangulation.d.ts +15 -7
  457. package/lib/esm/topology/Triangulation.d.ts.map +1 -1
  458. package/lib/esm/topology/Triangulation.js +89 -47
  459. package/lib/esm/topology/Triangulation.js.map +1 -1
  460. package/package.json +4 -4
  461. package/lib/cjs/curve/CurveChain.d.ts.map +0 -1
  462. package/lib/cjs/curve/CurveChain.js.map +0 -1
  463. package/lib/cjs/curve/CurveCurveCloseApproachXY.d.ts +0 -175
  464. package/lib/cjs/curve/CurveCurveCloseApproachXY.d.ts.map +0 -1
  465. package/lib/cjs/curve/CurveCurveCloseApproachXY.js.map +0 -1
  466. package/lib/cjs/curve/CurveCurveIntersectXY.d.ts.map +0 -1
  467. package/lib/cjs/curve/CurveCurveIntersectXY.js.map +0 -1
  468. package/lib/cjs/curve/CurveCurveIntersectXYZ.d.ts.map +0 -1
  469. package/lib/cjs/curve/CurveCurveIntersectXYZ.js.map +0 -1
  470. package/lib/esm/curve/CurveChain.d.ts.map +0 -1
  471. package/lib/esm/curve/CurveChain.js.map +0 -1
  472. package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts +0 -175
  473. package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts.map +0 -1
  474. package/lib/esm/curve/CurveCurveCloseApproachXY.js.map +0 -1
  475. package/lib/esm/curve/CurveCurveIntersectXY.d.ts.map +0 -1
  476. package/lib/esm/curve/CurveCurveIntersectXY.js.map +0 -1
  477. package/lib/esm/curve/CurveCurveIntersectXYZ.d.ts.map +0 -1
  478. package/lib/esm/curve/CurveCurveIntersectXYZ.js.map +0 -1
@@ -1,6 +1,3 @@
1
- /** @packageDocumentation
2
- * @module Curve
3
- */
4
1
  import { CurvePrimitive } from "../curve/CurvePrimitive";
5
2
  import { StrokeCountMap } from "../curve/Query/StrokeCountMap";
6
3
  import { GeometryHandler, IStrokeHandler } from "../geometry3d/GeometryHandler";
@@ -18,70 +15,69 @@ import { LineString3d } from "./LineString3d";
18
15
  import { OffsetOptions } from "./OffsetOptions";
19
16
  import { StrokeOptions } from "./StrokeOptions";
20
17
  /**
21
- * Annotation of an interval of a curve.
18
+ * Annotation of a fragment, i.e. an interval of a curve.
22
19
  * * The interval is marked with two pairs of numbers:
23
- * * * fraction0, fraction1 = fraction parameters along the child curve
24
- * * * distance0,distance1 = distances within containing CurveChainWithDistanceIndex
20
+ * * * fraction0, fraction1 = fraction parameters along the child curve.
21
+ * * * distance0, distance1 = distances within containing CurveChainWithDistanceIndex.
25
22
  * @public
26
23
  */
27
24
  export declare class PathFragment {
28
- /** Distance along parent to this fragment start */
25
+ /** Distance along parent to this fragment start. */
29
26
  chainDistance0: number;
30
- /** Distance along parent to this fragment end */
27
+ /** Distance along parent to this fragment end. */
31
28
  chainDistance1: number;
32
- /** Fractional position of this fragment start within its curve primitive. */
29
+ /** The start of this `PathFragment`, as a local fractional parameter of `this.childCurve`. */
33
30
  childFraction0: number;
34
- /** Fractional position of this fragment end within its curve primitive.. */
31
+ /** The end of this `PathFragment`, as a local fractional parameter of `this.childCurve`. */
35
32
  childFraction1: number;
36
- /** Curve primitive of this fragment, as presented in stroker. Note that this might have become a proxy. */
33
+ /** Curve primitive of this fragment, as presented in stroker. Note that this might have become a proxy. */
37
34
  childCurve: CurvePrimitive;
38
35
  /** Optional range */
39
36
  range?: Range3d;
40
37
  /** Working var for use in searches. */
41
38
  a: number;
42
- /** Create a fragment with complete fraction, distance and child data. */
39
+ /** Create a fragment with complete fraction, distance, and child data. */
43
40
  constructor(childFraction0: number, childFraction1: number, distance0: number, distance1: number, childCurve: CurvePrimitive, range?: Range3d);
41
+ /** Return true if the distance is within the distance limits of this fragment. */
42
+ containsChainDistance(distance: number): boolean;
44
43
  /**
45
- * Return true if the distance is within the distance limits of this fragment.
46
- * @param distance
44
+ * Return a quick minimum distance from spacePoint to the curve.
45
+ * * The returned distance is to the curve's range box if defined; otherwise, the true distance is computed.
46
+ * * Thus the returned distance may be SMALLER than the true distance to the curve, but not larger.
47
47
  */
48
- containsChainDistance(distance: number): boolean;
49
- /** Return a quick distance to the curve. This may be SMALLER than true distance but may not be larger */
50
48
  quickMinDistanceToChildCurve(spacePoint: Point3d): number;
51
49
  /**
52
- * Return an array with (references to) all the path fragments, sorted smallest to largest on the "a" value
53
- * equal to the quick min distance to the fragment
50
+ * Return an array with (references to) all the input path fragments, sorted smallest to largest on the "a" value,
51
+ * initialized with `quickMinDistanceToChildCurve`
54
52
  */
55
53
  static collectSortedQuickMinDistances(fragments: PathFragment[], spacePoint: Point3d): PathFragment[];
56
- /**
57
- * Return true if this fragment addresses `curve` and brackets `fraction`
58
- * @param distance
59
- */
54
+ /** Return true if `this` fragment addresses `curve` and brackets `fraction`. */
60
55
  containsChildCurveAndChildFraction(curve: CurvePrimitive, fraction: number): boolean;
61
56
  /**
62
- * Convert distance to local fraction, and apply that to interpolate between the stored curve fractions.
63
- * Note that proportional calculation does NOT account for nonuniform parameterization in the child curve.
57
+ * Convert distance to local fraction and apply that to interpolate between the stored curve fractions.
58
+ * Note that proportional calculation does NOT account for non-uniform parameterization in the child curve.
64
59
  */
65
60
  chainDistanceToInterpolatedChildFraction(distance: number): number;
66
- /** Convert chainDistance to true chidFraction, using detailed moveSignedDistanceFromFraction */
61
+ /** Convert the given chainDistance to a fraction along this childCurve using `moveSignedDistanceFromFraction`. */
67
62
  chainDistanceToAccurateChildFraction(chainDistance: number, allowExtrapolation?: boolean): number;
68
63
  /**
69
- * Return the scale factor to map childCurve fraction derivatives to chain fraction derivatives
70
- * @param globalDistance total length of the global curve.
64
+ * Return the scale factor to map childCurve fraction derivatives to chain fraction derivatives.
65
+ * @param globalDistance total length of the global curve
71
66
  */
72
67
  fractionScaleFactor(globalDistance: number): number;
73
68
  /**
74
69
  * Reverse the fraction and distance data.
75
- * * each child fraction `f` is replaced by `1-f`
76
- * * each `chainDistance` is replaced by `totalDistance-chainDistance`
70
+ * * Each child fraction `f` is replaced by `1-f`
71
+ * * Each `chainDistance` is replaced by `totalDistance - chainDistance`
72
+ * @param totalDistance the total distance
77
73
  */
78
74
  reverseFractionsAndDistances(totalDistance: number): void;
79
- /** @deprecated in 3.x. Use childFractionToChainDistance */
75
+ /** @deprecated in 3.x. Use `PathFragment.childFractionToChainDistance`. */
80
76
  childFractionTChainDistance(fraction: number): number;
81
77
  /**
82
- * Convert a fractional position on the childCurve to distance in the chain space.
83
- * * Return value is SIGNED -- will be negative when fraction < this.childFraction0.
84
- * @param fraction fraction along the curve within this fragment
78
+ * Convert a fractional position on the childCurve of this fragment to distance on the curve chain.
79
+ * * Return value is SIGNED and will be negative when `fraction < this.childFraction0`.
80
+ * @param fraction the fractional position on the childCurve of this fragment
85
81
  */
86
82
  childFractionToChainDistance(fraction: number): number;
87
83
  }
@@ -90,8 +86,7 @@ export declare class PathFragment {
90
86
  * distance along a CurveChain.
91
87
  * * For example if the total length of the chain is `L`, then the distance along the chain from parameters `t0`
92
88
  * to `t1` is easily computed as `L*(t1-t0)`.
93
- * * The curve chain can be any type derived from CurveChain.
94
- * * * i.e. either a `Path` or a `Loop`
89
+ * * The curve chain can be any type derived from `CurveChain`, i.e., either a `Path` or a `Loop`.
95
90
  * @public
96
91
  */
97
92
  export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
@@ -100,7 +95,11 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
100
95
  private readonly _path;
101
96
  private readonly _fragments;
102
97
  private readonly _totalLength;
103
- /** Test if other is a `CurveChainWithDistanceIndex` */
98
+ private static _numCalls;
99
+ private static _numTested;
100
+ private static _numAssigned;
101
+ private static _numCandidate;
102
+ /** Test if `other` is a `CurveChainWithDistanceIndex` */
104
103
  isSameGeometryClass(other: GeometryQuery): boolean;
105
104
  private constructor();
106
105
  /**
@@ -110,7 +109,7 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
110
109
  cloneTransformed(transform: Transform): CurveChainWithDistanceIndex | undefined;
111
110
  /**
112
111
  * Reference to the contained path.
113
- * * Do not modify the path. The distance index will be wrong.
112
+ * * Do not modify the path. The distance index will be wrong.
114
113
  */
115
114
  get path(): CurveChain;
116
115
  /**
@@ -127,9 +126,9 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
127
126
  * @returns Returns true if the curve is completely within tolerance of the plane.
128
127
  */
129
128
  isInPlane(plane: Plane3dByOriginAndUnitNormal): boolean;
130
- /** Return the start point of the primitive. The default implementation returns fractionToPoint (0.0) */
129
+ /** Return the start point of `this` curve. */
131
130
  startPoint(result?: Point3d): Point3d;
132
- /** Return the end point of the primitive. The default implementation returns fractionToPoint(1.0) */
131
+ /** Return the end point of of `this` curve. */
133
132
  endPoint(result?: Point3d): Point3d;
134
133
  /** Add strokes to caller-supplied linestring */
135
134
  emitStrokes(dest: LineString3d, options?: StrokeOptions): void;
@@ -146,7 +145,7 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
146
145
  /**
147
146
  * Return an array containing only the curve primitives.
148
147
  * @param collectorArray array to receive primitives (pushed -- the array is not cleared)
149
- * @param smallestPossiblePrimitives if true, recurse on the (otherwise hidden) children. If false, only push `this`.
148
+ * @param smallestPossiblePrimitives if true, recurse on the children. If false, only push `this`.
150
149
  * @param explodeLinestrings (if smallestPossiblePrimitives is true) whether to push a [[LineSegment3d]] for each
151
150
  * segment of a [[LineString3d]] child. If false, push only the [[LineString3d]].
152
151
  */
@@ -158,17 +157,13 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
158
157
  */
159
158
  computeAndAttachRecursiveStrokeCounts(options?: StrokeOptions, parentStrokeMap?: StrokeCountMap): void;
160
159
  /**
161
- * Second step of double dispatch: call `this._path.dispatchToGeometryHandler (handler)`
160
+ * Second step of double dispatch: call `this._path.dispatchToGeometryHandler (handler)`
162
161
  * * Note that this exposes the children individually to the handler.
163
162
  */
164
163
  dispatchToGeometryHandler(handler: GeometryHandler): any;
165
- /** Extend (increase) `rangeToExtend` as needed to include these curves (optionally transformed) */
164
+ /** Extend `rangeToExtend` as needed to include these curves (optionally transformed) */
166
165
  extendRange(rangeToExtend: Range3d, transform?: Transform): void;
167
- /**
168
- * Curve length is always positive.
169
- * @returns Returns a (high accuracy) length of the curve between fractional positions
170
- * @returns Returns the length of the curve.
171
- */
166
+ /** Return a (high accuracy and positive) length of the curve between fractional positions */
172
167
  curveLengthBetweenFractions(fraction0: number, fraction1: number): number;
173
168
  /**
174
169
  * Capture (not clone) a path into a new `CurveChainWithDistanceIndex`
@@ -176,29 +171,27 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
176
171
  */
177
172
  static createCapture(path: CurveChain, options?: StrokeOptions): CurveChainWithDistanceIndex;
178
173
  /**
179
- * Resolve a fraction of the CurveChain to a PathFragment
180
- * @param distance
181
- * @param allowExtrapolation
174
+ * Return the PathFragment object at the given `distance` along the chain.
175
+ * @param distance distance along the chain.
176
+ * @param allowExtrapolation if `true`, returns first fragment for negative distances and returns last fragment
177
+ * for distances larger than curve length. If `false` returns `undefined` for those out of bound distances.
182
178
  */
183
179
  chainDistanceToFragment(distance: number, allowExtrapolation?: boolean): PathFragment | undefined;
184
180
  /**
185
- * Resolve a fraction of the CurveChain to a PathFragment index
186
- * @param distance
187
- * @param allowExtrapolation
181
+ * Return the index of the PathFragment at the given `distance` along the chain.
182
+ * @param distance distance along the chain.
183
+ * @param allowExtrapolation if `true`, returns 0 for negative distances and returns last fragment index for
184
+ * distances larger than curve length. If `false` returns `undefined` for those out of bound distances.
188
185
  */
189
186
  protected chainDistanceToFragmentIndex(distance: number, allowExtrapolation?: boolean): number | undefined;
190
187
  /**
191
188
  * Convert distance along the chain to fraction along the chain.
192
- * @param distance distance along the chain
189
+ * @param distance distance along the chain.
193
190
  */
194
191
  chainDistanceToChainFraction(distance: number): number;
195
- /**
196
- * Resolve a fraction within a specific curve to a fragment.
197
- * @param curve
198
- * @param fraction
199
- */
192
+ /** Return the PathFragment object containing the point at the given `fraction` of the given child curve. */
200
193
  curveAndChildFractionToFragment(curve: CurvePrimitive, fraction: number): PathFragment | undefined;
201
- /** Returns the total length of curves. */
194
+ /** Returns the total length of `this` curve. */
202
195
  curveLength(): number;
203
196
  /**
204
197
  * Returns the total length of the path.
@@ -207,24 +200,29 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
207
200
  quickLength(): number;
208
201
  /**
209
202
  * Return the point (x,y,z) on the curve at fractional position along the chain.
210
- * @param fraction fractional position along the geometry.
211
- * @returns Returns a point on the curve.
203
+ * @param fraction fractional position along the curve.
204
+ * @returns a point on the curve.
212
205
  */
213
206
  fractionToPoint(fraction: number, result?: Point3d): Point3d;
214
207
  /**
215
208
  * Return the point (x,y,z) and derivative on the curve at fractional position.
216
- * * Note that this derivative is "derivative of xyz with respect to fraction."
217
- * * this derivative shows the speed of the "fractional point" moving along the curve.
218
- * * this is not generally a unit vector. use fractionToPointAndUnitTangent for a unit vector.
209
+ * * Note that the derivative is "derivative of xyz with respect to fraction".
210
+ * * The derivative shows the speed of the "fractional point" moving along the curve.
211
+ * * The derivative is not generally a unit vector. Use `fractionToPointAndUnitTangent` for a unit vector.
219
212
  * @param fraction fractional position along the geometry.
220
- * @returns Returns a ray whose origin is the curve point and direction is the derivative with respect to the fraction.
213
+ * @param result optional receiver for the result.
214
+ * @returns a ray whose origin is the curve point and direction is the derivative with respect to the fraction.
221
215
  */
222
216
  fractionToPointAndDerivative(fraction: number, result?: Ray3d): Ray3d;
223
217
  /**
224
- * Returns a ray whose origin is the curve point and direction is the unit tangent.
218
+ * Return the point (x,y,z) and normalized derivative on the curve at fractional position.
219
+ * * Note that the derivative is "derivative of xyz with respect to fraction".
220
+ * * The un-normalized derivative shows the speed of the "fractional point" moving along the curve.
221
+ * * To find the un-normalized derivative, use `fractionToPointAndDerivative`.
225
222
  * @param fraction fractional position on the curve
226
223
  * @param result optional receiver for the result.
227
- * Returns a ray whose origin is the curve point and direction is the unit tangent.
224
+ * @returns a ray whose origin is the curve point and direction is the normalized derivative with respect to
225
+ * the fraction.
228
226
  */
229
227
  fractionToPointAndUnitTangent(fraction: number, result?: Ray3d): Ray3d;
230
228
  /**
@@ -232,37 +230,39 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
232
230
  * * origin at fractional position along the curve
233
231
  * * vectorU is the first derivative, i.e. tangent vector with length equal to the rate of change with respect to
234
232
  * the fraction.
235
- * * vectorV is the second derivative, i.e.derivative of vectorU.
233
+ * * vectorV is the second derivative, i.e. derivative of vectorU which points in the direction of the curve's
234
+ * derivative's change.
236
235
  */
237
236
  fractionToPointAnd2Derivatives(fraction: number, result?: Plane3dByOriginAndVectors): Plane3dByOriginAndVectors | undefined;
238
237
  /**
239
238
  * Attempt to transform in place.
240
- * * Warning: If any child fails, this object becomes invalid. But that should never happen.
239
+ * * Warning: If any child transform fails, `this` object becomes invalid but that should never happen.
240
+ * @param transform the transform to be applied.
241
+ * @returns true if all of child transforms succeed and false otherwise.
241
242
  */
242
243
  tryTransformInPlace(transform: Transform): boolean;
243
244
  /** Reverse the curve's data so that its fractional stroking moves in the opposite direction. */
244
245
  reverseInPlace(): void;
245
246
  /**
246
- * Test for equality conditions:
247
- * * Mismatched totalLength is a quick exit condition
248
- * * If totalLength matches, recurse to the path for matching primitives.
249
- * @param other
247
+ * Test for equality conditions.
248
+ * * Mismatched total length is a quick exit condition.
249
+ * * If total length matches, recurse to the path for matching primitives.
250
250
  */
251
251
  isAlmostEqual(other: GeometryQuery): boolean;
252
252
  /**
253
- * Implement moveSignedDistanceFromFraction.
254
- * * See `CurvePrimitive` for parameter details.
255
- * * The returned location directly identifies fractional position along the CurveChainWithDistanceIndex, and
253
+ * (Attempt to) find a position on the curve at a signed distance from start fraction.
254
+ * * See `CurvePrimitive.moveSignedDistanceFromFraction` for parameter details.
255
+ * * The returned location directly identifies fractional position along the CurveChainWithDistanceIndex and
256
256
  * has pointer to an additional detail for the child curve.
257
257
  */
258
258
  moveSignedDistanceFromFraction(startFraction: number, signedDistance: number, allowExtension: boolean, result?: CurveLocationDetail): CurveLocationDetail;
259
259
  /**
260
+ * Return an object summarizing closest point test counts.
260
261
  * The returned object has
261
262
  * * numCalls = number of times closestPoint was called.
262
- * * numCurvesTested = number of curves tested with full closestPoint
263
- * * numAssigned = number of times a new minimum value was recorded
263
+ * * numCurvesTested = number of curves tested with full closestPoint.
264
+ * * numAssigned = number of times a new minimum value was recorded.
264
265
  * * numCandidate = number of curves that would be tested in worst case.
265
- * return an object summarizing closest point test counts
266
266
  * @param clear if true, counts are cleared after the return object is formed.
267
267
  */
268
268
  static getClosestPointTestCounts(clear?: boolean): {
@@ -271,36 +271,38 @@ export declare class CurveChainWithDistanceIndex extends CurvePrimitive {
271
271
  numAssigned: number;
272
272
  numCandidate: number;
273
273
  };
274
- private static _numCalls;
275
- private static _numTested;
276
- private static _numAssigned;
277
- private static _numCandidate;
278
274
  /**
279
275
  * Search for the curve point that is closest to the spacePoint.
280
- * * The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which
281
- * (via a handler) determines a CurveLocation detail among the children.
282
- * * The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex, and
276
+ * * The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which (via a handler)
277
+ * determines a CurveLocation detail among the children.
278
+ * * The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex and
283
279
  * has pointer to an additional detail for the child curve.
284
280
  * @param spacePoint point in space
285
281
  * @param extend true to extend the curve
286
- * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
282
+ * @returns a CurveLocationDetail structure that holds the details of the close point.
287
283
  */
288
284
  closestPoint(spacePoint: Point3d, extend: VariantCurveExtendParameter): CurveLocationDetail | undefined;
289
285
  /**
290
286
  * Construct an offset of each child as viewed in the xy-plane (ignoring z).
291
- * * No attempt is made to join the offset children. Use RegionOps.constructCurveXYOffset() to return a fully
287
+ * * No attempt is made to join the offset children. Use RegionOps.constructCurveXYOffset to return a fully
292
288
  * joined offset.
293
- * @param offsetDistanceOrOptions offset distance (positive to left of the instance curve), or options object
289
+ * @param offsetDistanceOrOptions offset distance (positive to left of the instance curve) or offset options object.
294
290
  */
295
291
  constructOffsetXY(offsetDistanceOrOptions: number | OffsetOptions): CurvePrimitive | CurvePrimitive[] | undefined;
296
292
  /**
297
293
  * Project instance geometry (via dispatch) onto the given ray, and return the extreme fractional parameters of
298
294
  * projection.
299
295
  * @param ray ray onto which the instance is projected. A `Vector3d` is treated as a `Ray3d` with zero origin.
300
- * @param lowHigh optional receiver for output
296
+ * @param lowHigh optional receiver for output.
301
297
  * @returns range of fractional projection parameters onto the ray, where 0.0 is start of the ray and 1.0 is the
302
298
  * end of the ray.
303
299
  */
304
300
  projectedParameterRange(ray: Vector3d | Ray3d, lowHigh?: Range1d): Range1d | undefined;
301
+ /**
302
+ * Compute the global chain detail corresponding to a local child detail.
303
+ * @param childDetail the local detail, with respect to a child of this chain.
304
+ * @returns the global detail, with respect to this chain.
305
+ */
306
+ computeChainDetail(childDetail: CurveLocationDetail): CurveLocationDetail | undefined;
305
307
  }
306
308
  //# sourceMappingURL=CurveChainWithDistanceIndex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurveChainWithDistanceIndex.d.ts","sourceRoot":"","sources":["../../../src/curve/CurveChainWithDistanceIndex.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuC,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AACrG,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;;;GAMG;AACH,qBAAa,YAAY;IACvB,mDA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