@itwin/core-geometry 4.3.0-dev.8 → 4.4.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 (336) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/lib/cjs/Geometry.d.ts +14 -2
  3. package/lib/cjs/Geometry.d.ts.map +1 -1
  4. package/lib/cjs/Geometry.js +20 -9
  5. package/lib/cjs/Geometry.js.map +1 -1
  6. package/lib/cjs/bspline/BSpline1dNd.d.ts +12 -2
  7. package/lib/cjs/bspline/BSpline1dNd.d.ts.map +1 -1
  8. package/lib/cjs/bspline/BSpline1dNd.js +27 -17
  9. package/lib/cjs/bspline/BSpline1dNd.js.map +1 -1
  10. package/lib/cjs/bspline/BSplineCurve.d.ts +30 -16
  11. package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -1
  12. package/lib/cjs/bspline/BSplineCurve.js +68 -44
  13. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  14. package/lib/cjs/bspline/BSplineCurve3dH.d.ts +27 -20
  15. package/lib/cjs/bspline/BSplineCurve3dH.d.ts.map +1 -1
  16. package/lib/cjs/bspline/BSplineCurve3dH.js +136 -87
  17. package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -1
  18. package/lib/cjs/bspline/BSplineSurface.d.ts +138 -74
  19. package/lib/cjs/bspline/BSplineSurface.d.ts.map +1 -1
  20. package/lib/cjs/bspline/BSplineSurface.js +242 -119
  21. package/lib/cjs/bspline/BSplineSurface.js.map +1 -1
  22. package/lib/cjs/bspline/Bezier1dNd.d.ts +18 -4
  23. package/lib/cjs/bspline/Bezier1dNd.d.ts.map +1 -1
  24. package/lib/cjs/bspline/Bezier1dNd.js +19 -5
  25. package/lib/cjs/bspline/Bezier1dNd.js.map +1 -1
  26. package/lib/cjs/bspline/BezierCurve3dH.d.ts.map +1 -1
  27. package/lib/cjs/bspline/BezierCurve3dH.js +2 -1
  28. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -1
  29. package/lib/cjs/bspline/KnotVector.d.ts +30 -33
  30. package/lib/cjs/bspline/KnotVector.d.ts.map +1 -1
  31. package/lib/cjs/bspline/KnotVector.js +76 -69
  32. package/lib/cjs/bspline/KnotVector.js.map +1 -1
  33. package/lib/cjs/clipping/ClipUtils.d.ts +32 -5
  34. package/lib/cjs/clipping/ClipUtils.d.ts.map +1 -1
  35. package/lib/cjs/clipping/ClipUtils.js +92 -11
  36. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  37. package/lib/cjs/core-geometry.d.ts +0 -2
  38. package/lib/cjs/core-geometry.d.ts.map +1 -1
  39. package/lib/cjs/core-geometry.js +0 -2
  40. package/lib/cjs/core-geometry.js.map +1 -1
  41. package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
  42. package/lib/cjs/curve/Arc3d.js +5 -5
  43. package/lib/cjs/curve/Arc3d.js.map +1 -1
  44. package/lib/cjs/curve/CurveLocationDetail.d.ts +1 -4
  45. package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -1
  46. package/lib/cjs/curve/CurveLocationDetail.js +4 -10
  47. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  48. package/lib/cjs/curve/CurveOps.d.ts +4 -5
  49. package/lib/cjs/curve/CurveOps.d.ts.map +1 -1
  50. package/lib/cjs/curve/CurveOps.js +1 -1
  51. package/lib/cjs/curve/CurveOps.js.map +1 -1
  52. package/lib/cjs/curve/CurveTypes.d.ts +14 -2
  53. package/lib/cjs/curve/CurveTypes.d.ts.map +1 -1
  54. package/lib/cjs/curve/CurveTypes.js.map +1 -1
  55. package/lib/cjs/curve/LineString3d.d.ts +3 -2
  56. package/lib/cjs/curve/LineString3d.d.ts.map +1 -1
  57. package/lib/cjs/curve/LineString3d.js +1 -0
  58. package/lib/cjs/curve/LineString3d.js.map +1 -1
  59. package/lib/cjs/curve/PointString3d.d.ts +2 -1
  60. package/lib/cjs/curve/PointString3d.d.ts.map +1 -1
  61. package/lib/cjs/curve/PointString3d.js.map +1 -1
  62. package/lib/cjs/curve/RegionOps.d.ts +5 -11
  63. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  64. package/lib/cjs/curve/RegionOps.js.map +1 -1
  65. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +15 -9
  66. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
  67. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js +68 -56
  68. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  69. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts +14 -16
  70. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  71. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js +51 -69
  72. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  73. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -1
  74. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js +3 -2
  75. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  76. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts +2 -3
  77. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts.map +1 -1
  78. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  79. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts +4 -4
  80. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -1
  81. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js +38 -36
  82. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  83. package/lib/cjs/geometry3d/Angle.d.ts +0 -1
  84. package/lib/cjs/geometry3d/Angle.d.ts.map +1 -1
  85. package/lib/cjs/geometry3d/Angle.js +0 -1
  86. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  87. package/lib/cjs/geometry3d/CoincidentGeometryOps.d.ts +21 -5
  88. package/lib/cjs/geometry3d/CoincidentGeometryOps.d.ts.map +1 -1
  89. package/lib/cjs/geometry3d/CoincidentGeometryOps.js +71 -45
  90. package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -1
  91. package/lib/cjs/geometry3d/Matrix3d.d.ts +20 -13
  92. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
  93. package/lib/cjs/geometry3d/Matrix3d.js +28 -21
  94. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  95. package/lib/cjs/geometry3d/Point3dVector3d.d.ts +11 -2
  96. package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -1
  97. package/lib/cjs/geometry3d/Point3dVector3d.js +16 -5
  98. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  99. package/lib/cjs/geometry3d/PointHelpers.d.ts +58 -20
  100. package/lib/cjs/geometry3d/PointHelpers.d.ts.map +1 -1
  101. package/lib/cjs/geometry3d/PointHelpers.js +213 -62
  102. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
  103. package/lib/cjs/geometry3d/Segment1d.d.ts +5 -1
  104. package/lib/cjs/geometry3d/Segment1d.d.ts.map +1 -1
  105. package/lib/cjs/geometry3d/Segment1d.js +11 -7
  106. package/lib/cjs/geometry3d/Segment1d.js.map +1 -1
  107. package/lib/cjs/geometry3d/Transform.d.ts +4 -5
  108. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -1
  109. package/lib/cjs/geometry3d/Transform.js +4 -5
  110. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  111. package/lib/cjs/geometry4d/Point4d.d.ts +13 -0
  112. package/lib/cjs/geometry4d/Point4d.d.ts.map +1 -1
  113. package/lib/cjs/geometry4d/Point4d.js +21 -0
  114. package/lib/cjs/geometry4d/Point4d.js.map +1 -1
  115. package/lib/cjs/numerics/BezierPolynomials.d.ts +88 -64
  116. package/lib/cjs/numerics/BezierPolynomials.d.ts.map +1 -1
  117. package/lib/cjs/numerics/BezierPolynomials.js +92 -73
  118. package/lib/cjs/numerics/BezierPolynomials.js.map +1 -1
  119. package/lib/cjs/numerics/Newton.d.ts +143 -61
  120. package/lib/cjs/numerics/Newton.d.ts.map +1 -1
  121. package/lib/cjs/numerics/Newton.js +233 -66
  122. package/lib/cjs/numerics/Newton.js.map +1 -1
  123. package/lib/cjs/numerics/PascalCoefficients.d.ts +8 -12
  124. package/lib/cjs/numerics/PascalCoefficients.d.ts.map +1 -1
  125. package/lib/cjs/numerics/PascalCoefficients.js +10 -12
  126. package/lib/cjs/numerics/PascalCoefficients.js.map +1 -1
  127. package/lib/cjs/numerics/Polynomials.d.ts +6 -10
  128. package/lib/cjs/numerics/Polynomials.d.ts.map +1 -1
  129. package/lib/cjs/numerics/Polynomials.js +6 -10
  130. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  131. package/lib/cjs/polyface/PolyfaceBuilder.d.ts +3 -0
  132. package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -1
  133. package/lib/cjs/polyface/PolyfaceBuilder.js +13 -2
  134. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  135. package/lib/cjs/polyface/PolyfaceData.d.ts +1 -1
  136. package/lib/cjs/polyface/PolyfaceData.js +1 -1
  137. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  138. package/lib/cjs/polyface/PolyfaceQuery.d.ts +38 -11
  139. package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -1
  140. package/lib/cjs/polyface/PolyfaceQuery.js +93 -16
  141. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  142. package/lib/cjs/serialization/BGFBReader.d.ts +10 -10
  143. package/lib/cjs/serialization/BGFBReader.d.ts.map +1 -1
  144. package/lib/cjs/serialization/BGFBReader.js +69 -42
  145. package/lib/cjs/serialization/BGFBReader.js.map +1 -1
  146. package/lib/cjs/serialization/BGFBWriter.d.ts +8 -8
  147. package/lib/cjs/serialization/BGFBWriter.d.ts.map +1 -1
  148. package/lib/cjs/serialization/BGFBWriter.js +80 -55
  149. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  150. package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -1
  151. package/lib/cjs/serialization/GeometrySamples.js +6 -8
  152. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  153. package/lib/cjs/serialization/IModelJsonSchema.d.ts +8 -14
  154. package/lib/cjs/serialization/IModelJsonSchema.d.ts.map +1 -1
  155. package/lib/cjs/serialization/IModelJsonSchema.js +85 -259
  156. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  157. package/lib/cjs/serialization/SerializationHelpers.d.ts +109 -0
  158. package/lib/cjs/serialization/SerializationHelpers.d.ts.map +1 -0
  159. package/lib/cjs/serialization/SerializationHelpers.js +591 -0
  160. package/lib/cjs/serialization/SerializationHelpers.js.map +1 -0
  161. package/lib/cjs/topology/Graph.d.ts +399 -366
  162. package/lib/cjs/topology/Graph.d.ts.map +1 -1
  163. package/lib/cjs/topology/Graph.js +531 -464
  164. package/lib/cjs/topology/Graph.js.map +1 -1
  165. package/lib/cjs/topology/MaskManager.d.ts +8 -9
  166. package/lib/cjs/topology/MaskManager.d.ts.map +1 -1
  167. package/lib/cjs/topology/MaskManager.js +11 -12
  168. package/lib/cjs/topology/MaskManager.js.map +1 -1
  169. package/lib/esm/Geometry.d.ts +14 -2
  170. package/lib/esm/Geometry.d.ts.map +1 -1
  171. package/lib/esm/Geometry.js +20 -9
  172. package/lib/esm/Geometry.js.map +1 -1
  173. package/lib/esm/bspline/BSpline1dNd.d.ts +12 -2
  174. package/lib/esm/bspline/BSpline1dNd.d.ts.map +1 -1
  175. package/lib/esm/bspline/BSpline1dNd.js +27 -17
  176. package/lib/esm/bspline/BSpline1dNd.js.map +1 -1
  177. package/lib/esm/bspline/BSplineCurve.d.ts +30 -16
  178. package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -1
  179. package/lib/esm/bspline/BSplineCurve.js +68 -44
  180. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  181. package/lib/esm/bspline/BSplineCurve3dH.d.ts +27 -20
  182. package/lib/esm/bspline/BSplineCurve3dH.d.ts.map +1 -1
  183. package/lib/esm/bspline/BSplineCurve3dH.js +137 -88
  184. package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -1
  185. package/lib/esm/bspline/BSplineSurface.d.ts +138 -74
  186. package/lib/esm/bspline/BSplineSurface.d.ts.map +1 -1
  187. package/lib/esm/bspline/BSplineSurface.js +242 -119
  188. package/lib/esm/bspline/BSplineSurface.js.map +1 -1
  189. package/lib/esm/bspline/Bezier1dNd.d.ts +18 -4
  190. package/lib/esm/bspline/Bezier1dNd.d.ts.map +1 -1
  191. package/lib/esm/bspline/Bezier1dNd.js +19 -5
  192. package/lib/esm/bspline/Bezier1dNd.js.map +1 -1
  193. package/lib/esm/bspline/BezierCurve3dH.d.ts.map +1 -1
  194. package/lib/esm/bspline/BezierCurve3dH.js +2 -1
  195. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -1
  196. package/lib/esm/bspline/KnotVector.d.ts +30 -33
  197. package/lib/esm/bspline/KnotVector.d.ts.map +1 -1
  198. package/lib/esm/bspline/KnotVector.js +76 -69
  199. package/lib/esm/bspline/KnotVector.js.map +1 -1
  200. package/lib/esm/clipping/ClipUtils.d.ts +32 -5
  201. package/lib/esm/clipping/ClipUtils.d.ts.map +1 -1
  202. package/lib/esm/clipping/ClipUtils.js +92 -11
  203. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  204. package/lib/esm/core-geometry.d.ts +0 -2
  205. package/lib/esm/core-geometry.d.ts.map +1 -1
  206. package/lib/esm/core-geometry.js +0 -2
  207. package/lib/esm/core-geometry.js.map +1 -1
  208. package/lib/esm/curve/Arc3d.d.ts.map +1 -1
  209. package/lib/esm/curve/Arc3d.js +5 -5
  210. package/lib/esm/curve/Arc3d.js.map +1 -1
  211. package/lib/esm/curve/CurveLocationDetail.d.ts +1 -4
  212. package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -1
  213. package/lib/esm/curve/CurveLocationDetail.js +4 -10
  214. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  215. package/lib/esm/curve/CurveOps.d.ts +4 -5
  216. package/lib/esm/curve/CurveOps.d.ts.map +1 -1
  217. package/lib/esm/curve/CurveOps.js +1 -1
  218. package/lib/esm/curve/CurveOps.js.map +1 -1
  219. package/lib/esm/curve/CurveTypes.d.ts +14 -2
  220. package/lib/esm/curve/CurveTypes.d.ts.map +1 -1
  221. package/lib/esm/curve/CurveTypes.js.map +1 -1
  222. package/lib/esm/curve/LineString3d.d.ts +3 -2
  223. package/lib/esm/curve/LineString3d.d.ts.map +1 -1
  224. package/lib/esm/curve/LineString3d.js +1 -0
  225. package/lib/esm/curve/LineString3d.js.map +1 -1
  226. package/lib/esm/curve/PointString3d.d.ts +2 -1
  227. package/lib/esm/curve/PointString3d.d.ts.map +1 -1
  228. package/lib/esm/curve/PointString3d.js.map +1 -1
  229. package/lib/esm/curve/RegionOps.d.ts +5 -11
  230. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  231. package/lib/esm/curve/RegionOps.js.map +1 -1
  232. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +15 -9
  233. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
  234. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js +69 -57
  235. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  236. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts +14 -16
  237. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  238. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js +51 -68
  239. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  240. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.d.ts.map +1 -1
  241. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js +3 -2
  242. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  243. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts +2 -3
  244. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts.map +1 -1
  245. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  246. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts +4 -4
  247. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -1
  248. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +38 -36
  249. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  250. package/lib/esm/geometry3d/Angle.d.ts +0 -1
  251. package/lib/esm/geometry3d/Angle.d.ts.map +1 -1
  252. package/lib/esm/geometry3d/Angle.js +0 -1
  253. package/lib/esm/geometry3d/Angle.js.map +1 -1
  254. package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts +21 -5
  255. package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts.map +1 -1
  256. package/lib/esm/geometry3d/CoincidentGeometryOps.js +71 -45
  257. package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -1
  258. package/lib/esm/geometry3d/Matrix3d.d.ts +20 -13
  259. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
  260. package/lib/esm/geometry3d/Matrix3d.js +28 -21
  261. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  262. package/lib/esm/geometry3d/Point3dVector3d.d.ts +11 -2
  263. package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -1
  264. package/lib/esm/geometry3d/Point3dVector3d.js +16 -5
  265. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  266. package/lib/esm/geometry3d/PointHelpers.d.ts +58 -20
  267. package/lib/esm/geometry3d/PointHelpers.d.ts.map +1 -1
  268. package/lib/esm/geometry3d/PointHelpers.js +213 -62
  269. package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
  270. package/lib/esm/geometry3d/Segment1d.d.ts +5 -1
  271. package/lib/esm/geometry3d/Segment1d.d.ts.map +1 -1
  272. package/lib/esm/geometry3d/Segment1d.js +11 -7
  273. package/lib/esm/geometry3d/Segment1d.js.map +1 -1
  274. package/lib/esm/geometry3d/Transform.d.ts +4 -5
  275. package/lib/esm/geometry3d/Transform.d.ts.map +1 -1
  276. package/lib/esm/geometry3d/Transform.js +4 -5
  277. package/lib/esm/geometry3d/Transform.js.map +1 -1
  278. package/lib/esm/geometry4d/Point4d.d.ts +13 -0
  279. package/lib/esm/geometry4d/Point4d.d.ts.map +1 -1
  280. package/lib/esm/geometry4d/Point4d.js +21 -0
  281. package/lib/esm/geometry4d/Point4d.js.map +1 -1
  282. package/lib/esm/numerics/BezierPolynomials.d.ts +88 -64
  283. package/lib/esm/numerics/BezierPolynomials.d.ts.map +1 -1
  284. package/lib/esm/numerics/BezierPolynomials.js +92 -73
  285. package/lib/esm/numerics/BezierPolynomials.js.map +1 -1
  286. package/lib/esm/numerics/Newton.d.ts +143 -61
  287. package/lib/esm/numerics/Newton.d.ts.map +1 -1
  288. package/lib/esm/numerics/Newton.js +229 -65
  289. package/lib/esm/numerics/Newton.js.map +1 -1
  290. package/lib/esm/numerics/PascalCoefficients.d.ts +8 -12
  291. package/lib/esm/numerics/PascalCoefficients.d.ts.map +1 -1
  292. package/lib/esm/numerics/PascalCoefficients.js +10 -12
  293. package/lib/esm/numerics/PascalCoefficients.js.map +1 -1
  294. package/lib/esm/numerics/Polynomials.d.ts +6 -10
  295. package/lib/esm/numerics/Polynomials.d.ts.map +1 -1
  296. package/lib/esm/numerics/Polynomials.js +6 -10
  297. package/lib/esm/numerics/Polynomials.js.map +1 -1
  298. package/lib/esm/polyface/PolyfaceBuilder.d.ts +3 -0
  299. package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -1
  300. package/lib/esm/polyface/PolyfaceBuilder.js +13 -2
  301. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  302. package/lib/esm/polyface/PolyfaceData.d.ts +1 -1
  303. package/lib/esm/polyface/PolyfaceData.js +1 -1
  304. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  305. package/lib/esm/polyface/PolyfaceQuery.d.ts +38 -11
  306. package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -1
  307. package/lib/esm/polyface/PolyfaceQuery.js +93 -16
  308. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  309. package/lib/esm/serialization/BGFBReader.d.ts +10 -10
  310. package/lib/esm/serialization/BGFBReader.d.ts.map +1 -1
  311. package/lib/esm/serialization/BGFBReader.js +69 -42
  312. package/lib/esm/serialization/BGFBReader.js.map +1 -1
  313. package/lib/esm/serialization/BGFBWriter.d.ts +8 -8
  314. package/lib/esm/serialization/BGFBWriter.d.ts.map +1 -1
  315. package/lib/esm/serialization/BGFBWriter.js +80 -55
  316. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  317. package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -1
  318. package/lib/esm/serialization/GeometrySamples.js +7 -9
  319. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  320. package/lib/esm/serialization/IModelJsonSchema.d.ts +8 -14
  321. package/lib/esm/serialization/IModelJsonSchema.d.ts.map +1 -1
  322. package/lib/esm/serialization/IModelJsonSchema.js +86 -260
  323. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  324. package/lib/esm/serialization/SerializationHelpers.d.ts +109 -0
  325. package/lib/esm/serialization/SerializationHelpers.d.ts.map +1 -0
  326. package/lib/esm/serialization/SerializationHelpers.js +588 -0
  327. package/lib/esm/serialization/SerializationHelpers.js.map +1 -0
  328. package/lib/esm/topology/Graph.d.ts +399 -366
  329. package/lib/esm/topology/Graph.d.ts.map +1 -1
  330. package/lib/esm/topology/Graph.js +531 -464
  331. package/lib/esm/topology/Graph.js.map +1 -1
  332. package/lib/esm/topology/MaskManager.d.ts +8 -9
  333. package/lib/esm/topology/MaskManager.d.ts.map +1 -1
  334. package/lib/esm/topology/MaskManager.js +11 -12
  335. package/lib/esm/topology/MaskManager.js.map +1 -1
  336. package/package.json +3 -4
