@itwin/core-geometry 4.1.0-dev.7 → 4.1.0-dev.71

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 (614) hide show
  1. package/CHANGELOG.md +87 -1
  2. package/lib/cjs/Geometry.js.map +1 -1
  3. package/lib/cjs/bspline/BSplineCurve.d.ts +1 -1
  4. package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -1
  5. package/lib/cjs/bspline/BSplineCurve.js +2 -2
  6. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  7. package/lib/cjs/bspline/BSplineSurface.d.ts.map +1 -1
  8. package/lib/cjs/bspline/BSplineSurface.js +1 -1
  9. package/lib/cjs/bspline/BSplineSurface.js.map +1 -1
  10. package/lib/cjs/bspline/BezierCurveBase.d.ts +1 -1
  11. package/lib/cjs/bspline/BezierCurveBase.d.ts.map +1 -1
  12. package/lib/cjs/bspline/BezierCurveBase.js +2 -2
  13. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -1
  14. package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -1
  15. package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts +15 -17
  16. package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts.map +1 -1
  17. package/lib/cjs/clipping/AlternatingConvexClipTree.js +24 -20
  18. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  19. package/lib/cjs/clipping/BooleanClipFactory.d.ts +28 -28
  20. package/lib/cjs/clipping/BooleanClipFactory.d.ts.map +1 -1
  21. package/lib/cjs/clipping/BooleanClipFactory.js +28 -28
  22. package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -1
  23. package/lib/cjs/clipping/BooleanClipNode.d.ts +11 -11
  24. package/lib/cjs/clipping/BooleanClipNode.d.ts.map +1 -1
  25. package/lib/cjs/clipping/BooleanClipNode.js +11 -11
  26. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -1
  27. package/lib/cjs/clipping/ClipPlane.d.ts +73 -76
  28. package/lib/cjs/clipping/ClipPlane.d.ts.map +1 -1
  29. package/lib/cjs/clipping/ClipPlane.js +105 -86
  30. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  31. package/lib/cjs/clipping/ClipPrimitive.d.ts +78 -47
  32. package/lib/cjs/clipping/ClipPrimitive.d.ts.map +1 -1
  33. package/lib/cjs/clipping/ClipPrimitive.js +112 -54
  34. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -1
  35. package/lib/cjs/clipping/ClipUtils.d.ts +54 -44
  36. package/lib/cjs/clipping/ClipUtils.d.ts.map +1 -1
  37. package/lib/cjs/clipping/ClipUtils.js +33 -29
  38. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  39. package/lib/cjs/clipping/ClipVector.d.ts +39 -25
  40. package/lib/cjs/clipping/ClipVector.d.ts.map +1 -1
  41. package/lib/cjs/clipping/ClipVector.js +35 -23
  42. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  43. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts +61 -38
  44. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  45. package/lib/cjs/clipping/ConvexClipPlaneSet.js +64 -41
  46. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  47. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts +49 -30
  48. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -1
  49. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js +50 -30
  50. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  51. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +2 -2
  52. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -1
  53. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js +2 -2
  54. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  55. package/lib/cjs/core-geometry.d.ts +3 -1
  56. package/lib/cjs/core-geometry.d.ts.map +1 -1
  57. package/lib/cjs/core-geometry.js +3 -1
  58. package/lib/cjs/core-geometry.js.map +1 -1
  59. package/lib/cjs/curve/Arc3d.d.ts +2 -1
  60. package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
  61. package/lib/cjs/curve/Arc3d.js +3 -2
  62. package/lib/cjs/curve/Arc3d.js.map +1 -1
  63. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts +62 -42
  64. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  65. package/lib/cjs/curve/CurveChainWithDistanceIndex.js +71 -48
  66. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  67. package/lib/cjs/curve/CurveCollection.d.ts +36 -26
  68. package/lib/cjs/curve/CurveCollection.d.ts.map +1 -1
  69. package/lib/cjs/curve/CurveCollection.js +46 -39
  70. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  71. package/lib/cjs/curve/CurveCurve.d.ts.map +1 -1
  72. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  73. package/lib/cjs/curve/CurveFactory.d.ts +67 -3
  74. package/lib/cjs/curve/CurveFactory.d.ts.map +1 -1
  75. package/lib/cjs/curve/CurveFactory.js +75 -7
  76. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  77. package/lib/cjs/curve/CurveLocationDetail.d.ts +6 -6
  78. package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -1
  79. package/lib/cjs/curve/CurveLocationDetail.js +9 -7
  80. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  81. package/lib/cjs/curve/CurveOps.d.ts +77 -0
  82. package/lib/cjs/curve/CurveOps.d.ts.map +1 -0
  83. package/lib/cjs/curve/CurveOps.js +160 -0
  84. package/lib/cjs/curve/CurveOps.js.map +1 -0
  85. package/lib/cjs/curve/CurvePrimitive.d.ts +21 -18
  86. package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -1
  87. package/lib/cjs/curve/CurvePrimitive.js +4 -3
  88. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  89. package/lib/cjs/curve/GeometryQuery.d.ts +2 -2
  90. package/lib/cjs/curve/GeometryQuery.d.ts.map +1 -1
  91. package/lib/cjs/curve/GeometryQuery.js +2 -2
  92. package/lib/cjs/curve/GeometryQuery.js.map +1 -1
  93. package/lib/cjs/curve/LineSegment3d.d.ts +7 -5
  94. package/lib/cjs/curve/LineSegment3d.d.ts.map +1 -1
  95. package/lib/cjs/curve/LineSegment3d.js +6 -6
  96. package/lib/cjs/curve/LineSegment3d.js.map +1 -1
  97. package/lib/cjs/curve/LineString3d.d.ts +2 -2
  98. package/lib/cjs/curve/LineString3d.d.ts.map +1 -1
  99. package/lib/cjs/curve/LineString3d.js +3 -3
  100. package/lib/cjs/curve/LineString3d.js.map +1 -1
  101. package/lib/cjs/curve/Loop.d.ts +7 -5
  102. package/lib/cjs/curve/Loop.d.ts.map +1 -1
  103. package/lib/cjs/curve/Loop.js +18 -6
  104. package/lib/cjs/curve/Loop.js.map +1 -1
  105. package/lib/cjs/curve/OffsetOptions.d.ts +97 -0
  106. package/lib/cjs/curve/OffsetOptions.d.ts.map +1 -0
  107. package/lib/cjs/curve/OffsetOptions.js +166 -0
  108. package/lib/cjs/curve/OffsetOptions.js.map +1 -0
  109. package/lib/cjs/curve/ParityRegion.d.ts +7 -7
  110. package/lib/cjs/curve/ParityRegion.d.ts.map +1 -1
  111. package/lib/cjs/curve/ParityRegion.js +19 -11
  112. package/lib/cjs/curve/ParityRegion.js.map +1 -1
  113. package/lib/cjs/curve/Path.d.ts +6 -6
  114. package/lib/cjs/curve/Path.d.ts.map +1 -1
  115. package/lib/cjs/curve/Path.js +15 -9
  116. package/lib/cjs/curve/Path.js.map +1 -1
  117. package/lib/cjs/curve/ProxyCurve.d.ts +5 -7
  118. package/lib/cjs/curve/ProxyCurve.d.ts.map +1 -1
  119. package/lib/cjs/curve/ProxyCurve.js +7 -7
  120. package/lib/cjs/curve/ProxyCurve.js.map +1 -1
  121. package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -1
  122. package/lib/cjs/curve/RegionOps.d.ts +76 -56
  123. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  124. package/lib/cjs/curve/RegionOps.js +83 -60
  125. package/lib/cjs/curve/RegionOps.js.map +1 -1
  126. package/lib/cjs/curve/RegionOpsClassificationSweeps.js +2 -2
  127. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  128. package/lib/cjs/curve/StrokeOptions.d.ts.map +1 -1
  129. package/lib/cjs/curve/StrokeOptions.js +6 -2
  130. package/lib/cjs/curve/StrokeOptions.js.map +1 -1
  131. package/lib/cjs/curve/UnionRegion.d.ts +6 -5
  132. package/lib/cjs/curve/UnionRegion.d.ts.map +1 -1
  133. package/lib/cjs/curve/UnionRegion.js +17 -8
  134. package/lib/cjs/curve/UnionRegion.js.map +1 -1
  135. package/lib/cjs/curve/{ChainCollectorContext.d.ts → internalContexts/ChainCollectorContext.d.ts} +4 -4
  136. package/lib/cjs/curve/internalContexts/ChainCollectorContext.d.ts.map +1 -0
  137. package/lib/cjs/curve/{ChainCollectorContext.js → internalContexts/ChainCollectorContext.js} +4 -4
  138. package/lib/cjs/curve/internalContexts/ChainCollectorContext.js.map +1 -0
  139. package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts +2 -1
  140. package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts.map +1 -1
  141. package/lib/cjs/curve/internalContexts/GapSearchContext.js +6 -2
  142. package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -1
  143. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts +59 -70
  144. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts.map +1 -1
  145. package/lib/cjs/curve/internalContexts/MultiChainCollector.js +130 -220
  146. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  147. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +14 -8
  148. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -1
  149. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js +14 -8
  150. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  151. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts +23 -95
  152. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -1
  153. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js +89 -178
  154. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  155. package/lib/cjs/curve/internalContexts/SumLengthsContext.d.ts.map +1 -1
  156. package/lib/cjs/curve/internalContexts/SumLengthsContext.js +4 -1
  157. package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -1
  158. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +1 -1
  159. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  160. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts +1 -1
  161. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  162. package/lib/cjs/curve/spiral/TransitionSpiral3d.js +2 -2
  163. package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -1
  164. package/lib/cjs/curve/spiral/XYCurveEvaluator.js +1 -1
  165. package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -1
  166. package/lib/cjs/geometry3d/Angle.d.ts +9 -0
  167. package/lib/cjs/geometry3d/Angle.d.ts.map +1 -1
  168. package/lib/cjs/geometry3d/Angle.js +13 -0
  169. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  170. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
  171. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -1
  172. package/lib/cjs/geometry3d/BilinearPatch.d.ts +43 -48
  173. package/lib/cjs/geometry3d/BilinearPatch.d.ts.map +1 -1
  174. package/lib/cjs/geometry3d/BilinearPatch.js +51 -55
  175. package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -1
  176. package/lib/cjs/geometry3d/Ellipsoid.d.ts +1 -1
  177. package/lib/cjs/geometry3d/Ellipsoid.js +1 -1
  178. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -1
  179. package/lib/cjs/geometry3d/FrameBuilder.d.ts.map +1 -1
  180. package/lib/cjs/geometry3d/FrameBuilder.js +13 -11
  181. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
  182. package/lib/cjs/geometry3d/GeometryHandler.d.ts +5 -5
  183. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -1
  184. package/lib/cjs/geometry3d/GrowableBlockedArray.d.ts.map +1 -1
  185. package/lib/cjs/geometry3d/GrowableBlockedArray.js +1 -1
  186. package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -1
  187. package/lib/cjs/geometry3d/GrowableFloat64Array.d.ts.map +1 -1
  188. package/lib/cjs/geometry3d/GrowableFloat64Array.js +1 -1
  189. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -1
  190. package/lib/cjs/geometry3d/Matrix3d.d.ts +18 -0
  191. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
  192. package/lib/cjs/geometry3d/Matrix3d.js +32 -5
  193. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  194. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -1
  195. package/lib/cjs/geometry3d/Plane3d.d.ts +41 -32
  196. package/lib/cjs/geometry3d/Plane3d.d.ts.map +1 -1
  197. package/lib/cjs/geometry3d/Plane3d.js +11 -8
  198. package/lib/cjs/geometry3d/Plane3d.js.map +1 -1
  199. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.d.ts +37 -34
  200. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -1
  201. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js +65 -43
  202. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  203. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.d.ts +36 -32
  204. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -1
  205. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js +37 -32
  206. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  207. package/lib/cjs/geometry3d/Point2dVector2d.d.ts +8 -9
  208. package/lib/cjs/geometry3d/Point2dVector2d.d.ts.map +1 -1
  209. package/lib/cjs/geometry3d/Point2dVector2d.js +9 -10
  210. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -1
  211. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  212. package/lib/cjs/geometry3d/Point3dVector3d.d.ts +12 -4
  213. package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -1
  214. package/lib/cjs/geometry3d/Point3dVector3d.js +18 -5
  215. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  216. package/lib/cjs/geometry3d/PointHelpers.d.ts.map +1 -1
  217. package/lib/cjs/geometry3d/PointHelpers.js +5 -5
  218. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
  219. package/lib/cjs/geometry3d/PolygonOps.d.ts +1 -2
  220. package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -1
  221. package/lib/cjs/geometry3d/PolygonOps.js +2 -3
  222. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  223. package/lib/cjs/geometry3d/PolylineOps.d.ts +16 -1
  224. package/lib/cjs/geometry3d/PolylineOps.d.ts.map +1 -1
  225. package/lib/cjs/geometry3d/PolylineOps.js +55 -0
  226. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -1
  227. package/lib/cjs/geometry3d/Range.d.ts +134 -94
  228. package/lib/cjs/geometry3d/Range.d.ts.map +1 -1
  229. package/lib/cjs/geometry3d/Range.js +297 -145
  230. package/lib/cjs/geometry3d/Range.js.map +1 -1
  231. package/lib/cjs/geometry3d/Ray2d.d.ts +69 -0
  232. package/lib/cjs/geometry3d/Ray2d.d.ts.map +1 -0
  233. package/lib/cjs/geometry3d/Ray2d.js +146 -0
  234. package/lib/cjs/geometry3d/Ray2d.js.map +1 -0
  235. package/lib/cjs/geometry3d/Ray3d.d.ts.map +1 -1
  236. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  237. package/lib/cjs/geometry3d/Transform.d.ts +10 -3
  238. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -1
  239. package/lib/cjs/geometry3d/Transform.js +18 -6
  240. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  241. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  242. package/lib/cjs/numerics/ConvexPolygon2d.d.ts +7 -49
  243. package/lib/cjs/numerics/ConvexPolygon2d.d.ts.map +1 -1
  244. package/lib/cjs/numerics/ConvexPolygon2d.js +16 -107
  245. package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -1
  246. package/lib/cjs/numerics/Newton.js.map +1 -1
  247. package/lib/cjs/numerics/Polynomials.d.ts.map +1 -1
  248. package/lib/cjs/numerics/Polynomials.js +0 -2
  249. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  250. package/lib/cjs/numerics/Quadrature.js +5 -5
  251. package/lib/cjs/numerics/Quadrature.js.map +1 -1
  252. package/lib/cjs/polyface/IndexedEdgeMatcher.js +1 -1
  253. package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -1
  254. package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -1
  255. package/lib/cjs/polyface/PolyfaceBuilder.js +2 -2
  256. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  257. package/lib/cjs/polyface/PolyfaceQuery.d.ts +73 -12
  258. package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -1
  259. package/lib/cjs/polyface/PolyfaceQuery.js +117 -31
  260. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  261. package/lib/cjs/polyface/TaggedNumericData.js +1 -1
  262. package/lib/cjs/polyface/TaggedNumericData.js.map +1 -1
  263. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js +2 -2
  264. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  265. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  266. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.d.ts +11 -0
  267. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -1
  268. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js +79 -1
  269. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  270. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  271. package/lib/cjs/serialization/GeometrySamples.d.ts +11 -0
  272. package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -1
  273. package/lib/cjs/serialization/GeometrySamples.js +30 -0
  274. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  275. package/lib/cjs/serialization/IModelJsonSchema.d.ts +2 -7
  276. package/lib/cjs/serialization/IModelJsonSchema.d.ts.map +1 -1
  277. package/lib/cjs/serialization/IModelJsonSchema.js +2 -7
  278. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  279. package/lib/cjs/solid/LinearSweep.d.ts +2 -1
  280. package/lib/cjs/solid/LinearSweep.d.ts.map +1 -1
  281. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  282. package/lib/cjs/solid/RotationalSweep.d.ts +2 -1
  283. package/lib/cjs/solid/RotationalSweep.d.ts.map +1 -1
  284. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  285. package/lib/cjs/solid/RuledSweep.d.ts +2 -1
  286. package/lib/cjs/solid/RuledSweep.d.ts.map +1 -1
  287. package/lib/cjs/solid/RuledSweep.js.map +1 -1
  288. package/lib/cjs/solid/SweepContour.d.ts +2 -2
  289. package/lib/cjs/solid/SweepContour.d.ts.map +1 -1
  290. package/lib/cjs/solid/SweepContour.js +9 -0
  291. package/lib/cjs/solid/SweepContour.js.map +1 -1
  292. package/lib/cjs/topology/ChainMerge.js +1 -1
  293. package/lib/cjs/topology/ChainMerge.js.map +1 -1
  294. package/lib/cjs/topology/HalfEdgeGraphSearch.d.ts.map +1 -1
  295. package/lib/cjs/topology/HalfEdgeGraphSearch.js +1 -1
  296. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -1
  297. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js +1 -1
  298. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  299. package/lib/cjs/topology/HalfEdgePriorityQueue.d.ts.map +1 -1
  300. package/lib/cjs/topology/HalfEdgePriorityQueue.js +1 -1
  301. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -1
  302. package/lib/cjs/topology/RegularizeFace.js +3 -3
  303. package/lib/cjs/topology/RegularizeFace.js.map +1 -1
  304. package/lib/cjs/topology/Triangulation.js +1 -1
  305. package/lib/cjs/topology/Triangulation.js.map +1 -1
  306. package/lib/esm/Geometry.js.map +1 -1
  307. package/lib/esm/bspline/BSplineCurve.d.ts +1 -1
  308. package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -1
  309. package/lib/esm/bspline/BSplineCurve.js +1 -1
  310. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  311. package/lib/esm/bspline/BSplineSurface.d.ts.map +1 -1
  312. package/lib/esm/bspline/BSplineSurface.js +1 -1
  313. package/lib/esm/bspline/BSplineSurface.js.map +1 -1
  314. package/lib/esm/bspline/BezierCurveBase.d.ts +1 -1
  315. package/lib/esm/bspline/BezierCurveBase.d.ts.map +1 -1
  316. package/lib/esm/bspline/BezierCurveBase.js +1 -1
  317. package/lib/esm/bspline/BezierCurveBase.js.map +1 -1
  318. package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -1
  319. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts +15 -17
  320. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts.map +1 -1
  321. package/lib/esm/clipping/AlternatingConvexClipTree.js +24 -20
  322. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  323. package/lib/esm/clipping/BooleanClipFactory.d.ts +28 -28
  324. package/lib/esm/clipping/BooleanClipFactory.d.ts.map +1 -1
  325. package/lib/esm/clipping/BooleanClipFactory.js +28 -28
  326. package/lib/esm/clipping/BooleanClipFactory.js.map +1 -1
  327. package/lib/esm/clipping/BooleanClipNode.d.ts +11 -11
  328. package/lib/esm/clipping/BooleanClipNode.d.ts.map +1 -1
  329. package/lib/esm/clipping/BooleanClipNode.js +11 -11
  330. package/lib/esm/clipping/BooleanClipNode.js.map +1 -1
  331. package/lib/esm/clipping/ClipPlane.d.ts +73 -76
  332. package/lib/esm/clipping/ClipPlane.d.ts.map +1 -1
  333. package/lib/esm/clipping/ClipPlane.js +105 -86
  334. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  335. package/lib/esm/clipping/ClipPrimitive.d.ts +78 -47
  336. package/lib/esm/clipping/ClipPrimitive.d.ts.map +1 -1
  337. package/lib/esm/clipping/ClipPrimitive.js +112 -54
  338. package/lib/esm/clipping/ClipPrimitive.js.map +1 -1
  339. package/lib/esm/clipping/ClipUtils.d.ts +54 -44
  340. package/lib/esm/clipping/ClipUtils.d.ts.map +1 -1
  341. package/lib/esm/clipping/ClipUtils.js +33 -29
  342. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  343. package/lib/esm/clipping/ClipVector.d.ts +39 -25
  344. package/lib/esm/clipping/ClipVector.d.ts.map +1 -1
  345. package/lib/esm/clipping/ClipVector.js +35 -23
  346. package/lib/esm/clipping/ClipVector.js.map +1 -1
  347. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts +61 -38
  348. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  349. package/lib/esm/clipping/ConvexClipPlaneSet.js +64 -41
  350. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  351. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts +49 -30
  352. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -1
  353. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js +50 -30
  354. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  355. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +2 -2
  356. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -1
  357. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js +2 -2
  358. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  359. package/lib/esm/core-geometry.d.ts +3 -1
  360. package/lib/esm/core-geometry.d.ts.map +1 -1
  361. package/lib/esm/core-geometry.js +3 -1
  362. package/lib/esm/core-geometry.js.map +1 -1
  363. package/lib/esm/curve/Arc3d.d.ts +2 -1
  364. package/lib/esm/curve/Arc3d.d.ts.map +1 -1
  365. package/lib/esm/curve/Arc3d.js +2 -1
  366. package/lib/esm/curve/Arc3d.js.map +1 -1
  367. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +62 -42
  368. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  369. package/lib/esm/curve/CurveChainWithDistanceIndex.js +70 -47
  370. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  371. package/lib/esm/curve/CurveCollection.d.ts +36 -26
  372. package/lib/esm/curve/CurveCollection.d.ts.map +1 -1
  373. package/lib/esm/curve/CurveCollection.js +46 -39
  374. package/lib/esm/curve/CurveCollection.js.map +1 -1
  375. package/lib/esm/curve/CurveCurve.d.ts.map +1 -1
  376. package/lib/esm/curve/CurveCurve.js.map +1 -1
  377. package/lib/esm/curve/CurveFactory.d.ts +67 -3
  378. package/lib/esm/curve/CurveFactory.d.ts.map +1 -1
  379. package/lib/esm/curve/CurveFactory.js +74 -6
  380. package/lib/esm/curve/CurveFactory.js.map +1 -1
  381. package/lib/esm/curve/CurveLocationDetail.d.ts +6 -6
  382. package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -1
  383. package/lib/esm/curve/CurveLocationDetail.js +9 -7
  384. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  385. package/lib/esm/curve/CurveOps.d.ts +77 -0
  386. package/lib/esm/curve/CurveOps.d.ts.map +1 -0
  387. package/lib/esm/curve/CurveOps.js +156 -0
  388. package/lib/esm/curve/CurveOps.js.map +1 -0
  389. package/lib/esm/curve/CurvePrimitive.d.ts +21 -18
  390. package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -1
  391. package/lib/esm/curve/CurvePrimitive.js +4 -3
  392. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  393. package/lib/esm/curve/GeometryQuery.d.ts +2 -2
  394. package/lib/esm/curve/GeometryQuery.d.ts.map +1 -1
  395. package/lib/esm/curve/GeometryQuery.js +2 -2
  396. package/lib/esm/curve/GeometryQuery.js.map +1 -1
  397. package/lib/esm/curve/LineSegment3d.d.ts +7 -5
  398. package/lib/esm/curve/LineSegment3d.d.ts.map +1 -1
  399. package/lib/esm/curve/LineSegment3d.js +5 -5
  400. package/lib/esm/curve/LineSegment3d.js.map +1 -1
  401. package/lib/esm/curve/LineString3d.d.ts +2 -2
  402. package/lib/esm/curve/LineString3d.d.ts.map +1 -1
  403. package/lib/esm/curve/LineString3d.js +2 -2
  404. package/lib/esm/curve/LineString3d.js.map +1 -1
  405. package/lib/esm/curve/Loop.d.ts +7 -5
  406. package/lib/esm/curve/Loop.d.ts.map +1 -1
  407. package/lib/esm/curve/Loop.js +18 -6
  408. package/lib/esm/curve/Loop.js.map +1 -1
  409. package/lib/esm/curve/OffsetOptions.d.ts +97 -0
  410. package/lib/esm/curve/OffsetOptions.d.ts.map +1 -0
  411. package/lib/esm/curve/OffsetOptions.js +161 -0
  412. package/lib/esm/curve/OffsetOptions.js.map +1 -0
  413. package/lib/esm/curve/ParityRegion.d.ts +7 -7
  414. package/lib/esm/curve/ParityRegion.d.ts.map +1 -1
  415. package/lib/esm/curve/ParityRegion.js +19 -11
  416. package/lib/esm/curve/ParityRegion.js.map +1 -1
  417. package/lib/esm/curve/Path.d.ts +6 -6
  418. package/lib/esm/curve/Path.d.ts.map +1 -1
  419. package/lib/esm/curve/Path.js +15 -9
  420. package/lib/esm/curve/Path.js.map +1 -1
  421. package/lib/esm/curve/ProxyCurve.d.ts +5 -7
  422. package/lib/esm/curve/ProxyCurve.d.ts.map +1 -1
  423. package/lib/esm/curve/ProxyCurve.js +7 -7
  424. package/lib/esm/curve/ProxyCurve.js.map +1 -1
  425. package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -1
  426. package/lib/esm/curve/RegionOps.d.ts +76 -56
  427. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  428. package/lib/esm/curve/RegionOps.js +84 -61
  429. package/lib/esm/curve/RegionOps.js.map +1 -1
  430. package/lib/esm/curve/RegionOpsClassificationSweeps.js +2 -2
  431. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  432. package/lib/esm/curve/StrokeOptions.d.ts.map +1 -1
  433. package/lib/esm/curve/StrokeOptions.js +6 -2
  434. package/lib/esm/curve/StrokeOptions.js.map +1 -1
  435. package/lib/esm/curve/UnionRegion.d.ts +6 -5
  436. package/lib/esm/curve/UnionRegion.d.ts.map +1 -1
  437. package/lib/esm/curve/UnionRegion.js +17 -8
  438. package/lib/esm/curve/UnionRegion.js.map +1 -1
  439. package/lib/esm/curve/{ChainCollectorContext.d.ts → internalContexts/ChainCollectorContext.d.ts} +4 -4
  440. package/lib/esm/curve/internalContexts/ChainCollectorContext.d.ts.map +1 -0
  441. package/lib/esm/curve/{ChainCollectorContext.js → internalContexts/ChainCollectorContext.js} +4 -4
  442. package/lib/esm/curve/internalContexts/ChainCollectorContext.js.map +1 -0
  443. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts +2 -1
  444. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts.map +1 -1
  445. package/lib/esm/curve/internalContexts/GapSearchContext.js +6 -2
  446. package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -1
  447. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts +59 -70
  448. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts.map +1 -1
  449. package/lib/esm/curve/internalContexts/MultiChainCollector.js +129 -218
  450. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  451. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +14 -8
  452. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -1
  453. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js +14 -8
  454. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  455. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts +23 -95
  456. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -1
  457. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +86 -173
  458. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  459. package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts.map +1 -1
  460. package/lib/esm/curve/internalContexts/SumLengthsContext.js +4 -1
  461. package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -1
  462. package/lib/esm/curve/spiral/IntegratedSpiral3d.js +1 -1
  463. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  464. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts +1 -1
  465. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  466. package/lib/esm/curve/spiral/TransitionSpiral3d.js +1 -1
  467. package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -1
  468. package/lib/esm/curve/spiral/XYCurveEvaluator.js +1 -1
  469. package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -1
  470. package/lib/esm/geometry3d/Angle.d.ts +9 -0
  471. package/lib/esm/geometry3d/Angle.d.ts.map +1 -1
  472. package/lib/esm/geometry3d/Angle.js +13 -0
  473. package/lib/esm/geometry3d/Angle.js.map +1 -1
  474. package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
  475. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -1
  476. package/lib/esm/geometry3d/BilinearPatch.d.ts +43 -48
  477. package/lib/esm/geometry3d/BilinearPatch.d.ts.map +1 -1
  478. package/lib/esm/geometry3d/BilinearPatch.js +51 -55
  479. package/lib/esm/geometry3d/BilinearPatch.js.map +1 -1
  480. package/lib/esm/geometry3d/Ellipsoid.d.ts +1 -1
  481. package/lib/esm/geometry3d/Ellipsoid.js +1 -1
  482. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -1
  483. package/lib/esm/geometry3d/FrameBuilder.d.ts.map +1 -1
  484. package/lib/esm/geometry3d/FrameBuilder.js +13 -11
  485. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
  486. package/lib/esm/geometry3d/GeometryHandler.d.ts +5 -5
  487. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -1
  488. package/lib/esm/geometry3d/GrowableBlockedArray.d.ts.map +1 -1
  489. package/lib/esm/geometry3d/GrowableBlockedArray.js +1 -1
  490. package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -1
  491. package/lib/esm/geometry3d/GrowableFloat64Array.d.ts.map +1 -1
  492. package/lib/esm/geometry3d/GrowableFloat64Array.js +1 -1
  493. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -1
  494. package/lib/esm/geometry3d/Matrix3d.d.ts +18 -0
  495. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
  496. package/lib/esm/geometry3d/Matrix3d.js +32 -5
  497. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  498. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -1
  499. package/lib/esm/geometry3d/Plane3d.d.ts +41 -32
  500. package/lib/esm/geometry3d/Plane3d.d.ts.map +1 -1
  501. package/lib/esm/geometry3d/Plane3d.js +11 -8
  502. package/lib/esm/geometry3d/Plane3d.js.map +1 -1
  503. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts +37 -34
  504. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -1
  505. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js +65 -43
  506. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  507. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts +36 -32
  508. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -1
  509. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js +37 -32
  510. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  511. package/lib/esm/geometry3d/Point2dVector2d.d.ts +8 -9
  512. package/lib/esm/geometry3d/Point2dVector2d.d.ts.map +1 -1
  513. package/lib/esm/geometry3d/Point2dVector2d.js +9 -10
  514. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -1
  515. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  516. package/lib/esm/geometry3d/Point3dVector3d.d.ts +12 -4
  517. package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -1
  518. package/lib/esm/geometry3d/Point3dVector3d.js +18 -5
  519. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  520. package/lib/esm/geometry3d/PointHelpers.d.ts.map +1 -1
  521. package/lib/esm/geometry3d/PointHelpers.js +5 -5
  522. package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
  523. package/lib/esm/geometry3d/PolygonOps.d.ts +1 -2
  524. package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -1
  525. package/lib/esm/geometry3d/PolygonOps.js +2 -3
  526. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  527. package/lib/esm/geometry3d/PolylineOps.d.ts +16 -1
  528. package/lib/esm/geometry3d/PolylineOps.d.ts.map +1 -1
  529. package/lib/esm/geometry3d/PolylineOps.js +56 -1
  530. package/lib/esm/geometry3d/PolylineOps.js.map +1 -1
  531. package/lib/esm/geometry3d/Range.d.ts +134 -94
  532. package/lib/esm/geometry3d/Range.d.ts.map +1 -1
  533. package/lib/esm/geometry3d/Range.js +297 -145
  534. package/lib/esm/geometry3d/Range.js.map +1 -1
  535. package/lib/esm/geometry3d/Ray2d.d.ts +69 -0
  536. package/lib/esm/geometry3d/Ray2d.d.ts.map +1 -0
  537. package/lib/esm/geometry3d/Ray2d.js +142 -0
  538. package/lib/esm/geometry3d/Ray2d.js.map +1 -0
  539. package/lib/esm/geometry3d/Ray3d.d.ts.map +1 -1
  540. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  541. package/lib/esm/geometry3d/Transform.d.ts +10 -3
  542. package/lib/esm/geometry3d/Transform.d.ts.map +1 -1
  543. package/lib/esm/geometry3d/Transform.js +18 -6
  544. package/lib/esm/geometry3d/Transform.js.map +1 -1
  545. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  546. package/lib/esm/numerics/ConvexPolygon2d.d.ts +7 -49
  547. package/lib/esm/numerics/ConvexPolygon2d.d.ts.map +1 -1
  548. package/lib/esm/numerics/ConvexPolygon2d.js +14 -104
  549. package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -1
  550. package/lib/esm/numerics/Newton.js.map +1 -1
  551. package/lib/esm/numerics/Polynomials.d.ts.map +1 -1
  552. package/lib/esm/numerics/Polynomials.js +0 -2
  553. package/lib/esm/numerics/Polynomials.js.map +1 -1
  554. package/lib/esm/numerics/Quadrature.js +5 -5
  555. package/lib/esm/numerics/Quadrature.js.map +1 -1
  556. package/lib/esm/polyface/IndexedEdgeMatcher.js +1 -1
  557. package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -1
  558. package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -1
  559. package/lib/esm/polyface/PolyfaceBuilder.js +2 -2
  560. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  561. package/lib/esm/polyface/PolyfaceQuery.d.ts +73 -12
  562. package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -1
  563. package/lib/esm/polyface/PolyfaceQuery.js +117 -32
  564. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  565. package/lib/esm/polyface/TaggedNumericData.js +1 -1
  566. package/lib/esm/polyface/TaggedNumericData.js.map +1 -1
  567. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js +2 -2
  568. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  569. package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  570. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts +11 -0
  571. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -1
  572. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js +78 -1
  573. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  574. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  575. package/lib/esm/serialization/GeometrySamples.d.ts +11 -0
  576. package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -1
  577. package/lib/esm/serialization/GeometrySamples.js +30 -0
  578. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  579. package/lib/esm/serialization/IModelJsonSchema.d.ts +2 -7
  580. package/lib/esm/serialization/IModelJsonSchema.d.ts.map +1 -1
  581. package/lib/esm/serialization/IModelJsonSchema.js +2 -7
  582. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  583. package/lib/esm/solid/LinearSweep.d.ts +2 -1
  584. package/lib/esm/solid/LinearSweep.d.ts.map +1 -1
  585. package/lib/esm/solid/LinearSweep.js.map +1 -1
  586. package/lib/esm/solid/RotationalSweep.d.ts +2 -1
  587. package/lib/esm/solid/RotationalSweep.d.ts.map +1 -1
  588. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  589. package/lib/esm/solid/RuledSweep.d.ts +2 -1
  590. package/lib/esm/solid/RuledSweep.d.ts.map +1 -1
  591. package/lib/esm/solid/RuledSweep.js.map +1 -1
  592. package/lib/esm/solid/SweepContour.d.ts +2 -2
  593. package/lib/esm/solid/SweepContour.d.ts.map +1 -1
  594. package/lib/esm/solid/SweepContour.js +9 -0
  595. package/lib/esm/solid/SweepContour.js.map +1 -1
  596. package/lib/esm/topology/ChainMerge.js +1 -1
  597. package/lib/esm/topology/ChainMerge.js.map +1 -1
  598. package/lib/esm/topology/HalfEdgeGraphSearch.d.ts.map +1 -1
  599. package/lib/esm/topology/HalfEdgeGraphSearch.js +1 -1
  600. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -1
  601. package/lib/esm/topology/HalfEdgeGraphSpineContext.js +1 -1
  602. package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  603. package/lib/esm/topology/HalfEdgePriorityQueue.d.ts.map +1 -1
  604. package/lib/esm/topology/HalfEdgePriorityQueue.js +1 -1
  605. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -1
  606. package/lib/esm/topology/RegularizeFace.js +3 -3
  607. package/lib/esm/topology/RegularizeFace.js.map +1 -1
  608. package/lib/esm/topology/Triangulation.js +1 -1
  609. package/lib/esm/topology/Triangulation.js.map +1 -1
  610. package/package.json +6 -17
  611. package/lib/cjs/curve/ChainCollectorContext.d.ts.map +0 -1
  612. package/lib/cjs/curve/ChainCollectorContext.js.map +0 -1
  613. package/lib/esm/curve/ChainCollectorContext.d.ts.map +0 -1
  614. package/lib/esm/curve/ChainCollectorContext.js.map +0 -1