@@ -1,188 +1,270 @@
1
+ import { CurvePrimitive } from "../curve/CurvePrimitive";
1
2
  import { Plane3dByOriginAndVectors } from "../geometry3d/Plane3dByOriginAndVectors";
2
- /** base class for Newton iterations in various dimensions.
3
- * Dimension-specific classes carry all dimension-related data and answer generalized queries
4
- * from this base class.
3
+ import { Point3d } from "../geometry3d/Point3dVector3d";
4
+ /**
5
+ * Base class for Newton iterations in various dimensions.
6
+ * Dimension-specific classes carry all dimension-related data and answer generalized queries from this base class.
5
7
  * @internal
6
8
  */
7
9
  export declare abstract class AbstractNewtonIterator {
8
- /** Compute a step. The current x and function values must be retained for use in later method calls */
10
+ /** Compute a step. The current x and function values must be retained for use in later method calls. */
9
11
  abstract computeStep(): boolean;
10
- /** return the current step size, scaled for use in tolerance tests.
11
- * * This is a single number, typically the max of various per-dimension `dx / (1+x)` for the x and dx of that dimension.
12
+ /**
13
+ * Return the current step size, scaled for use in tolerance tests.
14
+ * * This is a single number, typically the max of various per-dimension `dx/(1+x)` for the x and dx of that dimension.
12
15
  */
13
16
  abstract currentStepSize(): number;
14
17
  /**
15
- * Apply the current step (in all dimensions)
18
+ * Apply the current step (in all dimensions).
16
19
  * @param isFinalStep true if this is a final step.
17
20
  */
18
21
  abstract applyCurrentStep(isFinalStep: boolean): boolean;
19
22
  /**
23
+ * The constructor.
20
24
  * @param stepSizeTarget tolerance to consider a single step converged.
21
- * This number should be "moderately" strict. Because 2 successive convergences are required,
25
+ * This number should be "moderately" strict. Because 2 successive convergences are required,
22
26
  * it is expected that a first "accept" for (say) 10 to 14 digit step will be followed by another
23
- * iteration. A well behaved newton would then hypothetically double the number of digits to
24
- * 20 to 28. Since the IEEE double only carries 16 digits, this second-convergence step will
27
+ * iteration. A well behaved newton would then hypothetically double the number of digits to
28
+ * 20 to 28. Since the IEEE double only carries 16 digits, this second-convergence step will
25
29
  * typically achieve full precision.
26
30
  * @param successiveConvergenceTarget number of successive convergences required for acceptance.
27
- * @param maxIterations max number of iterations. A typical newton step converges in 3 to 6 iterations.
28
- * Allow 15 to 20 to catch difficult cases.
31
+ * @param maxIterations max number of iterations. A typical newton step converges in 3 to 6 iterations.
32
+ * Allow 15 to 20 to catch difficult cases.
29
33
  */
30
34
  protected constructor(stepSizeTolerance?: number, successiveConvergenceTarget?: number, maxIterations?: number);
31
- /** Number of consecutive steps which passed convergence condition */
35
+ /** Number of consecutive steps which passed convergence condition. */
32
36
  protected _numAccepted: number;
33
- /** Target number of successive convergences */
37
+ /** Target number of successive convergences. */
34
38
  protected _successiveConvergenceTarget: number;
35
- /** convergence target (the implementation-specific currentStepSize is compared to this) */
39
+ /** Convergence target (the implementation-specific currentStepSize is compared to this). */
36
40
  protected _stepSizeTolerance: number;
37
- /** Max iterations allowed */
41
+ /** Max iterations allowed. */
38
42
  protected _maxIterations: number;
39
- /** number of iterations (incremented at each step) */
43
+ /** Number of iterations (incremented at each step). */
40
44
  numIterations: number;
41
45
  /**
42
46
  * Test if a step is converged.
43
- * * Convergence is accepted with enough (_successiveConvergenceTarget) small steps (according to _stepSizeTolerance) occur in succession.
44
- * @param delta step size as reported by currentStepSize
47
+ * * Convergence is accepted with enough (_successiveConvergenceTarget) small steps (according to _stepSizeTolerance)
48
+ * occur in succession.
49
+ * @param delta step size as reported by currentStepSize.
45
50
  */
46
51
  testConvergence(delta: number): boolean;
47
52
  /**
48
53
  * Run iterations, calling various methods from base and derived classes:
49
54
  * * computeStep -- typically evaluate derivatives and solve linear system.
50
- * * currentStepSize -- return numeric measure of the step just computed by computeStep
55
+ * * currentStepSize -- return numeric measure of the step just computed by computeStep.
51
56
  * * testConvergence -- test if the step from currentStepSize (along with recent steps) is converged.
52
- * * applyCurrentStep -- apply the step to the independent variables
57
+ * * applyCurrentStep -- apply the step to the independent variables.
53
58
  */
54
59
  runIterations(): boolean;
55
60
  }
56
- /** object to evaluate a newton function. The object must retain most-recent function and derivative
61
+ /**
62
+ * Object to evaluate a newton function. The object must retain most-recent function and derivative
57
63
  * values for immediate query.
58
64
  * @internal
59
65
  */
60
66
  export declare abstract class NewtonEvaluatorRtoRD {
61
- /** evaluate the function and its derivative at x. */
67
+ /** Evaluate the function and its derivative at x. */
62
68
  abstract evaluate(x: number): boolean;
63
- /** most recent function value */
69
+ /** Most recent function value, i.e., f(x_n). */
64
70
  currentF: number;
65
- /** most recent evaluated derivative */
71
+ /** Most recent evaluated derivative, i.e., f'(x_n). */
66
72
  currentdFdX: number;
67
73
  }
68
74
  /**
69
75
  * Newton iterator for use when both function and derivative can be evaluated.
76
+ * To solve `f(x) = 0`, the Newton iteration is `x_{n+1} = x_n - dx = x_n - f(x_n)/f'(x_n)`.
77
+ * To solve `f(x) = target` which is equivalent to solving `g(x) = f(x) - target = 0`, the Newton iteration is
78
+ * `x_{n+1} = x_n - dx = x_n - g(x_n)/g'(x_n) = x_n - (f(x_n)-target)/f'(x_n)`.
70
79
  * @internal
71
80
  */