@@ -19,6 +19,8 @@ import { UnionOfConvexClipPlaneSets } from "./UnionOfConvexClipPlaneSets";
19
19
  import { AlternatingCCTreeNode } from "./AlternatingConvexClipTree";
20
20
  import { Point3dArray } from "../geometry3d/PointHelpers";
21
21
  import { PolylineOps } from "../geometry3d/PolylineOps";
22
+ // cspell:word zlow
23
+ // cspell:word zhigh
22
24
  /**
23
25
  * Bit mask type for referencing subsets of 6 planes of range box.
24
26
  * @public
@@ -46,17 +48,18 @@ export var ClipMaskXYZRangePlanes;
46
48
  })(ClipMaskXYZRangePlanes || (ClipMaskXYZRangePlanes = {}));
47
49
  /**
48
50
  * * ClipPrimitive is a base class for clipping implementations that use
49
- * * A UnionOfConvexClipPlaneSets designated "clipPlanes"
50
- * * an "invisible" flag
51
- * * When constructed directly, objects of type ClipPrimitive (directly, not through a derived class) will have just planes
51
+ * * A UnionOfConvexClipPlaneSets designated "clipPlanes".
52
+ * * An "invisible" flag.
53
+ * * When constructed directly, objects of type ClipPrimitive (directly, not through a derived class) will have just planes.
52
54
  * * Derived classes (e.g. ClipShape) carry additional data such as a swept shape.
53
55
  * * ClipPrimitive can be constructed with no planes.
54
56
  * * Derived class is responsible for filling the plane sets.
55
- * * At discretion of derived classes, plane construction can be done at construction time or "on demand when" queries call `ensurePlaneSets ()`
57
+ * * At discretion of derived classes, plane construction can be done at construction time or "on demand when" queries
58
+ * call `ensurePlaneSets ()`
56
59
  * * ClipPrimitive can be constructed directly with planes (and no derived class).
57
60
  * * That the prevailing use is via a ClipShape derived class.
58
61
  * * The ClipShape has an "isMask" property
59
- * * isMask === false means the plane sets should cover the inside of its polygon
62
+ * * isMask === false means the plane sets should cover the inside of its polygon.
60
63
  * * isMask === true means the plane sets should cover the outside of its polygon.
61
64
  * * Note that the ClipShape's `isMask` property and the ClipPrimitive's `isInvisible` property are distinct controls.
62
65
  * * In normal usage, callers get "outside" clip behavior using ONLY the ClipShape isMask property.
@@ -65,13 +68,19 @@ export var ClipMaskXYZRangePlanes;
65
68
  * @public
66
69
  */