72
81
  export declare class Newton1dUnbounded extends AbstractNewtonIterator {
73
82
  private _func;
83
+ /** Current step is dx. */
74
84
  private _currentStep;
85
+ /** Current X is x_n. */
75
86
  private _currentX;
87
+ /** The target */
76
88
  private _target;
77
89
  /**
78
- * Constructor for 1D newton iteration with approximate derivatives.
79
- * @param func function that returns both function and derivative.
90
+ * Constructor for 1D newton iteration with derivatives.
91
+ * @param func function that returns both function value and derivative.
80
92
  */
81
93
  constructor(func: NewtonEvaluatorRtoRD);
82
- /** Set the independent variable */
94
+ /** Set the independent variable, i.e., x_n. */
83
95
  setX(x: number): boolean;
84
- /** Get the independent variable */
96
+ /** Get the independent variable, i.e., x_n. */
85
97
  getX(): number;
86
- /** Set the target function value */
98
+ /** Set the target function value. */
87
99
  setTarget(y: number): void;
88
- /** move the current X by the just-computed step */
100
+ /** Move the current X by the just-computed step, i.e., `x_n - dx`. */
89
101
  applyCurrentStep(): boolean;
90
- /** Compute the univariate newton step. */
102
+ /** Compute the univariate newton step dx. */
91
103
  computeStep(): boolean;
92
- /** Return the current step size as a relative number. */
104
+ /** Return the current step size as a relative number, i.e., `|dx / (1 + |x_n|)|`. */
93
105
  currentStepSize(): number;
94
106
  }
95
- /** object to evaluate a newton function (without derivative). The object must retain most-recent function value.
107
+ /**
108
+ * Object to evaluate a newton function (without derivative). The object must retain most-recent function value.
96
109
  * @internal
97
110
  */
98
111
  export declare abstract class NewtonEvaluatorRtoR {
99
112
  /** Evaluate function value into member currentF */
100
113
  abstract evaluate(x: number): boolean;
101
- /** Most recent function evaluation. */
114
+ /** Most recent function evaluation, i.e., f(x_n). */
102
115
  currentF: number;
103
116
  }
104
- /** Newton iteration for a univariate function, using approximate derivatives.
117
+ /**
118
+ * Newton iteration for a univariate function, using approximate derivatives.
119
+ * To approximate the derivatives we use a small step `h`, i.e., `f'(x_n) = (f(x_n + h) - f(x_n)) / h`.
120
+ * Therefore, to solve `f(x) = 0`, the iteration is
121
+ * `x_{n+1} = x_n - dx = x_n - f(x_n)/f'(x_n) = x_n - f(x_n) * h / (f(x_n + h) - f(x_n))`.
105
122
  * @internal
106
123
  */
107
124
  export declare class Newton1dUnboundedApproximateDerivative extends AbstractNewtonIterator {
108
125
  private _func;
126
+ /** Current step is dx. */
109
127
  private _currentStep;
128
+ /** Current X is x_n. */
110
129
  private _currentX;
111
- /** Step size for iteration.
130
+ /**
131
+ * Step size for approximate derivative for the iteration.
112
132
  * * Initialized to 1e-8, which is appropriate for iteration in fraction space.
113
133
  * * Should be larger for iteration with real distance as x.
114
134
  */
115
135
  derivativeH: number;
116
136
  /**
117
137
  * Constructor for 1D newton iteration with approximate derivatives.
118
- * @param func function that returns both function and derivative.
138
+ * @param func function that only returns function value (and not derivative).
119
139
  */
120
140
  constructor(func: NewtonEvaluatorRtoR);
121
- /** Set the x (independent, iterated) value */
141
+ /** Set the independent variable, i.e., x_n. */
122
142
  setX(x: number): boolean;
123
- /** Get the independent variable */
143
+ /** Get the independent variable, i.e., x_n. */
124
144
  getX(): number;
125
- /** move the current X by the just-computed step */
145
+ /** Move the current X by the just-computed step, i.e., `x_n - dx`. */
126
146
  applyCurrentStep(): boolean;
127
- /** Univariate newton step computed with APPROXIMATE derivative. */
147
+ /** Univariate newton step dx, computed with approximate derivative. */
128
148
  computeStep(): boolean;
129
- /** Return the current step size as a relative number. */
149
+ /** Return the current step size as a relative number, i.e., `|dx / (1 + |x_n|)|`. */
130
150
  currentStepSize(): number;
131
151
  }