67
70
  export class ClipPrimitive {
68
- /** Get a reference to the `UnionOfConvexClipPlaneSets`.
69
- * * It triggers construction of the sets by `this.ensurePlaneSets()`.
70
- * * Derived class typically caches the set on the first such call.
71
+ /**
72
+ * Get a reference to the `UnionOfConvexClipPlaneSets`.
73
+ * * It triggers construction of the sets by `this.ensurePlaneSets()`.
74
+ * * Derived class typically caches the set on the first such call.
71
75
  */
72
- fetchClipPlanesRef() { this.ensurePlaneSets(); return this._clipPlanes; }
76
+ fetchClipPlanesRef() {
77
+ this.ensurePlaneSets();
78
+ return this._clipPlanes;
79
+ }
73
80
  /** Ask if this primitive is a hole. */
74
- get invisible() { return this._invisible; }
81
+ get invisible() {
82
+ return this._invisible;
83
+ }
75
84
  constructor(planeSet, isInvisible = false) {
76
85
  this._clipPlanes = planeSet;
77
86
  this._invisible = isInvisible;
@@ -100,26 +109,30 @@ export class ClipPrimitive {
100
109
  }
101
110
  /**
102
111
  * Returns true if the planes are present.
103
- * * This can be false (for instance) if a ClipShape is holding a polygon but has not yet been asked to construct the planes.
112
+ * * This can be false (for instance) if a ClipShape is holding a polygon but has not yet been asked to construct
113
+ * the planes.
104
114
  */
105
115
  arePlanesDefined() {
106
116
  return this._clipPlanes !== undefined;
107
117
  }
108
- /** Return a deep clone */
118
+ /** Return a deep clone. */
109
119
  clone() {
110
120
  const newPlanes = this._clipPlanes ? this._clipPlanes.clone() : undefined;
111
121
  const result = new ClipPrimitive(newPlanes, this._invisible);
112
122
  return result;
113
123
  }
114
124
  /**
115
- * * trigger (if needed) computation of plane sets (if applicable) in the derived class.
125
+ * Trigger (if needed) computation of plane sets (if applicable) in the derived class.
116
126
  * * Base class is no op.
117
127
  * * In derived class, on first call create planes sets from defining data (e.g. swept shape).
118
128
  * * In derived class, if planes are present leave them alone.
119
129
  */
120
130
  ensurePlaneSets() { }
121
- /** Return true if the point lies inside/on this polygon (or not inside/on if this polygon is a mask). Otherwise, return false.
122
- * * Note that a derived class may choose to (a) implement its own test using its defining data, or (b) accept this implementation using planes that it inserted in the base class.
131
+ /**
132
+ * Return true if the point lies inside/on this polygon (or not inside/on if this polygon is a mask). Otherwise,
133
+ * return false.
134
+ * * Note that a derived class may choose to (a) implement its own test using its defining data, or (b) accept
135
+ * this implementation using planes that it inserted in the base class.
123
136
  */
124
137
  pointInside(point, onTolerance = Geometry.smallMetricDistanceSquared) {
125
138
  this.ensurePlaneSets();
@@ -128,7 +141,8 @@ export class ClipPrimitive {
128
141
  inside = this._clipPlanes.isPointOnOrInside(point, onTolerance);
129
142
  return inside;
130
143
  }
131
- /** Method from [[Clipper]] interface.
144
+ /**
145
+ * Method from [[Clipper]] interface.
132
146
  * * Implement as dispatch to clipPlaneSets as supplied by derived class.
133
147
  */
134
148
  isPointOnOrInside(point, onTolerance = Geometry.smallMetricDistanceSquared) {
@@ -138,7 +152,8 @@ export class ClipPrimitive {
138
152
  inside = this._clipPlanes.isPointOnOrInside(point, onTolerance);
139
153
  return inside;
140
154
  }
141
- /** Method from [[Clipper]] interface.
155
+ /**
156
+ * Method from [[Clipper]] interface.
142
157
  * * Implement as dispatch to clipPlaneSets as supplied by derived class.
143
158
  */
144
159
  announceClippedSegmentIntervals(f0, f1, pointA, pointB, announce) {
@@ -148,7 +163,8 @@ export class ClipPrimitive {
148
163
  hasInsideParts = this._clipPlanes.announceClippedSegmentIntervals(f0, f1, pointA, pointB, announce);
149
164
  return hasInsideParts;
150
165
  }
151
- /** Method from [[Clipper]] interface.
166
+ /**
167
+ * Method from [[Clipper]] interface.
152
168
  * * Implement as dispatch to clipPlaneSets as supplied by derived class.
153
169
  */
154
170
  announceClippedArcIntervals(arc, announce) {
@@ -162,11 +178,12 @@ export class ClipPrimitive {
162
178
  * Multiply all ClipPlanes DPoint4d by matrix.
163
179
  * @param matrix matrix to apply.
164
180
  * @param invert if true, use in verse of the matrix.
165
- * @param transpose if true, use the transpose of the matrix (or inverse, per invert parameter)
166
- * * Note that if matrixA is applied to all of space, the matrix to send to this method to get a corresponding effect on the plane is the inverse transpose of matrixA
181
+ * @param transpose if true, use the transpose of the matrix (or inverse, per invert parameter).
182
+ * @param matrix matrix to apply.
183
+ * * Note that if matrixA is applied to all of space, the matrix to send to this method to get a corresponding
184
+ * effect on the plane is the inverse transpose of matrixA.
167
185
  * * Callers that will apply the same matrix to many planes should pre-invert the matrix for efficiency.
168
186
  * * Both params default to true to get the full effect of transforming space.
169
- * @param matrix matrix to apply
170
187
  */
171
188
  multiplyPlanesByMatrix4d(matrix, invert = true, transpose = true) {
172
189
  if (invert) { // form inverse once here, reuse for all planes
@@ -179,7 +196,7 @@ export class ClipPrimitive {
179
196
  this._clipPlanes.multiplyPlanesByMatrix4d(matrix);
180
197
  return true;
181
198
  }
182
- /** Apply a transform to the clipper (e.g. transform all planes) */
199
+ /** Apply a transform to the clipper (e.g. transform all planes). */
183
200
  transformInPlace(transform) {
184
201
  if (this._clipPlanes)
185
202
  this._clipPlanes.transformInPlace(transform);
@@ -190,7 +207,8 @@ export class ClipPrimitive {
190
207
  this._invisible = invisible;
191
208
  }
192
209
  /**
193
- * Return true if any plane of the primary clipPlanes has (a) non-zero z component in its normal vector and (b) finite distance from origin.
210
+ * Return true if any plane of the primary clipPlanes has (a) non-zero z component in its normal vector and
211
+ * (b) finite distance from origin.
194
212
  */
195
213
  containsZClip() {
196
214
  if (this.fetchClipPlanesRef() !== undefined)
@@ -202,8 +220,9 @@ export class ClipPrimitive {
202
220
  }
203
221
  /**
204
222
  * Quick test of whether the given points fall completely inside or outside.
205
- * @param points points to test
206
- * @param ignoreInvisibleSetting if true, do the test with the clip planes and return that, ignoring the invisible setting.
223
+ * @param points points to test.
224
+ * @param ignoreInvisibleSetting if true, do the test with the clip planes and return that, ignoring the
225
+ * invisible setting.
207
226
  */
208
227
  classifyPointContainment(points, ignoreInvisibleSetting) {
209
228
  this.ensurePlaneSets();
@@ -222,8 +241,9 @@ export class ClipPrimitive {
222
241
  }
223
242
  return inside;
224
243
  }
225
- /** Promote json object form to class instance
226
- * * First try to convert to a ClipShape
244
+ /**
245
+ * Promote json object form to class instance.
246
+ * * First try to convert to a ClipShape.
227
247
  * * then try as a standalone instance of the base class ClipPrimitive.
228
248
  */
229
249
  static fromJSON(json) {
@@ -279,27 +299,49 @@ export class ClipShape extends ClipPrimitive {
279
299
  this.initSecondaryProps(isMask, zLow, zHigh, transform);
280
300
  }
281
301
  /** Returns true if this ClipShape is marked as invisible. */
282
- get invisible() { return this._invisible; }
302
+ get invisible() {
303
+ return this._invisible;
304
+ }
283
305
  /** Return this transformFromClip, which may be undefined. */
284
- get transformFromClip() { return this._transformFromClip; }
306
+ get transformFromClip() {
307
+ return this._transformFromClip;
308
+ }
285
309
  /** Return this transformToClip, which may be undefined. */
286
- get transformToClip() { return this._transformToClip; }
310
+ get transformToClip() {
311
+ return this._transformToClip;
312
+ }
287
313
  /** Returns true if this ClipShape's transforms are currently set. */
288
- get transformValid() { return this.transformFromClip !== undefined; }
314
+ get transformValid() {
315
+ return this.transformFromClip !== undefined;
316
+ }
289
317
  /** Returns true if this ClipShape's lower z boundary is set. */
290
- get zLowValid() { return this._zLow !== undefined; }
318
+ get zLowValid() {
319
+ return this._zLow !== undefined;
320
+ }
291
321
  /** Returns true if this ClipShape's upper z boundary is set. */
292
- get zHighValid() { return this._zHigh !== undefined; }
322
+ get zHighValid() {
323
+ return this._zHigh !== undefined;
324
+ }
293
325
  /** Return true if this ClipShape has a local to world transform */
294
- get transformIsValid() { return this._transformFromClip !== undefined; }
326
+ get transformIsValid() {
327
+ return this._transformFromClip !== undefined;
328
+ }
295
329
  /** Return this zLow, which may be undefined. */
296
- get zLow() { return this._zLow; }
330
+ get zLow() {
331
+ return this._zLow;
332
+ }
297
333
  /** Return this zHigh, which may be undefined. */
298
- get zHigh() { return this._zHigh; }
334
+ get zHigh() {
335
+ return this._zHigh;
336
+ }
299
337
  /** Returns a reference to this ClipShape's polygon array. */
300
- get polygon() { return this._polygon; }
338
+ get polygon() {
339
+ return this._polygon;
340
+ }
301
341
  /** Returns true if this ClipShape is a masking set. */
302
- get isMask() { return this._isMask; }
342
+ get isMask() {
343
+ return this._isMask;
344
+ }
303
345
  /** Sets the polygon points array of this ClipShape to the array given (by reference). */
304
346
  setPolygon(polygon) {
305
347
  // Add closure point
@@ -308,8 +350,9 @@ export class ClipShape extends ClipPrimitive {
308
350
  this._polygon = polygon;
309
351
  }
310
352
  /**
311
- * * If the ClipShape's associated `UnionOfConvexClipPlaneSets` is defined, do nothing.
312
- * * If the ClipShape's associated `UnionOfConvexClipPlaneSets` is undefined, generate it from the `ClipShape` and transform.
353
+ * If the ClipShape's associated `UnionOfConvexClipPlaneSets` is defined, do nothing.
354
+ * If the ClipShape's associated `UnionOfConvexClipPlaneSets` is undefined, generate it from the `ClipShape`
355
+ * and transform.
313
356
  */
314
357
  ensurePlaneSets() {
315
358
  if (this._clipPlanes !== undefined)
@@ -321,7 +364,7 @@ export class ClipShape extends ClipPrimitive {
321
364
  }
322
365
  /**
323
366
  * Initialize the members of the ClipShape class that may at times be undefined.
324
- * zLow and zHigh default to Number.MAX_VALUE, and the transform defaults to an identity transform
367
+ * zLow and zHigh default to Number.MAX_VALUE, and the transform defaults to an identity transform.
325
368
  */
326
369
  initSecondaryProps(isMask, zLow, zHigh, transform) {
327
370
  this._isMask = isMask;
@@ -336,7 +379,7 @@ export class ClipShape extends ClipPrimitive {
336
379
  this._transformToClip = Transform.createIdentity();
337
380
  }
338
381
  }
339
- /** emit json object form */
382
+ /** Emit json object form */
340
383
  toJSON() {
341
384
  const shape = {
342
385
  points: this._polygon.map((pt) => pt.toJSON()),
@@ -353,7 +396,7 @@ export class ClipShape extends ClipPrimitive {
353
396
  shape.zhigh = this.zHigh;
354
397
  return { shape };
355
398
  }
356
- /** parse `json` to a clip shape. */
399
+ /** Parse `json` to a clip shape. */
357
400
  static fromClipShapeJSON(json, result) {
358
401
  const shape = json?.shape;
359
402
  if (!shape)
@@ -415,7 +458,7 @@ export class ClipShape extends ClipPrimitive {
415
458
  blockPoints[1].x = blockPoints[2].x = high.x;
416
459
  blockPoints[0].y = blockPoints[1].y = blockPoints[4].y = low.y;
417
460
  blockPoints[2].y = blockPoints[3].y = high.y;
418
- return ClipShape.createShape(blockPoints, (ClipMaskXYZRangePlanes.None !== (clipMask & ClipMaskXYZRangePlanes.ZLow)) ? low.z : undefined, ClipMaskXYZRangePlanes.None !== (clipMask & ClipMaskXYZRangePlanes.ZHigh) ? high.z : undefined, transform, isMask, invisible, result);
461
+ return ClipShape.createShape(blockPoints, (ClipMaskXYZRangePlanes.None !== (clipMask & ClipMaskXYZRangePlanes.ZLow)) ? low.z : undefined, (ClipMaskXYZRangePlanes.None !== (clipMask & ClipMaskXYZRangePlanes.ZHigh)) ? high.z : undefined, transform, isMask, invisible, result);
419
462
  }
420
463
  /** Creates a new ClipShape with undefined members and a polygon points array of zero length. */
421
464
  static createEmpty(isMask = false, invisible = false, transform, result) {
@@ -436,11 +479,14 @@ export class ClipShape extends ClipPrimitive {
436
479
  return false;
437
480
  return true;
438
481
  }
439
- /** Returns a deep copy of this instance of ClipShape, storing in an optional result */
482
+ /** Returns a deep copy of this instance of ClipShape, storing in an optional result. */
440
483
  clone(result) {
441
484
  return ClipShape.createFrom(this, result);
442
485
  }
443
- /** Given the current polygon data, parses clip planes that together form an object, storing the result in the set given, either clipplanes or maskplanes. */
486
+ /**
487
+ * Given the current polygon data, parses clip planes that together form an object, storing the result in
488
+ * the set given, either clip planes or mask planes.
489
+ */
444
490
  parseClipPlanes(set) {
445
491
  const points = this._polygon;
446
492
  if (points.length === 3 && !this._isMask && points[0].isExactEqual(points[points.length - 1])) {
@@ -459,7 +505,10 @@ export class ClipShape extends ClipPrimitive {
459
505
  this.parsePolygonPlanes(set, this._polygon, this.isMask);
460
506
  return true;
461
507
  }
462
- /** Given a start and end point, populate the given UnionOfConvexClipPlaneSets with ConvexClipPlaneSets defining the bounded region of linear planes. Returns true if successful. */
508
+ /**
509
+ * Given a start and end point, populate the given UnionOfConvexClipPlaneSets with ConvexClipPlaneSets
510
+ * defining the bounded region of linear planes. Returns true if successful.
511
+ */
463
512
  parseLinearPlanes(set, start, end, cameraFocalLength) {
464
513
  // Handles the degenerate case of 2 distinct points (used by select by line).
465
514
  const normal = start.vectorTo(end);
@@ -491,7 +540,10 @@ export class ClipShape extends ClipPrimitive {
491
540
  set.addConvexSet(convexSet);
492
541
  return true;
493
542
  }
494
- /** Given a convex polygon defined as an array of points, populate the given UnionOfConvexClipPlaneSets with ConvexClipPlaneSets defining the bounded region. Returns true if successful. */
543
+ /**
544
+ * Given a convex polygon defined as an array of points, populate the given UnionOfConvexClipPlaneSets with
545
+ * ConvexClipPlaneSets defining the bounded region. Returns true if successful.
546
+ */
495
547
  parseConvexPolygonPlanes(set, polygon, direction, buildExteriorClipper, cameraFocalLength) {
496
548
  const samePointTolerance = 1.0e-8; // This could possibly be replaced with more widely used constants
497
549
  const edges = [];
@@ -549,7 +601,10 @@ export class ClipShape extends ClipPrimitive {
549
601
  }
550
602
  return true;
551
603
  }
552
- /** Given a (possibly non-convex) polygon defined as an array of points, populate the given UnionOfConvexClipPlaneSets with multiple ConvexClipPlaneSets defining the bounded region. Returns true if successful. */
604
+ /**
605
+ * Given a (possibly non-convex) polygon defined as an array of points, populate the given UnionOfConvexClipPlaneSets
606
+ * with multiple ConvexClipPlaneSets defining the bounded region. Returns true if successful.
607
+ */
553
608
  parsePolygonPlanes(set, polygon, isMask, cameraFocalLength) {
554
609
  const cleanPolygon = PolylineOps.compressDanglers(polygon, true);
555
610
  const announceFace = (_graph, edge) => {
@@ -596,17 +651,19 @@ export class ClipShape extends ClipPrimitive {
596
651
  * Multiply all ClipPlanes DPoint4d by matrix.
597
652
  * @param matrix matrix to apply.
598
653
  * @param invert if true, use in verse of the matrix.
599
- * @param transpose if true, use the transpose of the matrix (or inverse, per invert parameter)
600
- * * Note that if matrixA is applied to all of space, the matrix to send to this method to get a corresponding effect on the plane is the inverse transpose of matrixA
654
+ * @param transpose if true, use the transpose of the matrix (or inverse, per invert parameter).
655
+ * @param matrix matrix to apply.
656
+ * * Note that if matrixA is applied to all of space, the matrix to send to this method to get a corresponding effect
657
+ * on the plane is the inverse transpose of matrixA.
601
658
  * * Callers that will apply the same matrix to many planes should pre-invert the matrix for efficiency.
602
659
  * * Both params default to true to get the full effect of transforming space.
603
- * @param matrix matrix to apply
604
660
  */
605
661
  multiplyPlanesByMatrix4d(matrix, invert = true, transpose = true) {
606
662
  this.ensurePlaneSets();
607
663
  return super.multiplyPlanesByMatrix4d(matrix, invert, transpose);
608
664
  }
609
- /** Apply `transform` to the local to world (`transformFromClip`) transform.
665
+ /**
666
+ * Apply `transform` to the local to world (`transformFromClip`) transform.
610
667
  * * The world to local transform (`transformToClip` is recomputed from the (changed) `transformToClip`
611
668
  * * the transform is passed to the base class to be applied to clip plane form of the clipper.
612
669
  */
@@ -621,7 +678,8 @@ export class ClipShape extends ClipPrimitive {
621
678
  this._transformToClip = this._transformFromClip.inverse(); // could be undefined
622
679
  return true;
623
680
  }
624
- /** Return true if
681
+ /**
682
+ * Return true if
625
683
  * * at least one point is defined
626
684
  * * The local to world transform (transformFromClip) either
627
685
  * * is undefined