132
- /** object to evaluate a 2-parameter newton function (with derivatives!!).
152
+ /**
153
+ * Object to evaluate a 2-parameter newton function with derivatives.
133
154
  * @internal
134
155
  */
135
156
  export declare abstract class NewtonEvaluatorRRtoRRD {
136
- /** Iteration controller calls this to ask for evaluation of the function and its two partial derivatives.
157
+ /**
158
+ * Iteration controller calls this to ask for evaluation of the function and its two partial derivatives.
137
159
  * * The implementation returns true, it must set the currentF object.
138
160
  */
139
161
  abstract evaluate(x: number, y: number): boolean;
140
- /** most recent function evaluation as xy parts of the plane */
162
+ /**
163
+ * Most recent function evaluation as parts of the plane.
164
+ * * See doc of [[Newton2dUnboundedWithDerivative]] class for info on 2d newton method.
165
+ * * For `F(u,v) := (x(u,v), y(u,v))` the returned plane stores the following evaluations at current value `X := (u,v)`:
166
+ * * `origin` = F(X) = (x(X), y(X))
167
+ * * `vectorU` = F_u(X) = partial deriv of F wrt u at X = (x_u(X), y_u(X)) = 1st col of Jacobian matrix evaluated at X
168
+ * * `vectorV` = F_v(X) = partial deriv of F wrt v at X = (x_v(X), y_v(X)) = 2nd col of Jacobian matrix evaluated at X
169
+ */
141
170
  currentF: Plane3dByOriginAndVectors;
142
171
  /**
143
- * constructor.
172
+ * Constructor.
144
173
  * * This creates a currentF object to (repeatedly) receive function and derivatives.
145
174
  */
146
175
  constructor();
147
176
  }
148
177
  /**
149
178
  * Implement evaluation steps for newton iteration in 2 dimensions, using caller supplied NewtonEvaluatorRRtoRRD object.
179
+ * * Suppose we want to find the roots of `F(u,v) := (x(u,v), y(u,v))`. Writing `X := (u,v)` and `F(X)` as column vectors,
180
+ * the 2D Newton's iteration to find a root of `F` is given by:
181
+ * `X_{n+1} = X_n - dX = X_n - JInv(X_n)F(X_n)`, where `JInv` is the inverse of the Jacobian matrix `J`, and `J` is
182
+ * defined by the partial derivatives of the component functions of F:
183
+ *
184
+ * `[dx/du dx/dv]`
185
+ *
186
+ * `[dy/du dy/dv]`
150
187
  * @internal
151
188
  */
152
189
  export declare class Newton2dUnboundedWithDerivative extends AbstractNewtonIterator {
153
190
  private _func;
191
+ /** Current step, or dX = (du, dv). */
154
192
  private _currentStep;
193
+ /** Current uv parameters, or X_n = (u_n, v_n). */
155
194
  private _currentUV;
195
+ /**
196
+ * Constructor for 2D newton iteration with derivatives.
197
+ * @param func function that returns both function value and derivative.
198
+ */
156
199
  constructor(func: NewtonEvaluatorRRtoRRD);
157
- /** Set the current uv coordinates for current iteration */
158
- setUV(x: number, y: number): boolean;
159
- /** Get the current u coordinate */
200
+ /** Set the current uv parameters, i.e., `X_n = (u_n, v_n)`. */
201
+ setUV(u: number, v: number): boolean;
202
+ /** Get the current u parameter of X_n, i.e., u_n. */
160
203
  getU(): number;
161
- /** Get the current v coordinate */
204
+ /** Get the current v parameter of X_n, i.e., v_n. */
162
205
  getV(): number;
163
- /** Move the currentUV coordinate by currentStep. */
206
+ /** Update the current uv parameter by currentStep, i.e., compute `X_{n+1} := X_n - dX = (u_n - du, v_n - dv)`. */
164
207
  applyCurrentStep(): boolean;
165
- /** Evaluate the functions and derivatives at this._currentUV
166
- * Invert the jacobian and compute the this._currentStep.
208
+ /**
209
+ * Evaluate the functions and derivatives at `X_n = (u_n, v_n)`, and solve the Jacobian matrix equation to
210
+ * compute `dX = (du, dv)`.
167
211
  */
168
212
  computeStep(): boolean;
169
213
  /**
170
- * Return the largest relative step of the x,y, components of the current step.
214
+ * Return the current relative step size, i.e., the larger absolute component of `dX / (1 + |X_n|)`
171
215
  */
172
216
  currentStepSize(): number;
173
217
  }
174
218
  /**
175
- * SimpleNewton has static methods for newton methods with evaluated functions presented as immediate arguments (not function object)
219
+ * SimpleNewton has static methods for newton methods with evaluated functions presented as immediate arguments
220
+ * (not function object).
176
221
  * @internal
177
222
  */
178
223
  export declare class SimpleNewton {
179
- /** Run a one-dimensional newton iteration with separate functions for function and derivative.
180
- * * completion is at 2 (TWO) successive passes at (absoluteTolerance + relTol * abs (x)), where relTol is chosen internally.
181
- * * absoluteTolerance is usually aggressively tight -- should come into play only for x near zero.
182
- * * The relTol is fluffy (for instance around 1e-11) but in properly converging cases the extra pass after first success
183
- * normally moves to full machine precision.
224
+ /**
225
+ * Run a one-dimensional newton iteration with separate functions for function and derivative.
226
+ * * Completion is at 2 (TWO) successive passes at `absoluteTolerance + relTol * abs(x)`, where relTol is
227
+ * chosen internally.
228
+ * * `absoluteTolerance` is usually aggressively tight -- should come into play only for x near zero.
229
+ * * The `relTol` is fluffy (for instance around 1e-11) but in properly converging cases the extra pass after
230
+ * first success normally moves to full machine precision.
184
231
  * * This is an open-loop newton -- it just runs, and returns undefined if anything bad happens.
185
232
  */
186
233
  static runNewton1D(x: number, func: (x: number) => number | undefined, derivative: (x: number) => number | undefined, absoluteTolerance?: number): number | undefined;
187
234
  }
235
+ /**
236
+ * Class to evaluate XY intersection between 2 curve primitives using the Newton method.
237
+ * @internal
238
+ */
239
+ export declare class CurveCurveIntersectionXYRRToRRD extends NewtonEvaluatorRRtoRRD {
240
+ private _curveP;
241
+ private _curveQ;
242
+ private _rayP;
243
+ private _rayQ;
244
+ constructor(curveP: CurvePrimitive, curveQ: CurvePrimitive);
245
+ evaluate(fractionU: number, fractionV: number): boolean;
246
+ }
247
+ /**
248
+ * Class to evaluate XY close approach between a curve primitive and a point using the Newton method.
249
+ * @internal
250
+ */
251
+ export declare class CurvePointCloseApproachXYRtoRD extends NewtonEvaluatorRtoRD {
252
+ private _curveP;
253
+ private _pointQ;
254
+ private _planeP;
255
+ constructor(curveP: CurvePrimitive, pointQ: Point3d);
256
+ evaluate(fractionU: number): boolean;
257
+ }
258
+ /**
259
+ * Class to evaluate XY close approach between 2 curve primitives using the Newton method.
260
+ * @internal
261
+ */
262
+ export declare class CurveCurveCloseApproachXYRRtoRRD extends NewtonEvaluatorRRtoRRD {
263
+ private _curveP;
264
+ private _curveQ;
265
+ private _planeP;
266
+ private _planeQ;
267
+ constructor(curveP: CurvePrimitive, curveQ: CurvePrimitive);
268
+ evaluate(fractionU: number, fractionV: number): boolean;
269
+ }
188
270
  //# sourceMappingURL=Newton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Newton.d.ts","sourceRoot":"","sources":["../../../src/numerics/Newton.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAKpF;;;;GAIG;AACH,8BAAsB,sBAAsB;IAC1C,wGAAwG;aACxF,WAAW,IAAI,OAAO;IACtC;;OAEG;aACa,eAAe,IAAI,MAAM;IACzC;;;OAGG;aACa,gBAAgB,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAC/D;;;;;;;;;;OAUG;IACH,SAAS,aACP,iBAAiB,GAAE,MAAgB,EACnC,2BAA2B,GAAE,MAAU,EACvC,aAAa,GAAE,MAAW;IAK5B,qEAAqE;IACrE,SAAS,CAAC,YAAY,EAAE,MAAM,CAAK;IACnC,+CAA+C;IAC/C,SAAS,CAAC,4BAA4B,EAAE,MAAM,CAAC;IAC/C,2FAA2F;IAC3F,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACrC,6BAA6B;IAC7B,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC;IACjC,sDAAsD;IAC/C,aAAa,EAAE,MAAM,CAAK;IACjC;;;;OAIG;IACI,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAQ9C;;;;;;OAMG;IACI,aAAa,IAAI,OAAO;CAYhC;AACD;;;GAGG;AACH,8BAAsB,oBAAoB;IACxC,qDAAqD;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