@itwin/core-geometry 3.0.0-dev.76 → 3.0.0-dev.80

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 (1999) hide show
  1. package/CHANGELOG.md +1049 -0
  2. package/lib/{Constant.d.ts → cjs/Constant.d.ts} +0 -0
  3. package/lib/cjs/Constant.d.ts.map +1 -0
  4. package/lib/{Constant.js → cjs/Constant.js} +0 -0
  5. package/lib/cjs/Constant.js.map +1 -0
  6. package/lib/{Geometry.d.ts → cjs/Geometry.d.ts} +0 -0
  7. package/lib/cjs/Geometry.d.ts.map +1 -0
  8. package/lib/{Geometry.js → cjs/Geometry.js} +0 -0
  9. package/lib/cjs/Geometry.js.map +1 -0
  10. package/lib/{bspline → cjs/bspline}/AkimaCurve3d.d.ts +0 -0
  11. package/lib/cjs/bspline/AkimaCurve3d.d.ts.map +1 -0
  12. package/lib/{bspline → cjs/bspline}/AkimaCurve3d.js +0 -0
  13. package/lib/cjs/bspline/AkimaCurve3d.js.map +1 -0
  14. package/lib/{bspline → cjs/bspline}/BSpline1dNd.d.ts +0 -0
  15. package/lib/cjs/bspline/BSpline1dNd.d.ts.map +1 -0
  16. package/lib/{bspline → cjs/bspline}/BSpline1dNd.js +0 -0
  17. package/lib/cjs/bspline/BSpline1dNd.js.map +1 -0
  18. package/lib/{bspline → cjs/bspline}/BSplineCurve.d.ts +0 -0
  19. package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -0
  20. package/lib/{bspline → cjs/bspline}/BSplineCurve.js +0 -0
  21. package/lib/cjs/bspline/BSplineCurve.js.map +1 -0
  22. package/lib/{bspline → cjs/bspline}/BSplineCurve3dH.d.ts +0 -0
  23. package/lib/cjs/bspline/BSplineCurve3dH.d.ts.map +1 -0
  24. package/lib/{bspline → cjs/bspline}/BSplineCurve3dH.js +0 -0
  25. package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -0
  26. package/lib/{bspline → cjs/bspline}/BSplineCurveOps.d.ts +0 -0
  27. package/lib/cjs/bspline/BSplineCurveOps.d.ts.map +1 -0
  28. package/lib/{bspline → cjs/bspline}/BSplineCurveOps.js +0 -0
  29. package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -0
  30. package/lib/cjs/bspline/BSplineSurface.d.ts +491 -0
  31. package/lib/cjs/bspline/BSplineSurface.d.ts.map +1 -0
  32. package/lib/{bspline → cjs/bspline}/BSplineSurface.js +0 -0
  33. package/lib/cjs/bspline/BSplineSurface.js.map +1 -0
  34. package/lib/{bspline → cjs/bspline}/Bezier1dNd.d.ts +0 -0
  35. package/lib/cjs/bspline/Bezier1dNd.d.ts.map +1 -0
  36. package/lib/{bspline → cjs/bspline}/Bezier1dNd.js +0 -0
  37. package/lib/cjs/bspline/Bezier1dNd.js.map +1 -0
  38. package/lib/{bspline → cjs/bspline}/BezierCurve3d.d.ts +0 -0
  39. package/lib/cjs/bspline/BezierCurve3d.d.ts.map +1 -0
  40. package/lib/{bspline → cjs/bspline}/BezierCurve3d.js +0 -0
  41. package/lib/cjs/bspline/BezierCurve3d.js.map +1 -0
  42. package/lib/{bspline → cjs/bspline}/BezierCurve3dH.d.ts +0 -0
  43. package/lib/cjs/bspline/BezierCurve3dH.d.ts.map +1 -0
  44. package/lib/{bspline → cjs/bspline}/BezierCurve3dH.js +0 -0
  45. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -0
  46. package/lib/{bspline → cjs/bspline}/BezierCurveBase.d.ts +0 -0
  47. package/lib/cjs/bspline/BezierCurveBase.d.ts.map +1 -0
  48. package/lib/{bspline → cjs/bspline}/BezierCurveBase.js +0 -0
  49. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -0
  50. package/lib/{bspline → cjs/bspline}/InterpolationCurve3d.d.ts +0 -0
  51. package/lib/cjs/bspline/InterpolationCurve3d.d.ts.map +1 -0
  52. package/lib/{bspline → cjs/bspline}/InterpolationCurve3d.js +0 -0
  53. package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -0
  54. package/lib/{bspline → cjs/bspline}/KnotVector.d.ts +0 -0
  55. package/lib/cjs/bspline/KnotVector.d.ts.map +1 -0
  56. package/lib/{bspline → cjs/bspline}/KnotVector.js +0 -0
  57. package/lib/cjs/bspline/KnotVector.js.map +1 -0
  58. package/lib/{bspline → cjs/bspline}/SurfaceLocationDetail.d.ts +0 -0
  59. package/lib/cjs/bspline/SurfaceLocationDetail.d.ts.map +1 -0
  60. package/lib/{bspline → cjs/bspline}/SurfaceLocationDetail.js +0 -0
  61. package/lib/cjs/bspline/SurfaceLocationDetail.js.map +1 -0
  62. package/lib/{clipping → cjs/clipping}/AlternatingConvexClipTree.d.ts +0 -0
  63. package/lib/cjs/clipping/AlternatingConvexClipTree.d.ts.map +1 -0
  64. package/lib/{clipping → cjs/clipping}/AlternatingConvexClipTree.js +0 -0
  65. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -0
  66. package/lib/{clipping → cjs/clipping}/BooleanClipFactory.d.ts +0 -0
  67. package/lib/cjs/clipping/BooleanClipFactory.d.ts.map +1 -0
  68. package/lib/{clipping → cjs/clipping}/BooleanClipFactory.js +0 -0
  69. package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -0
  70. package/lib/{clipping → cjs/clipping}/BooleanClipNode.d.ts +0 -0
  71. package/lib/cjs/clipping/BooleanClipNode.d.ts.map +1 -0
  72. package/lib/{clipping → cjs/clipping}/BooleanClipNode.js +0 -0
  73. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -0
  74. package/lib/{clipping → cjs/clipping}/ClipPlane.d.ts +0 -0
  75. package/lib/cjs/clipping/ClipPlane.d.ts.map +1 -0
  76. package/lib/{clipping → cjs/clipping}/ClipPlane.js +0 -0
  77. package/lib/cjs/clipping/ClipPlane.js.map +1 -0
  78. package/lib/{clipping → cjs/clipping}/ClipPrimitive.d.ts +0 -0
  79. package/lib/cjs/clipping/ClipPrimitive.d.ts.map +1 -0
  80. package/lib/{clipping → cjs/clipping}/ClipPrimitive.js +0 -0
  81. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -0
  82. package/lib/{clipping → cjs/clipping}/ClipUtils.d.ts +0 -0
  83. package/lib/cjs/clipping/ClipUtils.d.ts.map +1 -0
  84. package/lib/{clipping → cjs/clipping}/ClipUtils.js +0 -0
  85. package/lib/cjs/clipping/ClipUtils.js.map +1 -0
  86. package/lib/{clipping → cjs/clipping}/ClipVector.d.ts +0 -0
  87. package/lib/cjs/clipping/ClipVector.d.ts.map +1 -0
  88. package/lib/{clipping → cjs/clipping}/ClipVector.js +0 -0
  89. package/lib/cjs/clipping/ClipVector.js.map +1 -0
  90. package/lib/{clipping → cjs/clipping}/ConvexClipPlaneSet.d.ts +0 -0
  91. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts.map +1 -0
  92. package/lib/{clipping → cjs/clipping}/ConvexClipPlaneSet.js +0 -0
  93. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -0
  94. package/lib/{clipping → cjs/clipping}/UnionOfConvexClipPlaneSets.d.ts +0 -0
  95. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -0
  96. package/lib/{clipping → cjs/clipping}/UnionOfConvexClipPlaneSets.js +0 -0
  97. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -0
  98. package/lib/{clipping → cjs/clipping}/internalContexts/LineStringOffsetClipperContext.d.ts +0 -0
  99. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -0
  100. package/lib/{clipping → cjs/clipping}/internalContexts/LineStringOffsetClipperContext.js +0 -0
  101. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -0
  102. package/lib/{core-geometry.d.ts → cjs/core-geometry.d.ts} +0 -0
  103. package/lib/cjs/core-geometry.d.ts.map +1 -0
  104. package/lib/{core-geometry.js → cjs/core-geometry.js} +0 -0
  105. package/lib/cjs/core-geometry.js.map +1 -0
  106. package/lib/{curve → cjs/curve}/Arc3d.d.ts +0 -0
  107. package/lib/cjs/curve/Arc3d.d.ts.map +1 -0
  108. package/lib/{curve → cjs/curve}/Arc3d.js +0 -0
  109. package/lib/cjs/curve/Arc3d.js.map +1 -0
  110. package/lib/{curve → cjs/curve}/ChainCollectorContext.d.ts +0 -0
  111. package/lib/cjs/curve/ChainCollectorContext.d.ts.map +1 -0
  112. package/lib/{curve → cjs/curve}/ChainCollectorContext.js +0 -0
  113. package/lib/cjs/curve/ChainCollectorContext.js.map +1 -0
  114. package/lib/{curve → cjs/curve}/ConstructCurveBetweenCurves.d.ts +0 -0
  115. package/lib/cjs/curve/ConstructCurveBetweenCurves.d.ts.map +1 -0
  116. package/lib/{curve → cjs/curve}/ConstructCurveBetweenCurves.js +0 -0
  117. package/lib/cjs/curve/ConstructCurveBetweenCurves.js.map +1 -0
  118. package/lib/{curve → cjs/curve}/CoordinateXYZ.d.ts +0 -0
  119. package/lib/cjs/curve/CoordinateXYZ.d.ts.map +1 -0
  120. package/lib/{curve → cjs/curve}/CoordinateXYZ.js +0 -0
  121. package/lib/cjs/curve/CoordinateXYZ.js.map +1 -0
  122. package/lib/{curve → cjs/curve}/CurveChain.d.ts +0 -0
  123. package/lib/cjs/curve/CurveChain.d.ts.map +1 -0
  124. package/lib/{curve → cjs/curve}/CurveChain.js +0 -0
  125. package/lib/cjs/curve/CurveChain.js.map +1 -0
  126. package/lib/{curve → cjs/curve}/CurveChainWithDistanceIndex.d.ts +0 -0
  127. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -0
  128. package/lib/{curve → cjs/curve}/CurveChainWithDistanceIndex.js +0 -0
  129. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -0
  130. package/lib/{curve → cjs/curve}/CurveCollection.d.ts +0 -0
  131. package/lib/cjs/curve/CurveCollection.d.ts.map +1 -0
  132. package/lib/{curve → cjs/curve}/CurveCollection.js +0 -0
  133. package/lib/cjs/curve/CurveCollection.js.map +1 -0
  134. package/lib/{curve → cjs/curve}/CurveCurve.d.ts +0 -0
  135. package/lib/cjs/curve/CurveCurve.d.ts.map +1 -0
  136. package/lib/{curve → cjs/curve}/CurveCurve.js +0 -0
  137. package/lib/cjs/curve/CurveCurve.js.map +1 -0
  138. package/lib/{curve → cjs/curve}/CurveCurveCloseApproachXY.d.ts +0 -0
  139. package/lib/cjs/curve/CurveCurveCloseApproachXY.d.ts.map +1 -0
  140. package/lib/{curve → cjs/curve}/CurveCurveCloseApproachXY.js +0 -0
  141. package/lib/cjs/curve/CurveCurveCloseApproachXY.js.map +1 -0
  142. package/lib/{curve → cjs/curve}/CurveCurveIntersectXY.d.ts +0 -0
  143. package/lib/cjs/curve/CurveCurveIntersectXY.d.ts.map +1 -0
  144. package/lib/{curve → cjs/curve}/CurveCurveIntersectXY.js +0 -0
  145. package/lib/cjs/curve/CurveCurveIntersectXY.js.map +1 -0
  146. package/lib/{curve → cjs/curve}/CurveCurveIntersectXYZ.d.ts +0 -0
  147. package/lib/cjs/curve/CurveCurveIntersectXYZ.d.ts.map +1 -0
  148. package/lib/{curve → cjs/curve}/CurveCurveIntersectXYZ.js +0 -0
  149. package/lib/cjs/curve/CurveCurveIntersectXYZ.js.map +1 -0
  150. package/lib/{curve → cjs/curve}/CurveExtendMode.d.ts +0 -0
  151. package/lib/cjs/curve/CurveExtendMode.d.ts.map +1 -0
  152. package/lib/{curve → cjs/curve}/CurveExtendMode.js +0 -0
  153. package/lib/cjs/curve/CurveExtendMode.js.map +1 -0
  154. package/lib/{curve → cjs/curve}/CurveFactory.d.ts +0 -0
  155. package/lib/cjs/curve/CurveFactory.d.ts.map +1 -0
  156. package/lib/{curve → cjs/curve}/CurveFactory.js +0 -0
  157. package/lib/cjs/curve/CurveFactory.js.map +1 -0
  158. package/lib/{curve → cjs/curve}/CurveLocationDetail.d.ts +0 -0
  159. package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -0
  160. package/lib/{curve → cjs/curve}/CurveLocationDetail.js +0 -0
  161. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -0
  162. package/lib/{curve → cjs/curve}/CurvePrimitive.d.ts +0 -0
  163. package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -0
  164. package/lib/{curve → cjs/curve}/CurvePrimitive.js +0 -0
  165. package/lib/cjs/curve/CurvePrimitive.js.map +1 -0
  166. package/lib/{curve → cjs/curve}/CurveProcessor.d.ts +0 -0
  167. package/lib/cjs/curve/CurveProcessor.d.ts.map +1 -0
  168. package/lib/{curve → cjs/curve}/CurveProcessor.js +0 -0
  169. package/lib/cjs/curve/CurveProcessor.js.map +1 -0
  170. package/lib/{curve → cjs/curve}/CurveWireMomentsXYZ.d.ts +0 -0
  171. package/lib/cjs/curve/CurveWireMomentsXYZ.d.ts.map +1 -0
  172. package/lib/{curve → cjs/curve}/CurveWireMomentsXYZ.js +0 -0
  173. package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -0
  174. package/lib/{curve → cjs/curve}/GeometryQuery.d.ts +0 -0
  175. package/lib/cjs/curve/GeometryQuery.d.ts.map +1 -0
  176. package/lib/{curve → cjs/curve}/GeometryQuery.js +0 -0
  177. package/lib/cjs/curve/GeometryQuery.js.map +1 -0
  178. package/lib/{curve → cjs/curve}/LineSegment3d.d.ts +0 -0
  179. package/lib/cjs/curve/LineSegment3d.d.ts.map +1 -0
  180. package/lib/{curve → cjs/curve}/LineSegment3d.js +0 -0
  181. package/lib/cjs/curve/LineSegment3d.js.map +1 -0
  182. package/lib/{curve → cjs/curve}/LineString3d.d.ts +0 -0
  183. package/lib/cjs/curve/LineString3d.d.ts.map +1 -0
  184. package/lib/{curve → cjs/curve}/LineString3d.js +0 -0
  185. package/lib/cjs/curve/LineString3d.js.map +1 -0
  186. package/lib/{curve → cjs/curve}/Loop.d.ts +0 -0
  187. package/lib/cjs/curve/Loop.d.ts.map +1 -0
  188. package/lib/{curve → cjs/curve}/Loop.js +0 -0
  189. package/lib/cjs/curve/Loop.js.map +1 -0
  190. package/lib/{curve → cjs/curve}/ParityRegion.d.ts +0 -0
  191. package/lib/cjs/curve/ParityRegion.d.ts.map +1 -0
  192. package/lib/{curve → cjs/curve}/ParityRegion.js +0 -0
  193. package/lib/cjs/curve/ParityRegion.js.map +1 -0
  194. package/lib/{curve → cjs/curve}/Path.d.ts +0 -0
  195. package/lib/cjs/curve/Path.d.ts.map +1 -0
  196. package/lib/{curve → cjs/curve}/Path.js +0 -0
  197. package/lib/cjs/curve/Path.js.map +1 -0
  198. package/lib/{curve → cjs/curve}/PointString3d.d.ts +0 -0
  199. package/lib/cjs/curve/PointString3d.d.ts.map +1 -0
  200. package/lib/{curve → cjs/curve}/PointString3d.js +0 -0
  201. package/lib/cjs/curve/PointString3d.js.map +1 -0
  202. package/lib/{curve → cjs/curve}/ProxyCurve.d.ts +0 -0
  203. package/lib/cjs/curve/ProxyCurve.d.ts.map +1 -0
  204. package/lib/{curve → cjs/curve}/ProxyCurve.js +0 -0
  205. package/lib/cjs/curve/ProxyCurve.js.map +1 -0
  206. package/lib/{curve → cjs/curve}/Query/ConsolidateAdjacentPrimitivesContext.d.ts +0 -0
  207. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -0
  208. package/lib/{curve → cjs/curve}/Query/ConsolidateAdjacentPrimitivesContext.js +0 -0
  209. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -0
  210. package/lib/{curve → cjs/curve}/Query/CurveSplitContext.d.ts +0 -0
  211. package/lib/cjs/curve/Query/CurveSplitContext.d.ts.map +1 -0
  212. package/lib/{curve → cjs/curve}/Query/CurveSplitContext.js +0 -0
  213. package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -0
  214. package/lib/{curve → cjs/curve}/Query/CylindricalRange.d.ts +0 -0
  215. package/lib/cjs/curve/Query/CylindricalRange.d.ts.map +1 -0
  216. package/lib/{curve → cjs/curve}/Query/CylindricalRange.js +0 -0
  217. package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -0
  218. package/lib/{curve → cjs/curve}/Query/InOutTests.d.ts +0 -0
  219. package/lib/cjs/curve/Query/InOutTests.d.ts.map +1 -0
  220. package/lib/{curve → cjs/curve}/Query/InOutTests.js +0 -0
  221. package/lib/cjs/curve/Query/InOutTests.js.map +1 -0
  222. package/lib/{curve → cjs/curve}/Query/PlanarSubdivision.d.ts +0 -0
  223. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts.map +1 -0
  224. package/lib/{curve → cjs/curve}/Query/PlanarSubdivision.js +0 -0
  225. package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -0
  226. package/lib/{curve → cjs/curve}/Query/StrokeCountChain.d.ts +0 -0
  227. package/lib/cjs/curve/Query/StrokeCountChain.d.ts.map +1 -0
  228. package/lib/{curve → cjs/curve}/Query/StrokeCountChain.js +0 -0
  229. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -0
  230. package/lib/{curve → cjs/curve}/Query/StrokeCountMap.d.ts +0 -0
  231. package/lib/cjs/curve/Query/StrokeCountMap.d.ts.map +1 -0
  232. package/lib/{curve → cjs/curve}/Query/StrokeCountMap.js +0 -0
  233. package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -0
  234. package/lib/{curve → cjs/curve}/RegionMomentsXY.d.ts +0 -0
  235. package/lib/cjs/curve/RegionMomentsXY.d.ts.map +1 -0
  236. package/lib/{curve → cjs/curve}/RegionMomentsXY.js +0 -0
  237. package/lib/cjs/curve/RegionMomentsXY.js.map +1 -0
  238. package/lib/{curve → cjs/curve}/RegionOps.d.ts +0 -0
  239. package/lib/cjs/curve/RegionOps.d.ts.map +1 -0
  240. package/lib/{curve → cjs/curve}/RegionOps.js +0 -0
  241. package/lib/cjs/curve/RegionOps.js.map +1 -0
  242. package/lib/{curve → cjs/curve}/RegionOpsClassificationSweeps.d.ts +0 -0
  243. package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts.map +1 -0
  244. package/lib/{curve → cjs/curve}/RegionOpsClassificationSweeps.js +0 -0
  245. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -0
  246. package/lib/{curve → cjs/curve}/StrokeOptions.d.ts +0 -0
  247. package/lib/cjs/curve/StrokeOptions.d.ts.map +1 -0
  248. package/lib/{curve → cjs/curve}/StrokeOptions.js +0 -0
  249. package/lib/cjs/curve/StrokeOptions.js.map +1 -0
  250. package/lib/{curve → cjs/curve}/UnionRegion.d.ts +0 -0
  251. package/lib/cjs/curve/UnionRegion.d.ts.map +1 -0
  252. package/lib/{curve → cjs/curve}/UnionRegion.js +0 -0
  253. package/lib/cjs/curve/UnionRegion.js.map +1 -0
  254. package/lib/{curve → cjs/curve}/internalContexts/CloneCurvesContext.d.ts +0 -0
  255. package/lib/cjs/curve/internalContexts/CloneCurvesContext.d.ts.map +1 -0
  256. package/lib/{curve → cjs/curve}/internalContexts/CloneCurvesContext.js +0 -0
  257. package/lib/cjs/curve/internalContexts/CloneCurvesContext.js.map +1 -0
  258. package/lib/{curve → cjs/curve}/internalContexts/CloneWithExpandedLineStrings.d.ts +0 -0
  259. package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +1 -0
  260. package/lib/{curve → cjs/curve}/internalContexts/CloneWithExpandedLineStrings.js +0 -0
  261. package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -0
  262. package/lib/{curve → cjs/curve}/internalContexts/CountLinearPartsSearchContext.d.ts +0 -0
  263. package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +1 -0
  264. package/lib/{curve → cjs/curve}/internalContexts/CountLinearPartsSearchContext.js +0 -0
  265. package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -0
  266. package/lib/{curve → cjs/curve}/internalContexts/GapSearchContext.d.ts +0 -0
  267. package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts.map +1 -0
  268. package/lib/{curve → cjs/curve}/internalContexts/GapSearchContext.js +0 -0
  269. package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -0
  270. package/lib/{curve → cjs/curve}/internalContexts/MultiChainCollector.d.ts +0 -0
  271. package/lib/cjs/curve/internalContexts/MultiChainCollector.d.ts.map +1 -0
  272. package/lib/{curve → cjs/curve}/internalContexts/MultiChainCollector.js +0 -0
  273. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -0
  274. package/lib/{curve → cjs/curve}/internalContexts/PlaneAltitudeRangeContext.d.ts +0 -0
  275. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -0
  276. package/lib/{curve → cjs/curve}/internalContexts/PlaneAltitudeRangeContext.js +0 -0
  277. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -0
  278. package/lib/{curve → cjs/curve}/internalContexts/PolygonOffsetContext.d.ts +0 -0
  279. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -0
  280. package/lib/{curve → cjs/curve}/internalContexts/PolygonOffsetContext.js +0 -0
  281. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -0
  282. package/lib/{curve → cjs/curve}/internalContexts/SumLengthsContext.d.ts +0 -0
  283. package/lib/cjs/curve/internalContexts/SumLengthsContext.d.ts.map +1 -0
  284. package/lib/{curve → cjs/curve}/internalContexts/SumLengthsContext.js +0 -0
  285. package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -0
  286. package/lib/{curve → cjs/curve}/internalContexts/TransformInPlaceContext.d.ts +0 -0
  287. package/lib/cjs/curve/internalContexts/TransformInPlaceContext.d.ts.map +1 -0
  288. package/lib/{curve → cjs/curve}/internalContexts/TransformInPlaceContext.js +0 -0
  289. package/lib/cjs/curve/internalContexts/TransformInPlaceContext.js.map +1 -0
  290. package/lib/{curve → cjs/curve}/spiral/AustralianRailCorpXYEvaluator.d.ts +0 -0
  291. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -0
  292. package/lib/{curve → cjs/curve}/spiral/AustralianRailCorpXYEvaluator.js +0 -0
  293. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -0
  294. package/lib/{curve → cjs/curve}/spiral/ClothoidSeries.d.ts +0 -0
  295. package/lib/cjs/curve/spiral/ClothoidSeries.d.ts.map +1 -0
  296. package/lib/{curve → cjs/curve}/spiral/ClothoidSeries.js +0 -0
  297. package/lib/cjs/curve/spiral/ClothoidSeries.js.map +1 -0
  298. package/lib/{curve → cjs/curve}/spiral/CubicEvaluator.d.ts +0 -0
  299. package/lib/cjs/curve/spiral/CubicEvaluator.d.ts.map +1 -0
  300. package/lib/{curve → cjs/curve}/spiral/CubicEvaluator.js +0 -0
  301. package/lib/cjs/curve/spiral/CubicEvaluator.js.map +1 -0
  302. package/lib/{curve → cjs/curve}/spiral/CzechSpiralEvaluator.d.ts +0 -0
  303. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -0
  304. package/lib/{curve → cjs/curve}/spiral/CzechSpiralEvaluator.js +0 -0
  305. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js.map +1 -0
  306. package/lib/{curve → cjs/curve}/spiral/DirectHalfCosineSpiralEvaluator.d.ts +0 -0
  307. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -0
  308. package/lib/{curve → cjs/curve}/spiral/DirectHalfCosineSpiralEvaluator.js +0 -0
  309. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -0
  310. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts +265 -0
  311. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts.map +1 -0
  312. package/lib/cjs/curve/spiral/DirectSpiral3d.js +473 -0
  313. package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -0
  314. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts +158 -0
  315. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -0
  316. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +364 -0
  317. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -0
  318. package/lib/{curve → cjs/curve}/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +0 -0
  319. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -0
  320. package/lib/{curve → cjs/curve}/spiral/MXCubicAlongArcSpiralEvaluator.js +0 -0
  321. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -0
  322. package/lib/{curve → cjs/curve}/spiral/NormalizedTransition.d.ts +0 -0
  323. package/lib/cjs/curve/spiral/NormalizedTransition.d.ts.map +1 -0
  324. package/lib/{curve → cjs/curve}/spiral/NormalizedTransition.js +0 -0
  325. package/lib/cjs/curve/spiral/NormalizedTransition.js.map +1 -0
  326. package/lib/{curve → cjs/curve}/spiral/PolishCubicSpiralEvaluator.d.ts +0 -0
  327. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -0
  328. package/lib/{curve → cjs/curve}/spiral/PolishCubicSpiralEvaluator.js +0 -0
  329. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -0
  330. package/lib/{curve → cjs/curve}/spiral/TransitionConditionalProperties.d.ts +0 -0
  331. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -0
  332. package/lib/{curve → cjs/curve}/spiral/TransitionConditionalProperties.js +0 -0
  333. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -0
  334. package/lib/{curve → cjs/curve}/spiral/TransitionSpiral3d.d.ts +0 -0
  335. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts.map +1 -0
  336. package/lib/{curve → cjs/curve}/spiral/TransitionSpiral3d.js +0 -0
  337. package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -0
  338. package/lib/{curve → cjs/curve}/spiral/XYCurveEvaluator.d.ts +0 -0
  339. package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts.map +1 -0
  340. package/lib/{curve → cjs/curve}/spiral/XYCurveEvaluator.js +0 -0
  341. package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -0
  342. package/lib/{geometry3d → cjs/geometry3d}/Angle.d.ts +0 -0
  343. package/lib/cjs/geometry3d/Angle.d.ts.map +1 -0
  344. package/lib/{geometry3d → cjs/geometry3d}/Angle.js +0 -0
  345. package/lib/cjs/geometry3d/Angle.js.map +1 -0
  346. package/lib/{geometry3d → cjs/geometry3d}/AngleSweep.d.ts +0 -0
  347. package/lib/cjs/geometry3d/AngleSweep.d.ts.map +1 -0
  348. package/lib/{geometry3d → cjs/geometry3d}/AngleSweep.js +0 -0
  349. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -0
  350. package/lib/{geometry3d → cjs/geometry3d}/BarycentricTriangle.d.ts +0 -0
  351. package/lib/cjs/geometry3d/BarycentricTriangle.d.ts.map +1 -0
  352. package/lib/{geometry3d → cjs/geometry3d}/BarycentricTriangle.js +0 -0
  353. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -0
  354. package/lib/{geometry3d → cjs/geometry3d}/BilinearPatch.d.ts +0 -0
  355. package/lib/cjs/geometry3d/BilinearPatch.d.ts.map +1 -0
  356. package/lib/{geometry3d → cjs/geometry3d}/BilinearPatch.js +0 -0
  357. package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -0
  358. package/lib/{geometry3d → cjs/geometry3d}/CoincidentGeometryOps.d.ts +0 -0
  359. package/lib/cjs/geometry3d/CoincidentGeometryOps.d.ts.map +1 -0
  360. package/lib/{geometry3d → cjs/geometry3d}/CoincidentGeometryOps.js +0 -0
  361. package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -0
  362. package/lib/{geometry3d → cjs/geometry3d}/Ellipsoid.d.ts +0 -0
  363. package/lib/cjs/geometry3d/Ellipsoid.d.ts.map +1 -0
  364. package/lib/{geometry3d → cjs/geometry3d}/Ellipsoid.js +0 -0
  365. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -0
  366. package/lib/{geometry3d → cjs/geometry3d}/FrameBuilder.d.ts +0 -0
  367. package/lib/cjs/geometry3d/FrameBuilder.d.ts.map +1 -0
  368. package/lib/{geometry3d → cjs/geometry3d}/FrameBuilder.js +0 -0
  369. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -0
  370. package/lib/{geometry3d → cjs/geometry3d}/FrustumAnimation.d.ts +0 -0
  371. package/lib/cjs/geometry3d/FrustumAnimation.d.ts.map +1 -0
  372. package/lib/{geometry3d → cjs/geometry3d}/FrustumAnimation.js +0 -0
  373. package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -0
  374. package/lib/{geometry3d → cjs/geometry3d}/GeometryHandler.d.ts +0 -0
  375. package/lib/cjs/geometry3d/GeometryHandler.d.ts.map +1 -0
  376. package/lib/{geometry3d → cjs/geometry3d}/GeometryHandler.js +0 -0
  377. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -0
  378. package/lib/{geometry3d → cjs/geometry3d}/GrowableBlockedArray.d.ts +0 -0
  379. package/lib/cjs/geometry3d/GrowableBlockedArray.d.ts.map +1 -0
  380. package/lib/{geometry3d → cjs/geometry3d}/GrowableBlockedArray.js +0 -0
  381. package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -0
  382. package/lib/{geometry3d → cjs/geometry3d}/GrowableFloat64Array.d.ts +0 -0
  383. package/lib/cjs/geometry3d/GrowableFloat64Array.d.ts.map +1 -0
  384. package/lib/{geometry3d → cjs/geometry3d}/GrowableFloat64Array.js +0 -0
  385. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -0
  386. package/lib/{geometry3d → cjs/geometry3d}/GrowableXYArray.d.ts +0 -0
  387. package/lib/cjs/geometry3d/GrowableXYArray.d.ts.map +1 -0
  388. package/lib/{geometry3d → cjs/geometry3d}/GrowableXYArray.js +0 -0
  389. package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -0
  390. package/lib/{geometry3d → cjs/geometry3d}/GrowableXYZArray.d.ts +0 -0
  391. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -0
  392. package/lib/{geometry3d → cjs/geometry3d}/GrowableXYZArray.js +0 -0
  393. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -0
  394. package/lib/{geometry3d → cjs/geometry3d}/IndexedCollectionInterval.d.ts +0 -0
  395. package/lib/cjs/geometry3d/IndexedCollectionInterval.d.ts.map +1 -0
  396. package/lib/{geometry3d → cjs/geometry3d}/IndexedCollectionInterval.js +0 -0
  397. package/lib/cjs/geometry3d/IndexedCollectionInterval.js.map +1 -0
  398. package/lib/{geometry3d → cjs/geometry3d}/IndexedXYCollection.d.ts +0 -0
  399. package/lib/cjs/geometry3d/IndexedXYCollection.d.ts.map +1 -0
  400. package/lib/{geometry3d → cjs/geometry3d}/IndexedXYCollection.js +0 -0
  401. package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -0
  402. package/lib/{geometry3d → cjs/geometry3d}/IndexedXYZCollection.d.ts +0 -0
  403. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -0
  404. package/lib/{geometry3d → cjs/geometry3d}/IndexedXYZCollection.js +0 -0
  405. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -0
  406. package/lib/{geometry3d → cjs/geometry3d}/LongitudeLatitudeAltitude.d.ts +0 -0
  407. package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.d.ts.map +1 -0
  408. package/lib/{geometry3d → cjs/geometry3d}/LongitudeLatitudeAltitude.js +0 -0
  409. package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.js.map +1 -0
  410. package/lib/{geometry3d → cjs/geometry3d}/Matrix3d.d.ts +0 -0
  411. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -0
  412. package/lib/{geometry3d → cjs/geometry3d}/Matrix3d.js +0 -0
  413. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -0
  414. package/lib/{geometry3d → cjs/geometry3d}/OrderedRotationAngles.d.ts +0 -0
  415. package/lib/cjs/geometry3d/OrderedRotationAngles.d.ts.map +1 -0
  416. package/lib/{geometry3d → cjs/geometry3d}/OrderedRotationAngles.js +0 -0
  417. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -0
  418. package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndUnitNormal.d.ts +0 -0
  419. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -0
  420. package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndUnitNormal.js +0 -0
  421. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -0
  422. package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndVectors.d.ts +0 -0
  423. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -0
  424. package/lib/{geometry3d → cjs/geometry3d}/Plane3dByOriginAndVectors.js +0 -0
  425. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -0
  426. package/lib/{geometry3d → cjs/geometry3d}/Point2dArrayCarrier.d.ts +0 -0
  427. package/lib/cjs/geometry3d/Point2dArrayCarrier.d.ts.map +1 -0
  428. package/lib/{geometry3d → cjs/geometry3d}/Point2dArrayCarrier.js +0 -0
  429. package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -0
  430. package/lib/{geometry3d → cjs/geometry3d}/Point2dVector2d.d.ts +0 -0
  431. package/lib/cjs/geometry3d/Point2dVector2d.d.ts.map +1 -0
  432. package/lib/{geometry3d → cjs/geometry3d}/Point2dVector2d.js +0 -0
  433. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -0
  434. package/lib/{geometry3d → cjs/geometry3d}/Point3dArrayCarrier.d.ts +0 -0
  435. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts.map +1 -0
  436. package/lib/{geometry3d → cjs/geometry3d}/Point3dArrayCarrier.js +0 -0
  437. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -0
  438. package/lib/{geometry3d → cjs/geometry3d}/Point3dVector3d.d.ts +0 -0
  439. package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -0
  440. package/lib/{geometry3d → cjs/geometry3d}/Point3dVector3d.js +0 -0
  441. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -0
  442. package/lib/{geometry3d → cjs/geometry3d}/PointHelpers.d.ts +0 -0
  443. package/lib/cjs/geometry3d/PointHelpers.d.ts.map +1 -0
  444. package/lib/{geometry3d → cjs/geometry3d}/PointHelpers.js +0 -0
  445. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -0
  446. package/lib/{geometry3d → cjs/geometry3d}/PointStreaming.d.ts +0 -0
  447. package/lib/cjs/geometry3d/PointStreaming.d.ts.map +1 -0
  448. package/lib/{geometry3d → cjs/geometry3d}/PointStreaming.js +0 -0
  449. package/lib/cjs/geometry3d/PointStreaming.js.map +1 -0
  450. package/lib/{geometry3d → cjs/geometry3d}/PolygonOps.d.ts +0 -0
  451. package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -0
  452. package/lib/{geometry3d → cjs/geometry3d}/PolygonOps.js +0 -0
  453. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -0
  454. package/lib/{geometry3d → cjs/geometry3d}/PolylineCompressionByEdgeOffset.d.ts +0 -0
  455. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +1 -0
  456. package/lib/{geometry3d → cjs/geometry3d}/PolylineCompressionByEdgeOffset.js +0 -0
  457. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -0
  458. package/lib/{geometry3d → cjs/geometry3d}/PolylineOps.d.ts +0 -0
  459. package/lib/cjs/geometry3d/PolylineOps.d.ts.map +1 -0
  460. package/lib/{geometry3d → cjs/geometry3d}/PolylineOps.js +0 -0
  461. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -0
  462. package/lib/{geometry3d → cjs/geometry3d}/Range.d.ts +0 -0
  463. package/lib/cjs/geometry3d/Range.d.ts.map +1 -0
  464. package/lib/{geometry3d → cjs/geometry3d}/Range.js +0 -0
  465. package/lib/cjs/geometry3d/Range.js.map +1 -0
  466. package/lib/{geometry3d → cjs/geometry3d}/Ray3d.d.ts +0 -0
  467. package/lib/cjs/geometry3d/Ray3d.d.ts.map +1 -0
  468. package/lib/{geometry3d → cjs/geometry3d}/Ray3d.js +0 -0
  469. package/lib/cjs/geometry3d/Ray3d.js.map +1 -0
  470. package/lib/{geometry3d → cjs/geometry3d}/ReusableObjectCache.d.ts +0 -0
  471. package/lib/cjs/geometry3d/ReusableObjectCache.d.ts.map +1 -0
  472. package/lib/{geometry3d → cjs/geometry3d}/ReusableObjectCache.js +0 -0
  473. package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -0
  474. package/lib/{geometry3d → cjs/geometry3d}/Segment1d.d.ts +0 -0
  475. package/lib/cjs/geometry3d/Segment1d.d.ts.map +1 -0
  476. package/lib/{geometry3d → cjs/geometry3d}/Segment1d.js +0 -0
  477. package/lib/cjs/geometry3d/Segment1d.js.map +1 -0
  478. package/lib/{geometry3d → cjs/geometry3d}/SortablePolygon.d.ts +0 -0
  479. package/lib/cjs/geometry3d/SortablePolygon.d.ts.map +1 -0
  480. package/lib/{geometry3d → cjs/geometry3d}/SortablePolygon.js +0 -0
  481. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -0
  482. package/lib/{geometry3d → cjs/geometry3d}/Transform.d.ts +0 -0
  483. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -0
  484. package/lib/{geometry3d → cjs/geometry3d}/Transform.js +0 -0
  485. package/lib/cjs/geometry3d/Transform.js.map +1 -0
  486. package/lib/{geometry3d → cjs/geometry3d}/UVSurfaceOps.d.ts +0 -0
  487. package/lib/cjs/geometry3d/UVSurfaceOps.d.ts.map +1 -0
  488. package/lib/{geometry3d → cjs/geometry3d}/UVSurfaceOps.js +0 -0
  489. package/lib/cjs/geometry3d/UVSurfaceOps.js.map +1 -0
  490. package/lib/{geometry3d → cjs/geometry3d}/XYZProps.d.ts +0 -0
  491. package/lib/cjs/geometry3d/XYZProps.d.ts.map +1 -0
  492. package/lib/{geometry3d → cjs/geometry3d}/XYZProps.js +0 -0
  493. package/lib/cjs/geometry3d/XYZProps.js.map +1 -0
  494. package/lib/{geometry3d → cjs/geometry3d}/YawPitchRollAngles.d.ts +0 -0
  495. package/lib/cjs/geometry3d/YawPitchRollAngles.d.ts.map +1 -0
  496. package/lib/{geometry3d → cjs/geometry3d}/YawPitchRollAngles.js +0 -0
  497. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -0
  498. package/lib/{geometry4d → cjs/geometry4d}/Map4d.d.ts +0 -0
  499. package/lib/cjs/geometry4d/Map4d.d.ts.map +1 -0
  500. package/lib/{geometry4d → cjs/geometry4d}/Map4d.js +0 -0
  501. package/lib/cjs/geometry4d/Map4d.js.map +1 -0
  502. package/lib/{geometry4d → cjs/geometry4d}/Matrix4d.d.ts +0 -0
  503. package/lib/cjs/geometry4d/Matrix4d.d.ts.map +1 -0
  504. package/lib/{geometry4d → cjs/geometry4d}/Matrix4d.js +0 -0
  505. package/lib/cjs/geometry4d/Matrix4d.js.map +1 -0
  506. package/lib/{geometry4d → cjs/geometry4d}/MomentData.d.ts +0 -0
  507. package/lib/cjs/geometry4d/MomentData.d.ts.map +1 -0
  508. package/lib/{geometry4d → cjs/geometry4d}/MomentData.js +0 -0
  509. package/lib/cjs/geometry4d/MomentData.js.map +1 -0
  510. package/lib/{geometry4d → cjs/geometry4d}/PlaneByOriginAndVectors4d.d.ts +0 -0
  511. package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +1 -0
  512. package/lib/{geometry4d → cjs/geometry4d}/PlaneByOriginAndVectors4d.js +0 -0
  513. package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -0
  514. package/lib/{geometry4d → cjs/geometry4d}/Point4d.d.ts +0 -0
  515. package/lib/cjs/geometry4d/Point4d.d.ts.map +1 -0
  516. package/lib/{geometry4d → cjs/geometry4d}/Point4d.js +0 -0
  517. package/lib/cjs/geometry4d/Point4d.js.map +1 -0
  518. package/lib/{numerics → cjs/numerics}/BandedSystem.d.ts +0 -0
  519. package/lib/cjs/numerics/BandedSystem.d.ts.map +1 -0
  520. package/lib/{numerics → cjs/numerics}/BandedSystem.js +0 -0
  521. package/lib/cjs/numerics/BandedSystem.js.map +1 -0
  522. package/lib/{numerics → cjs/numerics}/BezierPolynomials.d.ts +0 -0
  523. package/lib/cjs/numerics/BezierPolynomials.d.ts.map +1 -0
  524. package/lib/{numerics → cjs/numerics}/BezierPolynomials.js +0 -0
  525. package/lib/cjs/numerics/BezierPolynomials.js.map +1 -0
  526. package/lib/{numerics → cjs/numerics}/ClusterableArray.d.ts +0 -0
  527. package/lib/cjs/numerics/ClusterableArray.d.ts.map +1 -0
  528. package/lib/{numerics → cjs/numerics}/ClusterableArray.js +0 -0
  529. package/lib/cjs/numerics/ClusterableArray.js.map +1 -0
  530. package/lib/{numerics → cjs/numerics}/Complex.d.ts +0 -0
  531. package/lib/cjs/numerics/Complex.d.ts.map +1 -0
  532. package/lib/{numerics → cjs/numerics}/Complex.js +0 -0
  533. package/lib/cjs/numerics/Complex.js.map +1 -0
  534. package/lib/{numerics → cjs/numerics}/ConvexPolygon2d.d.ts +0 -0
  535. package/lib/cjs/numerics/ConvexPolygon2d.d.ts.map +1 -0
  536. package/lib/{numerics → cjs/numerics}/ConvexPolygon2d.js +0 -0
  537. package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -0
  538. package/lib/{numerics → cjs/numerics}/Newton.d.ts +0 -0
  539. package/lib/cjs/numerics/Newton.d.ts.map +1 -0
  540. package/lib/{numerics → cjs/numerics}/Newton.js +0 -0
  541. package/lib/cjs/numerics/Newton.js.map +1 -0
  542. package/lib/{numerics → cjs/numerics}/PascalCoefficients.d.ts +0 -0
  543. package/lib/cjs/numerics/PascalCoefficients.d.ts.map +1 -0
  544. package/lib/{numerics → cjs/numerics}/PascalCoefficients.js +0 -0
  545. package/lib/cjs/numerics/PascalCoefficients.js.map +1 -0
  546. package/lib/{numerics → cjs/numerics}/PolarData.d.ts +0 -0
  547. package/lib/cjs/numerics/PolarData.d.ts.map +1 -0
  548. package/lib/{numerics → cjs/numerics}/PolarData.js +0 -0
  549. package/lib/cjs/numerics/PolarData.js.map +1 -0
  550. package/lib/{numerics → cjs/numerics}/Polynomials.d.ts +0 -0
  551. package/lib/cjs/numerics/Polynomials.d.ts.map +1 -0
  552. package/lib/{numerics → cjs/numerics}/Polynomials.js +0 -0
  553. package/lib/cjs/numerics/Polynomials.js.map +1 -0
  554. package/lib/{numerics → cjs/numerics}/Quadrature.d.ts +0 -0
  555. package/lib/cjs/numerics/Quadrature.d.ts.map +1 -0
  556. package/lib/{numerics → cjs/numerics}/Quadrature.js +0 -0
  557. package/lib/cjs/numerics/Quadrature.js.map +1 -0
  558. package/lib/{numerics → cjs/numerics}/Range1dArray.d.ts +0 -0
  559. package/lib/cjs/numerics/Range1dArray.d.ts.map +1 -0
  560. package/lib/{numerics → cjs/numerics}/Range1dArray.js +0 -0
  561. package/lib/cjs/numerics/Range1dArray.js.map +1 -0
  562. package/lib/{numerics → cjs/numerics}/TriDiagonalSystem.d.ts +0 -0
  563. package/lib/cjs/numerics/TriDiagonalSystem.d.ts.map +1 -0
  564. package/lib/{numerics → cjs/numerics}/TriDiagonalSystem.js +0 -0
  565. package/lib/cjs/numerics/TriDiagonalSystem.js.map +1 -0
  566. package/lib/{numerics → cjs/numerics}/UnionFind.d.ts +0 -0
  567. package/lib/cjs/numerics/UnionFind.d.ts.map +1 -0
  568. package/lib/{numerics → cjs/numerics}/UnionFind.js +0 -0
  569. package/lib/cjs/numerics/UnionFind.js.map +1 -0
  570. package/lib/{numerics → cjs/numerics}/UsageSums.d.ts +0 -0
  571. package/lib/cjs/numerics/UsageSums.d.ts.map +1 -0
  572. package/lib/{numerics → cjs/numerics}/UsageSums.js +0 -0
  573. package/lib/cjs/numerics/UsageSums.js.map +1 -0
  574. package/lib/{polyface → cjs/polyface}/AuxData.d.ts +0 -0
  575. package/lib/cjs/polyface/AuxData.d.ts.map +1 -0
  576. package/lib/{polyface → cjs/polyface}/AuxData.js +0 -0
  577. package/lib/cjs/polyface/AuxData.js.map +1 -0
  578. package/lib/{polyface → cjs/polyface}/BoxTopology.d.ts +0 -0
  579. package/lib/cjs/polyface/BoxTopology.d.ts.map +1 -0
  580. package/lib/{polyface → cjs/polyface}/BoxTopology.js +0 -0
  581. package/lib/cjs/polyface/BoxTopology.js.map +1 -0
  582. package/lib/{polyface → cjs/polyface}/FacetFaceData.d.ts +0 -0
  583. package/lib/cjs/polyface/FacetFaceData.d.ts.map +1 -0
  584. package/lib/{polyface → cjs/polyface}/FacetFaceData.js +0 -0
  585. package/lib/cjs/polyface/FacetFaceData.js.map +1 -0
  586. package/lib/{polyface → cjs/polyface}/FacetOrientation.d.ts +0 -0
  587. package/lib/cjs/polyface/FacetOrientation.d.ts.map +1 -0
  588. package/lib/{polyface → cjs/polyface}/FacetOrientation.js +0 -0
  589. package/lib/cjs/polyface/FacetOrientation.js.map +1 -0
  590. package/lib/{polyface → cjs/polyface}/GreedyTriangulationBetweenLineStrings.d.ts +0 -0
  591. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +1 -0
  592. package/lib/{polyface → cjs/polyface}/GreedyTriangulationBetweenLineStrings.js +0 -0
  593. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -0
  594. package/lib/{polyface → cjs/polyface}/IndexedEdgeMatcher.d.ts +0 -0
  595. package/lib/cjs/polyface/IndexedEdgeMatcher.d.ts.map +1 -0
  596. package/lib/{polyface → cjs/polyface}/IndexedEdgeMatcher.js +0 -0
  597. package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -0
  598. package/lib/{polyface → cjs/polyface}/IndexedPolyfaceVisitor.d.ts +0 -0
  599. package/lib/cjs/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -0
  600. package/lib/{polyface → cjs/polyface}/IndexedPolyfaceVisitor.js +0 -0
  601. package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -0
  602. package/lib/{polyface → cjs/polyface}/Polyface.d.ts +0 -0
  603. package/lib/cjs/polyface/Polyface.d.ts.map +1 -0
  604. package/lib/{polyface → cjs/polyface}/Polyface.js +0 -0
  605. package/lib/cjs/polyface/Polyface.js.map +1 -0
  606. package/lib/{polyface → cjs/polyface}/PolyfaceBuilder.d.ts +0 -0
  607. package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -0
  608. package/lib/{polyface → cjs/polyface}/PolyfaceBuilder.js +0 -0
  609. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -0
  610. package/lib/{polyface → cjs/polyface}/PolyfaceClip.d.ts +0 -0
  611. package/lib/cjs/polyface/PolyfaceClip.d.ts.map +1 -0
  612. package/lib/{polyface → cjs/polyface}/PolyfaceClip.js +0 -0
  613. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -0
  614. package/lib/cjs/polyface/PolyfaceData.d.ts +206 -0
  615. package/lib/cjs/polyface/PolyfaceData.d.ts.map +1 -0
  616. package/lib/cjs/polyface/PolyfaceData.js +531 -0
  617. package/lib/cjs/polyface/PolyfaceData.js.map +1 -0
  618. package/lib/{polyface → cjs/polyface}/PolyfaceQuery.d.ts +0 -0
  619. package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -0
  620. package/lib/{polyface → cjs/polyface}/PolyfaceQuery.js +0 -0
  621. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -0
  622. package/lib/{polyface → cjs/polyface}/RangeLengthData.d.ts +0 -0
  623. package/lib/cjs/polyface/RangeLengthData.d.ts.map +1 -0
  624. package/lib/{polyface → cjs/polyface}/RangeLengthData.js +0 -0
  625. package/lib/cjs/polyface/RangeLengthData.js.map +1 -0
  626. package/lib/{polyface → cjs/polyface}/TaggedNumericData.d.ts +0 -0
  627. package/lib/cjs/polyface/TaggedNumericData.d.ts.map +1 -0
  628. package/lib/{polyface → cjs/polyface}/TaggedNumericData.js +0 -0
  629. package/lib/cjs/polyface/TaggedNumericData.js.map +1 -0
  630. package/lib/{polyface → cjs/polyface}/TriangleCandidate.d.ts +0 -0
  631. package/lib/cjs/polyface/TriangleCandidate.d.ts.map +1 -0
  632. package/lib/{polyface → cjs/polyface}/TriangleCandidate.js +0 -0
  633. package/lib/cjs/polyface/TriangleCandidate.js.map +1 -0
  634. package/lib/{polyface → cjs/polyface}/multiclip/BuildAverageNormalsContext.d.ts +0 -0
  635. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -0
  636. package/lib/{polyface → cjs/polyface}/multiclip/BuildAverageNormalsContext.js +0 -0
  637. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -0
  638. package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSet.d.ts +0 -0
  639. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +1 -0
  640. package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSet.js +0 -0
  641. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -0
  642. package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts +0 -0
  643. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +1 -0
  644. package/lib/{polyface → cjs/polyface}/multiclip/GriddedRaggedRange2dSetWithOverflow.js +0 -0
  645. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -0
  646. package/lib/{polyface → cjs/polyface}/multiclip/LinearSearchRange2dArray.d.ts +0 -0
  647. package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +1 -0
  648. package/lib/{polyface → cjs/polyface}/multiclip/LinearSearchRange2dArray.js +0 -0
  649. package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -0
  650. package/lib/{polyface → cjs/polyface}/multiclip/Range2dSearchInterface.d.ts +0 -0
  651. package/lib/cjs/polyface/multiclip/Range2dSearchInterface.d.ts.map +1 -0
  652. package/lib/{polyface → cjs/polyface}/multiclip/Range2dSearchInterface.js +0 -0
  653. package/lib/cjs/polyface/multiclip/Range2dSearchInterface.js.map +1 -0
  654. package/lib/{polyface → cjs/polyface}/multiclip/RangeSearch.d.ts +0 -0
  655. package/lib/cjs/polyface/multiclip/RangeSearch.d.ts.map +1 -0
  656. package/lib/{polyface → cjs/polyface}/multiclip/RangeSearch.js +0 -0
  657. package/lib/cjs/polyface/multiclip/RangeSearch.js.map +1 -0
  658. package/lib/{polyface → cjs/polyface}/multiclip/SweepLineStringToFacetContext.d.ts +0 -0
  659. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -0
  660. package/lib/{polyface → cjs/polyface}/multiclip/SweepLineStringToFacetContext.js +0 -0
  661. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -0
  662. package/lib/{polyface → cjs/polyface}/multiclip/XYPointBuckets.d.ts +0 -0
  663. package/lib/cjs/polyface/multiclip/XYPointBuckets.d.ts.map +1 -0
  664. package/lib/{polyface → cjs/polyface}/multiclip/XYPointBuckets.js +0 -0
  665. package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -0
  666. package/lib/{serialization → cjs/serialization}/BGFBAccessors.d.ts +0 -0
  667. package/lib/cjs/serialization/BGFBAccessors.d.ts.map +1 -0
  668. package/lib/{serialization → cjs/serialization}/BGFBAccessors.js +0 -0
  669. package/lib/cjs/serialization/BGFBAccessors.js.map +1 -0
  670. package/lib/{serialization → cjs/serialization}/BGFBReader.d.ts +0 -0
  671. package/lib/cjs/serialization/BGFBReader.d.ts.map +1 -0
  672. package/lib/{serialization → cjs/serialization}/BGFBReader.js +0 -0
  673. package/lib/cjs/serialization/BGFBReader.js.map +1 -0
  674. package/lib/{serialization → cjs/serialization}/BGFBWriter.d.ts +0 -0
  675. package/lib/cjs/serialization/BGFBWriter.d.ts.map +1 -0
  676. package/lib/{serialization → cjs/serialization}/BGFBWriter.js +0 -0
  677. package/lib/cjs/serialization/BGFBWriter.js.map +1 -0
  678. package/lib/{serialization → cjs/serialization}/BentleyGeometryFlatBuffer.d.ts +0 -0
  679. package/lib/cjs/serialization/BentleyGeometryFlatBuffer.d.ts.map +1 -0
  680. package/lib/{serialization → cjs/serialization}/BentleyGeometryFlatBuffer.js +0 -0
  681. package/lib/cjs/serialization/BentleyGeometryFlatBuffer.js.map +1 -0
  682. package/lib/{serialization → cjs/serialization}/DeepCompare.d.ts +0 -0
  683. package/lib/cjs/serialization/DeepCompare.d.ts.map +1 -0
  684. package/lib/{serialization → cjs/serialization}/DeepCompare.js +0 -0
  685. package/lib/cjs/serialization/DeepCompare.js.map +1 -0
  686. package/lib/{serialization → cjs/serialization}/GeometrySamples.d.ts +0 -0
  687. package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -0
  688. package/lib/{serialization → cjs/serialization}/GeometrySamples.js +0 -0
  689. package/lib/cjs/serialization/GeometrySamples.js.map +1 -0
  690. package/lib/{serialization → cjs/serialization}/IModelJsonSchema.d.ts +0 -0
  691. package/lib/cjs/serialization/IModelJsonSchema.d.ts.map +1 -0
  692. package/lib/{serialization → cjs/serialization}/IModelJsonSchema.js +0 -0
  693. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -0
  694. package/lib/{solid → cjs/solid}/Box.d.ts +0 -0
  695. package/lib/cjs/solid/Box.d.ts.map +1 -0
  696. package/lib/{solid → cjs/solid}/Box.js +0 -0
  697. package/lib/cjs/solid/Box.js.map +1 -0
  698. package/lib/{solid → cjs/solid}/Cone.d.ts +0 -0
  699. package/lib/cjs/solid/Cone.d.ts.map +1 -0
  700. package/lib/{solid → cjs/solid}/Cone.js +0 -0
  701. package/lib/cjs/solid/Cone.js.map +1 -0
  702. package/lib/{solid → cjs/solid}/LinearSweep.d.ts +0 -0
  703. package/lib/cjs/solid/LinearSweep.d.ts.map +1 -0
  704. package/lib/{solid → cjs/solid}/LinearSweep.js +0 -0
  705. package/lib/cjs/solid/LinearSweep.js.map +1 -0
  706. package/lib/{solid → cjs/solid}/RotationalSweep.d.ts +0 -0
  707. package/lib/cjs/solid/RotationalSweep.d.ts.map +1 -0
  708. package/lib/{solid → cjs/solid}/RotationalSweep.js +0 -0
  709. package/lib/cjs/solid/RotationalSweep.js.map +1 -0
  710. package/lib/{solid → cjs/solid}/RuledSweep.d.ts +0 -0
  711. package/lib/cjs/solid/RuledSweep.d.ts.map +1 -0
  712. package/lib/{solid → cjs/solid}/RuledSweep.js +0 -0
  713. package/lib/cjs/solid/RuledSweep.js.map +1 -0
  714. package/lib/{solid → cjs/solid}/SolidPrimitive.d.ts +0 -0
  715. package/lib/cjs/solid/SolidPrimitive.d.ts.map +1 -0
  716. package/lib/{solid → cjs/solid}/SolidPrimitive.js +0 -0
  717. package/lib/cjs/solid/SolidPrimitive.js.map +1 -0
  718. package/lib/{solid → cjs/solid}/Sphere.d.ts +0 -0
  719. package/lib/cjs/solid/Sphere.d.ts.map +1 -0
  720. package/lib/{solid → cjs/solid}/Sphere.js +0 -0
  721. package/lib/cjs/solid/Sphere.js.map +1 -0
  722. package/lib/{solid → cjs/solid}/SweepContour.d.ts +0 -0
  723. package/lib/cjs/solid/SweepContour.d.ts.map +1 -0
  724. package/lib/{solid → cjs/solid}/SweepContour.js +0 -0
  725. package/lib/cjs/solid/SweepContour.js.map +1 -0
  726. package/lib/{solid → cjs/solid}/TorusPipe.d.ts +0 -0
  727. package/lib/cjs/solid/TorusPipe.d.ts.map +1 -0
  728. package/lib/{solid → cjs/solid}/TorusPipe.js +0 -0
  729. package/lib/cjs/solid/TorusPipe.js.map +1 -0
  730. package/lib/{topology → cjs/topology}/ChainMerge.d.ts +0 -0
  731. package/lib/cjs/topology/ChainMerge.d.ts.map +1 -0
  732. package/lib/{topology → cjs/topology}/ChainMerge.js +0 -0
  733. package/lib/cjs/topology/ChainMerge.js.map +1 -0
  734. package/lib/{topology → cjs/topology}/Graph.d.ts +0 -0
  735. package/lib/cjs/topology/Graph.d.ts.map +1 -0
  736. package/lib/{topology → cjs/topology}/Graph.js +0 -0
  737. package/lib/cjs/topology/Graph.js.map +1 -0
  738. package/lib/{topology → cjs/topology}/HalfEdgeGraphSearch.d.ts +0 -0
  739. package/lib/cjs/topology/HalfEdgeGraphSearch.d.ts.map +1 -0
  740. package/lib/{topology → cjs/topology}/HalfEdgeGraphSearch.js +0 -0
  741. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -0
  742. package/lib/{topology → cjs/topology}/HalfEdgeGraphSpineContext.d.ts +0 -0
  743. package/lib/cjs/topology/HalfEdgeGraphSpineContext.d.ts.map +1 -0
  744. package/lib/{topology → cjs/topology}/HalfEdgeGraphSpineContext.js +0 -0
  745. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -0
  746. package/lib/{topology → cjs/topology}/HalfEdgeGraphValidation.d.ts +0 -0
  747. package/lib/cjs/topology/HalfEdgeGraphValidation.d.ts.map +1 -0
  748. package/lib/{topology → cjs/topology}/HalfEdgeGraphValidation.js +0 -0
  749. package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -0
  750. package/lib/{topology → cjs/topology}/HalfEdgeMarkSet.d.ts +0 -0
  751. package/lib/cjs/topology/HalfEdgeMarkSet.d.ts.map +1 -0
  752. package/lib/{topology → cjs/topology}/HalfEdgeMarkSet.js +0 -0
  753. package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -0
  754. package/lib/{topology → cjs/topology}/HalfEdgeNodeXYZUV.d.ts +0 -0
  755. package/lib/cjs/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -0
  756. package/lib/{topology → cjs/topology}/HalfEdgeNodeXYZUV.js +0 -0
  757. package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -0
  758. package/lib/{topology → cjs/topology}/HalfEdgePointInGraphSearch.d.ts +0 -0
  759. package/lib/cjs/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -0
  760. package/lib/{topology → cjs/topology}/HalfEdgePointInGraphSearch.js +0 -0
  761. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -0
  762. package/lib/{topology → cjs/topology}/HalfEdgePositionDetail.d.ts +0 -0
  763. package/lib/cjs/topology/HalfEdgePositionDetail.d.ts.map +1 -0
  764. package/lib/{topology → cjs/topology}/HalfEdgePositionDetail.js +0 -0
  765. package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -0
  766. package/lib/{topology → cjs/topology}/HalfEdgePriorityQueue.d.ts +0 -0
  767. package/lib/cjs/topology/HalfEdgePriorityQueue.d.ts.map +1 -0
  768. package/lib/{topology → cjs/topology}/HalfEdgePriorityQueue.js +0 -0
  769. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -0
  770. package/lib/{topology → cjs/topology}/InsertAndRetriangulateContext.d.ts +0 -0
  771. package/lib/cjs/topology/InsertAndRetriangulateContext.d.ts.map +1 -0
  772. package/lib/{topology → cjs/topology}/InsertAndRetriangulateContext.js +0 -0
  773. package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -0
  774. package/lib/{topology → cjs/topology}/MaskManager.d.ts +0 -0
  775. package/lib/cjs/topology/MaskManager.d.ts.map +1 -0
  776. package/lib/{topology → cjs/topology}/MaskManager.js +0 -0
  777. package/lib/cjs/topology/MaskManager.js.map +1 -0
  778. package/lib/{topology → cjs/topology}/Merging.d.ts +0 -0
  779. package/lib/cjs/topology/Merging.d.ts.map +1 -0
  780. package/lib/{topology → cjs/topology}/Merging.js +0 -0
  781. package/lib/cjs/topology/Merging.js.map +1 -0
  782. package/lib/{topology → cjs/topology}/RegularizeFace.d.ts +0 -0
  783. package/lib/cjs/topology/RegularizeFace.d.ts.map +1 -0
  784. package/lib/{topology → cjs/topology}/RegularizeFace.js +0 -0
  785. package/lib/cjs/topology/RegularizeFace.js.map +1 -0
  786. package/lib/{topology → cjs/topology}/SignedDataSummary.d.ts +0 -0
  787. package/lib/cjs/topology/SignedDataSummary.d.ts.map +1 -0
  788. package/lib/{topology → cjs/topology}/SignedDataSummary.js +0 -0
  789. package/lib/cjs/topology/SignedDataSummary.js.map +1 -0
  790. package/lib/{topology → cjs/topology}/Triangulation.d.ts +0 -0
  791. package/lib/cjs/topology/Triangulation.d.ts.map +1 -0
  792. package/lib/{topology → cjs/topology}/Triangulation.js +0 -0
  793. package/lib/cjs/topology/Triangulation.js.map +1 -0
  794. package/lib/{topology → cjs/topology}/XYParitySearchContext.d.ts +0 -0
  795. package/lib/cjs/topology/XYParitySearchContext.d.ts.map +1 -0
  796. package/lib/{topology → cjs/topology}/XYParitySearchContext.js +0 -0
  797. package/lib/cjs/topology/XYParitySearchContext.js.map +1 -0
  798. package/lib/esm/Constant.d.ts +26 -0
  799. package/lib/esm/Constant.d.ts.map +1 -0
  800. package/lib/esm/Constant.js +30 -0
  801. package/lib/esm/Constant.js.map +1 -0
  802. package/lib/esm/Geometry.d.ts +498 -0
  803. package/lib/esm/Geometry.d.ts.map +1 -0
  804. package/lib/esm/Geometry.js +776 -0
  805. package/lib/esm/Geometry.js.map +1 -0
  806. package/lib/esm/bspline/AkimaCurve3d.d.ts +97 -0
  807. package/lib/esm/bspline/AkimaCurve3d.d.ts.map +1 -0
  808. package/lib/esm/bspline/AkimaCurve3d.js +158 -0
  809. package/lib/esm/bspline/AkimaCurve3d.js.map +1 -0
  810. package/lib/esm/bspline/BSpline1dNd.d.ts +96 -0
  811. package/lib/esm/bspline/BSpline1dNd.d.ts.map +1 -0
  812. package/lib/esm/bspline/BSpline1dNd.js +191 -0
  813. package/lib/esm/bspline/BSpline1dNd.js.map +1 -0
  814. package/lib/esm/bspline/BSplineCurve.d.ts +310 -0
  815. package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -0
  816. package/lib/esm/bspline/BSplineCurve.js +608 -0
  817. package/lib/esm/bspline/BSplineCurve.js.map +1 -0
  818. package/lib/esm/bspline/BSplineCurve3dH.d.ts +140 -0
  819. package/lib/esm/bspline/BSplineCurve3dH.d.ts.map +1 -0
  820. package/lib/esm/bspline/BSplineCurve3dH.js +421 -0
  821. package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -0
  822. package/lib/esm/bspline/BSplineCurveOps.d.ts +159 -0
  823. package/lib/esm/bspline/BSplineCurveOps.d.ts.map +1 -0
  824. package/lib/esm/bspline/BSplineCurveOps.js +805 -0
  825. package/lib/esm/bspline/BSplineCurveOps.js.map +1 -0
  826. package/lib/esm/bspline/BSplineSurface.d.ts +491 -0
  827. package/lib/esm/bspline/BSplineSurface.d.ts.map +1 -0
  828. package/lib/esm/bspline/BSplineSurface.js +837 -0
  829. package/lib/esm/bspline/BSplineSurface.js.map +1 -0
  830. package/lib/esm/bspline/Bezier1dNd.d.ts +113 -0
  831. package/lib/esm/bspline/Bezier1dNd.d.ts.map +1 -0
  832. package/lib/esm/bspline/Bezier1dNd.js +341 -0
  833. package/lib/esm/bspline/Bezier1dNd.js.map +1 -0
  834. package/lib/esm/bspline/BezierCurve3d.d.ts +76 -0
  835. package/lib/esm/bspline/BezierCurve3d.d.ts.map +1 -0
  836. package/lib/esm/bspline/BezierCurve3d.js +214 -0
  837. package/lib/esm/bspline/BezierCurve3d.js.map +1 -0
  838. package/lib/esm/bspline/BezierCurve3dH.d.ts +107 -0
  839. package/lib/esm/bspline/BezierCurve3dH.d.ts.map +1 -0
  840. package/lib/esm/bspline/BezierCurve3dH.js +348 -0
  841. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -0
  842. package/lib/esm/bspline/BezierCurveBase.d.ts +111 -0
  843. package/lib/esm/bspline/BezierCurveBase.d.ts.map +1 -0
  844. package/lib/esm/bspline/BezierCurveBase.js +196 -0
  845. package/lib/esm/bspline/BezierCurveBase.js.map +1 -0
  846. package/lib/esm/bspline/InterpolationCurve3d.d.ts +163 -0
  847. package/lib/esm/bspline/InterpolationCurve3d.d.ts.map +1 -0
  848. package/lib/esm/bspline/InterpolationCurve3d.js +281 -0
  849. package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -0
  850. package/lib/esm/bspline/KnotVector.d.ts +160 -0
  851. package/lib/esm/bspline/KnotVector.d.ts.map +1 -0
  852. package/lib/esm/bspline/KnotVector.js +427 -0
  853. package/lib/esm/bspline/KnotVector.js.map +1 -0
  854. package/lib/esm/bspline/SurfaceLocationDetail.d.ts +52 -0
  855. package/lib/esm/bspline/SurfaceLocationDetail.d.ts.map +1 -0
  856. package/lib/esm/bspline/SurfaceLocationDetail.js +55 -0
  857. package/lib/esm/bspline/SurfaceLocationDetail.js.map +1 -0
  858. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts +165 -0
  859. package/lib/esm/clipping/AlternatingConvexClipTree.d.ts.map +1 -0
  860. package/lib/esm/clipping/AlternatingConvexClipTree.js +519 -0
  861. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -0
  862. package/lib/esm/clipping/BooleanClipFactory.d.ts +80 -0
  863. package/lib/esm/clipping/BooleanClipFactory.d.ts.map +1 -0
  864. package/lib/esm/clipping/BooleanClipFactory.js +198 -0
  865. package/lib/esm/clipping/BooleanClipFactory.js.map +1 -0
  866. package/lib/esm/clipping/BooleanClipNode.d.ts +103 -0
  867. package/lib/esm/clipping/BooleanClipNode.d.ts.map +1 -0
  868. package/lib/esm/clipping/BooleanClipNode.js +255 -0
  869. package/lib/esm/clipping/BooleanClipNode.js.map +1 -0
  870. package/lib/esm/clipping/ClipPlane.d.ts +258 -0
  871. package/lib/esm/clipping/ClipPlane.d.ts.map +1 -0
  872. package/lib/esm/clipping/ClipPlane.js +505 -0
  873. package/lib/esm/clipping/ClipPlane.js.map +1 -0
  874. package/lib/esm/clipping/ClipPrimitive.d.ts +270 -0
  875. package/lib/esm/clipping/ClipPrimitive.d.ts.map +1 -0
  876. package/lib/esm/clipping/ClipPrimitive.js +620 -0
  877. package/lib/esm/clipping/ClipPrimitive.js.map +1 -0
  878. package/lib/esm/clipping/ClipUtils.d.ts +278 -0
  879. package/lib/esm/clipping/ClipUtils.d.ts.map +1 -0
  880. package/lib/esm/clipping/ClipUtils.js +593 -0
  881. package/lib/esm/clipping/ClipUtils.js.map +1 -0
  882. package/lib/esm/clipping/ClipVector.d.ts +154 -0
  883. package/lib/esm/clipping/ClipVector.d.ts.map +1 -0
  884. package/lib/esm/clipping/ClipVector.js +388 -0
  885. package/lib/esm/clipping/ClipVector.js.map +1 -0
  886. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts +250 -0
  887. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts.map +1 -0
  888. package/lib/esm/clipping/ConvexClipPlaneSet.js +685 -0
  889. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -0
  890. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts +126 -0
  891. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.d.ts.map +1 -0
  892. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js +325 -0
  893. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -0
  894. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +42 -0
  895. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -0
  896. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js +160 -0
  897. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -0
  898. package/lib/esm/core-geometry.d.ts +228 -0
  899. package/lib/esm/core-geometry.d.ts.map +1 -0
  900. package/lib/esm/core-geometry.js +247 -0
  901. package/lib/esm/core-geometry.js.map +1 -0
  902. package/lib/esm/curve/Arc3d.d.ts +477 -0
  903. package/lib/esm/curve/Arc3d.d.ts.map +1 -0
  904. package/lib/esm/curve/Arc3d.js +905 -0
  905. package/lib/esm/curve/Arc3d.js.map +1 -0
  906. package/lib/esm/curve/ChainCollectorContext.d.ts +65 -0
  907. package/lib/esm/curve/ChainCollectorContext.d.ts.map +1 -0
  908. package/lib/esm/curve/ChainCollectorContext.js +175 -0
  909. package/lib/esm/curve/ChainCollectorContext.js.map +1 -0
  910. package/lib/esm/curve/ConstructCurveBetweenCurves.d.ts +46 -0
  911. package/lib/esm/curve/ConstructCurveBetweenCurves.d.ts.map +1 -0
  912. package/lib/esm/curve/ConstructCurveBetweenCurves.js +112 -0
  913. package/lib/esm/curve/ConstructCurveBetweenCurves.js.map +1 -0
  914. package/lib/esm/curve/CoordinateXYZ.d.ts +54 -0
  915. package/lib/esm/curve/CoordinateXYZ.d.ts.map +1 -0
  916. package/lib/esm/curve/CoordinateXYZ.js +75 -0
  917. package/lib/esm/curve/CoordinateXYZ.js.map +1 -0
  918. package/lib/esm/curve/CurveChain.d.ts +17 -0
  919. package/lib/esm/curve/CurveChain.d.ts.map +1 -0
  920. package/lib/esm/curve/CurveChain.js +6 -0
  921. package/lib/esm/curve/CurveChain.js.map +1 -0
  922. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +234 -0
  923. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -0
  924. package/lib/esm/curve/CurveChainWithDistanceIndex.js +513 -0
  925. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -0
  926. package/lib/esm/curve/CurveCollection.d.ts +204 -0
  927. package/lib/esm/curve/CurveCollection.d.ts.map +1 -0
  928. package/lib/esm/curve/CurveCollection.js +338 -0
  929. package/lib/esm/curve/CurveCollection.js.map +1 -0
  930. package/lib/esm/curve/CurveCurve.d.ts +56 -0
  931. package/lib/esm/curve/CurveCurve.d.ts.map +1 -0
  932. package/lib/esm/curve/CurveCurve.js +96 -0
  933. package/lib/esm/curve/CurveCurve.js.map +1 -0
  934. package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts +158 -0
  935. package/lib/esm/curve/CurveCurveCloseApproachXY.d.ts.map +1 -0
  936. package/lib/esm/curve/CurveCurveCloseApproachXY.js +720 -0
  937. package/lib/esm/curve/CurveCurveCloseApproachXY.js.map +1 -0
  938. package/lib/esm/curve/CurveCurveIntersectXY.d.ts +148 -0
  939. package/lib/esm/curve/CurveCurveIntersectXY.d.ts.map +1 -0
  940. package/lib/esm/curve/CurveCurveIntersectXY.js +814 -0
  941. package/lib/esm/curve/CurveCurveIntersectXY.js.map +1 -0
  942. package/lib/esm/curve/CurveCurveIntersectXYZ.d.ts +101 -0
  943. package/lib/esm/curve/CurveCurveIntersectXYZ.d.ts.map +1 -0
  944. package/lib/esm/curve/CurveCurveIntersectXYZ.js +669 -0
  945. package/lib/esm/curve/CurveCurveIntersectXYZ.js.map +1 -0
  946. package/lib/esm/curve/CurveExtendMode.d.ts +50 -0
  947. package/lib/esm/curve/CurveExtendMode.d.ts.map +1 -0
  948. package/lib/esm/curve/CurveExtendMode.js +96 -0
  949. package/lib/esm/curve/CurveExtendMode.js.map +1 -0
  950. package/lib/esm/curve/CurveFactory.d.ts +122 -0
  951. package/lib/esm/curve/CurveFactory.d.ts.map +1 -0
  952. package/lib/esm/curve/CurveFactory.js +491 -0
  953. package/lib/esm/curve/CurveFactory.js.map +1 -0
  954. package/lib/esm/curve/CurveLocationDetail.d.ts +207 -0
  955. package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -0
  956. package/lib/esm/curve/CurveLocationDetail.js +392 -0
  957. package/lib/esm/curve/CurveLocationDetail.js.map +1 -0
  958. package/lib/esm/curve/CurvePrimitive.d.ts +363 -0
  959. package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -0
  960. package/lib/esm/curve/CurvePrimitive.js +774 -0
  961. package/lib/esm/curve/CurvePrimitive.js.map +1 -0
  962. package/lib/esm/curve/CurveProcessor.d.ts +76 -0
  963. package/lib/esm/curve/CurveProcessor.d.ts.map +1 -0
  964. package/lib/esm/curve/CurveProcessor.js +122 -0
  965. package/lib/esm/curve/CurveProcessor.js.map +1 -0
  966. package/lib/esm/curve/CurveWireMomentsXYZ.d.ts +25 -0
  967. package/lib/esm/curve/CurveWireMomentsXYZ.d.ts.map +1 -0
  968. package/lib/esm/curve/CurveWireMomentsXYZ.js +65 -0
  969. package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -0
  970. package/lib/esm/curve/GeometryQuery.d.ts +93 -0
  971. package/lib/esm/curve/GeometryQuery.d.ts.map +1 -0
  972. package/lib/esm/curve/GeometryQuery.js +68 -0
  973. package/lib/esm/curve/GeometryQuery.js.map +1 -0
  974. package/lib/esm/curve/LineSegment3d.d.ts +176 -0
  975. package/lib/esm/curve/LineSegment3d.d.ts.map +1 -0
  976. package/lib/esm/curve/LineSegment3d.js +315 -0
  977. package/lib/esm/curve/LineSegment3d.js.map +1 -0
  978. package/lib/esm/curve/LineString3d.d.ts +419 -0
  979. package/lib/esm/curve/LineString3d.d.ts.map +1 -0
  980. package/lib/esm/curve/LineString3d.js +1280 -0
  981. package/lib/esm/curve/LineString3d.js.map +1 -0
  982. package/lib/esm/curve/Loop.d.ts +82 -0
  983. package/lib/esm/curve/Loop.d.ts.map +1 -0
  984. package/lib/esm/curve/Loop.js +93 -0
  985. package/lib/esm/curve/Loop.js.map +1 -0
  986. package/lib/esm/curve/ParityRegion.d.ts +59 -0
  987. package/lib/esm/curve/ParityRegion.d.ts.map +1 -0
  988. package/lib/esm/curve/ParityRegion.js +113 -0
  989. package/lib/esm/curve/ParityRegion.js.map +1 -0
  990. package/lib/esm/curve/Path.d.ts +47 -0
  991. package/lib/esm/curve/Path.d.ts.map +1 -0
  992. package/lib/esm/curve/Path.js +71 -0
  993. package/lib/esm/curve/Path.js.map +1 -0
  994. package/lib/esm/curve/PointString3d.d.ts +78 -0
  995. package/lib/esm/curve/PointString3d.d.ts.map +1 -0
  996. package/lib/esm/curve/PointString3d.js +174 -0
  997. package/lib/esm/curve/PointString3d.js.map +1 -0
  998. package/lib/esm/curve/ProxyCurve.d.ts +59 -0
  999. package/lib/esm/curve/ProxyCurve.d.ts.map +1 -0
  1000. package/lib/esm/curve/ProxyCurve.js +78 -0
  1001. package/lib/esm/curve/ProxyCurve.js.map +1 -0
  1002. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts +25 -0
  1003. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +1 -0
  1004. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js +111 -0
  1005. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -0
  1006. package/lib/esm/curve/Query/CurveSplitContext.d.ts +16 -0
  1007. package/lib/esm/curve/Query/CurveSplitContext.d.ts.map +1 -0
  1008. package/lib/esm/curve/Query/CurveSplitContext.js +107 -0
  1009. package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -0
  1010. package/lib/esm/curve/Query/CylindricalRange.d.ts +46 -0
  1011. package/lib/esm/curve/Query/CylindricalRange.d.ts.map +1 -0
  1012. package/lib/esm/curve/Query/CylindricalRange.js +111 -0
  1013. package/lib/esm/curve/Query/CylindricalRange.js.map +1 -0
  1014. package/lib/esm/curve/Query/InOutTests.d.ts +32 -0
  1015. package/lib/esm/curve/Query/InOutTests.d.ts.map +1 -0
  1016. package/lib/esm/curve/Query/InOutTests.js +116 -0
  1017. package/lib/esm/curve/Query/InOutTests.js.map +1 -0
  1018. package/lib/esm/curve/Query/PlanarSubdivision.d.ts +16 -0
  1019. package/lib/esm/curve/Query/PlanarSubdivision.d.ts.map +1 -0
  1020. package/lib/esm/curve/Query/PlanarSubdivision.js +220 -0
  1021. package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -0
  1022. package/lib/esm/curve/Query/StrokeCountChain.d.ts +186 -0
  1023. package/lib/esm/curve/Query/StrokeCountChain.d.ts.map +1 -0
  1024. package/lib/esm/curve/Query/StrokeCountChain.js +429 -0
  1025. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -0
  1026. package/lib/esm/curve/Query/StrokeCountMap.d.ts +94 -0
  1027. package/lib/esm/curve/Query/StrokeCountMap.d.ts.map +1 -0
  1028. package/lib/esm/curve/Query/StrokeCountMap.js +138 -0
  1029. package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -0
  1030. package/lib/esm/curve/RegionMomentsXY.d.ts +61 -0
  1031. package/lib/esm/curve/RegionMomentsXY.d.ts.map +1 -0
  1032. package/lib/esm/curve/RegionMomentsXY.js +156 -0
  1033. package/lib/esm/curve/RegionMomentsXY.js.map +1 -0
  1034. package/lib/esm/curve/RegionOps.d.ts +320 -0
  1035. package/lib/esm/curve/RegionOps.d.ts.map +1 -0
  1036. package/lib/esm/curve/RegionOps.js +642 -0
  1037. package/lib/esm/curve/RegionOps.js.map +1 -0
  1038. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts +263 -0
  1039. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts.map +1 -0
  1040. package/lib/esm/curve/RegionOpsClassificationSweeps.js +703 -0
  1041. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -0
  1042. package/lib/esm/curve/StrokeOptions.d.ts +94 -0
  1043. package/lib/esm/curve/StrokeOptions.d.ts.map +1 -0
  1044. package/lib/esm/curve/StrokeOptions.js +149 -0
  1045. package/lib/esm/curve/StrokeOptions.js.map +1 -0
  1046. package/lib/esm/curve/UnionRegion.d.ts +49 -0
  1047. package/lib/esm/curve/UnionRegion.d.ts.map +1 -0
  1048. package/lib/esm/curve/UnionRegion.js +75 -0
  1049. package/lib/esm/curve/UnionRegion.js.map +1 -0
  1050. package/lib/esm/curve/internalContexts/CloneCurvesContext.d.ts +23 -0
  1051. package/lib/esm/curve/internalContexts/CloneCurvesContext.d.ts.map +1 -0
  1052. package/lib/esm/curve/internalContexts/CloneCurvesContext.js +62 -0
  1053. package/lib/esm/curve/internalContexts/CloneCurvesContext.js.map +1 -0
  1054. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.d.ts +16 -0
  1055. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +1 -0
  1056. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js +36 -0
  1057. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -0
  1058. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.d.ts +18 -0
  1059. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +1 -0
  1060. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js +32 -0
  1061. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -0
  1062. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts +16 -0
  1063. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts.map +1 -0
  1064. package/lib/esm/curve/internalContexts/GapSearchContext.js +34 -0
  1065. package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -0
  1066. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts +114 -0
  1067. package/lib/esm/curve/internalContexts/MultiChainCollector.d.ts.map +1 -0
  1068. package/lib/esm/curve/internalContexts/MultiChainCollector.js +403 -0
  1069. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -0
  1070. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +38 -0
  1071. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -0
  1072. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js +88 -0
  1073. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -0
  1074. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts +117 -0
  1075. package/lib/esm/curve/internalContexts/PolygonOffsetContext.d.ts.map +1 -0
  1076. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +686 -0
  1077. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -0
  1078. package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts +17 -0
  1079. package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts.map +1 -0
  1080. package/lib/esm/curve/internalContexts/SumLengthsContext.js +21 -0
  1081. package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -0
  1082. package/lib/esm/curve/internalContexts/TransformInPlaceContext.d.ts +19 -0
  1083. package/lib/esm/curve/internalContexts/TransformInPlaceContext.d.ts.map +1 -0
  1084. package/lib/esm/curve/internalContexts/TransformInPlaceContext.js +19 -0
  1085. package/lib/esm/curve/internalContexts/TransformInPlaceContext.js.map +1 -0
  1086. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +41 -0
  1087. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -0
  1088. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js +124 -0
  1089. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -0
  1090. package/lib/esm/curve/spiral/ClothoidSeries.d.ts +66 -0
  1091. package/lib/esm/curve/spiral/ClothoidSeries.d.ts.map +1 -0
  1092. package/lib/esm/curve/spiral/ClothoidSeries.js +220 -0
  1093. package/lib/esm/curve/spiral/ClothoidSeries.js.map +1 -0
  1094. package/lib/esm/curve/spiral/CubicEvaluator.d.ts +43 -0
  1095. package/lib/esm/curve/spiral/CubicEvaluator.d.ts.map +1 -0
  1096. package/lib/esm/curve/spiral/CubicEvaluator.js +67 -0
  1097. package/lib/esm/curve/spiral/CubicEvaluator.js.map +1 -0
  1098. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts +108 -0
  1099. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -0
  1100. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js +198 -0
  1101. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js.map +1 -0
  1102. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +39 -0
  1103. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -0
  1104. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js +88 -0
  1105. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -0
  1106. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts +265 -0
  1107. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts.map +1 -0
  1108. package/lib/esm/curve/spiral/DirectSpiral3d.js +469 -0
  1109. package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -0
  1110. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts +158 -0
  1111. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -0
  1112. package/lib/esm/curve/spiral/IntegratedSpiral3d.js +360 -0
  1113. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -0
  1114. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +38 -0
  1115. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -0
  1116. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +72 -0
  1117. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -0
  1118. package/lib/esm/curve/spiral/NormalizedTransition.d.ts +140 -0
  1119. package/lib/esm/curve/spiral/NormalizedTransition.d.ts.map +1 -0
  1120. package/lib/esm/curve/spiral/NormalizedTransition.js +182 -0
  1121. package/lib/esm/curve/spiral/NormalizedTransition.js.map +1 -0
  1122. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts +50 -0
  1123. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -0
  1124. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js +109 -0
  1125. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -0
  1126. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts +53 -0
  1127. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -0
  1128. package/lib/esm/curve/spiral/TransitionConditionalProperties.js +142 -0
  1129. package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -0
  1130. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts +101 -0
  1131. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts.map +1 -0
  1132. package/lib/esm/curve/spiral/TransitionSpiral3d.js +106 -0
  1133. package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -0
  1134. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts +80 -0
  1135. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts.map +1 -0
  1136. package/lib/esm/curve/spiral/XYCurveEvaluator.js +103 -0
  1137. package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -0
  1138. package/lib/esm/geometry3d/Angle.d.ts +214 -0
  1139. package/lib/esm/geometry3d/Angle.d.ts.map +1 -0
  1140. package/lib/esm/geometry3d/Angle.js +399 -0
  1141. package/lib/esm/geometry3d/Angle.js.map +1 -0
  1142. package/lib/esm/geometry3d/AngleSweep.d.ts +187 -0
  1143. package/lib/esm/geometry3d/AngleSweep.d.ts.map +1 -0
  1144. package/lib/esm/geometry3d/AngleSweep.js +325 -0
  1145. package/lib/esm/geometry3d/AngleSweep.js.map +1 -0
  1146. package/lib/esm/geometry3d/BarycentricTriangle.d.ts +51 -0
  1147. package/lib/esm/geometry3d/BarycentricTriangle.d.ts.map +1 -0
  1148. package/lib/esm/geometry3d/BarycentricTriangle.js +97 -0
  1149. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -0
  1150. package/lib/esm/geometry3d/BilinearPatch.d.ts +107 -0
  1151. package/lib/esm/geometry3d/BilinearPatch.d.ts.map +1 -0
  1152. package/lib/esm/geometry3d/BilinearPatch.js +200 -0
  1153. package/lib/esm/geometry3d/BilinearPatch.js.map +1 -0
  1154. package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts +56 -0
  1155. package/lib/esm/geometry3d/CoincidentGeometryOps.d.ts.map +1 -0
  1156. package/lib/esm/geometry3d/CoincidentGeometryOps.js +196 -0
  1157. package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -0
  1158. package/lib/esm/geometry3d/Ellipsoid.d.ts +388 -0
  1159. package/lib/esm/geometry3d/Ellipsoid.d.ts.map +1 -0
  1160. package/lib/esm/geometry3d/Ellipsoid.js +1069 -0
  1161. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -0
  1162. package/lib/esm/geometry3d/FrameBuilder.d.ts +91 -0
  1163. package/lib/esm/geometry3d/FrameBuilder.d.ts.map +1 -0
  1164. package/lib/esm/geometry3d/FrameBuilder.js +315 -0
  1165. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -0
  1166. package/lib/esm/geometry3d/FrustumAnimation.d.ts +59 -0
  1167. package/lib/esm/geometry3d/FrustumAnimation.d.ts.map +1 -0
  1168. package/lib/esm/geometry3d/FrustumAnimation.js +119 -0
  1169. package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -0
  1170. package/lib/esm/geometry3d/GeometryHandler.d.ts +329 -0
  1171. package/lib/esm/geometry3d/GeometryHandler.d.ts.map +1 -0
  1172. package/lib/esm/geometry3d/GeometryHandler.js +169 -0
  1173. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -0
  1174. package/lib/esm/geometry3d/GrowableBlockedArray.d.ts +71 -0
  1175. package/lib/esm/geometry3d/GrowableBlockedArray.d.ts.map +1 -0
  1176. package/lib/esm/geometry3d/GrowableBlockedArray.js +158 -0
  1177. package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -0
  1178. package/lib/esm/geometry3d/GrowableFloat64Array.d.ts +132 -0
  1179. package/lib/esm/geometry3d/GrowableFloat64Array.d.ts.map +1 -0
  1180. package/lib/esm/geometry3d/GrowableFloat64Array.js +249 -0
  1181. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -0
  1182. package/lib/esm/geometry3d/GrowableXYArray.d.ts +204 -0
  1183. package/lib/esm/geometry3d/GrowableXYArray.d.ts.map +1 -0
  1184. package/lib/esm/geometry3d/GrowableXYArray.js +621 -0
  1185. package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -0
  1186. package/lib/esm/geometry3d/GrowableXYZArray.d.ts +324 -0
  1187. package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -0
  1188. package/lib/esm/geometry3d/GrowableXYZArray.js +975 -0
  1189. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -0
  1190. package/lib/esm/geometry3d/IndexedCollectionInterval.d.ts +63 -0
  1191. package/lib/esm/geometry3d/IndexedCollectionInterval.d.ts.map +1 -0
  1192. package/lib/esm/geometry3d/IndexedCollectionInterval.js +105 -0
  1193. package/lib/esm/geometry3d/IndexedCollectionInterval.js.map +1 -0
  1194. package/lib/esm/geometry3d/IndexedXYCollection.d.ts +69 -0
  1195. package/lib/esm/geometry3d/IndexedXYCollection.d.ts.map +1 -0
  1196. package/lib/esm/geometry3d/IndexedXYCollection.js +16 -0
  1197. package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -0
  1198. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +149 -0
  1199. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -0
  1200. package/lib/esm/geometry3d/IndexedXYZCollection.js +98 -0
  1201. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -0
  1202. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.d.ts +63 -0
  1203. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.d.ts.map +1 -0
  1204. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js +119 -0
  1205. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js.map +1 -0
  1206. package/lib/esm/geometry3d/Matrix3d.d.ts +885 -0
  1207. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -0
  1208. package/lib/esm/geometry3d/Matrix3d.js +2269 -0
  1209. package/lib/esm/geometry3d/Matrix3d.js.map +1 -0
  1210. package/lib/esm/geometry3d/OrderedRotationAngles.d.ts +61 -0
  1211. package/lib/esm/geometry3d/OrderedRotationAngles.d.ts.map +1 -0
  1212. package/lib/esm/geometry3d/OrderedRotationAngles.js +228 -0
  1213. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -0
  1214. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts +122 -0
  1215. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +1 -0
  1216. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js +237 -0
  1217. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -0
  1218. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts +119 -0
  1219. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.d.ts.map +1 -0
  1220. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js +238 -0
  1221. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -0
  1222. package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts +74 -0
  1223. package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts.map +1 -0
  1224. package/lib/esm/geometry3d/Point2dArrayCarrier.js +111 -0
  1225. package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -0
  1226. package/lib/esm/geometry3d/Point2dVector2d.d.ts +209 -0
  1227. package/lib/esm/geometry3d/Point2dVector2d.d.ts.map +1 -0
  1228. package/lib/esm/geometry3d/Point2dVector2d.js +461 -0
  1229. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -0
  1230. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts +142 -0
  1231. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts.map +1 -0
  1232. package/lib/esm/geometry3d/Point3dArrayCarrier.js +233 -0
  1233. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -0
  1234. package/lib/esm/geometry3d/Point3dVector3d.d.ts +699 -0
  1235. package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -0
  1236. package/lib/esm/geometry3d/Point3dVector3d.js +1294 -0
  1237. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -0
  1238. package/lib/esm/geometry3d/PointHelpers.d.ts +263 -0
  1239. package/lib/esm/geometry3d/PointHelpers.d.ts.map +1 -0
  1240. package/lib/esm/geometry3d/PointHelpers.js +898 -0
  1241. package/lib/esm/geometry3d/PointHelpers.js.map +1 -0
  1242. package/lib/esm/geometry3d/PointStreaming.d.ts +87 -0
  1243. package/lib/esm/geometry3d/PointStreaming.d.ts.map +1 -0
  1244. package/lib/esm/geometry3d/PointStreaming.js +181 -0
  1245. package/lib/esm/geometry3d/PointStreaming.js.map +1 -0
  1246. package/lib/esm/geometry3d/PolygonOps.d.ts +306 -0
  1247. package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -0
  1248. package/lib/esm/geometry3d/PolygonOps.js +986 -0
  1249. package/lib/esm/geometry3d/PolygonOps.js.map +1 -0
  1250. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.d.ts +81 -0
  1251. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +1 -0
  1252. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js +274 -0
  1253. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -0
  1254. package/lib/esm/geometry3d/PolylineOps.d.ts +63 -0
  1255. package/lib/esm/geometry3d/PolylineOps.d.ts.map +1 -0
  1256. package/lib/esm/geometry3d/PolylineOps.js +172 -0
  1257. package/lib/esm/geometry3d/PolylineOps.js.map +1 -0
  1258. package/lib/esm/geometry3d/Range.d.ts +599 -0
  1259. package/lib/esm/geometry3d/Range.d.ts.map +1 -0
  1260. package/lib/esm/geometry3d/Range.js +1424 -0
  1261. package/lib/esm/geometry3d/Range.js.map +1 -0
  1262. package/lib/esm/geometry3d/Ray3d.d.ts +146 -0
  1263. package/lib/esm/geometry3d/Ray3d.d.ts.map +1 -0
  1264. package/lib/esm/geometry3d/Ray3d.js +325 -0
  1265. package/lib/esm/geometry3d/Ray3d.js.map +1 -0
  1266. package/lib/esm/geometry3d/ReusableObjectCache.d.ts +55 -0
  1267. package/lib/esm/geometry3d/ReusableObjectCache.d.ts.map +1 -0
  1268. package/lib/esm/geometry3d/ReusableObjectCache.js +82 -0
  1269. package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -0
  1270. package/lib/esm/geometry3d/Segment1d.d.ts +106 -0
  1271. package/lib/esm/geometry3d/Segment1d.d.ts.map +1 -0
  1272. package/lib/esm/geometry3d/Segment1d.js +169 -0
  1273. package/lib/esm/geometry3d/Segment1d.js.map +1 -0
  1274. package/lib/esm/geometry3d/SortablePolygon.d.ts +50 -0
  1275. package/lib/esm/geometry3d/SortablePolygon.d.ts.map +1 -0
  1276. package/lib/esm/geometry3d/SortablePolygon.js +312 -0
  1277. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -0
  1278. package/lib/esm/geometry3d/Transform.d.ts +275 -0
  1279. package/lib/esm/geometry3d/Transform.d.ts.map +1 -0
  1280. package/lib/esm/geometry3d/Transform.js +570 -0
  1281. package/lib/esm/geometry3d/Transform.js.map +1 -0
  1282. package/lib/esm/geometry3d/UVSurfaceOps.d.ts +43 -0
  1283. package/lib/esm/geometry3d/UVSurfaceOps.d.ts.map +1 -0
  1284. package/lib/esm/geometry3d/UVSurfaceOps.js +98 -0
  1285. package/lib/esm/geometry3d/UVSurfaceOps.js.map +1 -0
  1286. package/lib/esm/geometry3d/XYZProps.d.ts +143 -0
  1287. package/lib/esm/geometry3d/XYZProps.d.ts.map +1 -0
  1288. package/lib/esm/geometry3d/XYZProps.js +6 -0
  1289. package/lib/esm/geometry3d/XYZProps.js.map +1 -0
  1290. package/lib/esm/geometry3d/YawPitchRollAngles.d.ts +111 -0
  1291. package/lib/esm/geometry3d/YawPitchRollAngles.d.ts.map +1 -0
  1292. package/lib/esm/geometry3d/YawPitchRollAngles.js +195 -0
  1293. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -0
  1294. package/lib/esm/geometry4d/Map4d.d.ts +73 -0
  1295. package/lib/esm/geometry4d/Map4d.d.ts.map +1 -0
  1296. package/lib/esm/geometry4d/Map4d.js +147 -0
  1297. package/lib/esm/geometry4d/Map4d.js.map +1 -0
  1298. package/lib/esm/geometry4d/Matrix4d.d.ts +284 -0
  1299. package/lib/esm/geometry4d/Matrix4d.d.ts.map +1 -0
  1300. package/lib/esm/geometry4d/Matrix4d.js +739 -0
  1301. package/lib/esm/geometry4d/Matrix4d.js.map +1 -0
  1302. package/lib/esm/geometry4d/MomentData.d.ts +180 -0
  1303. package/lib/esm/geometry4d/MomentData.d.ts.map +1 -0
  1304. package/lib/esm/geometry4d/MomentData.js +384 -0
  1305. package/lib/esm/geometry4d/MomentData.js.map +1 -0
  1306. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.d.ts +43 -0
  1307. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +1 -0
  1308. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js +81 -0
  1309. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -0
  1310. package/lib/esm/geometry4d/Point4d.d.ts +257 -0
  1311. package/lib/esm/geometry4d/Point4d.d.ts.map +1 -0
  1312. package/lib/esm/geometry4d/Point4d.js +552 -0
  1313. package/lib/esm/geometry4d/Point4d.js.map +1 -0
  1314. package/lib/esm/numerics/BandedSystem.d.ts +39 -0
  1315. package/lib/esm/numerics/BandedSystem.d.ts.map +1 -0
  1316. package/lib/esm/numerics/BandedSystem.js +156 -0
  1317. package/lib/esm/numerics/BandedSystem.js.map +1 -0
  1318. package/lib/esm/numerics/BezierPolynomials.d.ts +462 -0
  1319. package/lib/esm/numerics/BezierPolynomials.d.ts.map +1 -0
  1320. package/lib/esm/numerics/BezierPolynomials.js +1189 -0
  1321. package/lib/esm/numerics/BezierPolynomials.js.map +1 -0
  1322. package/lib/esm/numerics/ClusterableArray.d.ts +162 -0
  1323. package/lib/esm/numerics/ClusterableArray.d.ts.map +1 -0
  1324. package/lib/esm/numerics/ClusterableArray.js +477 -0
  1325. package/lib/esm/numerics/ClusterableArray.js.map +1 -0
  1326. package/lib/esm/numerics/Complex.d.ts +63 -0
  1327. package/lib/esm/numerics/Complex.d.ts.map +1 -0
  1328. package/lib/esm/numerics/Complex.js +116 -0
  1329. package/lib/esm/numerics/Complex.js.map +1 -0
  1330. package/lib/esm/numerics/ConvexPolygon2d.d.ts +86 -0
  1331. package/lib/esm/numerics/ConvexPolygon2d.d.ts.map +1 -0
  1332. package/lib/esm/numerics/ConvexPolygon2d.js +313 -0
  1333. package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -0
  1334. package/lib/esm/numerics/Newton.d.ts +188 -0
  1335. package/lib/esm/numerics/Newton.d.ts.map +1 -0
  1336. package/lib/esm/numerics/Newton.js +247 -0
  1337. package/lib/esm/numerics/Newton.js.map +1 -0
  1338. package/lib/esm/numerics/PascalCoefficients.d.ts +33 -0
  1339. package/lib/esm/numerics/PascalCoefficients.d.ts.map +1 -0
  1340. package/lib/esm/numerics/PascalCoefficients.js +91 -0
  1341. package/lib/esm/numerics/PascalCoefficients.js.map +1 -0
  1342. package/lib/esm/numerics/PolarData.d.ts +42 -0
  1343. package/lib/esm/numerics/PolarData.d.ts.map +1 -0
  1344. package/lib/esm/numerics/PolarData.js +162 -0
  1345. package/lib/esm/numerics/PolarData.js.map +1 -0
  1346. package/lib/esm/numerics/Polynomials.d.ts +653 -0
  1347. package/lib/esm/numerics/Polynomials.d.ts.map +1 -0
  1348. package/lib/esm/numerics/Polynomials.js +1697 -0
  1349. package/lib/esm/numerics/Polynomials.js.map +1 -0
  1350. package/lib/esm/numerics/Quadrature.d.ts +91 -0
  1351. package/lib/esm/numerics/Quadrature.d.ts.map +1 -0
  1352. package/lib/esm/numerics/Quadrature.js +199 -0
  1353. package/lib/esm/numerics/Quadrature.js.map +1 -0
  1354. package/lib/esm/numerics/Range1dArray.d.ts +80 -0
  1355. package/lib/esm/numerics/Range1dArray.d.ts.map +1 -0
  1356. package/lib/esm/numerics/Range1dArray.js +358 -0
  1357. package/lib/esm/numerics/Range1dArray.js.map +1 -0
  1358. package/lib/esm/numerics/TriDiagonalSystem.d.ts +51 -0
  1359. package/lib/esm/numerics/TriDiagonalSystem.d.ts.map +1 -0
  1360. package/lib/esm/numerics/TriDiagonalSystem.js +270 -0
  1361. package/lib/esm/numerics/TriDiagonalSystem.js.map +1 -0
  1362. package/lib/esm/numerics/UnionFind.d.ts +49 -0
  1363. package/lib/esm/numerics/UnionFind.d.ts.map +1 -0
  1364. package/lib/esm/numerics/UnionFind.js +117 -0
  1365. package/lib/esm/numerics/UnionFind.js.map +1 -0
  1366. package/lib/esm/numerics/UsageSums.d.ts +86 -0
  1367. package/lib/esm/numerics/UsageSums.d.ts.map +1 -0
  1368. package/lib/esm/numerics/UsageSums.js +128 -0
  1369. package/lib/esm/numerics/UsageSums.js.map +1 -0
  1370. package/lib/esm/polyface/AuxData.d.ts +112 -0
  1371. package/lib/esm/polyface/AuxData.d.ts.map +1 -0
  1372. package/lib/esm/polyface/AuxData.js +228 -0
  1373. package/lib/esm/polyface/AuxData.js.map +1 -0
  1374. package/lib/esm/polyface/BoxTopology.d.ts +38 -0
  1375. package/lib/esm/polyface/BoxTopology.d.ts.map +1 -0
  1376. package/lib/esm/polyface/BoxTopology.js +99 -0
  1377. package/lib/esm/polyface/BoxTopology.js.map +1 -0
  1378. package/lib/esm/polyface/FacetFaceData.d.ts +44 -0
  1379. package/lib/esm/polyface/FacetFaceData.d.ts.map +1 -0
  1380. package/lib/esm/polyface/FacetFaceData.js +142 -0
  1381. package/lib/esm/polyface/FacetFaceData.js.map +1 -0
  1382. package/lib/esm/polyface/FacetOrientation.d.ts +39 -0
  1383. package/lib/esm/polyface/FacetOrientation.d.ts.map +1 -0
  1384. package/lib/esm/polyface/FacetOrientation.js +192 -0
  1385. package/lib/esm/polyface/FacetOrientation.js.map +1 -0
  1386. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.d.ts +61 -0
  1387. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +1 -0
  1388. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js +245 -0
  1389. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -0
  1390. package/lib/esm/polyface/IndexedEdgeMatcher.d.ts +87 -0
  1391. package/lib/esm/polyface/IndexedEdgeMatcher.d.ts.map +1 -0
  1392. package/lib/esm/polyface/IndexedEdgeMatcher.js +192 -0
  1393. package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -0
  1394. package/lib/esm/polyface/IndexedPolyfaceVisitor.d.ts +109 -0
  1395. package/lib/esm/polyface/IndexedPolyfaceVisitor.d.ts.map +1 -0
  1396. package/lib/esm/polyface/IndexedPolyfaceVisitor.js +237 -0
  1397. package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -0
  1398. package/lib/esm/polyface/Polyface.d.ts +254 -0
  1399. package/lib/esm/polyface/Polyface.d.ts.map +1 -0
  1400. package/lib/esm/polyface/Polyface.js +501 -0
  1401. package/lib/esm/polyface/Polyface.js.map +1 -0
  1402. package/lib/esm/polyface/PolyfaceBuilder.d.ts +395 -0
  1403. package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -0
  1404. package/lib/esm/polyface/PolyfaceBuilder.js +1634 -0
  1405. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -0
  1406. package/lib/esm/polyface/PolyfaceClip.d.ts +172 -0
  1407. package/lib/esm/polyface/PolyfaceClip.d.ts.map +1 -0
  1408. package/lib/esm/polyface/PolyfaceClip.js +565 -0
  1409. package/lib/esm/polyface/PolyfaceClip.js.map +1 -0
  1410. package/lib/esm/polyface/PolyfaceData.d.ts +206 -0
  1411. package/lib/esm/polyface/PolyfaceData.d.ts.map +1 -0
  1412. package/lib/esm/polyface/PolyfaceData.js +527 -0
  1413. package/lib/esm/polyface/PolyfaceData.js.map +1 -0
  1414. package/lib/esm/polyface/PolyfaceQuery.d.ts +302 -0
  1415. package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -0
  1416. package/lib/esm/polyface/PolyfaceQuery.js +947 -0
  1417. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -0
  1418. package/lib/esm/polyface/RangeLengthData.d.ts +31 -0
  1419. package/lib/esm/polyface/RangeLengthData.d.ts.map +1 -0
  1420. package/lib/esm/polyface/RangeLengthData.js +39 -0
  1421. package/lib/esm/polyface/RangeLengthData.js.map +1 -0
  1422. package/lib/esm/polyface/TaggedNumericData.d.ts +95 -0
  1423. package/lib/esm/polyface/TaggedNumericData.d.ts.map +1 -0
  1424. package/lib/esm/polyface/TaggedNumericData.js +160 -0
  1425. package/lib/esm/polyface/TaggedNumericData.js.map +1 -0
  1426. package/lib/esm/polyface/TriangleCandidate.d.ts +64 -0
  1427. package/lib/esm/polyface/TriangleCandidate.d.ts.map +1 -0
  1428. package/lib/esm/polyface/TriangleCandidate.js +116 -0
  1429. package/lib/esm/polyface/TriangleCandidate.js.map +1 -0
  1430. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts +29 -0
  1431. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -0
  1432. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js +160 -0
  1433. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -0
  1434. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.d.ts +81 -0
  1435. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +1 -0
  1436. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js +159 -0
  1437. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -0
  1438. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts +53 -0
  1439. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +1 -0
  1440. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js +74 -0
  1441. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -0
  1442. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.d.ts +44 -0
  1443. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +1 -0
  1444. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js +80 -0
  1445. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -0
  1446. package/lib/esm/polyface/multiclip/Range2dSearchInterface.d.ts +32 -0
  1447. package/lib/esm/polyface/multiclip/Range2dSearchInterface.d.ts.map +1 -0
  1448. package/lib/esm/polyface/multiclip/Range2dSearchInterface.js +9 -0
  1449. package/lib/esm/polyface/multiclip/Range2dSearchInterface.js.map +1 -0
  1450. package/lib/esm/polyface/multiclip/RangeSearch.d.ts +27 -0
  1451. package/lib/esm/polyface/multiclip/RangeSearch.d.ts.map +1 -0
  1452. package/lib/esm/polyface/multiclip/RangeSearch.js +49 -0
  1453. package/lib/esm/polyface/multiclip/RangeSearch.js.map +1 -0
  1454. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts +25 -0
  1455. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -0
  1456. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js +90 -0
  1457. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -0
  1458. package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts +73 -0
  1459. package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts.map +1 -0
  1460. package/lib/esm/polyface/multiclip/XYPointBuckets.js +192 -0
  1461. package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -0
  1462. package/lib/esm/serialization/BGFBAccessors.d.ts +3426 -0
  1463. package/lib/esm/serialization/BGFBAccessors.d.ts.map +1 -0
  1464. package/lib/esm/serialization/BGFBAccessors.js +5543 -0
  1465. package/lib/esm/serialization/BGFBAccessors.js.map +1 -0
  1466. package/lib/esm/serialization/BGFBReader.d.ts +118 -0
  1467. package/lib/esm/serialization/BGFBReader.d.ts.map +1 -0
  1468. package/lib/esm/serialization/BGFBReader.js +661 -0
  1469. package/lib/esm/serialization/BGFBReader.js.map +1 -0
  1470. package/lib/esm/serialization/BGFBWriter.d.ts +69 -0
  1471. package/lib/esm/serialization/BGFBWriter.d.ts.map +1 -0
  1472. package/lib/esm/serialization/BGFBWriter.js +587 -0
  1473. package/lib/esm/serialization/BGFBWriter.js.map +1 -0
  1474. package/lib/esm/serialization/BentleyGeometryFlatBuffer.d.ts +23 -0
  1475. package/lib/esm/serialization/BentleyGeometryFlatBuffer.d.ts.map +1 -0
  1476. package/lib/esm/serialization/BentleyGeometryFlatBuffer.js +26 -0
  1477. package/lib/esm/serialization/BentleyGeometryFlatBuffer.js.map +1 -0
  1478. package/lib/esm/serialization/DeepCompare.d.ts +41 -0
  1479. package/lib/esm/serialization/DeepCompare.d.ts.map +1 -0
  1480. package/lib/esm/serialization/DeepCompare.js +185 -0
  1481. package/lib/esm/serialization/DeepCompare.js.map +1 -0
  1482. package/lib/esm/serialization/GeometrySamples.d.ts +616 -0
  1483. package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -0
  1484. package/lib/esm/serialization/GeometrySamples.js +2124 -0
  1485. package/lib/esm/serialization/GeometrySamples.js.map +1 -0
  1486. package/lib/esm/serialization/IModelJsonSchema.d.ts +671 -0
  1487. package/lib/esm/serialization/IModelJsonSchema.d.ts.map +1 -0
  1488. package/lib/esm/serialization/IModelJsonSchema.js +1523 -0
  1489. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -0
  1490. package/lib/esm/solid/Box.d.ts +122 -0
  1491. package/lib/esm/solid/Box.d.ts.map +1 -0
  1492. package/lib/esm/solid/Box.js +229 -0
  1493. package/lib/esm/solid/Box.js.map +1 -0
  1494. package/lib/esm/solid/Cone.d.ts +119 -0
  1495. package/lib/esm/solid/Cone.d.ts.map +1 -0
  1496. package/lib/esm/solid/Cone.js +267 -0
  1497. package/lib/esm/solid/Cone.js.map +1 -0
  1498. package/lib/esm/solid/LinearSweep.d.ts +81 -0
  1499. package/lib/esm/solid/LinearSweep.d.ts.map +1 -0
  1500. package/lib/esm/solid/LinearSweep.js +143 -0
  1501. package/lib/esm/solid/LinearSweep.js.map +1 -0
  1502. package/lib/esm/solid/RotationalSweep.d.ts +71 -0
  1503. package/lib/esm/solid/RotationalSweep.d.ts.map +1 -0
  1504. package/lib/esm/solid/RotationalSweep.js +139 -0
  1505. package/lib/esm/solid/RotationalSweep.js.map +1 -0
  1506. package/lib/esm/solid/RuledSweep.d.ts +76 -0
  1507. package/lib/esm/solid/RuledSweep.d.ts.map +1 -0
  1508. package/lib/esm/solid/RuledSweep.js +202 -0
  1509. package/lib/esm/solid/RuledSweep.js.map +1 -0
  1510. package/lib/esm/solid/SolidPrimitive.d.ts +63 -0
  1511. package/lib/esm/solid/SolidPrimitive.d.ts.map +1 -0
  1512. package/lib/esm/solid/SolidPrimitive.js +23 -0
  1513. package/lib/esm/solid/SolidPrimitive.js.map +1 -0
  1514. package/lib/esm/solid/Sphere.d.ts +120 -0
  1515. package/lib/esm/solid/Sphere.d.ts.map +1 -0
  1516. package/lib/esm/solid/Sphere.js +294 -0
  1517. package/lib/esm/solid/Sphere.js.map +1 -0
  1518. package/lib/esm/solid/SweepContour.d.ts +82 -0
  1519. package/lib/esm/solid/SweepContour.d.ts.map +1 -0
  1520. package/lib/esm/solid/SweepContour.js +250 -0
  1521. package/lib/esm/solid/SweepContour.js.map +1 -0
  1522. package/lib/esm/solid/TorusPipe.d.ts +123 -0
  1523. package/lib/esm/solid/TorusPipe.d.ts.map +1 -0
  1524. package/lib/esm/solid/TorusPipe.js +296 -0
  1525. package/lib/esm/solid/TorusPipe.js.map +1 -0
  1526. package/lib/esm/topology/ChainMerge.d.ts +119 -0
  1527. package/lib/esm/topology/ChainMerge.d.ts.map +1 -0
  1528. package/lib/esm/topology/ChainMerge.js +280 -0
  1529. package/lib/esm/topology/ChainMerge.js.map +1 -0
  1530. package/lib/esm/topology/Graph.d.ts +591 -0
  1531. package/lib/esm/topology/Graph.d.ts.map +1 -0
  1532. package/lib/esm/topology/Graph.js +1156 -0
  1533. package/lib/esm/topology/Graph.js.map +1 -0
  1534. package/lib/esm/topology/HalfEdgeGraphSearch.d.ts +125 -0
  1535. package/lib/esm/topology/HalfEdgeGraphSearch.d.ts.map +1 -0
  1536. package/lib/esm/topology/HalfEdgeGraphSearch.js +296 -0
  1537. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -0
  1538. package/lib/esm/topology/HalfEdgeGraphSpineContext.d.ts +98 -0
  1539. package/lib/esm/topology/HalfEdgeGraphSpineContext.d.ts.map +1 -0
  1540. package/lib/esm/topology/HalfEdgeGraphSpineContext.js +519 -0
  1541. package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -0
  1542. package/lib/esm/topology/HalfEdgeGraphValidation.d.ts +52 -0
  1543. package/lib/esm/topology/HalfEdgeGraphValidation.d.ts.map +1 -0
  1544. package/lib/esm/topology/HalfEdgeGraphValidation.js +107 -0
  1545. package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -0
  1546. package/lib/esm/topology/HalfEdgeMarkSet.d.ts +232 -0
  1547. package/lib/esm/topology/HalfEdgeMarkSet.d.ts.map +1 -0
  1548. package/lib/esm/topology/HalfEdgeMarkSet.js +369 -0
  1549. package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -0
  1550. package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts +51 -0
  1551. package/lib/esm/topology/HalfEdgeNodeXYZUV.d.ts.map +1 -0
  1552. package/lib/esm/topology/HalfEdgeNodeXYZUV.js +93 -0
  1553. package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -0
  1554. package/lib/esm/topology/HalfEdgePointInGraphSearch.d.ts +34 -0
  1555. package/lib/esm/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -0
  1556. package/lib/esm/topology/HalfEdgePointInGraphSearch.js +252 -0
  1557. package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -0
  1558. package/lib/esm/topology/HalfEdgePositionDetail.d.ts +97 -0
  1559. package/lib/esm/topology/HalfEdgePositionDetail.d.ts.map +1 -0
  1560. package/lib/esm/topology/HalfEdgePositionDetail.js +173 -0
  1561. package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -0
  1562. package/lib/esm/topology/HalfEdgePriorityQueue.d.ts +34 -0
  1563. package/lib/esm/topology/HalfEdgePriorityQueue.d.ts.map +1 -0
  1564. package/lib/esm/topology/HalfEdgePriorityQueue.js +68 -0
  1565. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -0
  1566. package/lib/esm/topology/InsertAndRetriangulateContext.d.ts +38 -0
  1567. package/lib/esm/topology/InsertAndRetriangulateContext.d.ts.map +1 -0
  1568. package/lib/esm/topology/InsertAndRetriangulateContext.js +239 -0
  1569. package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -0
  1570. package/lib/esm/topology/MaskManager.d.ts +33 -0
  1571. package/lib/esm/topology/MaskManager.d.ts.map +1 -0
  1572. package/lib/esm/topology/MaskManager.js +63 -0
  1573. package/lib/esm/topology/MaskManager.js.map +1 -0
  1574. package/lib/esm/topology/Merging.d.ts +90 -0
  1575. package/lib/esm/topology/Merging.d.ts.map +1 -0
  1576. package/lib/esm/topology/Merging.js +362 -0
  1577. package/lib/esm/topology/Merging.js.map +1 -0
  1578. package/lib/esm/topology/RegularizeFace.d.ts +106 -0
  1579. package/lib/esm/topology/RegularizeFace.d.ts.map +1 -0
  1580. package/lib/esm/topology/RegularizeFace.js +367 -0
  1581. package/lib/esm/topology/RegularizeFace.js.map +1 -0
  1582. package/lib/esm/topology/SignedDataSummary.d.ts +37 -0
  1583. package/lib/esm/topology/SignedDataSummary.d.ts.map +1 -0
  1584. package/lib/esm/topology/SignedDataSummary.js +54 -0
  1585. package/lib/esm/topology/SignedDataSummary.js.map +1 -0
  1586. package/lib/esm/topology/Triangulation.d.ts +230 -0
  1587. package/lib/esm/topology/Triangulation.d.ts.map +1 -0
  1588. package/lib/esm/topology/Triangulation.js +945 -0
  1589. package/lib/esm/topology/Triangulation.js.map +1 -0
  1590. package/lib/esm/topology/XYParitySearchContext.d.ts +54 -0
  1591. package/lib/esm/topology/XYParitySearchContext.d.ts.map +1 -0
  1592. package/lib/esm/topology/XYParitySearchContext.js +138 -0
  1593. package/lib/esm/topology/XYParitySearchContext.js.map +1 -0
  1594. package/package.json +11 -8
  1595. package/lib/Constant.d.ts.map +0 -1
  1596. package/lib/Constant.js.map +0 -1
  1597. package/lib/Geometry.d.ts.map +0 -1
  1598. package/lib/Geometry.js.map +0 -1
  1599. package/lib/bspline/AkimaCurve3d.d.ts.map +0 -1
  1600. package/lib/bspline/AkimaCurve3d.js.map +0 -1
  1601. package/lib/bspline/BSpline1dNd.d.ts.map +0 -1
  1602. package/lib/bspline/BSpline1dNd.js.map +0 -1
  1603. package/lib/bspline/BSplineCurve.d.ts.map +0 -1
  1604. package/lib/bspline/BSplineCurve.js.map +0 -1
  1605. package/lib/bspline/BSplineCurve3dH.d.ts.map +0 -1
  1606. package/lib/bspline/BSplineCurve3dH.js.map +0 -1
  1607. package/lib/bspline/BSplineCurveOps.d.ts.map +0 -1
  1608. package/lib/bspline/BSplineCurveOps.js.map +0 -1
  1609. package/lib/bspline/BSplineSurface.d.ts +0 -485
  1610. package/lib/bspline/BSplineSurface.d.ts.map +0 -1
  1611. package/lib/bspline/BSplineSurface.js.map +0 -1
  1612. package/lib/bspline/Bezier1dNd.d.ts.map +0 -1
  1613. package/lib/bspline/Bezier1dNd.js.map +0 -1
  1614. package/lib/bspline/BezierCurve3d.d.ts.map +0 -1
  1615. package/lib/bspline/BezierCurve3d.js.map +0 -1
  1616. package/lib/bspline/BezierCurve3dH.d.ts.map +0 -1
  1617. package/lib/bspline/BezierCurve3dH.js.map +0 -1
  1618. package/lib/bspline/BezierCurveBase.d.ts.map +0 -1
  1619. package/lib/bspline/BezierCurveBase.js.map +0 -1
  1620. package/lib/bspline/InterpolationCurve3d.d.ts.map +0 -1
  1621. package/lib/bspline/InterpolationCurve3d.js.map +0 -1
  1622. package/lib/bspline/KnotVector.d.ts.map +0 -1
  1623. package/lib/bspline/KnotVector.js.map +0 -1
  1624. package/lib/bspline/SurfaceLocationDetail.d.ts.map +0 -1
  1625. package/lib/bspline/SurfaceLocationDetail.js.map +0 -1
  1626. package/lib/clipping/AlternatingConvexClipTree.d.ts.map +0 -1
  1627. package/lib/clipping/AlternatingConvexClipTree.js.map +0 -1
  1628. package/lib/clipping/BooleanClipFactory.d.ts.map +0 -1
  1629. package/lib/clipping/BooleanClipFactory.js.map +0 -1
  1630. package/lib/clipping/BooleanClipNode.d.ts.map +0 -1
  1631. package/lib/clipping/BooleanClipNode.js.map +0 -1
  1632. package/lib/clipping/ClipPlane.d.ts.map +0 -1
  1633. package/lib/clipping/ClipPlane.js.map +0 -1
  1634. package/lib/clipping/ClipPrimitive.d.ts.map +0 -1
  1635. package/lib/clipping/ClipPrimitive.js.map +0 -1
  1636. package/lib/clipping/ClipUtils.d.ts.map +0 -1
  1637. package/lib/clipping/ClipUtils.js.map +0 -1
  1638. package/lib/clipping/ClipVector.d.ts.map +0 -1
  1639. package/lib/clipping/ClipVector.js.map +0 -1
  1640. package/lib/clipping/ConvexClipPlaneSet.d.ts.map +0 -1
  1641. package/lib/clipping/ConvexClipPlaneSet.js.map +0 -1
  1642. package/lib/clipping/UnionOfConvexClipPlaneSets.d.ts.map +0 -1
  1643. package/lib/clipping/UnionOfConvexClipPlaneSets.js.map +0 -1
  1644. package/lib/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +0 -1
  1645. package/lib/clipping/internalContexts/LineStringOffsetClipperContext.js.map +0 -1
  1646. package/lib/core-geometry.d.ts.map +0 -1
  1647. package/lib/core-geometry.js.map +0 -1
  1648. package/lib/curve/Arc3d.d.ts.map +0 -1
  1649. package/lib/curve/Arc3d.js.map +0 -1
  1650. package/lib/curve/ChainCollectorContext.d.ts.map +0 -1
  1651. package/lib/curve/ChainCollectorContext.js.map +0 -1
  1652. package/lib/curve/ConstructCurveBetweenCurves.d.ts.map +0 -1
  1653. package/lib/curve/ConstructCurveBetweenCurves.js.map +0 -1
  1654. package/lib/curve/CoordinateXYZ.d.ts.map +0 -1
  1655. package/lib/curve/CoordinateXYZ.js.map +0 -1
  1656. package/lib/curve/CurveChain.d.ts.map +0 -1
  1657. package/lib/curve/CurveChain.js.map +0 -1
  1658. package/lib/curve/CurveChainWithDistanceIndex.d.ts.map +0 -1
  1659. package/lib/curve/CurveChainWithDistanceIndex.js.map +0 -1
  1660. package/lib/curve/CurveCollection.d.ts.map +0 -1
  1661. package/lib/curve/CurveCollection.js.map +0 -1
  1662. package/lib/curve/CurveCurve.d.ts.map +0 -1
  1663. package/lib/curve/CurveCurve.js.map +0 -1
  1664. package/lib/curve/CurveCurveCloseApproachXY.d.ts.map +0 -1
  1665. package/lib/curve/CurveCurveCloseApproachXY.js.map +0 -1
  1666. package/lib/curve/CurveCurveIntersectXY.d.ts.map +0 -1
  1667. package/lib/curve/CurveCurveIntersectXY.js.map +0 -1
  1668. package/lib/curve/CurveCurveIntersectXYZ.d.ts.map +0 -1
  1669. package/lib/curve/CurveCurveIntersectXYZ.js.map +0 -1
  1670. package/lib/curve/CurveExtendMode.d.ts.map +0 -1
  1671. package/lib/curve/CurveExtendMode.js.map +0 -1
  1672. package/lib/curve/CurveFactory.d.ts.map +0 -1
  1673. package/lib/curve/CurveFactory.js.map +0 -1
  1674. package/lib/curve/CurveLocationDetail.d.ts.map +0 -1
  1675. package/lib/curve/CurveLocationDetail.js.map +0 -1
  1676. package/lib/curve/CurvePrimitive.d.ts.map +0 -1
  1677. package/lib/curve/CurvePrimitive.js.map +0 -1
  1678. package/lib/curve/CurveProcessor.d.ts.map +0 -1
  1679. package/lib/curve/CurveProcessor.js.map +0 -1
  1680. package/lib/curve/CurveWireMomentsXYZ.d.ts.map +0 -1
  1681. package/lib/curve/CurveWireMomentsXYZ.js.map +0 -1
  1682. package/lib/curve/GeometryQuery.d.ts.map +0 -1
  1683. package/lib/curve/GeometryQuery.js.map +0 -1
  1684. package/lib/curve/LineSegment3d.d.ts.map +0 -1
  1685. package/lib/curve/LineSegment3d.js.map +0 -1
  1686. package/lib/curve/LineString3d.d.ts.map +0 -1
  1687. package/lib/curve/LineString3d.js.map +0 -1
  1688. package/lib/curve/Loop.d.ts.map +0 -1
  1689. package/lib/curve/Loop.js.map +0 -1
  1690. package/lib/curve/ParityRegion.d.ts.map +0 -1
  1691. package/lib/curve/ParityRegion.js.map +0 -1
  1692. package/lib/curve/Path.d.ts.map +0 -1
  1693. package/lib/curve/Path.js.map +0 -1
  1694. package/lib/curve/PointString3d.d.ts.map +0 -1
  1695. package/lib/curve/PointString3d.js.map +0 -1
  1696. package/lib/curve/ProxyCurve.d.ts.map +0 -1
  1697. package/lib/curve/ProxyCurve.js.map +0 -1
  1698. package/lib/curve/Query/ConsolidateAdjacentPrimitivesContext.d.ts.map +0 -1
  1699. package/lib/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +0 -1
  1700. package/lib/curve/Query/CurveSplitContext.d.ts.map +0 -1
  1701. package/lib/curve/Query/CurveSplitContext.js.map +0 -1
  1702. package/lib/curve/Query/CylindricalRange.d.ts.map +0 -1
  1703. package/lib/curve/Query/CylindricalRange.js.map +0 -1
  1704. package/lib/curve/Query/InOutTests.d.ts.map +0 -1
  1705. package/lib/curve/Query/InOutTests.js.map +0 -1
  1706. package/lib/curve/Query/PlanarSubdivision.d.ts.map +0 -1
  1707. package/lib/curve/Query/PlanarSubdivision.js.map +0 -1
  1708. package/lib/curve/Query/StrokeCountChain.d.ts.map +0 -1
  1709. package/lib/curve/Query/StrokeCountChain.js.map +0 -1
  1710. package/lib/curve/Query/StrokeCountMap.d.ts.map +0 -1
  1711. package/lib/curve/Query/StrokeCountMap.js.map +0 -1
  1712. package/lib/curve/RegionMomentsXY.d.ts.map +0 -1
  1713. package/lib/curve/RegionMomentsXY.js.map +0 -1
  1714. package/lib/curve/RegionOps.d.ts.map +0 -1
  1715. package/lib/curve/RegionOps.js.map +0 -1
  1716. package/lib/curve/RegionOpsClassificationSweeps.d.ts.map +0 -1
  1717. package/lib/curve/RegionOpsClassificationSweeps.js.map +0 -1
  1718. package/lib/curve/StrokeOptions.d.ts.map +0 -1
  1719. package/lib/curve/StrokeOptions.js.map +0 -1
  1720. package/lib/curve/UnionRegion.d.ts.map +0 -1
  1721. package/lib/curve/UnionRegion.js.map +0 -1
  1722. package/lib/curve/internalContexts/CloneCurvesContext.d.ts.map +0 -1
  1723. package/lib/curve/internalContexts/CloneCurvesContext.js.map +0 -1
  1724. package/lib/curve/internalContexts/CloneWithExpandedLineStrings.d.ts.map +0 -1
  1725. package/lib/curve/internalContexts/CloneWithExpandedLineStrings.js.map +0 -1
  1726. package/lib/curve/internalContexts/CountLinearPartsSearchContext.d.ts.map +0 -1
  1727. package/lib/curve/internalContexts/CountLinearPartsSearchContext.js.map +0 -1
  1728. package/lib/curve/internalContexts/GapSearchContext.d.ts.map +0 -1
  1729. package/lib/curve/internalContexts/GapSearchContext.js.map +0 -1
  1730. package/lib/curve/internalContexts/MultiChainCollector.d.ts.map +0 -1
  1731. package/lib/curve/internalContexts/MultiChainCollector.js.map +0 -1
  1732. package/lib/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +0 -1
  1733. package/lib/curve/internalContexts/PlaneAltitudeRangeContext.js.map +0 -1
  1734. package/lib/curve/internalContexts/PolygonOffsetContext.d.ts.map +0 -1
  1735. package/lib/curve/internalContexts/PolygonOffsetContext.js.map +0 -1
  1736. package/lib/curve/internalContexts/SumLengthsContext.d.ts.map +0 -1
  1737. package/lib/curve/internalContexts/SumLengthsContext.js.map +0 -1
  1738. package/lib/curve/internalContexts/TransformInPlaceContext.d.ts.map +0 -1
  1739. package/lib/curve/internalContexts/TransformInPlaceContext.js.map +0 -1
  1740. package/lib/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +0 -1
  1741. package/lib/curve/spiral/AustralianRailCorpXYEvaluator.js.map +0 -1
  1742. package/lib/curve/spiral/ClothoidSeries.d.ts.map +0 -1
  1743. package/lib/curve/spiral/ClothoidSeries.js.map +0 -1
  1744. package/lib/curve/spiral/CubicEvaluator.d.ts.map +0 -1
  1745. package/lib/curve/spiral/CubicEvaluator.js.map +0 -1
  1746. package/lib/curve/spiral/CzechSpiralEvaluator.d.ts.map +0 -1
  1747. package/lib/curve/spiral/CzechSpiralEvaluator.js.map +0 -1
  1748. package/lib/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +0 -1
  1749. package/lib/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +0 -1
  1750. package/lib/curve/spiral/DirectSpiral3d.d.ts +0 -264
  1751. package/lib/curve/spiral/DirectSpiral3d.d.ts.map +0 -1
  1752. package/lib/curve/spiral/DirectSpiral3d.js +0 -464
  1753. package/lib/curve/spiral/DirectSpiral3d.js.map +0 -1
  1754. package/lib/curve/spiral/IntegratedSpiral3d.d.ts +0 -154
  1755. package/lib/curve/spiral/IntegratedSpiral3d.d.ts.map +0 -1
  1756. package/lib/curve/spiral/IntegratedSpiral3d.js +0 -351
  1757. package/lib/curve/spiral/IntegratedSpiral3d.js.map +0 -1
  1758. package/lib/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +0 -1
  1759. package/lib/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +0 -1
  1760. package/lib/curve/spiral/NormalizedTransition.d.ts.map +0 -1
  1761. package/lib/curve/spiral/NormalizedTransition.js.map +0 -1
  1762. package/lib/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +0 -1
  1763. package/lib/curve/spiral/PolishCubicSpiralEvaluator.js.map +0 -1
  1764. package/lib/curve/spiral/TransitionConditionalProperties.d.ts.map +0 -1
  1765. package/lib/curve/spiral/TransitionConditionalProperties.js.map +0 -1
  1766. package/lib/curve/spiral/TransitionSpiral3d.d.ts.map +0 -1
  1767. package/lib/curve/spiral/TransitionSpiral3d.js.map +0 -1
  1768. package/lib/curve/spiral/XYCurveEvaluator.d.ts.map +0 -1
  1769. package/lib/curve/spiral/XYCurveEvaluator.js.map +0 -1
  1770. package/lib/geometry3d/Angle.d.ts.map +0 -1
  1771. package/lib/geometry3d/Angle.js.map +0 -1
  1772. package/lib/geometry3d/AngleSweep.d.ts.map +0 -1
  1773. package/lib/geometry3d/AngleSweep.js.map +0 -1
  1774. package/lib/geometry3d/BarycentricTriangle.d.ts.map +0 -1
  1775. package/lib/geometry3d/BarycentricTriangle.js.map +0 -1
  1776. package/lib/geometry3d/BilinearPatch.d.ts.map +0 -1
  1777. package/lib/geometry3d/BilinearPatch.js.map +0 -1
  1778. package/lib/geometry3d/CoincidentGeometryOps.d.ts.map +0 -1
  1779. package/lib/geometry3d/CoincidentGeometryOps.js.map +0 -1
  1780. package/lib/geometry3d/Ellipsoid.d.ts.map +0 -1
  1781. package/lib/geometry3d/Ellipsoid.js.map +0 -1
  1782. package/lib/geometry3d/FrameBuilder.d.ts.map +0 -1
  1783. package/lib/geometry3d/FrameBuilder.js.map +0 -1
  1784. package/lib/geometry3d/FrustumAnimation.d.ts.map +0 -1
  1785. package/lib/geometry3d/FrustumAnimation.js.map +0 -1
  1786. package/lib/geometry3d/GeometryHandler.d.ts.map +0 -1
  1787. package/lib/geometry3d/GeometryHandler.js.map +0 -1
  1788. package/lib/geometry3d/GrowableBlockedArray.d.ts.map +0 -1
  1789. package/lib/geometry3d/GrowableBlockedArray.js.map +0 -1
  1790. package/lib/geometry3d/GrowableFloat64Array.d.ts.map +0 -1
  1791. package/lib/geometry3d/GrowableFloat64Array.js.map +0 -1
  1792. package/lib/geometry3d/GrowableXYArray.d.ts.map +0 -1
  1793. package/lib/geometry3d/GrowableXYArray.js.map +0 -1
  1794. package/lib/geometry3d/GrowableXYZArray.d.ts.map +0 -1
  1795. package/lib/geometry3d/GrowableXYZArray.js.map +0 -1
  1796. package/lib/geometry3d/IndexedCollectionInterval.d.ts.map +0 -1
  1797. package/lib/geometry3d/IndexedCollectionInterval.js.map +0 -1
  1798. package/lib/geometry3d/IndexedXYCollection.d.ts.map +0 -1
  1799. package/lib/geometry3d/IndexedXYCollection.js.map +0 -1
  1800. package/lib/geometry3d/IndexedXYZCollection.d.ts.map +0 -1
  1801. package/lib/geometry3d/IndexedXYZCollection.js.map +0 -1
  1802. package/lib/geometry3d/LongitudeLatitudeAltitude.d.ts.map +0 -1
  1803. package/lib/geometry3d/LongitudeLatitudeAltitude.js.map +0 -1
  1804. package/lib/geometry3d/Matrix3d.d.ts.map +0 -1
  1805. package/lib/geometry3d/Matrix3d.js.map +0 -1
  1806. package/lib/geometry3d/OrderedRotationAngles.d.ts.map +0 -1
  1807. package/lib/geometry3d/OrderedRotationAngles.js.map +0 -1
  1808. package/lib/geometry3d/Plane3dByOriginAndUnitNormal.d.ts.map +0 -1
  1809. package/lib/geometry3d/Plane3dByOriginAndUnitNormal.js.map +0 -1
  1810. package/lib/geometry3d/Plane3dByOriginAndVectors.d.ts.map +0 -1
  1811. package/lib/geometry3d/Plane3dByOriginAndVectors.js.map +0 -1
  1812. package/lib/geometry3d/Point2dArrayCarrier.d.ts.map +0 -1
  1813. package/lib/geometry3d/Point2dArrayCarrier.js.map +0 -1
  1814. package/lib/geometry3d/Point2dVector2d.d.ts.map +0 -1
  1815. package/lib/geometry3d/Point2dVector2d.js.map +0 -1
  1816. package/lib/geometry3d/Point3dArrayCarrier.d.ts.map +0 -1
  1817. package/lib/geometry3d/Point3dArrayCarrier.js.map +0 -1
  1818. package/lib/geometry3d/Point3dVector3d.d.ts.map +0 -1
  1819. package/lib/geometry3d/Point3dVector3d.js.map +0 -1
  1820. package/lib/geometry3d/PointHelpers.d.ts.map +0 -1
  1821. package/lib/geometry3d/PointHelpers.js.map +0 -1
  1822. package/lib/geometry3d/PointStreaming.d.ts.map +0 -1
  1823. package/lib/geometry3d/PointStreaming.js.map +0 -1
  1824. package/lib/geometry3d/PolygonOps.d.ts.map +0 -1
  1825. package/lib/geometry3d/PolygonOps.js.map +0 -1
  1826. package/lib/geometry3d/PolylineCompressionByEdgeOffset.d.ts.map +0 -1
  1827. package/lib/geometry3d/PolylineCompressionByEdgeOffset.js.map +0 -1
  1828. package/lib/geometry3d/PolylineOps.d.ts.map +0 -1
  1829. package/lib/geometry3d/PolylineOps.js.map +0 -1
  1830. package/lib/geometry3d/Range.d.ts.map +0 -1
  1831. package/lib/geometry3d/Range.js.map +0 -1
  1832. package/lib/geometry3d/Ray3d.d.ts.map +0 -1
  1833. package/lib/geometry3d/Ray3d.js.map +0 -1
  1834. package/lib/geometry3d/ReusableObjectCache.d.ts.map +0 -1
  1835. package/lib/geometry3d/ReusableObjectCache.js.map +0 -1
  1836. package/lib/geometry3d/Segment1d.d.ts.map +0 -1
  1837. package/lib/geometry3d/Segment1d.js.map +0 -1
  1838. package/lib/geometry3d/SortablePolygon.d.ts.map +0 -1
  1839. package/lib/geometry3d/SortablePolygon.js.map +0 -1
  1840. package/lib/geometry3d/Transform.d.ts.map +0 -1
  1841. package/lib/geometry3d/Transform.js.map +0 -1
  1842. package/lib/geometry3d/UVSurfaceOps.d.ts.map +0 -1
  1843. package/lib/geometry3d/UVSurfaceOps.js.map +0 -1
  1844. package/lib/geometry3d/XYZProps.d.ts.map +0 -1
  1845. package/lib/geometry3d/XYZProps.js.map +0 -1
  1846. package/lib/geometry3d/YawPitchRollAngles.d.ts.map +0 -1
  1847. package/lib/geometry3d/YawPitchRollAngles.js.map +0 -1
  1848. package/lib/geometry4d/Map4d.d.ts.map +0 -1
  1849. package/lib/geometry4d/Map4d.js.map +0 -1
  1850. package/lib/geometry4d/Matrix4d.d.ts.map +0 -1
  1851. package/lib/geometry4d/Matrix4d.js.map +0 -1
  1852. package/lib/geometry4d/MomentData.d.ts.map +0 -1
  1853. package/lib/geometry4d/MomentData.js.map +0 -1
  1854. package/lib/geometry4d/PlaneByOriginAndVectors4d.d.ts.map +0 -1
  1855. package/lib/geometry4d/PlaneByOriginAndVectors4d.js.map +0 -1
  1856. package/lib/geometry4d/Point4d.d.ts.map +0 -1
  1857. package/lib/geometry4d/Point4d.js.map +0 -1
  1858. package/lib/numerics/BandedSystem.d.ts.map +0 -1
  1859. package/lib/numerics/BandedSystem.js.map +0 -1
  1860. package/lib/numerics/BezierPolynomials.d.ts.map +0 -1
  1861. package/lib/numerics/BezierPolynomials.js.map +0 -1
  1862. package/lib/numerics/ClusterableArray.d.ts.map +0 -1
  1863. package/lib/numerics/ClusterableArray.js.map +0 -1
  1864. package/lib/numerics/Complex.d.ts.map +0 -1
  1865. package/lib/numerics/Complex.js.map +0 -1
  1866. package/lib/numerics/ConvexPolygon2d.d.ts.map +0 -1
  1867. package/lib/numerics/ConvexPolygon2d.js.map +0 -1
  1868. package/lib/numerics/Newton.d.ts.map +0 -1
  1869. package/lib/numerics/Newton.js.map +0 -1
  1870. package/lib/numerics/PascalCoefficients.d.ts.map +0 -1
  1871. package/lib/numerics/PascalCoefficients.js.map +0 -1
  1872. package/lib/numerics/PolarData.d.ts.map +0 -1
  1873. package/lib/numerics/PolarData.js.map +0 -1
  1874. package/lib/numerics/Polynomials.d.ts.map +0 -1
  1875. package/lib/numerics/Polynomials.js.map +0 -1
  1876. package/lib/numerics/Quadrature.d.ts.map +0 -1
  1877. package/lib/numerics/Quadrature.js.map +0 -1
  1878. package/lib/numerics/Range1dArray.d.ts.map +0 -1
  1879. package/lib/numerics/Range1dArray.js.map +0 -1
  1880. package/lib/numerics/TriDiagonalSystem.d.ts.map +0 -1
  1881. package/lib/numerics/TriDiagonalSystem.js.map +0 -1
  1882. package/lib/numerics/UnionFind.d.ts.map +0 -1
  1883. package/lib/numerics/UnionFind.js.map +0 -1
  1884. package/lib/numerics/UsageSums.d.ts.map +0 -1
  1885. package/lib/numerics/UsageSums.js.map +0 -1
  1886. package/lib/polyface/AuxData.d.ts.map +0 -1
  1887. package/lib/polyface/AuxData.js.map +0 -1
  1888. package/lib/polyface/BoxTopology.d.ts.map +0 -1
  1889. package/lib/polyface/BoxTopology.js.map +0 -1
  1890. package/lib/polyface/FacetFaceData.d.ts.map +0 -1
  1891. package/lib/polyface/FacetFaceData.js.map +0 -1
  1892. package/lib/polyface/FacetOrientation.d.ts.map +0 -1
  1893. package/lib/polyface/FacetOrientation.js.map +0 -1
  1894. package/lib/polyface/GreedyTriangulationBetweenLineStrings.d.ts.map +0 -1
  1895. package/lib/polyface/GreedyTriangulationBetweenLineStrings.js.map +0 -1
  1896. package/lib/polyface/IndexedEdgeMatcher.d.ts.map +0 -1
  1897. package/lib/polyface/IndexedEdgeMatcher.js.map +0 -1
  1898. package/lib/polyface/IndexedPolyfaceVisitor.d.ts.map +0 -1
  1899. package/lib/polyface/IndexedPolyfaceVisitor.js.map +0 -1
  1900. package/lib/polyface/Polyface.d.ts.map +0 -1
  1901. package/lib/polyface/Polyface.js.map +0 -1
  1902. package/lib/polyface/PolyfaceBuilder.d.ts.map +0 -1
  1903. package/lib/polyface/PolyfaceBuilder.js.map +0 -1
  1904. package/lib/polyface/PolyfaceClip.d.ts.map +0 -1
  1905. package/lib/polyface/PolyfaceClip.js.map +0 -1
  1906. package/lib/polyface/PolyfaceData.d.ts +0 -170
  1907. package/lib/polyface/PolyfaceData.d.ts.map +0 -1
  1908. package/lib/polyface/PolyfaceData.js +0 -531
  1909. package/lib/polyface/PolyfaceData.js.map +0 -1
  1910. package/lib/polyface/PolyfaceQuery.d.ts.map +0 -1
  1911. package/lib/polyface/PolyfaceQuery.js.map +0 -1
  1912. package/lib/polyface/RangeLengthData.d.ts.map +0 -1
  1913. package/lib/polyface/RangeLengthData.js.map +0 -1
  1914. package/lib/polyface/TaggedNumericData.d.ts.map +0 -1
  1915. package/lib/polyface/TaggedNumericData.js.map +0 -1
  1916. package/lib/polyface/TriangleCandidate.d.ts.map +0 -1
  1917. package/lib/polyface/TriangleCandidate.js.map +0 -1
  1918. package/lib/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +0 -1
  1919. package/lib/polyface/multiclip/BuildAverageNormalsContext.js.map +0 -1
  1920. package/lib/polyface/multiclip/GriddedRaggedRange2dSet.d.ts.map +0 -1
  1921. package/lib/polyface/multiclip/GriddedRaggedRange2dSet.js.map +0 -1
  1922. package/lib/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.d.ts.map +0 -1
  1923. package/lib/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +0 -1
  1924. package/lib/polyface/multiclip/LinearSearchRange2dArray.d.ts.map +0 -1
  1925. package/lib/polyface/multiclip/LinearSearchRange2dArray.js.map +0 -1
  1926. package/lib/polyface/multiclip/Range2dSearchInterface.d.ts.map +0 -1
  1927. package/lib/polyface/multiclip/Range2dSearchInterface.js.map +0 -1
  1928. package/lib/polyface/multiclip/RangeSearch.d.ts.map +0 -1
  1929. package/lib/polyface/multiclip/RangeSearch.js.map +0 -1
  1930. package/lib/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +0 -1
  1931. package/lib/polyface/multiclip/SweepLineStringToFacetContext.js.map +0 -1
  1932. package/lib/polyface/multiclip/XYPointBuckets.d.ts.map +0 -1
  1933. package/lib/polyface/multiclip/XYPointBuckets.js.map +0 -1
  1934. package/lib/serialization/BGFBAccessors.d.ts.map +0 -1
  1935. package/lib/serialization/BGFBAccessors.js.map +0 -1
  1936. package/lib/serialization/BGFBReader.d.ts.map +0 -1
  1937. package/lib/serialization/BGFBReader.js.map +0 -1
  1938. package/lib/serialization/BGFBWriter.d.ts.map +0 -1
  1939. package/lib/serialization/BGFBWriter.js.map +0 -1
  1940. package/lib/serialization/BentleyGeometryFlatBuffer.d.ts.map +0 -1
  1941. package/lib/serialization/BentleyGeometryFlatBuffer.js.map +0 -1
  1942. package/lib/serialization/DeepCompare.d.ts.map +0 -1
  1943. package/lib/serialization/DeepCompare.js.map +0 -1
  1944. package/lib/serialization/GeometrySamples.d.ts.map +0 -1
  1945. package/lib/serialization/GeometrySamples.js.map +0 -1
  1946. package/lib/serialization/IModelJsonSchema.d.ts.map +0 -1
  1947. package/lib/serialization/IModelJsonSchema.js.map +0 -1
  1948. package/lib/solid/Box.d.ts.map +0 -1
  1949. package/lib/solid/Box.js.map +0 -1
  1950. package/lib/solid/Cone.d.ts.map +0 -1
  1951. package/lib/solid/Cone.js.map +0 -1
  1952. package/lib/solid/LinearSweep.d.ts.map +0 -1
  1953. package/lib/solid/LinearSweep.js.map +0 -1
  1954. package/lib/solid/RotationalSweep.d.ts.map +0 -1
  1955. package/lib/solid/RotationalSweep.js.map +0 -1
  1956. package/lib/solid/RuledSweep.d.ts.map +0 -1
  1957. package/lib/solid/RuledSweep.js.map +0 -1
  1958. package/lib/solid/SolidPrimitive.d.ts.map +0 -1
  1959. package/lib/solid/SolidPrimitive.js.map +0 -1
  1960. package/lib/solid/Sphere.d.ts.map +0 -1
  1961. package/lib/solid/Sphere.js.map +0 -1
  1962. package/lib/solid/SweepContour.d.ts.map +0 -1
  1963. package/lib/solid/SweepContour.js.map +0 -1
  1964. package/lib/solid/TorusPipe.d.ts.map +0 -1
  1965. package/lib/solid/TorusPipe.js.map +0 -1
  1966. package/lib/topology/ChainMerge.d.ts.map +0 -1
  1967. package/lib/topology/ChainMerge.js.map +0 -1
  1968. package/lib/topology/Graph.d.ts.map +0 -1
  1969. package/lib/topology/Graph.js.map +0 -1
  1970. package/lib/topology/HalfEdgeGraphSearch.d.ts.map +0 -1
  1971. package/lib/topology/HalfEdgeGraphSearch.js.map +0 -1
  1972. package/lib/topology/HalfEdgeGraphSpineContext.d.ts.map +0 -1
  1973. package/lib/topology/HalfEdgeGraphSpineContext.js.map +0 -1
  1974. package/lib/topology/HalfEdgeGraphValidation.d.ts.map +0 -1
  1975. package/lib/topology/HalfEdgeGraphValidation.js.map +0 -1
  1976. package/lib/topology/HalfEdgeMarkSet.d.ts.map +0 -1
  1977. package/lib/topology/HalfEdgeMarkSet.js.map +0 -1
  1978. package/lib/topology/HalfEdgeNodeXYZUV.d.ts.map +0 -1
  1979. package/lib/topology/HalfEdgeNodeXYZUV.js.map +0 -1
  1980. package/lib/topology/HalfEdgePointInGraphSearch.d.ts.map +0 -1
  1981. package/lib/topology/HalfEdgePointInGraphSearch.js.map +0 -1
  1982. package/lib/topology/HalfEdgePositionDetail.d.ts.map +0 -1
  1983. package/lib/topology/HalfEdgePositionDetail.js.map +0 -1
  1984. package/lib/topology/HalfEdgePriorityQueue.d.ts.map +0 -1
  1985. package/lib/topology/HalfEdgePriorityQueue.js.map +0 -1
  1986. package/lib/topology/InsertAndRetriangulateContext.d.ts.map +0 -1
  1987. package/lib/topology/InsertAndRetriangulateContext.js.map +0 -1
  1988. package/lib/topology/MaskManager.d.ts.map +0 -1
  1989. package/lib/topology/MaskManager.js.map +0 -1
  1990. package/lib/topology/Merging.d.ts.map +0 -1
  1991. package/lib/topology/Merging.js.map +0 -1
  1992. package/lib/topology/RegularizeFace.d.ts.map +0 -1
  1993. package/lib/topology/RegularizeFace.js.map +0 -1
  1994. package/lib/topology/SignedDataSummary.d.ts.map +0 -1
  1995. package/lib/topology/SignedDataSummary.js.map +0 -1
  1996. package/lib/topology/Triangulation.d.ts.map +0 -1
  1997. package/lib/topology/Triangulation.js.map +0 -1
  1998. package/lib/topology/XYParitySearchContext.d.ts.map +0 -1
  1999. package/lib/topology/XYParitySearchContext.js.map +0 -1
@@ -0,0 +1,2124 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Serialization
7
+ */
8
+ import { BezierCurve3d } from "../bspline/BezierCurve3d";
9
+ import { BezierCurve3dH } from "../bspline/BezierCurve3dH";
10
+ import { BSplineCurve3d } from "../bspline/BSplineCurve";
11
+ import { BSplineCurve3dH } from "../bspline/BSplineCurve3dH";
12
+ import { BSplineSurface3d, BSplineSurface3dH, WeightStyle } from "../bspline/BSplineSurface";
13
+ import { BSplineWrapMode, KnotVector } from "../bspline/KnotVector";
14
+ import { ClipPlane } from "../clipping/ClipPlane";
15
+ import { ConvexClipPlaneSet } from "../clipping/ConvexClipPlaneSet";
16
+ import { UnionOfConvexClipPlaneSets } from "../clipping/UnionOfConvexClipPlaneSets";
17
+ import { Arc3d } from "../curve/Arc3d";
18
+ import { CoordinateXYZ } from "../curve/CoordinateXYZ";
19
+ import { CurveChainWithDistanceIndex } from "../curve/CurveChainWithDistanceIndex";
20
+ import { BagOfCurves } from "../curve/CurveCollection";
21
+ import { LineSegment3d } from "../curve/LineSegment3d";
22
+ import { LineString3d } from "../curve/LineString3d";
23
+ import { Loop } from "../curve/Loop";
24
+ import { ParityRegion } from "../curve/ParityRegion";
25
+ import { Path } from "../curve/Path";
26
+ import { PointString3d } from "../curve/PointString3d";
27
+ import { UnionRegion } from "../curve/UnionRegion";
28
+ import { AxisOrder, Geometry } from "../Geometry";
29
+ import { Angle } from "../geometry3d/Angle";
30
+ import { AngleSweep } from "../geometry3d/AngleSweep";
31
+ import { GrowableFloat64Array } from "../geometry3d/GrowableFloat64Array";
32
+ import { GrowableXYZArray } from "../geometry3d/GrowableXYZArray";
33
+ import { Matrix3d } from "../geometry3d/Matrix3d";
34
+ import { Plane3dByOriginAndUnitNormal } from "../geometry3d/Plane3dByOriginAndUnitNormal";
35
+ import { Point2d, Vector2d } from "../geometry3d/Point2dVector2d";
36
+ import { Point3d, Vector3d } from "../geometry3d/Point3dVector3d";
37
+ import { Range1d, Range2d, Range3d } from "../geometry3d/Range";
38
+ import { Ray3d } from "../geometry3d/Ray3d";
39
+ import { Segment1d } from "../geometry3d/Segment1d";
40
+ import { Transform } from "../geometry3d/Transform";
41
+ import { Map4d } from "../geometry4d/Map4d";
42
+ import { Matrix4d } from "../geometry4d/Matrix4d";
43
+ import { Point4d } from "../geometry4d/Point4d";
44
+ import { IndexedPolyface } from "../polyface/Polyface";
45
+ import { Box } from "../solid/Box";
46
+ import { Cone } from "../solid/Cone";
47
+ import { LinearSweep } from "../solid/LinearSweep";
48
+ import { RotationalSweep } from "../solid/RotationalSweep";
49
+ import { RuledSweep } from "../solid/RuledSweep";
50
+ import { Sphere } from "../solid/Sphere";
51
+ import { TorusPipe } from "../solid/TorusPipe";
52
+ import { IntegratedSpiral3d } from "../curve/spiral/IntegratedSpiral3d";
53
+ import { DirectSpiral3d } from "../curve/spiral/DirectSpiral3d";
54
+ import { AuxChannel, AuxChannelData, PolyfaceAuxData } from "../polyface/AuxData";
55
+ import { PolyfaceBuilder } from "../polyface/PolyfaceBuilder";
56
+ /**
57
+ * Static methods to create functions of type SteppedIndexFunction
58
+ * * Convention: constant value is optional last argument, with default value 0
59
+ * @alpha
60
+ */
61
+ export class SteppedIndexFunctionFactory {
62
+ /** Returns a callable function that returns a constant value. */
63
+ static createConstant(value = 0) {
64
+ return (_i, _n) => value;
65
+ }
66
+ /** Return a function that steps linearly
67
+ * * f(i,n) = y0 + (i/n) * a
68
+ */
69
+ static createLinear(a, f0 = 0) {
70
+ return (i, n) => (f0 + a * (i / n));
71
+ }
72
+ /** Return a function that steps with cosine of angles in sweep
73
+ * * f(i,n) = y0 + amplitude * cos(i/n)
74
+ */
75
+ static createCosine(amplitude, sweep = AngleSweep.create360(), f0 = 0) {
76
+ return (i, n) => (f0 + amplitude * Math.cos(sweep.fractionToRadians(i / n)));
77
+ }
78
+ /** Return a function that steps with cosine of angles in sweep.
79
+ * * f(i,n) = y0 + amplitude * sin(i/n)
80
+ */
81
+ static createSine(amplitude, sweep = AngleSweep.create360(), f0 = 0) {
82
+ return (i, n) => (f0 + amplitude * Math.sin(sweep.fractionToRadians(i / n)));
83
+ }
84
+ }
85
+ /**
86
+ * `Sample` has static methods to create a variety of geometry samples useful in testing.
87
+ * @alpha
88
+ */
89
+ export class Sample {
90
+ /** Return an array of Point3d, with x,y,z all stepping through a range of values.
91
+ * x varies fastest, then y then z
92
+ */
93
+ static createPoint3dLattice(low, step, high) {
94
+ const points = [];
95
+ for (let z = low; z <= high; z += step)
96
+ for (let y = low; y <= high; y += step)
97
+ for (let x = low; x <= high; x += step)
98
+ points.push(Point3d.create(x, y, z));
99
+ return points;
100
+ }
101
+ /** Return an array of Point2d, with x,y all stepping through a range of values.
102
+ * x varies fastest, then y
103
+ */
104
+ static createPoint2dLattice(low, step, high) {
105
+ const points = [];
106
+ for (let y = low; y <= high; y += step)
107
+ for (let x = low; x <= high; x += step)
108
+ points.push(Point2d.create(x, y));
109
+ return points;
110
+ }
111
+ /** Array with assorted nonzero vector samples. */
112
+ static createNonZeroVectors() {
113
+ return [
114
+ Vector3d.create(1, 0, 0),
115
+ Vector3d.create(0, 1, 0),
116
+ Vector3d.create(0, 0, 1),
117
+ Vector3d.create(-1, 0, 0),
118
+ Vector3d.create(0, -1, 0),
119
+ Vector3d.create(0, 0, -1),
120
+ Vector3d.createPolar(1.0, Angle.createDegrees(20)),
121
+ Vector3d.createSpherical(1.0, Angle.createDegrees(20), Angle.createDegrees(10)),
122
+ Vector3d.createPolar(2.0, Angle.createDegrees(20)),
123
+ Vector3d.createSpherical(2.0, Angle.createDegrees(20), Angle.createDegrees(10)),
124
+ Vector3d.create(2, 3, 0)
125
+ ];
126
+ }
127
+ /** Return an array with assorted Range3d samples */
128
+ static createRange3ds() {
129
+ return [
130
+ Range3d.createXYZXYZ(0, 0, 0, 1, 1, 1),
131
+ Range3d.createXYZ(1, 2, 3),
132
+ Range3d.createXYZXYZ(-2, -3, 1, 200, 301, 8)
133
+ ];
134
+ }
135
+ /** Create 5 points of a (axis aligned) rectangle with corners (x0,y0) and (x1,y1) */
136
+ static createRectangleXY(x0, y0, ax, ay, z = 0) {
137
+ return [
138
+ Point3d.create(x0, y0, z),
139
+ Point3d.create(x0 + ax, y0, z),
140
+ Point3d.create(x0 + ax, y0 + ay, z),
141
+ Point3d.create(x0, y0 + ay, z),
142
+ Point3d.create(x0, y0, z),
143
+ ];
144
+ }
145
+ /** Access the last point in the array. push another shifted by dx,dy,dz.
146
+ * * No push if all are 0.
147
+ * * If array is empty, push a leading 000
148
+ */
149
+ static pushMove(data, dx, dy, dz = 0.0) {
150
+ if (data.length === 0)
151
+ data.push(Point3d.create(0, 0, 0));
152
+ const back = data[data.length - 1];
153
+ if (dx !== 0 || dy !== 0 || dz !== 0)
154
+ data.push(Point3d.create(back.x + dx, back.y + dy, back.z + dz));
155
+ }
156
+ /** Return an array with numPoints on the unit circle (counting closure) */
157
+ static createUnitCircle(numPoints) {
158
+ const points = [];
159
+ const dTheta = Geometry.safeDivideFraction(Math.PI * 2, numPoints - 1, 0.0);
160
+ for (let i = 0; i + 1 < numPoints; i++) {
161
+ const theta = i * dTheta;
162
+ points.push(Point3d.create(Math.cos(theta), Math.sin(theta), 0.0));
163
+ }
164
+ points.push(points[0].clone());
165
+ return points;
166
+ }
167
+ /** Create points for an L shaped polygon
168
+ * * lower left at x0,y0.
169
+ * * ax,ay are larger side lengths (lower left to corners along x and y directions)
170
+ * * bx,by are smaller side lengths (inner corner to points along x and y directions)
171
+ */
172
+ static createLShapedPolygon(x0, y0, ax, ay, bx, by, z = 0) {
173
+ return [
174
+ Point3d.create(x0, y0, z),
175
+ Point3d.create(x0 + ax, y0, z),
176
+ Point3d.create(x0 + ax, y0 + by),
177
+ Point3d.create(x0 + bx, y0 + by),
178
+ Point3d.create(x0 + bx, y0 + ay, z),
179
+ Point3d.create(x0, y0 + ay, z),
180
+ Point3d.create(x0, y0, z),
181
+ ];
182
+ }
183
+ /** Create assorted clip planes. */
184
+ static createClipPlanes() {
185
+ const plane0 = ClipPlane.createNormalAndDistance(Vector3d.create(1, 0, 0), 2.0);
186
+ const plane1 = plane0.cloneNegated();
187
+ const plane2 = plane1.clone();
188
+ plane2.setFlags(true, true);
189
+ return [
190
+ plane0, plane1, plane2,
191
+ ClipPlane.createNormalAndDistance(Vector3d.create(3, 4, 0), 2.0),
192
+ ClipPlane.createEdgeXY(Point3d.create(1, 0, 0), Point3d.create(24, 32, 0))
193
+ ];
194
+ }
195
+ /**
196
+ * * A first-quadrant unit square
197
+ * * Two squares -- first and fourth quadrant unit squares
198
+ * * Three squares -- first, second and fourth quadrant unit squares
199
+ */
200
+ static createClipPlaneSets() {
201
+ const result = [];
202
+ const quadrant1 = ConvexClipPlaneSet.createXYBox(0, 0, 1, 1);
203
+ result.push(UnionOfConvexClipPlaneSets.createConvexSets([quadrant1.clone()]));
204
+ const quadrant2 = ConvexClipPlaneSet.createXYBox(-1, 0, 0, 1);
205
+ const quadrant4 = ConvexClipPlaneSet.createXYBox(0, -1, 1, 0);
206
+ result.push(UnionOfConvexClipPlaneSets.createConvexSets([
207
+ quadrant1.clone(),
208
+ quadrant4.clone()
209
+ ]));
210
+ result.push(UnionOfConvexClipPlaneSets.createConvexSets([
211
+ quadrant1.clone(),
212
+ quadrant2.clone(),
213
+ quadrant4.clone()
214
+ ]));
215
+ return result;
216
+ }
217
+ /** Create (unweighted) bspline curves.
218
+ * order varies from 2 to 5
219
+ */
220
+ static createBsplineCurves(includeMultipleKnots = false) {
221
+ const result = [];
222
+ const yScale = 0.1;
223
+ for (const order of [2, 3, 4, 5]) {
224
+ const points = [];
225
+ for (const x of [0, 1, 2, 3, 4, 5, 7]) {
226
+ points.push(Point3d.create(x, yScale * (1 + x * x), 0.0));
227
+ }
228
+ const curve = BSplineCurve3d.createUniformKnots(points, order);
229
+ result.push(curve);
230
+ }
231
+ if (includeMultipleKnots) {
232
+ const interiorKnotCandidates = [1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8];
233
+ for (const order of [3, 4]) {
234
+ const numPoints = 8;
235
+ const points = [];
236
+ for (let i = 0; i < numPoints; i++)
237
+ points.push(Point3d.create(i, i * i, 0));
238
+ const knots = [];
239
+ for (let i = 0; i < order - 1; i++)
240
+ knots.push(0);
241
+ const numInteriorNeeded = numPoints - order;
242
+ for (let i = 0; i < numInteriorNeeded; i++)
243
+ knots.push(interiorKnotCandidates[i]);
244
+ const lastKnot = knots[knots.length - 1] + 1;
245
+ for (let i = 0; i < order - 1; i++)
246
+ knots.push(lastKnot);
247
+ const curve = BSplineCurve3d.create(points, knots, order);
248
+ if (curve)
249
+ result.push(curve);
250
+ }
251
+ }
252
+ return result;
253
+ }
254
+ /** Create weighted bspline curves.
255
+ * order varies from 2 to 5
256
+ */
257
+ static createBspline3dHCurves() {
258
+ const result = [];
259
+ const yScale = 0.1;
260
+ for (const weightVariation of [0, 0.125]) {
261
+ for (const order of [2, 3, 4, 5]) {
262
+ const points = [];
263
+ for (const x of [0, 1, 2, 3, 4, 5, 7]) {
264
+ points.push(Point4d.create(x, yScale * (1 + x * x), 0.0, 1.0 + weightVariation * Math.sin(x * Math.PI * 0.25)));
265
+ }
266
+ const curve = BSplineCurve3dH.createUniformKnots(points, order);
267
+ result.push(curve);
268
+ }
269
+ }
270
+ return result;
271
+ }
272
+ /** Create weighted bsplines for circular arcs.
273
+ */
274
+ static createBspline3dHArcs() {
275
+ const result = [];
276
+ const halfRadians = Angle.degreesToRadians(60.0);
277
+ const c = Math.cos(halfRadians);
278
+ const s = Math.sin(halfRadians);
279
+ // const sec = 1.0 / c;
280
+ // const t = s / c;
281
+ const points = [
282
+ Point4d.create(1, 0, 0, 1),
283
+ Point4d.create(c, s, 0, c),
284
+ Point4d.create(-c, s, 0, 1),
285
+ Point4d.create(-1, 0, 0, c),
286
+ Point4d.create(-c, -s, 0, 1),
287
+ Point4d.create(c, -s, 0, c),
288
+ Point4d.create(1, 0, 0, 1)
289
+ ];
290
+ const knots = [0, 0, 1, 1, 2, 2, 3, 3];
291
+ const curve = BSplineCurve3dH.create(points, knots, 3);
292
+ result.push(curve);
293
+ return result;
294
+ }
295
+ /** Return array [x,y,z,w] bspline control points for an arc in 90 degree bspline spans.
296
+ * @param points array of [x,y,z,w]
297
+ * @param center center of arc
298
+ * @param axes matrix with 0 and 90 degree axes
299
+ * @param radius0 radius multiplier for x direction.
300
+ * @param radius90 radius multiplier for y direction.
301
+ * @param applyWeightsToXYZ
302
+ */
303
+ static createBsplineArc90SectionToXYZWArrays(center, axes, radius0, radius90, applyWeightsToXYZ) {
304
+ const a = Math.sqrt(0.5);
305
+ const xyz = Point3d.create();
306
+ Matrix3d.xyzPlusMatrixTimesCoordinates(center, axes, radius0, 0.0, 0, xyz);
307
+ const controlPoints = [];
308
+ controlPoints.push([xyz.x, xyz.y, xyz.z, 1.0]);
309
+ const cornerTrig = [1, 1, -1, -1, 1];
310
+ const axisTrig = [1, 0, -1, 0, 1];
311
+ for (let i = 0; i < 4; i++) {
312
+ Matrix3d.xyzPlusMatrixTimesCoordinates(center, axes, radius0 * cornerTrig[i + 1], radius90 * cornerTrig[i], 0, xyz);
313
+ controlPoints.push([xyz.x, xyz.y, xyz.z, a]);
314
+ Matrix3d.xyzPlusMatrixTimesCoordinates(center, axes, radius0 * axisTrig[i + 1], radius90 * axisTrig[i], 0, xyz);
315
+ controlPoints.push([xyz.x, xyz.y, xyz.z, 1.0]);
316
+ }
317
+ if (applyWeightsToXYZ) {
318
+ for (const xyzw of controlPoints) {
319
+ const b = xyzw[3];
320
+ xyzw[0] *= b;
321
+ xyzw[1] *= b;
322
+ xyzw[2] *= b;
323
+ }
324
+ }
325
+ return controlPoints;
326
+ }
327
+ /**
328
+ * Create both unweighted and weighted bspline curves.
329
+ * (This is the combined results from createBsplineCurves and createBspline3dHCurves)
330
+ */
331
+ static createMixedBsplineCurves() {
332
+ const arrayA = Sample.createBsplineCurves();
333
+ const arrayB = Sample.createBspline3dHCurves();
334
+ const result = [];
335
+ for (const a of arrayA)
336
+ result.push(a);
337
+ for (const b of arrayB)
338
+ result.push(b);
339
+ return result;
340
+ }
341
+ /** create a plane from origin and normal coordinates -- default to 001 normal if needed. */
342
+ static createPlane(x, y, z, u, v, w) {
343
+ const point = Point3d.create(x, y, z);
344
+ const vector = Vector3d.create(u, v, w).normalize();
345
+ if (vector) {
346
+ const plane = Plane3dByOriginAndUnitNormal.create(point, vector);
347
+ if (plane)
348
+ return plane;
349
+ }
350
+ return Sample.createPlane(x, y, z, u, v, 1);
351
+ }
352
+ /** Create ray from (x,y,z) and direction components. (Normalize the direction) */
353
+ static createRay(x, y, z, u, v, w) {
354
+ return Ray3d.create(Point3d.create(x, y, z), Vector3d.create(u, v, w).normalize());
355
+ }
356
+ /** Assorted lines strings */
357
+ static createLineStrings() {
358
+ return [
359
+ LineString3d.createPoints([
360
+ Point3d.create(0, 0, 0),
361
+ Point3d.create(1, 0, 0)
362
+ ]),
363
+ LineString3d.createPoints([
364
+ Point3d.create(0, 0, 0),
365
+ Point3d.create(1, 0, 0),
366
+ Point3d.create(1, 1, 0)
367
+ ]),
368
+ LineString3d.createPoints([
369
+ Point3d.create(0, 0, 0),
370
+ Point3d.create(1, 0, 0),
371
+ Point3d.create(1, 1, 0),
372
+ Point3d.create(2, 2, 0)
373
+ ])
374
+ ];
375
+ }
376
+ /** Assorted Matrix3d:
377
+ * * identity
378
+ * * rotation around x
379
+ * * rotation around general vector
380
+ * * uniform scale
381
+ * * nonuniform scale (including negative scales!)
382
+ */
383
+ static createMatrix3dArray() {
384
+ return [
385
+ Matrix3d.createIdentity(),
386
+ Matrix3d.createRotationAroundVector(Vector3d.create(1, 0, 0), Angle.createDegrees(10)),
387
+ Matrix3d.createRotationAroundVector(Vector3d.create(1, -2, 5), Angle.createDegrees(-6.0)),
388
+ Matrix3d.createUniformScale(2.0),
389
+ Matrix3d.createRotationAroundVector(Vector3d.create(1, 2, 3), Angle.createDegrees(49.0)),
390
+ Matrix3d.createScale(1, 1, -1),
391
+ Matrix3d.createScale(2, 3, 4)
392
+ ];
393
+ }
394
+ /** Assorted invertible transforms. */
395
+ static createInvertibleTransforms() {
396
+ return [
397
+ Transform.createIdentity(),
398
+ Transform.createTranslationXYZ(1, 2, 0),
399
+ Transform.createTranslationXYZ(1, 2, 3),
400
+ Transform.createFixedPointAndMatrix(Point3d.create(4, 1, -2), Matrix3d.createUniformScale(2.0)),
401
+ Transform.createFixedPointAndMatrix(Point3d.create(4, 1, -2), Matrix3d.createRotationAroundVector(Vector3d.create(1, 2, 3), Angle.createRadians(10)))
402
+ ];
403
+ }
404
+ /** Return an array of Matrix3d with various skew and scale. This includes at least:
405
+ * * identity
406
+ * * 3 distinct diagonals.
407
+ * * The distinct diagonal base with smaller value added to
408
+ * other 6 spots in succession.
409
+ * * the distinct diagonals with all others also smaller non-zeros.
410
+ */
411
+ static createScaleSkewMatrix3d() {
412
+ return [
413
+ Matrix3d.createRowValues(1, 0, 0, 0, 1, 0, 0, 0, 1),
414
+ Matrix3d.createRowValues(5, 0, 0, 0, 6, 0, 0, 0, 7),
415
+ Matrix3d.createRowValues(5, 2, 0, 0, 6, 0, 0, 0, 7),
416
+ Matrix3d.createRowValues(5, 0, 2, 0, 6, 0, 0, 0, 7),
417
+ Matrix3d.createRowValues(5, 0, 0, 1, 6, 0, 0, 0, 7),
418
+ Matrix3d.createRowValues(5, 0, 0, 0, 6, 1, 0, 0, 7),
419
+ Matrix3d.createRowValues(5, 0, 0, 0, 6, 0, 1, 0, 7),
420
+ Matrix3d.createRowValues(5, 0, 0, 0, 6, 0, 0, 1, 7),
421
+ Matrix3d.createRowValues(5, 2, 3, 2, 6, 1, -1, 2, 7)
422
+ ];
423
+ }
424
+ /** Return an array of singular Matrix3d. This includes at least:
425
+ * * all zeros
426
+ * * one nonzero column
427
+ * * two independent columns, third is zero
428
+ * * two independent columns, third is sum of those
429
+ * * two independent columns, third is copy of one
430
+ */
431
+ static createSingularMatrix3d() {
432
+ const vectorU = Vector3d.create(2, 3, 6);
433
+ const vectorV = Vector3d.create(-1, 5, 2);
434
+ const vectorUPlusV = vectorU.plus(vectorV);
435
+ const vector0 = Vector3d.createZero();
436
+ return [
437
+ Matrix3d.createZero(),
438
+ // one nonzero column
439
+ Matrix3d.createColumns(vectorU, vector0, vector0),
440
+ Matrix3d.createColumns(vector0, vectorU, vector0),
441
+ Matrix3d.createColumns(vector0, vector0, vector0),
442
+ // two independent nonzero columns with zero
443
+ Matrix3d.createColumns(vectorU, vectorV, vector0),
444
+ Matrix3d.createColumns(vector0, vectorU, vectorV),
445
+ Matrix3d.createColumns(vectorV, vector0, vector0),
446
+ // third column dependent
447
+ Matrix3d.createColumns(vectorU, vectorV, vectorUPlusV),
448
+ Matrix3d.createColumns(vectorU, vectorUPlusV, vectorV),
449
+ Matrix3d.createColumns(vectorUPlusV, vectorV, vectorU),
450
+ // two independent with duplicate
451
+ Matrix3d.createColumns(vectorU, vectorV, vectorU),
452
+ Matrix3d.createColumns(vectorU, vectorU, vectorV),
453
+ Matrix3d.createColumns(vectorV, vectorV, vectorU)
454
+ ];
455
+ }
456
+ /**
457
+ * * Return an array of rigid transforms. This includes (at least)
458
+ * * Identity
459
+ * * translation with identity matrix
460
+ * * rotation around origin and arbitrary vector
461
+ * * rotation around space point and arbitrary vector
462
+ * * use given refDistance is crude distance of translation and distance to fixed point.
463
+ */
464
+ static createRigidTransforms(distanceScale = 4.0) {
465
+ const distanceScale3 = distanceScale / 3.0;
466
+ const distanceScale4 = distanceScale / 4.0;
467
+ return [
468
+ Transform.createIdentity(),
469
+ Transform.createTranslationXYZ(distanceScale3 * 1, distanceScale3 * 2, distanceScale3 * 3),
470
+ Transform.createFixedPointAndMatrix(Point3d.create(0, 0, 0), Matrix3d.createRotationAroundVector(Vector3d.unitY(), Angle.createDegrees(10))),
471
+ Transform.createFixedPointAndMatrix(Point3d.create(distanceScale4 * 4, distanceScale4 * 1, -distanceScale4 * 2), Matrix3d.createRotationAroundVector(Vector3d.create(1, 2, 3), Angle.createDegrees(10))),
472
+ Transform.createFixedPointAndMatrix(Point3d.create(distanceScale4 * 4, distanceScale4 * 1, -distanceScale4 * 2), Matrix3d.createRotationAroundVector(Vector3d.create(-2, 1, 4), Angle.createDegrees(35)))
473
+ ];
474
+ }
475
+ /**
476
+ * Return a single rigid transform with all terms nonzero.
477
+ */
478
+ static createMessyRigidTransform(fixedPoint) {
479
+ return Transform.createFixedPointAndMatrix(fixedPoint ? fixedPoint : Point3d.create(1, 2, 3), Matrix3d.createRotationAroundVector(Vector3d.create(0.3, -0.2, 1.2), Angle.createDegrees(15.7)));
480
+ }
481
+ /** Return various rigid matrices:
482
+ * * identity
483
+ * * small rotations around x, y, z
484
+ * * small rotation around (1,2,3)
485
+ */
486
+ static createRigidAxes() {
487
+ return [
488
+ Matrix3d.createIdentity(),
489
+ Matrix3d.createRotationAroundVector(Vector3d.unitX(), Angle.createDegrees(10)),
490
+ Matrix3d.createRotationAroundVector(Vector3d.unitY(), Angle.createDegrees(10)),
491
+ Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(10)),
492
+ Matrix3d.createRotationAroundVector(Vector3d.create(1, 2, 3), Angle.createDegrees(10)),
493
+ ];
494
+ }
495
+ /**
496
+ * Return various Matrix4d
497
+ * * Simple promotion of each Sample.createInvertibleTransforms ()
498
+ * * optional nasty [1,2,3,4...15] row order
499
+ * @param includeIrregular if true, include [1,2,..15] row major
500
+ */ // promote each transform[] to a Matrix4d.
501
+ static createMatrix4ds(includeIrregular = false) {
502
+ const result = [];
503
+ let transform;
504
+ for (transform of Sample.createInvertibleTransforms())
505
+ result.push(Matrix4d.createTransform(transform));
506
+ if (includeIrregular) {
507
+ result.push(Matrix4d.createRowValues(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16));
508
+ }
509
+ return result;
510
+ }
511
+ /**
512
+ * Create full Map4d for each `Sample.createInvertibleTransforms ()`
513
+ */
514
+ static createMap4ds() {
515
+ const result = [];
516
+ let transform;
517
+ for (transform of Sample.createInvertibleTransforms()) {
518
+ const inverse = transform.inverse();
519
+ if (inverse) {
520
+ const map = Map4d.createTransform(transform, inverse);
521
+ if (map)
522
+ result.push(map);
523
+ }
524
+ }
525
+ return result;
526
+ }
527
+ /** Assorted simple `Path` objects. */
528
+ static createSimplePaths(withGaps = false) {
529
+ const point0 = Point3d.create(0, 0, 0);
530
+ const point1 = Point3d.create(10, 0, 0);
531
+ const p1 = [point1, Point3d.create(0, 10, 0), Point3d.create(6, 10, 0), Point3d.create(6, 10, 0), Point3d.create(0, 10, 0)];
532
+ const segment1 = LineSegment3d.create(point0, point1);
533
+ const vectorU = Vector3d.unitX(3);
534
+ const vectorV = Vector3d.unitY(3);
535
+ const arc2 = Arc3d.create(point1.minus(vectorU), vectorU, vectorV, AngleSweep.createStartEndDegrees(0, 90));
536
+ const simplePaths = [
537
+ Path.create(segment1),
538
+ Path.create(segment1, arc2),
539
+ Path.create(LineSegment3d.create(point0, point1), LineString3d.create(p1)),
540
+ Sample.createCappedArcPath(4, 0, 180),
541
+ ];
542
+ if (withGaps)
543
+ simplePaths.push(Path.create(LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(10, 0, 0)), LineSegment3d.create(Point3d.create(10, 10, 0), Point3d.create(5, 0, 0))));
544
+ return simplePaths;
545
+ }
546
+ /** Assorted `Path` with lines and arcs.
547
+ * Specifically useful for offset tests.
548
+ */
549
+ static createLineArcPaths() {
550
+ const paths = [];
551
+ const x1 = 10.0;
552
+ const y2 = 5.0;
553
+ const y3 = 10.0;
554
+ for (const y0 of [0, -1, 1]) {
555
+ for (const x2 of [15, 11, 20, 9, 7]) {
556
+ const point0 = Point3d.create(0, y0, 0);
557
+ const point1 = Point3d.create(x1, 0, 0);
558
+ const point2 = Point3d.create(x2, y2, 0);
559
+ const point3 = Point3d.create(x1, y3, 0);
560
+ const point4 = Point3d.create(0, y3 + y0, 0);
561
+ const path0 = Path.create();
562
+ path0.tryAddChild(LineString3d.create(point0, point1, point2, point3, point4));
563
+ paths.push(path0);
564
+ const path1 = Path.create();
565
+ path1.tryAddChild(LineSegment3d.create(point0, point1));
566
+ path1.tryAddChild(Arc3d.createCircularStartMiddleEnd(point1, Point3d.create(x2, y2, 0), point3));
567
+ path1.tryAddChild(LineSegment3d.create(point3, point4));
568
+ paths.push(path1);
569
+ }
570
+ }
571
+ return paths;
572
+ }
573
+ /** Assorted `PointString3d` objects. */
574
+ static createSimplePointStrings() {
575
+ const p1 = [[Point3d.create(0, 10, 0)], [Point3d.create(6, 10, 0)], [Point3d.create(6, 10, 0), [Point3d.create(6, 10, 0)]]];
576
+ const simplePaths = [
577
+ PointString3d.create(Point3d.create(1, 2, 0)),
578
+ PointString3d.create(Point3d.create(0, 0, 0), Point3d.create(10, 0, 0)),
579
+ PointString3d.create(Point3d.create(10, 0, 0), Point3d.create(10, 5, 0)),
580
+ PointString3d.create(p1)
581
+ ];
582
+ return simplePaths;
583
+ }
584
+ /** Assorted `Loop` objects */
585
+ static createSimpleLoops() {
586
+ const point0 = Point3d.create(0, 0, 0);
587
+ const point1 = Point3d.create(10, 0, 0);
588
+ const point2 = Point3d.create(10, 5, 0);
589
+ const point3 = Point3d.create(0, 5, 0);
590
+ const result = [
591
+ // rectangle with single linestring
592
+ Loop.create(LineString3d.create(point0, point1, point2, point3, point0)),
593
+ // unit circle
594
+ Loop.create(Arc3d.createUnitCircle()),
595
+ // rectangle, but with individual line segments
596
+ Loop.create(LineSegment3d.create(point0, point1), LineSegment3d.create(point1, point2), LineSegment3d.create(point2, point3), LineSegment3d.create(point3, point0)),
597
+ // Semicircle
598
+ Sample.createCappedArcLoop(4, -90, 90),
599
+ ];
600
+ return result;
601
+ }
602
+ /**
603
+ * Create a square wave along x direction
604
+ * @param dx0 distance along x axis at y=0
605
+ * @param dy vertical rise
606
+ * @param dx1 distance along x axis at y=dy
607
+ * @param numPhase number of phases of the jump.
608
+ * @param dyReturn y value for return to origin. If 0, the wave ends at y=0 after then final "down" with one extra horizontal dx0
609
+ * If nonzero, rise to that y value, return to x=0, and return down to origin.
610
+ *
611
+ */
612
+ static createSquareWave(origin, dx0, dy, dx1, numPhase, dyReturn) {
613
+ const result = [origin.clone()];
614
+ for (let i = 0; i < numPhase; i++) {
615
+ this.pushMove(result, dx0, 0);
616
+ this.pushMove(result, 0, dy);
617
+ this.pushMove(result, dx1, 0);
618
+ this.pushMove(result, 0, -dy);
619
+ }
620
+ this.pushMove(result, dx0, 0);
621
+ if (dyReturn !== 0.0) {
622
+ this.pushMove(result, 0, dyReturn);
623
+ result.push(Point3d.create(origin.x, origin.y + dyReturn));
624
+ result.push(result[0].clone());
625
+ }
626
+ return result;
627
+ }
628
+ /**
629
+ * Create multiple interpolated points between two points
630
+ * @param point0 start point (at fraction0)
631
+ * @param point1 end point (at fraction1)
632
+ * @param numPoints total number of points. This is force to at least 2.
633
+ * @param result optional existing array to receive points.
634
+ * @param index0 optional index of first point. Default is 0.
635
+ * @param index1 optional index of final point. Default is numPoints
636
+ */
637
+ static createInterpolatedPoints(point0, point1, numPoints, result, index0, index1) {
638
+ if (numPoints < 2)
639
+ numPoints = 2;
640
+ if (result === undefined)
641
+ result = [];
642
+ if (index0 === undefined)
643
+ index0 = 0;
644
+ if (index1 === undefined)
645
+ index1 = numPoints;
646
+ for (let i = index0; i <= index1; i++) {
647
+ result.push(point0.interpolate(i / numPoints, point1));
648
+ }
649
+ return result;
650
+ }
651
+ /**
652
+ * Append numPhase teeth. Each tooth starts with dxLow dwell at initial y, then sloped rise, then dwell at top, then sloped fall
653
+ * * If no points are present, start with 000. (this happens in pushMove) Otherwise start from final point.
654
+ * * return points array reference.
655
+ * @param points point array to receive points
656
+ * @param dxLow starting step along x direction
657
+ * @param riseX width of rising and falling parts
658
+ * @param riseY height of rise
659
+ * @param dxHigh width at top
660
+ * @param numPhase number of phases.
661
+ */
662
+ static appendSawTooth(points, dxLow, riseX, riseY, dxHigh, numPhase) {
663
+ for (let i = 0; i < numPhase; i++) {
664
+ this.pushMove(points, dxLow, 0, 0);
665
+ this.pushMove(points, riseX, riseY, 0);
666
+ this.pushMove(points, dxHigh, 0, 0);
667
+ this.pushMove(points, riseX, -riseY, 0);
668
+ }
669
+ return points;
670
+ }
671
+ /** append sawtooth with x distances successively scaled by xFactor */
672
+ static appendVariableSawTooth(points, dxLow, riseX, riseY, dxHigh, numPhase, xFactor) {
673
+ let factor = 1.0;
674
+ for (let i = 0; i < numPhase; i++) {
675
+ this.appendSawTooth(points, factor * dxLow, factor * riseX, riseY, factor * dxHigh, 1);
676
+ factor *= xFactor;
677
+ }
678
+ return points;
679
+ }
680
+ /**
681
+ * Create a pair of sawtooth patterns, one (nominally) outbound and up, the other inbound and down.
682
+ * * return phase count adjusted to end at start x
683
+ * * enter return dx values as lengths -- sign will be negated in construction.
684
+ * @param origin start of entire path.
685
+ * @param dxLow low outbound dwell
686
+ * @param riseX x part of outbound rise and fall
687
+ * @param riseY y part of outbound rise and fall
688
+ * @param dxHigh high outbound dwell
689
+ * @param numPhaseOutbound number of phases outbound. Final phase followed by dxLow dwell.
690
+ * @param dyFinal rise after final dwell.
691
+ * @param dxLowReturn dwell at return high
692
+ * @param riseXReturn rise x part of return
693
+ * @param riseYReturn rise y part of return
694
+ * @param dxHighReturn dwell at return high
695
+ */
696
+ static createBidirectionalSawtooth(origin, dxLow, riseX, riseY, dxHigh, numPhaseOutbound, dyFinal, dxLowReturn, riseXReturn, riseYReturn, dxHighReturn) {
697
+ const data = [origin.clone()];
698
+ const x0 = data[0].x;
699
+ this.appendSawTooth(data, dxLow, riseX, riseY, dxHigh, numPhaseOutbound);
700
+ this.pushMove(data, dxLow, 0, 0);
701
+ this.pushMove(data, 0, dyFinal);
702
+ const x1 = data[data.length - 1].x;
703
+ const returnPhase = Math.abs(dxLowReturn + 2 * riseXReturn + dxHighReturn);
704
+ const totalDX = Math.abs(x1 - x0);
705
+ const numReturnPhase = Math.floor(Math.abs(totalDX / returnPhase));
706
+ this.appendSawTooth(data, -dxLowReturn, -riseXReturn, riseYReturn, -dxHighReturn, numReturnPhase);
707
+ const x2 = data[data.length - 1].x;
708
+ this.pushMove(data, x0 - x2, 0, 0);
709
+ data.push(data[0].clone());
710
+ return data;
711
+ }
712
+ /** append to a linestring, taking steps along given vector directions
713
+ * If the linestring is empty, a 000 point is added.
714
+ * @param linestring LineString3d to receive points.
715
+ * @param numPhase number of phases of the sawtooth
716
+ * @param vectors any number of vector steps.
717
+ */
718
+ static appendPhases(linestring, numPhase, ...vectors) {
719
+ const tailPoint = linestring.endPoint(); // and this defaults to 000 . ..
720
+ if (linestring.numPoints() === 0)
721
+ linestring.addPoint(tailPoint);
722
+ for (let i = 0; i < numPhase; i++) {
723
+ for (const v of vectors) {
724
+ tailPoint.addInPlace(v);
725
+ linestring.addPoint(tailPoint);
726
+ }
727
+ }
728
+ }
729
+ /** Assorted regions with arc boundaries
730
+ * * full circle
731
+ * * with varying sweep:
732
+ * * partial arc with single chord closure
733
+ * * partial arc with 2-edge closure via center
734
+ */
735
+ static createArcRegions() {
736
+ const result = [];
737
+ const center = Point3d.create(0, 0, 0);
738
+ for (const sweep of [
739
+ AngleSweep.createStartEndDegrees(0, 360),
740
+ AngleSweep.createStartEndDegrees(-20, 20),
741
+ AngleSweep.createStartEndDegrees(0, 90),
742
+ AngleSweep.createStartEndDegrees(0, 180),
743
+ ]) {
744
+ const arc0 = Arc3d.createXY(Point3d.create(0, 0), 2.0, sweep);
745
+ if (arc0.sweep.isFullCircle) {
746
+ result.push(Loop.create(arc0));
747
+ }
748
+ else {
749
+ const chord = LineSegment3d.create(arc0.endPoint(), arc0.startPoint());
750
+ result.push(Loop.create(arc0, chord));
751
+ result.push(Loop.create(arc0, LineString3d.create(arc0.endPoint(), center, arc0.startPoint())));
752
+ }
753
+ }
754
+ return result;
755
+ }
756
+ /** Assorted loops in xy plane:
757
+ * * unit square
758
+ * * rectangle
759
+ * * L shape
760
+ */
761
+ static createSimpleXYPointLoops() {
762
+ const result = [];
763
+ result.push(Sample.createRectangleXY(0, 0, 1, 1));
764
+ result.push(Sample.createRectangleXY(0, 0, 4, 3));
765
+ result.push(Sample.createLShapedPolygon(0, 0, 5, 4, 1, 2));
766
+ return result;
767
+ }
768
+ /** Assorted `ParityRegion` objects */
769
+ static createSimpleParityRegions(includeBCurves = false) {
770
+ const pointC = Point3d.create(-5, 0, 0);
771
+ const point0 = Point3d.create(0, 0, 0);
772
+ const point1 = Point3d.create(4, 2, 0);
773
+ const point2 = Point3d.create(6, 4, 0);
774
+ const point3 = Point3d.create(5, 5, 0);
775
+ const point4 = Point3d.create(8, 3, 0);
776
+ const reverseSweep = AngleSweep.createStartEndDegrees(0, -360);
777
+ const ax = 10.0;
778
+ const ay = 8.0;
779
+ const bx = -3.0;
780
+ const by = 2.0;
781
+ const r2 = 0.5;
782
+ const r2A = 2.5;
783
+ const pointA = point0.plusXYZ(ax, 0, 0);
784
+ const pointB = pointA.plusXYZ(0, ay, 0);
785
+ const pointC1 = point0.plusXYZ(0, ay);
786
+ const result = [
787
+ ParityRegion.create(Loop.create(LineString3d.create(point0, pointA, pointB), Arc3d.createCircularStartMiddleEnd(pointB, pointC1, point0)), Loop.create(LineString3d.createRectangleXY(point1, bx, by))),
788
+ ParityRegion.create(Loop.create(Arc3d.createXY(pointC, 2.0)), Loop.create(Arc3d.createXY(pointC, 1.0, reverseSweep))),
789
+ ParityRegion.create(Loop.create(LineString3d.createRectangleXY(point0, ax, ay)), Loop.create(LineString3d.createRectangleXY(point1, bx, by))),
790
+ ParityRegion.create(Loop.create(LineString3d.createRectangleXY(point0, ax, ay)), Loop.create(LineString3d.createRectangleXY(point1, bx, by)), Loop.create(Arc3d.createXY(point2, r2, reverseSweep))),
791
+ ParityRegion.create(Loop.create(LineString3d.createRectangleXY(point0, ax, ay)), Loop.create(LineString3d.createRectangleXY(point1, bx, by)), Loop.create(Arc3d.createXY(point2, r2, reverseSweep)), Loop.create(LineString3d.createRectangleXY(point3, bx, by))),
792
+ ParityRegion.create(Loop.create(LineString3d.create(point0, pointA, pointB), Arc3d.createCircularStartMiddleEnd(pointB, pointC1, point0)), Loop.create(LineString3d.createRectangleXY(point1, bx, by)), Loop.create(Arc3d.create(point4, Vector3d.create(-r2, 0), Vector3d.create(0, r2A))), Loop.create(LineString3d.createRectangleXY(point3, bx, by))),
793
+ ];
794
+ if (includeBCurves) {
795
+ const ey = 1.0;
796
+ result.push(ParityRegion.create(Loop.create(LineSegment3d.create(point0, pointA), BSplineCurve3d.createUniformKnots([pointA, Point3d.create(ax + 1, ey),
797
+ Point3d.create(ax + 1, 2 * ey),
798
+ Point3d.create(ax + 2, 3 * ey),
799
+ Point3d.create(ax + 1, 4 * ey), pointB], 3), Arc3d.createCircularStartMiddleEnd(pointB, pointC1, point0))));
800
+ }
801
+ return result;
802
+ }
803
+ /** Union region. */
804
+ static createSimpleUnions() {
805
+ const parityRegions = Sample.createSimpleParityRegions();
806
+ const parityRange = parityRegions[0].range();
807
+ const ax = 3.0;
808
+ const ay = 1.0;
809
+ const bx = 4.0;
810
+ const by = 2.0;
811
+ const result = [
812
+ UnionRegion.create(Loop.create(LineString3d.createRectangleXY(Point3d.create(0, 0, 0), ax, ay)), Loop.create(LineString3d.createRectangleXY(Point3d.create(0, 2 * ay, 0), bx, by))),
813
+ UnionRegion.create(Loop.create(LineString3d.create(Sample.createRectangleXY(parityRange.low.x, parityRange.high.y + 0.5, parityRange.xLength(), parityRange.yLength()))), parityRegions[0])
814
+ ];
815
+ return result;
816
+ }
817
+ /** Assorted unstructured curve sets. */
818
+ static createBagOfCurves() {
819
+ const parityRegions = Sample.createSimpleParityRegions();
820
+ const loops = Sample.createSimpleLoops();
821
+ const result = [
822
+ BagOfCurves.create(loops[0], parityRegions[0], LineSegment3d.createXYXY(0, 1, 4, 2, 1)),
823
+ // a bag with just an arc
824
+ BagOfCurves.create(Arc3d.createUnitCircle()),
825
+ // a bag with just a line segment
826
+ BagOfCurves.create(LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(1, 1, 0))),
827
+ // a bag with just a linestring
828
+ BagOfCurves.create(LineString3d.create(Point3d.create(0, 0, 0), Point3d.create(1, 1, 0), Point3d.create(2, 1, 0))),
829
+ ];
830
+ return result;
831
+ }
832
+ /** Assorted smooth curve primitives:
833
+ * * line segments
834
+ * * arcs
835
+ */
836
+ static createSmoothCurvePrimitives(size = 1.0) {
837
+ const alpha = 0.1;
838
+ const beta = 0.3;
839
+ return [
840
+ LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(size, 0, 0)),
841
+ LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(size, size, 0)),
842
+ Arc3d.create(Point3d.create(0, 0, 0), Vector3d.create(size, 0, 0), Vector3d.create(0, size, 0), AngleSweep.createStartEndDegrees(0, 90)),
843
+ Arc3d.create(Point3d.create(0, 0, 0), Vector3d.create(size, 0, 0), Vector3d.create(0, size, 0), AngleSweep.createStartEndDegrees(-40, 270)),
844
+ Arc3d.create(Point3d.create(0, 0, 0), Vector3d.create(size, alpha * size, 0), Vector3d.create(-alpha * beta * size, beta * size, 0), AngleSweep.createStartEndDegrees(-40, 270)),
845
+ ];
846
+ }
847
+ /** assorted small polyface grids, possibly expanded by gridMultiplier */
848
+ static createSimpleIndexedPolyfaces(gridMultiplier) {
849
+ const meshes = [
850
+ Sample.createTriangularUnitGridPolyface(Point3d.create(), Vector3d.unitX(), Vector3d.unitY(), gridMultiplier * 3, 2 * gridMultiplier, false, false, false),
851
+ Sample.createTriangularUnitGridPolyface(Point3d.create(), Vector3d.unitX(), Vector3d.unitY(), 3 * gridMultiplier, 2 * gridMultiplier, true, false, false),
852
+ Sample.createTriangularUnitGridPolyface(Point3d.create(), Vector3d.unitX(), Vector3d.unitY(), 3 * gridMultiplier, 2 * gridMultiplier, false, true, false),
853
+ Sample.createTriangularUnitGridPolyface(Point3d.create(), Vector3d.unitX(), Vector3d.unitY(), 3 * gridMultiplier, 2 * gridMultiplier, false, false, true),
854
+ Sample.createTriangularUnitGridPolyface(Point3d.create(), Vector3d.unitX(), Vector3d.unitY(), 3 * gridMultiplier, 2 * gridMultiplier, true, true, true),
855
+ ];
856
+ for (const m of meshes)
857
+ m.expectedClosure = 1;
858
+ return meshes;
859
+ }
860
+ /**
861
+ * Build a mesh that is a (possibly skewed) grid in a plane.
862
+ * @param origin "lower left" coordinate
863
+ * @param vectorX step in "X" direction
864
+ * @param vectorY step in "Y" direction
865
+ * @param numXVertices number of vertices in X direction
866
+ * @param numYVertices number of vertices in y direction
867
+ * @param createParams true to create parameters, with parameter value `(i,j)` for point at (0 based) vertex in x,y directions
868
+ * @param createNormals true to create a (single) normal indexed from all facets
869
+ * @param createColors true to create a single color on each quad. (shared between its triangles)
870
+ * @note edgeVisible is false only on the diagonals
871
+ */
872
+ static createTriangularUnitGridPolyface(origin, vectorX, vectorY, numXVertices, numYVertices, createParams = false, createNormals = false, createColors = false, triangulate = true) {
873
+ const mesh = IndexedPolyface.create(createNormals, createParams, createColors);
874
+ const normal = vectorX.crossProduct(vectorY);
875
+ if (createNormals) {
876
+ normal.normalizeInPlace();
877
+ mesh.addNormalXYZ(normal.x, normal.y, normal.z); // use XYZ to help coverage count!!
878
+ }
879
+ // Push to coordinate arrays
880
+ for (let j = 0; j < numYVertices; j++) {
881
+ for (let i = 0; i < numXVertices; i++) {
882
+ mesh.addPoint(origin.plus2Scaled(vectorX, i, vectorY, j));
883
+ if (createParams)
884
+ mesh.addParamUV(i, j);
885
+ }
886
+ }
887
+ let color = 10; // arbitrarily start at color 10 so colorIndex is different from color.
888
+ // Push elements to index array (vertices are calculated using i and j positioning for each point)
889
+ let thisColorIndex = 0;
890
+ for (let j = 0; j + 1 < numYVertices; j++) {
891
+ for (let i = 0; i + 1 < numXVertices; i++) {
892
+ const vertex00 = numXVertices * j + i;
893
+ const vertex10 = vertex00 + 1;
894
+ const vertex01 = vertex00 + numXVertices;
895
+ const vertex11 = vertex01 + 1;
896
+ if (triangulate) {
897
+ // Push lower triangle
898
+ mesh.addPointIndex(vertex00, true);
899
+ mesh.addPointIndex(vertex10, true);
900
+ mesh.addPointIndex(vertex11, false);
901
+ // make color === faceIndex
902
+ if (createColors) {
903
+ thisColorIndex = mesh.addColor(color++);
904
+ mesh.addColorIndex(thisColorIndex);
905
+ mesh.addColorIndex(thisColorIndex);
906
+ mesh.addColorIndex(thisColorIndex);
907
+ }
908
+ // param indexing matches points . .
909
+ if (createParams) {
910
+ mesh.addParamIndex(vertex00);
911
+ mesh.addParamIndex(vertex10);
912
+ mesh.addParamIndex(vertex11);
913
+ }
914
+ if (createNormals) {
915
+ mesh.addNormalIndex(0);
916
+ mesh.addNormalIndex(0);
917
+ mesh.addNormalIndex(0);
918
+ }
919
+ mesh.terminateFacet(false);
920
+ // upper triangle
921
+ mesh.addPointIndex(vertex11, true);
922
+ mesh.addPointIndex(vertex01, true);
923
+ mesh.addPointIndex(vertex00, false);
924
+ // make color === faceIndex
925
+ if (createColors) {
926
+ mesh.addColorIndex(thisColorIndex);
927
+ mesh.addColorIndex(thisColorIndex);
928
+ mesh.addColorIndex(thisColorIndex);
929
+ }
930
+ // param indexing matches points.
931
+ if (createParams) {
932
+ mesh.addParamIndex(vertex11);
933
+ mesh.addParamIndex(vertex01);
934
+ mesh.addParamIndex(vertex00);
935
+ }
936
+ if (createNormals) {
937
+ mesh.addNormalIndex(0);
938
+ mesh.addNormalIndex(0);
939
+ mesh.addNormalIndex(0);
940
+ }
941
+ mesh.terminateFacet(false);
942
+ }
943
+ else {
944
+ // Push quad
945
+ mesh.addPointIndex(vertex00, true);
946
+ mesh.addPointIndex(vertex10, true);
947
+ mesh.addPointIndex(vertex11, true);
948
+ mesh.addPointIndex(vertex01, true);
949
+ // make color === faceIndex
950
+ if (createColors) {
951
+ thisColorIndex = mesh.addColor(color++);
952
+ mesh.addColorIndex(thisColorIndex);
953
+ mesh.addColorIndex(thisColorIndex);
954
+ mesh.addColorIndex(thisColorIndex);
955
+ mesh.addColorIndex(thisColorIndex);
956
+ }
957
+ // param indexing matches points . .
958
+ if (createParams) {
959
+ mesh.addParamIndex(vertex00);
960
+ mesh.addParamIndex(vertex10);
961
+ mesh.addParamIndex(vertex11);
962
+ mesh.addParamIndex(vertex01);
963
+ }
964
+ if (createNormals) {
965
+ mesh.addNormalIndex(0);
966
+ mesh.addNormalIndex(0);
967
+ mesh.addNormalIndex(0);
968
+ mesh.addNormalIndex(0);
969
+ }
970
+ mesh.terminateFacet(false);
971
+ }
972
+ }
973
+ }
974
+ return mesh;
975
+ }
976
+ /** Create an xy grid of points in single array with x varying fastest. */
977
+ static createXYGrid(numU, numV, dX = 1.0, dY = 1.0) {
978
+ const points = [];
979
+ for (let j = 0; j < numV; j++) {
980
+ for (let i = 0; i < numU; i++) {
981
+ points.push(Point3d.create(i * dX, j * dY, 0));
982
+ }
983
+ }
984
+ return points;
985
+ }
986
+ /** Create simple bspline surface on xy plane grid. */
987
+ static createXYGridBsplineSurface(numU, numV, orderU, orderV) {
988
+ return BSplineSurface3d.create(Sample.createXYGrid(numU, numV, 1.0, 1.0), numU, orderU, undefined, numV, orderV, undefined);
989
+ }
990
+ /**
991
+ * Create a bspline surface whose poles area on circular paths.
992
+ * * (BUT not weighted bspline, therefore although u and v isolines "go around" they are not true circles.)
993
+ * @param radiusU major radius
994
+ * @param radiusV minor radius
995
+ * @param numU number of facets around major hoop
996
+ * @param numV number of facets around minor hoop
997
+ * @param orderU major hoop order
998
+ * @param orderV minor hoop order
999
+ */
1000
+ static createPseudoTorusBsplineSurface(radiusU, radiusV, numU, numV, orderU, orderV) {
1001
+ const points = [];
1002
+ const numUPole = numU + orderU - 1;
1003
+ const numVPole = numV + orderV - 1;
1004
+ const uKnots = KnotVector.createUniformWrapped(numU, orderU - 1, 0, 1);
1005
+ const vKnots = KnotVector.createUniformWrapped(numV, orderV - 1, 0, 1);
1006
+ const dURadians = 2.0 * Math.PI / numU;
1007
+ const dVRadians = 2.0 * Math.PI / numV;
1008
+ for (let iV = 0; iV < numVPole; iV++) {
1009
+ const vRadians = iV * dVRadians;
1010
+ const cV = Math.cos(vRadians);
1011
+ const sV = Math.sin(vRadians);
1012
+ for (let iU = 0; iU < numUPole; iU++) {
1013
+ const uRadians = iU * dURadians;
1014
+ const cU = Math.cos(uRadians);
1015
+ const sU = Math.sin(uRadians);
1016
+ const rho = radiusU + cV * radiusV;
1017
+ points.push(Point3d.create(rho * cU, rho * sU, sV * radiusV));
1018
+ }
1019
+ }
1020
+ const result = BSplineSurface3d.create(points, numUPole, orderU, uKnots.knots, numVPole, orderV, vKnots.knots);
1021
+ if (result) {
1022
+ result.setWrappable(0, BSplineWrapMode.OpenByAddingControlPoints);
1023
+ result.setWrappable(1, BSplineWrapMode.OpenByAddingControlPoints);
1024
+ }
1025
+ return result;
1026
+ }
1027
+ /**
1028
+ * Create a Bspline surface for a cone.
1029
+ * @param centerA center at section A
1030
+ * @param centerB center at section B
1031
+ * @param radiusA radius at point A
1032
+ * @param radiusB radius at point B
1033
+ */
1034
+ static createConeBsplineSurface(centerA, centerB, radiusA, radiusB, numSection) {
1035
+ if (numSection < 2)
1036
+ numSection = 2;
1037
+ const controlPoints = [];
1038
+ const numVPole = numSection;
1039
+ const q1 = 0.25;
1040
+ const q2 = 0.5;
1041
+ const q3 = 0.75;
1042
+ const uKnots = [0, 0, q1, q1, q2, q2, q3, q3, 1, 1];
1043
+ const vKnots = [];
1044
+ const dv = 1.0 / (numSection - 1);
1045
+ for (let i = 0; i < numSection; i++) {
1046
+ vKnots.push(i * dv);
1047
+ }
1048
+ const center = Point3d.create();
1049
+ const vectorAB = Vector3d.createStartEnd(centerA, centerB);
1050
+ const axes = Matrix3d.createRigidHeadsUp(vectorAB, AxisOrder.ZXY);
1051
+ let r0, r90, v;
1052
+ for (let iV = 0; iV < numVPole; iV++) {
1053
+ v = iV * dv;
1054
+ centerA.interpolate(v, centerB, center);
1055
+ r0 = r90 = Geometry.interpolate(radiusA, v, radiusB);
1056
+ controlPoints.push(Sample.createBsplineArc90SectionToXYZWArrays(center, axes, r0, r90, false));
1057
+ }
1058
+ const result = BSplineSurface3dH.createGrid(controlPoints, WeightStyle.WeightsSeparateFromCoordinates, 3, uKnots, 2, vKnots);
1059
+ // if (result) {
1060
+ // result.setWrappable(0, BSplineWrapMode.OpenByAddingControlPoints);
1061
+ // result.setWrappable(1, BSplineWrapMode.OpenByAddingControlPoints);
1062
+ // }
1063
+ return result;
1064
+ }
1065
+ /** Create bspline surface on xy grid with weights. */
1066
+ static createWeightedXYGridBsplineSurface(numU, numV, orderU, orderV, weight00 = 1.0, weight10 = 1.0, weight01 = 1.0, weight11 = 1.0) {
1067
+ const xyzPoles = Sample.createXYGrid(numU, numV, 1.0, 1.0);
1068
+ const weights = [];
1069
+ for (let i = 0; i < numU; i++)
1070
+ for (let j = 0; j < numV; j++) {
1071
+ const wu0 = Geometry.interpolate(weight00, i / (numU - 1), weight10);
1072
+ const wu1 = Geometry.interpolate(weight01, i / (numU - 1), weight11);
1073
+ weights.push(Geometry.interpolate(wu0, j / (numV - 1), wu1));
1074
+ }
1075
+ return BSplineSurface3dH.create(xyzPoles, weights, numU, orderU, undefined, numV, orderV, undefined);
1076
+ }
1077
+ /** assorted linear sweeps */
1078
+ static createSimpleLinearSweeps() {
1079
+ const result = [];
1080
+ const base = Loop.create(LineString3d.createRectangleXY(Point3d.create(), 2, 3));
1081
+ const vectorZ = Vector3d.create(0, 0, 1.234);
1082
+ const vectorQ = Vector3d.create(0.1, 0.21, 1.234);
1083
+ result.push(LinearSweep.create(base, vectorZ, false));
1084
+ result.push(LinearSweep.create(base, vectorZ, true));
1085
+ result.push(LinearSweep.create(base, vectorQ, false));
1086
+ result.push(LinearSweep.create(base, vectorQ, true));
1087
+ result.push(LinearSweep.create(Sample.createCappedArcLoop(5, -45, 90), vectorQ, true));
1088
+ for (const curve of Sample.createSmoothCurvePrimitives()) {
1089
+ const path = Path.create(curve);
1090
+ result.push(LinearSweep.create(path, vectorZ, false));
1091
+ }
1092
+ // coordinates for a clearly unclosed linestring ....
1093
+ const xyPoints = [
1094
+ Point2d.create(0, 0),
1095
+ Point2d.create(1, 0),
1096
+ Point2d.create(1, 1)
1097
+ ];
1098
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, false));
1099
+ // this forces artificial closure point . . .
1100
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, true));
1101
+ // add a not-quite-exact closure point ...
1102
+ const e = 1.0e-11;
1103
+ xyPoints.push(Point2d.create(e, e));
1104
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, false));
1105
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, true));
1106
+ // make it a better closure
1107
+ xyPoints.pop();
1108
+ xyPoints.push(xyPoints[0]);
1109
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, false));
1110
+ result.push(LinearSweep.createZSweep(xyPoints, 1, 3, true));
1111
+ // negative sweep ...
1112
+ result.push(LinearSweep.createZSweep(xyPoints, 1, -3, true));
1113
+ return result;
1114
+ }
1115
+ /**
1116
+ * Create an array of primitives with an arc centered at origin and a line segment closing back to the arc start.
1117
+ * This can be bundled into Path or Loop by caller.
1118
+ */
1119
+ static createCappedArcPrimitives(radius, startDegrees, endDegrees) {
1120
+ const arc = Arc3d.create(Point3d.create(0, 0, 0), Vector3d.unitX(radius), Vector3d.unitY(radius), AngleSweep.createStartEndDegrees(startDegrees, endDegrees));
1121
+ return [arc, LineSegment3d.create(arc.fractionToPoint(1.0), arc.fractionToPoint(0.0))];
1122
+ }
1123
+ /** Return a Path structure for a segment of arc, with closure segment */
1124
+ static createCappedArcPath(radius, startDegrees, endDegrees) {
1125
+ return Path.createArray(Sample.createCappedArcPrimitives(radius, startDegrees, endDegrees));
1126
+ }
1127
+ /** Return a Loop structure for a segment of arc, with closure segment */
1128
+ static createCappedArcLoop(radius, startDegrees, endDegrees) {
1129
+ return Loop.createArray(Sample.createCappedArcPrimitives(radius, startDegrees, endDegrees));
1130
+ }
1131
+ /** Create assorted rotational sweeps. */
1132
+ static createSimpleRotationalSweeps() {
1133
+ const result = [];
1134
+ // rectangle in xy plane
1135
+ const base = Loop.create(LineString3d.createRectangleXY(Point3d.create(1, 0, 0), 2, 3));
1136
+ // rotate around the y axis
1137
+ for (const axis of [
1138
+ Ray3d.createXYZUVW(0, 0, 0, 0, 1, 0),
1139
+ Ray3d.createXYZUVW(5, 0, 0, 0, 1, 0),
1140
+ Ray3d.createXYZUVW(-1, 0, 0, -1, 1, 0)
1141
+ ]) {
1142
+ result.push(RotationalSweep.create(base, axis, Angle.createDegrees(45.0), false));
1143
+ result.push(RotationalSweep.create(base, axis, Angle.createDegrees(150.0), true));
1144
+ }
1145
+ return result;
1146
+ }
1147
+ /** Create assorted spheres */
1148
+ static createSpheres(includeEllipsoidal = false) {
1149
+ const result = [];
1150
+ result.push(Sphere.createCenterRadius(Point3d.create(0, 0, 0), 1.0));
1151
+ result.push(Sphere.createCenterRadius(Point3d.create(1, 2, 3), 3.0));
1152
+ const s1 = Sphere.createCenterRadius(Point3d.create(1, 2, 3), 2.0, AngleSweep.createStartEndDegrees(-45, 80));
1153
+ s1.capped = true;
1154
+ result.push(s1);
1155
+ // still a sphere, but with axes KIJ . .
1156
+ const s2 = Sphere.createFromAxesAndScales(Point3d.create(1, 2, 3), Matrix3d.createRowValues(0, 1, 0, 0, 0, 1, 1, 0, 0), 4, 4, 4, AngleSweep.createStartEndDegrees(-45, 45), true);
1157
+ result.push(s2);
1158
+ if (includeEllipsoidal)
1159
+ result.push(Sphere.createDgnSphere(Point3d.create(1, 2, 3), Vector3d.unitX(), Vector3d.unitZ(), 3, 2, AngleSweep.createFullLatitude(), false));
1160
+ return result;
1161
+ }
1162
+ /** Create true (non-spherical) ellipsoids. */
1163
+ static createEllipsoids() {
1164
+ return [
1165
+ Sphere.createEllipsoid(Transform.createOriginAndMatrix(Point3d.create(0, 0, 0), Matrix3d.createRowValues(4, 1, 1, 1, 4, 1, 0.5, 0.2, 5)), AngleSweep.createFullLatitude(), true)
1166
+ ];
1167
+ }
1168
+ /** Create assorted cones. */
1169
+ static createCones() {
1170
+ const result = [];
1171
+ const origin = Point3d.create(0, 0, 0);
1172
+ const topZ = Point3d.create(0, 0, 5);
1173
+ const centerA = Point3d.create(1, 2, 1);
1174
+ const centerB = Point3d.create(2, 3, 8);
1175
+ result.push(Cone.createAxisPoints(Point3d.create(0, 0, 0), Point3d.create(0, 0, 1), 0.5, 0.5, false));
1176
+ result.push(Cone.createAxisPoints(centerA, centerB, 0.5, 0.5, false));
1177
+ result.push(Cone.createAxisPoints(origin, topZ, 1.0, 0.2, true));
1178
+ result.push(Cone.createAxisPoints(centerA, centerB, 0.2, 0.5, false));
1179
+ result.push(Cone.createAxisPoints(origin, centerB, 1.0, 0.0, false));
1180
+ result.push(Cone.createAxisPoints(topZ, origin, 0.0, 1.0, true));
1181
+ return result;
1182
+ }
1183
+ /** Return a TorusPipe with swept circle in xz plane rotating through an angle range around the Z axis. */
1184
+ static createPartialTorusAroundZ(majorRadius, majorSweep, minorRadius, minorStart, minorEnd) {
1185
+ const arc = Arc3d.createXYZXYZXYZ(majorRadius, 0, 0, minorRadius, 0, 0, 0, minorRadius, 0, AngleSweep.createStartEnd(minorStart, minorEnd));
1186
+ const contour = Path.create(arc);
1187
+ return RotationalSweep.create(contour, Ray3d.createZAxis(), majorSweep, false);
1188
+ }
1189
+ /** Create assorted Torus Pipes */
1190
+ static createTorusPipes() {
1191
+ const result = [];
1192
+ const center = Point3d.create(1, 2, 3);
1193
+ const frame = Matrix3d.createRotationAroundVector(Vector3d.create(1, 2, 3), Angle.createRadians(10));
1194
+ const vectorX = frame.columnX();
1195
+ const vectorY = frame.columnY();
1196
+ const vectorZ = frame.columnZ();
1197
+ result.push(TorusPipe.createInFrame(Transform.createIdentity(), 5.0, 0.8, Angle.create360(), false));
1198
+ result.push(TorusPipe.createInFrame(Transform.createIdentity(), 5.0, 1.0, Angle.createDegrees(90), true));
1199
+ result.push(TorusPipe.createDgnTorusPipe(center, vectorX, vectorY, 10, 1, Angle.createDegrees(180), true));
1200
+ result.push(TorusPipe.createDgnTorusPipe(center, vectorY, vectorZ, 10, 1, Angle.createDegrees(45), true));
1201
+ return result;
1202
+ }
1203
+ /** Create assorted boxes. */
1204
+ static createBoxes(capped = true) {
1205
+ const result = [];
1206
+ const cornerA = Point3d.create(1, 2, 3);
1207
+ const aX = 3.0;
1208
+ const aY = 2.0;
1209
+ const bX = 1.5;
1210
+ const bY = 1.0;
1211
+ const h = 5.0;
1212
+ const frame = Matrix3d.createRotationAroundVector(Vector3d.create(0, 0, 1), Angle.createDegrees(10));
1213
+ const vectorX = frame.columnX();
1214
+ const vectorY = frame.columnY();
1215
+ const cornerB = Matrix3d.xyzPlusMatrixTimesCoordinates(cornerA, frame, 0, 0, h);
1216
+ result.push(Box.createDgnBox(cornerA, Vector3d.unitX(), Vector3d.unitY(), cornerB, aX, aY, aX, aY, capped));
1217
+ result.push(Box.createDgnBox(cornerA, Vector3d.unitX(), Vector3d.unitY(), cornerB, aX, aY, bX, bY, capped));
1218
+ result.push(Box.createDgnBox(cornerA, vectorX, vectorY, cornerB, aX, aY, bX, bY, capped));
1219
+ const frameY = Matrix3d.createRotationAroundVector(Vector3d.create(0, 1, 0), Angle.createDegrees(10));
1220
+ result.push(Box.createDgnBox(cornerA, frameY.columnX(), frameY.columnY(), cornerA.plusScaled(frameY.columnZ(), h), aX, aY, bX, bY, capped));
1221
+ return result;
1222
+ }
1223
+ /** create an array of points for a rectangle with corners (x0,y0,z) and (x1,y1,z)
1224
+ */
1225
+ static createRectangle(x0, y0, x1, y1, z = 0.0, closed = false) {
1226
+ const points = [
1227
+ Point3d.create(x0, y0, z),
1228
+ Point3d.create(x1, y0, z),
1229
+ Point3d.create(x1, y1, z),
1230
+ Point3d.create(x0, y1, z),
1231
+ ];
1232
+ if (closed)
1233
+ points.push(Point3d.create(x0, y0, z));
1234
+ return points;
1235
+ }
1236
+ /** create an array of points for a rectangle with corners of a Range2d.
1237
+ */
1238
+ static createRectangleInRange2d(range, z = 0.0, closed = false) {
1239
+ const x0 = range.low.x;
1240
+ const x1 = range.high.x;
1241
+ const y0 = range.low.y;
1242
+ const y1 = range.high.y;
1243
+ return this.createRectangle(x0, y0, x1, y1, z, closed);
1244
+ }
1245
+ /** Create assorted ruled sweeps */
1246
+ static createRuledSweeps(includeParityRegion = false, includeBagOfCurves = false) {
1247
+ const allSweeps = [];
1248
+ const contour0 = Loop.create(LineString3d.create(this.createRectangleXY(0, 0, 3, 2, 0)));
1249
+ const contour1 = Loop.create(LineString3d.create(this.createRectangleXY(0, 0, 3, 2.5, 2)));
1250
+ const contour2 = Loop.create(LineString3d.create(this.createRectangleXY(0, 0, 4, 3.5, 4)));
1251
+ const contour3 = Loop.create(LineString3d.create(this.createRectangleXY(0, 0, 2, 1, 7)));
1252
+ const allContours = [contour0, contour1, contour2];
1253
+ allSweeps.push(RuledSweep.create([contour0, contour1], true));
1254
+ allSweeps.push(RuledSweep.create([contour0, contour1, contour2], true));
1255
+ allSweeps.push(RuledSweep.create([contour0, contour1, contour2, contour3], true));
1256
+ allSweeps.push(RuledSweep.create(allContours, false));
1257
+ const curves = Sample.createSmoothCurvePrimitives();
1258
+ for (const c of curves) {
1259
+ const frame = c.fractionToFrenetFrame(0.0);
1260
+ if (frame) {
1261
+ const perpVector = frame.matrix.columnZ();
1262
+ perpVector.scaleInPlace(10.0);
1263
+ const c1 = c.cloneTransformed(Transform.createTranslation(perpVector));
1264
+ allSweeps.push(RuledSweep.create([Path.create(c), Path.create(c1)], false));
1265
+ }
1266
+ }
1267
+ if (includeParityRegion) {
1268
+ const outer = Loop.create(LineString3d.create(this.createRectangleXY(0, 0, 5, 6, 0)));
1269
+ const inner = Loop.create(LineString3d.create(this.createRectangleXY(1, 1, 2, 3, 0)));
1270
+ const contourA = ParityRegion.create(outer, inner);
1271
+ const contourB = contourA.clone();
1272
+ contourB.tryTranslateInPlace(0, 0, 2);
1273
+ allSweeps.push(RuledSweep.create([contourA, contourB], false));
1274
+ }
1275
+ if (includeBagOfCurves) {
1276
+ const contourA = BagOfCurves.create(LineSegment3d.createXYZXYZ(1, 1, 0, 3, 1, 0));
1277
+ const contourB = BagOfCurves.create(LineSegment3d.createXYZXYZ(1, 1, 1, 3, 1, 1));
1278
+ allSweeps.push(RuledSweep.create([contourA, contourB], false));
1279
+ }
1280
+ return allSweeps;
1281
+ }
1282
+ /**
1283
+ * Uniformly spaced numbers
1284
+ * @param a0 first entry
1285
+ * @param delta step between entries
1286
+ * @param n number of entries
1287
+ */
1288
+ static createGrowableArrayCountedSteps(a0, delta, n) {
1289
+ const data = new GrowableFloat64Array(n);
1290
+ for (let i = 0; i < n; i++)
1291
+ data.push(a0 + i * delta);
1292
+ return data;
1293
+ }
1294
+ /**
1295
+ * Create points on a unit circle
1296
+ * @param radius first entry
1297
+ * @param numEdge number of edges of chorded circle. Angle step is 2PI/numEdge (whether or not closed)
1298
+ * @param closed true to include final point (i.e. return numEdge+1 points)
1299
+ */
1300
+ static createGrowableArrayCirclePoints(radius, numEdge, closed = false, centerX = 0, centerY = 0, data) {
1301
+ if (!data)
1302
+ data = new GrowableXYZArray();
1303
+ data.ensureCapacity(numEdge + (closed ? 1 : 0));
1304
+ const delta = 2.0 * Math.PI / numEdge;
1305
+ for (let i = 0; i < numEdge; i++) {
1306
+ const radians = i * delta;
1307
+ data.push(Point3d.create(centerX + radius * Math.cos(radians), centerY + radius * Math.sin(radians)));
1308
+ }
1309
+ return data;
1310
+ }
1311
+ static pushIfDistinct(points, xyz, tol = 1.0e-12) {
1312
+ if (points.length === 0 || points[points.length - 1].distanceXY(xyz) > tol)
1313
+ points.push(xyz);
1314
+ }
1315
+ static appendToFractalEval(points, pointA, pointB, pattern, numRecursion, perpendicularFactor) {
1316
+ const point0 = pointA.clone();
1317
+ Sample.pushIfDistinct(points, pointA);
1318
+ for (const uv of pattern) {
1319
+ const point1 = pointA.interpolatePerpendicularXY(uv.x, pointB, perpendicularFactor * uv.y);
1320
+ if (numRecursion > 0)
1321
+ Sample.appendToFractalEval(points, point0, point1, pattern, numRecursion - 1, perpendicularFactor);
1322
+ Sample.pushIfDistinct(points, point1);
1323
+ point0.setFrom(point1);
1324
+ }
1325
+ Sample.pushIfDistinct(points, pointB);
1326
+ }
1327
+ /**
1328
+ * For each edge of points, construct a transform (with scale, rotate, and translate) that spreads the patter out along the edge.
1329
+ * Repeat recursively for each edge
1330
+ * @returns Returns an array of recursively generated fractal points
1331
+ * @param poles level-0 (coarse) polygon whose edges are to be replaced by recursive fractals
1332
+ * @param pattern pattern to map to each edge of poles (and to edges of the recursion)
1333
+ * @param numRecursion number of recursions
1334
+ * @param perpendicularFactor factor to apply to perpendicular sizing.
1335
+ */
1336
+ static createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor) {
1337
+ const points = [];
1338
+ Sample.pushIfDistinct(points, poles[0]);
1339
+ for (let i = 0; i + 1 < poles.length; i++) {
1340
+ if (numRecursion > 0)
1341
+ Sample.appendToFractalEval(points, poles[i], poles[i + 1], pattern, numRecursion - 1, perpendicularFactor);
1342
+ Sample.pushIfDistinct(points, poles[i + 1]);
1343
+ }
1344
+ return points;
1345
+ }
1346
+ /** Primary shape is a "triangle" with lower edge pushed in so it becomes a mild nonconvex quad.
1347
+ * Fractal effects are gentle.
1348
+ */
1349
+ static nonConvexQuadSimpleFractal(numRecursion, perpendicularFactor) {
1350
+ const pattern = [
1351
+ Point2d.create(),
1352
+ Point2d.create(0.5, 0.1),
1353
+ Point2d.create(1.0, 0.0),
1354
+ ];
1355
+ const poles = [
1356
+ Point3d.create(0, 0, 0),
1357
+ Point3d.create(0.6, 0.1, 0),
1358
+ Point3d.create(1, 0.1, 0),
1359
+ Point3d.create(0.6, 1, 0),
1360
+ Point3d.create(),
1361
+ ];
1362
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1363
+ }
1364
+ /** create a diamond with convex fractal */
1365
+ static createFractalDiamondConvexPattern(numRecursion, perpendicularFactor) {
1366
+ const pattern = [
1367
+ Point2d.create(),
1368
+ Point2d.create(0.3, 0.05),
1369
+ Point2d.create(0.5, 0.10),
1370
+ Point2d.create(0.7, 0.04),
1371
+ Point2d.create(1.0, 0.0),
1372
+ ];
1373
+ const poles = [
1374
+ Point3d.create(0, -1, 0),
1375
+ Point3d.create(1, 0, 0),
1376
+ Point3d.create(0, 1, 0),
1377
+ Point3d.create(-1, 0, 0),
1378
+ Point3d.create(0, -1, 0),
1379
+ ];
1380
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1381
+ }
1382
+ /** Create l on a square, with pattern shift to both directions. */
1383
+ static createFractalSquareReversingPattern(numRecursion, perpendicularFactor) {
1384
+ const pattern = [
1385
+ Point2d.create(),
1386
+ Point2d.create(0.25, 0),
1387
+ Point2d.create(0.5, 0.2),
1388
+ Point2d.create(0.75, -0.1),
1389
+ Point2d.create(1.0, 0.0),
1390
+ ];
1391
+ const poles = [
1392
+ Point3d.create(),
1393
+ Point3d.create(1, 0, 0),
1394
+ Point3d.create(1, 1, 0),
1395
+ Point3d.create(0, 1, 0),
1396
+ Point3d.create(0, 0, 0),
1397
+ ];
1398
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1399
+ }
1400
+ /** Create a fractal on a non-convex base and reversing pattern */
1401
+ static createFractalHatReversingPattern(numRecursion, perpendicularFactor) {
1402
+ const pattern = [
1403
+ Point2d.create(),
1404
+ Point2d.create(0.25, 0),
1405
+ Point2d.create(0.25, 0.1),
1406
+ Point2d.create(0.50, 0.1),
1407
+ Point2d.create(0.50, -0.1),
1408
+ Point2d.create(0.75, -0.1),
1409
+ Point2d.create(0.75, 0),
1410
+ Point2d.create(1.0, 0.0),
1411
+ ];
1412
+ const poles = [
1413
+ Point3d.create(),
1414
+ Point3d.create(1, 0, 0),
1415
+ Point3d.create(1, 1, 0),
1416
+ Point3d.create(0, 1, 0),
1417
+ Point3d.create(0, 0, 0),
1418
+ ];
1419
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1420
+ }
1421
+ /** Create a fractal on a primary L shape with a reversing pattern */
1422
+ static createFractalLReversingPattern(numRecursion, perpendicularFactor) {
1423
+ const pattern = [
1424
+ Point2d.create(),
1425
+ Point2d.create(0.25, 0),
1426
+ Point2d.create(0.5, 0.2),
1427
+ Point2d.create(0.75, -0.1),
1428
+ Point2d.create(1.0, 0.0),
1429
+ ];
1430
+ const poles = [
1431
+ Point3d.create(),
1432
+ Point3d.create(1, 0, 0),
1433
+ Point3d.create(1, 1, 0),
1434
+ Point3d.create(2, 2, 0),
1435
+ Point3d.create(2, 3, 0),
1436
+ Point3d.create(0, 3, 0),
1437
+ Point3d.create(),
1438
+ ];
1439
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1440
+ }
1441
+ /** Fractal with fewer concavity changes.... */
1442
+ static createFractalLMildConcavePatter(numRecursion, perpendicularFactor) {
1443
+ const pattern = [
1444
+ Point2d.create(),
1445
+ Point2d.create(0.25, 0.05),
1446
+ Point2d.create(0.5, 0.15),
1447
+ Point2d.create(0.75, 0.05),
1448
+ Point2d.create(1.0, 0.0),
1449
+ ];
1450
+ const poles = [
1451
+ Point3d.create(),
1452
+ Point3d.create(1, 0, 0),
1453
+ Point3d.create(1, 1, 0),
1454
+ Point3d.create(2, 2, 0),
1455
+ Point3d.create(1.5, 3, 0),
1456
+ Point3d.create(0, 3, 0),
1457
+ Point3d.create(),
1458
+ ];
1459
+ return Sample.createRecursiveFractalPolygon(poles, pattern, numRecursion, perpendicularFactor);
1460
+ }
1461
+ /** append interpolated points from the array tail to the target. */
1462
+ static appendSplits(points, target, numSplit, includeTarget) {
1463
+ const pointA = points[points.length - 1];
1464
+ for (let i = 0; i < numSplit; i++)
1465
+ points.push(pointA.interpolate(i / numSplit, target));
1466
+ if (includeTarget)
1467
+ points.push(target);
1468
+ }
1469
+ /**
1470
+ * Triangle with 3 given vertices, and indicated extra points on each each.
1471
+ * @param numSplitAB number of extra points on edge AB
1472
+ * @param numSplitBC number of extra points on edge BC
1473
+ * @param numSplitCA number of extra points on edge CA
1474
+ * @param wrap true to replicate vertexA at end
1475
+ * @param xyzA vertexA
1476
+ * @param xyzB vertexB
1477
+ * @param xyzC vertexC
1478
+ */
1479
+ static createTriangleWithSplitEdges(numSplitAB, numSplitBC, numSplitCA, wrap = true, xyzA = Point3d.create(0, 0, 0), xyzB = Point3d.create(1, 0, 0), xyzC = Point3d.create(0, 1, 0)) {
1480
+ const result = [xyzA.clone()];
1481
+ Sample.appendSplits(result, xyzB, numSplitAB, true);
1482
+ Sample.appendSplits(result, xyzC, numSplitBC, true);
1483
+ Sample.appendSplits(result, xyzA, numSplitCA, wrap);
1484
+ return result;
1485
+ }
1486
+ /** Create a box (xyz) from half-lengths and center. */
1487
+ static createCenteredBoxEdges(ax = 1, ay = 1, az = 0, cx = 0, cy = 0, cz = 0, geometry) {
1488
+ if (!geometry)
1489
+ geometry = [];
1490
+ const x0 = cx - ax;
1491
+ const y0 = cy - ay;
1492
+ const z0 = cz - az;
1493
+ const x1 = cx + ax;
1494
+ const y1 = cy + ay;
1495
+ const z1 = cz + az;
1496
+ for (const z of [z0, z1]) {
1497
+ geometry.push(LineString3d.create(Point3d.create(x0, y0, z), Point3d.create(x1, y0, z), Point3d.create(x1, y1, z), Point3d.create(x0, y1, z), Point3d.create(x0, y0, z)));
1498
+ }
1499
+ geometry.push(LineSegment3d.createXYZXYZ(x0, y0, z0, x0, y0, z1));
1500
+ geometry.push(LineSegment3d.createXYZXYZ(x1, y0, z0, x1, y0, z1));
1501
+ geometry.push(LineSegment3d.createXYZXYZ(x1, y1, z0, x1, y1, z1));
1502
+ geometry.push(LineSegment3d.createXYZXYZ(x0, y1, z0, x0, y1, z1));
1503
+ return geometry;
1504
+ }
1505
+ /** Assorted transition spirals
1506
+ * * (All combinations of bearing radius bearing radius length subsets.)
1507
+ */
1508
+ static createSimpleTransitionSpirals() {
1509
+ // 5 spirals exercise the intricate "4 out of 5" input rules for spirals . ..
1510
+ const r1 = 1000.0;
1511
+ const r0 = 0.0;
1512
+ const averageCurvature = IntegratedSpiral3d.averageCurvatureR0R1(r0, r1);
1513
+ const arcLength = 100.0;
1514
+ const dThetaRadians = arcLength * averageCurvature;
1515
+ return [
1516
+ IntegratedSpiral3d.createFrom4OutOf5("clothoid", r0, r1, Angle.createDegrees(0), Angle.createRadians(dThetaRadians), undefined, undefined, Transform.createIdentity()),
1517
+ IntegratedSpiral3d.createFrom4OutOf5("bloss", r0, r1, Angle.createDegrees(0), undefined, arcLength, undefined, Transform.createIdentity()),
1518
+ IntegratedSpiral3d.createFrom4OutOf5("clothoid", r0, r1, undefined, Angle.createRadians(dThetaRadians), arcLength, undefined, Transform.createIdentity()),
1519
+ IntegratedSpiral3d.createFrom4OutOf5("biquadratic", r0, undefined, Angle.createDegrees(0), Angle.createRadians(dThetaRadians), arcLength, undefined, Transform.createIdentity()),
1520
+ IntegratedSpiral3d.createFrom4OutOf5("sine", undefined, r1, Angle.createDegrees(0), Angle.createRadians(dThetaRadians), arcLength, undefined, Transform.createIdentity()),
1521
+ IntegratedSpiral3d.createFrom4OutOf5("cosine", r0, r1, Angle.createDegrees(0), Angle.createRadians(dThetaRadians), undefined, Segment1d.create(0, 0.5), Transform.createOriginAndMatrix(Point3d.create(1, 2, 0), Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(15)))),
1522
+ DirectSpiral3d.createFromLengthAndRadius("Arema", r0, r1, Angle.createDegrees(0), undefined, arcLength, undefined, Transform.createOriginAndMatrix(Point3d.create(1, 2, 0), Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(15)))),
1523
+ DirectSpiral3d.createFromLengthAndRadius("ChineseCubic", r0, r1, Angle.createDegrees(0), undefined, arcLength, undefined, Transform.createOriginAndMatrix(Point3d.create(1, 2, 0), Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(15)))),
1524
+ DirectSpiral3d.createFromLengthAndRadius("JapaneseCubic", r0, r1, Angle.createDegrees(0), undefined, arcLength, undefined, Transform.createOriginAndMatrix(Point3d.create(1, 2, 0), Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(15)))),
1525
+ DirectSpiral3d.createFromLengthAndRadius("DirectHalfCosine", r0, r1, Angle.createDegrees(0), undefined, arcLength, undefined, Transform.createOriginAndMatrix(Point3d.create(1, 2, 0), Matrix3d.createRotationAroundVector(Vector3d.unitZ(), Angle.createDegrees(15)))),
1526
+ DirectSpiral3d.createCzechCubic(Transform.createIdentity(), arcLength, r1)
1527
+ ];
1528
+ }
1529
+ /** Create a Bezier curve with significant twist effects
1530
+ * * r and theta are circle in xy plane at steps in thetaStepper
1531
+ * * z varies with sin(phi) at steps in phiStepper.
1532
+ */
1533
+ static createTwistingBezier(order, x0, y0, r, thetaStepper, phiStepper, weightInterval) {
1534
+ if (weightInterval !== undefined) {
1535
+ const points = [];
1536
+ for (let i = 0; i < order; i++) {
1537
+ const theta = thetaStepper.fractionToRadians(i);
1538
+ const phi = phiStepper.fractionToRadians(i);
1539
+ const weight = weightInterval.fractionToPoint(i / (order - 1));
1540
+ points.push(Point4d.create(weight * (x0 + r * Math.cos(theta)), weight * (y0 + r * Math.sin(theta)), weight * Math.sin(phi), weight));
1541
+ }
1542
+ return BezierCurve3dH.create(points);
1543
+ }
1544
+ else {
1545
+ const points = [];
1546
+ for (let i = 0; i < order; i++) {
1547
+ const theta = thetaStepper.fractionToRadians(i);
1548
+ const phi = phiStepper.fractionToRadians(i);
1549
+ points.push(Point3d.create(x0 + r * Math.cos(theta), y0 + r * Math.sin(theta), Math.sin(phi)));
1550
+ }
1551
+ return BezierCurve3d.create(points);
1552
+ }
1553
+ }
1554
+ /**
1555
+ * Create various curve chains with distance indexing.
1556
+ * * LineSegment
1557
+ * * CircularArc
1558
+ * * LineString
1559
+ * * order 3 bspline
1560
+ * * order 4 bspline
1561
+ * * alternating lines and arcs
1562
+ */
1563
+ static createCurveChainWithDistanceIndex() {
1564
+ const pointsA = [Point3d.create(0, 0, 0), Point3d.create(1, 3, 0), Point3d.create(2, 4, 0), Point3d.create(3, 3, 0), Point3d.create(4, 0, 0)];
1565
+ const result = [];
1566
+ // one singleton per basic curve type ...
1567
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(5, 0, 0)))));
1568
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(Arc3d.createCircularStartMiddleEnd(Point3d.create(0, 0, 0), Point3d.create(3, 3, 0), Point3d.create(6, 0, 0)))));
1569
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(LineString3d.create(pointsA))));
1570
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(BSplineCurve3d.createUniformKnots(pointsA, 3))));
1571
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(BSplineCurve3d.createUniformKnots(pointsA, 4))));
1572
+ result.push(CurveChainWithDistanceIndex.createCapture(Path.create(LineSegment3d.create(pointsA[0], pointsA[1]), Arc3d.createCircularStartMiddleEnd(pointsA[1], pointsA[2], pointsA[3]), LineSegment3d.create(pointsA[3], pointsA[4]))));
1573
+ return result;
1574
+ }
1575
+ /**
1576
+ * Create a square wave path.
1577
+ * @param numTooth number of teeth.
1578
+ * @param dxA x size of "A" part
1579
+ * @param dxB x size of "B" part
1580
+ * @param yA y for A part
1581
+ * @param yB y for B part
1582
+ * @param structure 1 for line segments, 2 for one linestring per tooth, 0 for single linestring
1583
+ */
1584
+ static createSquareWavePath(numTooth, dxA, dxB, yA, yB, structure) {
1585
+ const dxAB = dxA + dxB;
1586
+ const path = Path.create();
1587
+ // build the whole linestring ...
1588
+ const allPoints = new GrowableXYZArray(4 * numTooth);
1589
+ let x2 = 0.0;
1590
+ for (let i = 0; i < numTooth; i++) {
1591
+ const x0 = i * dxAB;
1592
+ const x1 = x0 + dxA;
1593
+ x2 = (i + 1) * dxAB;
1594
+ allPoints.pushXYZ(x0, yA, 0);
1595
+ allPoints.pushXYZ(x1, yA, 0.0);
1596
+ allPoints.pushXYZ(x1, yB, 0.0);
1597
+ allPoints.pushXYZ(x2, yB, 0.0);
1598
+ }
1599
+ allPoints.pushXYZ(x2, yA, 0.0);
1600
+ const numPoints = allPoints.length;
1601
+ if (structure === 1) {
1602
+ const pointA = Point3d.create();
1603
+ const pointB = Point3d.create();
1604
+ allPoints.getPoint3dAtUncheckedPointIndex(0, pointA);
1605
+ for (let i1 = 0; i1 + 1 < numPoints; i1++) {
1606
+ allPoints.getPoint3dAtUncheckedPointIndex(i1, pointB);
1607
+ path.tryAddChild(LineSegment3d.create(pointA, pointB));
1608
+ pointA.setFromPoint3d(pointB);
1609
+ }
1610
+ }
1611
+ else if (structure === 2) {
1612
+ for (let i0 = 0; i0 + 4 < numPoints; i0 += 4) {
1613
+ const ls = LineString3d.create();
1614
+ ls.addSteppedPoints(allPoints, i0, 1, 5);
1615
+ path.tryAddChild(ls);
1616
+ }
1617
+ }
1618
+ else {
1619
+ const ls = LineString3d.create();
1620
+ ls.addSteppedPoints(allPoints, 0, 1, numPoints);
1621
+ path.tryAddChild(ls);
1622
+ }
1623
+ return path;
1624
+ }
1625
+ /**
1626
+ * Create various elliptic arcs
1627
+ * * circle with vector0, vector90 aligned with x,y
1628
+ * * circle with axes rotated
1629
+ * *
1630
+ * @param radiusRatio = vector90.magnitude / vector0.magnitude
1631
+ */
1632
+ static createArcs(radiusRatio = 1.0, sweep = AngleSweep.create360()) {
1633
+ const arcs = [];
1634
+ const center0 = Point3d.create(0, 0, 0);
1635
+ const a = 1.0;
1636
+ const b = radiusRatio;
1637
+ const direction0 = Vector3d.createPolar(a, Angle.createDegrees(35.0));
1638
+ const direction90 = direction0.rotate90CCWXY();
1639
+ direction90.scaleInPlace(radiusRatio);
1640
+ arcs.push(Arc3d.create(center0, Vector3d.create(a, 0, 0), Vector3d.create(0, b, 0), sweep));
1641
+ arcs.push(Arc3d.create(center0, direction0, direction90, sweep));
1642
+ return arcs;
1643
+ }
1644
+ /**
1645
+ * Create many arcs, optionally including skews
1646
+ * * @param skewFactor array of skew factors. for each skew factor, all base arcs are replicated with vector90 shifted by the factor times vector0
1647
+ */
1648
+ static createManyArcs(skewFactors = []) {
1649
+ const result = [];
1650
+ const sweep1 = AngleSweep.createStartEndDegrees(-10, 75);
1651
+ const sweep2 = AngleSweep.createStartEndDegrees(160.0, 380.0);
1652
+ for (const arcs of [
1653
+ Sample.createArcs(1.0), Sample.createArcs(0.5),
1654
+ Sample.createArcs(1.0, sweep1), Sample.createArcs(0.3, sweep2)
1655
+ ]) {
1656
+ for (const arc of arcs)
1657
+ result.push(arc);
1658
+ }
1659
+ const numBase = result.length;
1660
+ for (const skewFactor of skewFactors) {
1661
+ for (let i = 0; i < numBase; i++) {
1662
+ const originalArc = result[i];
1663
+ result.push(Arc3d.create(originalArc.center, originalArc.vector0, originalArc.vector90.plusScaled(originalArc.vector0, skewFactor), originalArc.sweep));
1664
+ }
1665
+ }
1666
+ return result;
1667
+ }
1668
+ /**
1669
+ * Create edges of a range box.
1670
+ * * Line strings on low and high z
1671
+ * * single lines on each low z to high z edge.
1672
+ * * @param range (possibly null) range
1673
+ */
1674
+ static createRangeEdges(range) {
1675
+ if (range.isNull)
1676
+ return undefined;
1677
+ const corners = range.corners();
1678
+ return BagOfCurves.create(LineString3d.create(corners[0], corners[1], corners[3], corners[2], corners[0]), LineString3d.create(corners[4], corners[5], corners[7], corners[6], corners[4]), LineSegment3d.create(corners[0], corners[4]), LineSegment3d.create(corners[1], corners[5]), LineSegment3d.create(corners[2], corners[6]), LineSegment3d.create(corners[3], corners[7]));
1679
+ }
1680
+ /** Create swept "solids" that can be capped.
1681
+ * * At least one of each solid type.
1682
+ * * each is within 10 of the origin all directions.
1683
+ */
1684
+ static createClosedSolidSampler(capped) {
1685
+ const result = [];
1686
+ result.push(Box.createRange(Range3d.createXYZXYZ(0, 0, 0, 3, 2, 5), capped));
1687
+ result.push(Cone.createAxisPoints(Point3d.create(0, 0, 0), Point3d.create(0, 0, 5), 1.0, 1.0, capped));
1688
+ result.push(Sphere.createCenterRadius(Point3d.create(0, 0, 0), 1.0));
1689
+ result.push(TorusPipe.createInFrame(Transform.createIdentity(), 3.0, 1.0, Angle.create360(), capped));
1690
+ const arcA = Arc3d.createXY(Point3d.create(6, 1, 0), 1.0, AngleSweep.createStartEndDegrees(-90, 0));
1691
+ const point0 = arcA.fractionAndDistanceToPointOnTangent(0.0, -4);
1692
+ const pointQ1 = arcA.fractionAndDistanceToPointOnTangent(1.0, 2);
1693
+ const pointQ2 = arcA.fractionAndDistanceToPointOnTangent(1.0, 0.5);
1694
+ const pointR1 = Point3d.create(point0.x, pointQ1.y);
1695
+ const pointR2 = Point3d.create(point0.x, pointQ1.y);
1696
+ const linestringQ1 = LineString3d.create(arcA.fractionToPoint(1.0), pointQ1, pointR1, point0);
1697
+ const linestringQ2 = LineString3d.create(arcA.fractionToPoint(1.0), pointQ2, pointR2, point0);
1698
+ const contourZ = Path.create(linestringQ1.clone());
1699
+ const contourA = Loop.create(LineSegment3d.create(point0, arcA.fractionToPoint(0)), arcA.clone(), linestringQ1.clone());
1700
+ const contourB = Loop.create(LineSegment3d.create(point0, arcA.fractionToPoint(0)), arcA.clone(), linestringQ2.clone());
1701
+ contourB.tryTransformInPlace(Transform.createTranslationXYZ(1, 1, 3));
1702
+ // const contourC = contourB.cloneTransformed(Transform.createTranslationXYZ(2, 1, 4))!;
1703
+ result.push(LinearSweep.create(contourA, Vector3d.create(0, 0, 5), capped));
1704
+ const axis = Ray3d.createXYZUVW(0, 8, 0, 1, 0, 0);
1705
+ result.push(RotationalSweep.create(contourA.clone(), axis.clone(), Angle.createDegrees(90), capped));
1706
+ if (!capped)
1707
+ result.push(RotationalSweep.create(contourZ.clone(), axis.clone(), Angle.createDegrees(90), false));
1708
+ result.push(RuledSweep.create([contourA.clone(), contourB.clone()], capped));
1709
+ const transformC = Transform.createScaleAboutPoint(Point3d.create(0, 0, 8), 0.5);
1710
+ const contourC = contourB.cloneTransformed(transformC);
1711
+ result.push(RuledSweep.create([contourA.clone(), contourB.clone(), contourC.clone()], capped));
1712
+ return result;
1713
+ }
1714
+ /**
1715
+ * Create points:
1716
+ * * `numRadialEdges` radially from origin to polar point (r,sweep.start)
1717
+ * * `numArcEdges` along arc from (r,sweep.start) to (r,sweep.end)
1718
+ * * `numRadialEdges` returning to origin.
1719
+ * * optionally include closure point at origin.
1720
+ * @param x0 center x
1721
+ * @param y0 center y
1722
+ * @param radius radius of circle.
1723
+ * @param sweep start and end angles of sweep.
1724
+ * @param numRadialEdges number of edges from center to arc
1725
+ * @param numArcEdges number of edges along arc
1726
+ * @param addClosure true to repeat center as closure point
1727
+ */
1728
+ static createCutPie(x0, y0, radius, sweep, numRadialEdges, numArcEdges, addClosure = false) {
1729
+ const points = [];
1730
+ const center = Point3d.create(x0, y0);
1731
+ points.push(center);
1732
+ const pointA = Point3d.create(x0 + radius * Math.cos(sweep.startRadians), y0 + radius * Math.sin(sweep.startRadians));
1733
+ const pointB = Point3d.create(x0 + radius * Math.cos(sweep.endRadians), y0 + radius * Math.sin(sweep.endRadians));
1734
+ for (let i = 1; i < numRadialEdges; i++)
1735
+ points.push(center.interpolate(i / numRadialEdges, pointA));
1736
+ points.push(pointA);
1737
+ for (let i = 1; i < numArcEdges; i++) {
1738
+ const radians = sweep.fractionToRadians(i / numArcEdges);
1739
+ points.push(Point3d.create(x0 + radius * Math.cos(radians), y0 + radius * Math.sin(radians)));
1740
+ }
1741
+ points.push(pointB);
1742
+ for (let i = 1; i < numRadialEdges; i++)
1743
+ points.push(pointB.interpolate(i / numRadialEdges, center));
1744
+ if (addClosure)
1745
+ points.push(center.clone());
1746
+ return points;
1747
+ }
1748
+ /**
1749
+ * * let ay = 4
1750
+ * * base polygon has vertices (0,0), (ax,0), (2*ax,0), (2* ax,ay), (ax,ay), (0,ay), (0,0).
1751
+ * * shift the x coordinates of vertices 1,4 by indicated amounts (0-based numbering)
1752
+ * * shift the y coordinates for points 1,2,3,4 by indicated amounts (in 0-based numbering)
1753
+ * * This is useful for testing non-y-monotonic face situations.
1754
+ * * Return as points.
1755
+ * @param dy1
1756
+ * @param dy2
1757
+ * @param dy3
1758
+ * @param dy4
1759
+ */
1760
+ static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
1761
+ const points = [];
1762
+ points.push(Point3d.create(0, 0));
1763
+ points.push(Point3d.create(ax + dx1, dy1));
1764
+ points.push(Point3d.create(2 * ax, dy2));
1765
+ points.push(Point3d.create(2 * ax, ay + dy3));
1766
+ points.push(Point3d.create(ax + dx4, ay + dy4));
1767
+ points.push(Point3d.create(0.0, ay));
1768
+ points.push(Point3d.create(0, 0));
1769
+ return points;
1770
+ }
1771
+ /**
1772
+ * make line segments for each pair of adjacent points.
1773
+ * @param points array of points
1774
+ * @param forceClosure if true, inspect coordinates to determine if a closure edge is needed.
1775
+ */
1776
+ static convertPointsToSegments(points, forceClosure = false) {
1777
+ const segments = [];
1778
+ const n = points.length;
1779
+ for (let i = 0; i + 1 < n; i++) {
1780
+ segments.push(LineSegment3d.create(points[i], points[i + 1]));
1781
+ }
1782
+ if (forceClosure && n > 1 && !points[0].isAlmostEqual(points[n - 1]))
1783
+ segments.push(LineSegment3d.create(points[n - 1], points[0]));
1784
+ return segments;
1785
+ }
1786
+ /**
1787
+ * Create a regular polygon
1788
+ * @param angle0 angle from x axis to first point.
1789
+ * @param numPoint number of points
1790
+ * @param close true to add closure edge.
1791
+ */
1792
+ static createRegularPolygon(cx, cy, cz, angle0, r, numPoint, close) {
1793
+ const points = [];
1794
+ const angleStepRadians = 2.0 * Math.PI / numPoint;
1795
+ let radians;
1796
+ for (let i = 0; i < numPoint; i++) {
1797
+ radians = angle0.radians + i * angleStepRadians;
1798
+ points.push(Point3d.create(cx + r * Math.cos(radians), cy + r * Math.sin(radians), cz));
1799
+ }
1800
+ if (close)
1801
+ points.push(points[0].clone());
1802
+ return points;
1803
+ }
1804
+ /**
1805
+ * Create a star by alternating radii (with equal angular steps)
1806
+ * @param r0 first point radius
1807
+ * @param r1 second point radius (if undefined, this is skipped and the result is points on a circle.)
1808
+ * @param numPoint number of points
1809
+ * @param close true to add closure edge.
1810
+ */
1811
+ static createStar(cx, cy, cz, r0, r1, numPoint, close, theta0) {
1812
+ const points = [];
1813
+ const angleStepRadians = Math.PI / numPoint;
1814
+ const radians0 = theta0 === undefined ? 0.0 : theta0.radians;
1815
+ let radians;
1816
+ for (let i = 0; i < numPoint; i++) {
1817
+ radians = radians0 + 2 * i * angleStepRadians;
1818
+ points.push(Point3d.create(cx + r0 * Math.cos(radians), cy + r0 * Math.sin(radians), cz));
1819
+ if (r1 !== undefined) {
1820
+ radians = radians0 + (2 * i + 1) * angleStepRadians;
1821
+ points.push(Point3d.create(cx + r1 * Math.cos(radians), cy + r1 * Math.sin(radians), cz));
1822
+ }
1823
+ }
1824
+ if (close)
1825
+ points.push(points[0].clone());
1826
+ return points;
1827
+ }
1828
+ /**
1829
+ * Create an outer star A
1830
+ * Place multiple inner stars B with centers on circle C
1831
+ * @param rA0 radius to star tips on starA
1832
+ * @param rA1 radius to star tips on starA
1833
+ * @param numAPoint number of points on starA
1834
+ * @param rB0 radius to star B tips
1835
+ * @param rB1 radius to star B tips
1836
+ * @param numBPoint
1837
+ * @param rC radius for inner star centers
1838
+ * @param numC number of inner stars
1839
+ */
1840
+ static createStarsInStars(rA0, rA1, numAPoint, rB0, rB1, numBPoint, rC, numC, close) {
1841
+ const loops = [];
1842
+ loops.push(this.createStar(0, 0, 0, rA0, rA1, numAPoint, close));
1843
+ if (numC > 0) {
1844
+ const radiansStep = Math.PI * 2.0 / numC;
1845
+ for (let i = 0; i < numC; i++) {
1846
+ const radians = i * radiansStep;
1847
+ loops.push(this.createStar(rC * Math.cos(radians), rC * Math.sin(radians), 0.0, rB0, rB1, numBPoint, close));
1848
+ }
1849
+ }
1850
+ return loops;
1851
+ }
1852
+ static appendGeometry(source, dest) {
1853
+ for (const g of source)
1854
+ dest.push(g);
1855
+ }
1856
+ /** Create a simple example of each GeometryQuery type .... */
1857
+ static createAllGeometryQueryTypes() {
1858
+ const result = [];
1859
+ const pointA = Point3d.create(0, 0, 0);
1860
+ const pointB = Point3d.create(1, 0, 0);
1861
+ const pointC = Point3d.create(1, 1, 0);
1862
+ const pointD = Point3d.create(0, 1, 0);
1863
+ const pointABC = [pointA, pointB, pointC];
1864
+ const pointABCD = [pointA, pointB, pointC, pointD];
1865
+ const pointABCDA = [pointA, pointB, pointC, pointD, pointA];
1866
+ result.push(LineSegment3d.create(pointA, pointB));
1867
+ result.push(CoordinateXYZ.create(pointA));
1868
+ result.push(Arc3d.createCircularStartMiddleEnd(pointA, pointB, pointC));
1869
+ result.push(PointString3d.create(pointA, pointB));
1870
+ result.push(IntegratedSpiral3d.createRadiusRadiusBearingBearing(Segment1d.create(0, 100), AngleSweep.createStartEndDegrees(0, 5), Segment1d.create(0, 0.5), Transform.createIdentity()));
1871
+ result.push(LineString3d.create(pointABCD));
1872
+ result.push(BezierCurve3d.create(pointABC));
1873
+ result.push(BezierCurve3dH.create(pointABC));
1874
+ result.push(BSplineCurve3d.createUniformKnots(pointABC, 3));
1875
+ result.push(BSplineCurve3dH.createUniformKnots(pointABC, 3));
1876
+ result.push(Loop.create(LineString3d.create(pointABCDA)));
1877
+ result.push(Path.create(LineString3d.create(pointABCD)));
1878
+ result.push(this.createConeBsplineSurface(pointA, pointC, 1, 2, 4));
1879
+ result.push(this.createXYGridBsplineSurface(8, 4, 4, 3));
1880
+ this.appendGeometry(this.createClosedSolidSampler(true), result);
1881
+ result.push(this.createTriangularUnitGridPolyface(pointA, Vector3d.unitX(), Vector3d.unitY(), 4, 5));
1882
+ result.push(this.createTriangularUnitGridPolyface(pointA, Vector3d.unitX(), Vector3d.unitY(), 4, 5, true, true, true, false));
1883
+ this.appendGeometry(this.createSimpleParityRegions(), result);
1884
+ this.appendGeometry(this.createSimpleUnions(), result);
1885
+ this.appendGeometry(this.createBagOfCurves(), result);
1886
+ return result;
1887
+ }
1888
+ /** Create points on a sine wave
1889
+ * Point i is origin + (i * xStep, a *sin(theta0 + i * dTheta), b * sin(beta0 + i * dBeta))
1890
+ * * Default b is zero, so it is a simple sine wave
1891
+ * * If the dTheta and dBeta are equal, it is a sine wave in a tilted plane.
1892
+ * * If dTheta and dBeta are different it is a non-planar curve
1893
+ */
1894
+ static createPointSineWave(origin, numInterval = 24, xStep = Math.PI / 12, a = 1, thetaSweep = AngleSweep.createStartEndDegrees(0, 360), b = 0, betaSweep = AngleSweep.createStartEndDegrees(0, 180)) {
1895
+ return this.createPointsByIndexFunctions(numInterval, SteppedIndexFunctionFactory.createLinear(xStep, origin ? origin.x : 0), SteppedIndexFunctionFactory.createCosine(a, thetaSweep, origin ? origin.y : 0), SteppedIndexFunctionFactory.createCosine(b, betaSweep, origin ? origin.z : 0));
1896
+ }
1897
+ /** Create points with x,y,z independent functions of i and numInterval,
1898
+ * Point3d.create (fx(i,numInterval), fy(i,numInterval), fz(i, numInterval));
1899
+ */
1900
+ static createPointsByIndexFunctions(numInterval, fx, fy, fz) {
1901
+ const points = [];
1902
+ if (numInterval > 0) {
1903
+ for (let i = 0; i <= numInterval; i++) {
1904
+ points.push(Point3d.create(fx(i, numInterval), fy(i, numInterval), fz ? fz(i, numInterval) : 0));
1905
+ }
1906
+ }
1907
+ return points;
1908
+ }
1909
+ /**
1910
+ * Add an AuxData (with multiple AuxChannelData) using data evaluated by a function of input and xyz.
1911
+ * @param data existing polyface data object to receive the additional AuxChannel
1912
+ * @param channelIndex
1913
+ * @param name name of channel
1914
+ * @param inputName name of input
1915
+ * @param input0 input value for channel 0
1916
+ * @param inputStep step between inputs (channels)
1917
+ * @param numInput number of channels (inputs)
1918
+ * @param dataType
1919
+ * @param scalarFunction function to return the scalar value at (input, point)
1920
+ */
1921
+ static addAuxDataScalarChannel(data, channelIndex, name, inputName, input0, inputStep, numInput, dataType, scalarFunction) {
1922
+ if (!data.auxData)
1923
+ data.auxData = new PolyfaceAuxData([], []);
1924
+ const channelDataArray = [];
1925
+ const xyz = Point3d.create();
1926
+ for (let i = 0; i < numInput; i++) {
1927
+ const input = input0 + i * inputStep;
1928
+ const values = [];
1929
+ for (let k = 0; k < data.point.length; k++) {
1930
+ data.point.getPoint3dAtUncheckedPointIndex(k, xyz);
1931
+ values.push(scalarFunction(input, xyz));
1932
+ }
1933
+ channelDataArray.push(new AuxChannelData(input, values));
1934
+ }
1935
+ const channel = new AuxChannel(channelDataArray, dataType, name, inputName);
1936
+ for (const _q of data.pointIndex) {
1937
+ data.auxData.indices.push(channelIndex);
1938
+ }
1939
+ data.auxData.channels.push(channel);
1940
+ }
1941
+ /**
1942
+ * Create a mesh between concentric arcs
1943
+ * @param edgesPerQuadrant edges per 90 degrees
1944
+ * @param center arc center
1945
+ * @param r0 first radius
1946
+ * @param r1 second radius
1947
+ * @param theta0 start angle
1948
+ * @param theta1 end angle.
1949
+ * @returns
1950
+ */
1951
+ static createMeshInAnnulus(edgesPerQuadrant, center, r0, r1, theta0, theta1) {
1952
+ const point0 = [];
1953
+ const point1 = [];
1954
+ if (edgesPerQuadrant < 1)
1955
+ edgesPerQuadrant = 1;
1956
+ let edgeCount = Math.ceil(edgesPerQuadrant * (theta1.degrees - theta0.degrees) / 90);
1957
+ if (edgeCount < 1)
1958
+ edgeCount = 1;
1959
+ for (let i = 0; i <= edgeCount; i++) {
1960
+ const theta = Angle.createInterpolate(theta0, i / edgeCount, theta1);
1961
+ point0.push(center.plusXYZ(r0 * theta.cos(), r0 * theta.sin(), 0));
1962
+ point1.push(center.plusXYZ(r1 * theta.cos(), r1 * theta.sin(), 0));
1963
+ }
1964
+ point1.reverse();
1965
+ const builder = PolyfaceBuilder.create();
1966
+ builder.addGreedyTriangulationBetweenLineStrings(point0, point1);
1967
+ return builder.claimPolyface();
1968
+ }
1969
+ /**
1970
+ * create strokes on an arc at radius r0, then returning at radius r1.
1971
+ */
1972
+ static createAnnulusPolyline(edgesPerQuadrant, center, r0, r1, theta0, theta1, addClosure) {
1973
+ const point0 = [];
1974
+ const point1 = [];
1975
+ if (edgesPerQuadrant < 1)
1976
+ edgesPerQuadrant = 1;
1977
+ let edgeCount = Math.ceil(edgesPerQuadrant * (theta1.degrees - theta0.degrees) / 90);
1978
+ if (edgeCount < 1)
1979
+ edgeCount = 1;
1980
+ for (let i = 0; i <= edgeCount; i++) {
1981
+ const theta = Angle.createInterpolate(theta0, i / edgeCount, theta1);
1982
+ point0.push(center.plusXYZ(r0 * theta.cos(), r0 * theta.sin(), 0));
1983
+ point1.push(center.plusXYZ(r1 * theta.cos(), r1 * theta.sin(), 0));
1984
+ }
1985
+ while (point1.length > 0)
1986
+ point0.push(point1.pop());
1987
+ if (addClosure)
1988
+ point0.push(point0[0].clone());
1989
+ return point0;
1990
+ }
1991
+ /**
1992
+ * Return an array of points on a circular arc.
1993
+ * @param edgesPerQuadrant number of edges per 90 degrees
1994
+ * @param center arc center
1995
+ * @param r0 arc radius
1996
+ * @param theta0 start angle
1997
+ * @param theta1 end angle
1998
+ * @param addClosure true to add a closure stroke
1999
+ * @returns
2000
+ */
2001
+ static createArcStrokes(edgesPerQuadrant, center, r0, theta0, theta1, addClosure = true, z = 0) {
2002
+ const point0 = [];
2003
+ if (edgesPerQuadrant < 1)
2004
+ edgesPerQuadrant = 1;
2005
+ let edgeCount = Math.ceil(edgesPerQuadrant * (theta1.degrees - theta0.degrees) / 90);
2006
+ if (edgeCount < 1)
2007
+ edgeCount = 1;
2008
+ for (let i = 0; i <= edgeCount; i++) {
2009
+ const theta = Angle.createInterpolate(theta0, i / edgeCount, theta1);
2010
+ point0.push(center.plusXYZ(r0 * theta.cos(), r0 * theta.sin(), z));
2011
+ }
2012
+ if (addClosure)
2013
+ point0.push(point0[0].clone());
2014
+ return point0;
2015
+ }
2016
+ }
2017
+ /** Array with assorted Point2d samples */
2018
+ Sample.point2d = [
2019
+ Point2d.create(0, 0),
2020
+ Point2d.create(1, 0),
2021
+ Point2d.create(0, 1),
2022
+ Point2d.create(2, 3)
2023
+ ];
2024
+ /** Array with assorted Point3d samples */
2025
+ Sample.point3d = [
2026
+ Point3d.create(0, 0, 0),
2027
+ Point3d.create(1, 0, 0),
2028
+ Point3d.create(0, 1, 0),
2029
+ Point3d.create(0, 1, 0),
2030
+ Point3d.create(0, 0, 1),
2031
+ Point3d.create(2, 3, 0),
2032
+ Point3d.create(0, 2, 5),
2033
+ Point3d.create(-3, 0, 5),
2034
+ Point3d.create(4, 3, -2)
2035
+ ];
2036
+ /** Array with assorted Point4d samples */
2037
+ Sample.point4d = [
2038
+ Point4d.create(0, 0, 0, 1),
2039
+ Point4d.create(1, 0, 0, 1),
2040
+ Point4d.create(0, 1, 0, 1),
2041
+ Point4d.create(0, 1, 0, 1),
2042
+ Point4d.create(0, 0, 1, 1),
2043
+ Point4d.create(2, 3, 0, 1),
2044
+ Point4d.create(0, 2, 5, 1),
2045
+ Point4d.create(-3, 0, 5, 1),
2046
+ Point4d.create(-3, 0, 5, 0.3),
2047
+ Point4d.create(-3, 0, 5, -0.2),
2048
+ Point4d.create(4, 3, -2, 1)
2049
+ ];
2050
+ /** Array with assorted nonzero Vector2d samples */
2051
+ Sample.vector2d = [
2052
+ Vector2d.create(1, 0),
2053
+ Vector2d.create(0, 1),
2054
+ Vector2d.create(0, 0),
2055
+ Vector2d.create(-1, 0),
2056
+ Vector2d.create(0, -1),
2057
+ Vector2d.create(0, 0),
2058
+ Vector2d.createPolar(1.0, Angle.createDegrees(20)),
2059
+ Vector2d.createPolar(2.0, Angle.createDegrees(20)),
2060
+ Vector2d.create(2, 3)
2061
+ ];
2062
+ /** Assorted Plane3dBYOriginAndUnitNormal */
2063
+ Sample.plane3dByOriginAndUnitNormal = [
2064
+ Plane3dByOriginAndUnitNormal.createXYPlane(),
2065
+ Plane3dByOriginAndUnitNormal.createYZPlane(),
2066
+ Plane3dByOriginAndUnitNormal.createZXPlane(),
2067
+ Sample.createPlane(0, 0, 0, 3, 0, 1),
2068
+ Sample.createPlane(1, 2, 3, 2, 4, -1)
2069
+ ];
2070
+ /** Assorted Ray3d, not all unit direction vectors. */
2071
+ Sample.ray3d = [
2072
+ Sample.createRay(0, 0, 0, 1, 0, 0),
2073
+ Sample.createRay(0, 0, 0, 0, 1, 0),
2074
+ Sample.createRay(0, 0, 0, 0, 0, 1),
2075
+ Sample.createRay(0, 0, 0, 1, 2, 0),
2076
+ Sample.createRay(1, 2, 3, 4, 2, -1)
2077
+ ];
2078
+ /** Assorted angles. All principal directions, some others included. */
2079
+ Sample.angle = [
2080
+ Angle.createDegrees(0),
2081
+ Angle.createDegrees(90),
2082
+ Angle.createDegrees(180),
2083
+ Angle.createDegrees(-90),
2084
+ Angle.createDegrees(30),
2085
+ Angle.createDegrees(-105)
2086
+ ];
2087
+ /** Assorted angle sweeps */
2088
+ Sample.angleSweep = [
2089
+ AngleSweep.createStartEndDegrees(0, 90),
2090
+ AngleSweep.createStartEndDegrees(0, 180),
2091
+ AngleSweep.createStartEndDegrees(-90, 0),
2092
+ AngleSweep.createStartEndDegrees(0, -90),
2093
+ AngleSweep.createStartEndDegrees(0, 30),
2094
+ AngleSweep.createStartEndDegrees(45, 110)
2095
+ ];
2096
+ /** assorted line segments */
2097
+ Sample.lineSegment3d = [
2098
+ LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(1, 0, 0)),
2099
+ LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(0, 1, 0)),
2100
+ LineSegment3d.create(Point3d.create(0, 0, 0), Point3d.create(0, 0, 1)),
2101
+ LineSegment3d.create(Point3d.create(1, 2, 3), Point3d.create(-2, -3, 0.5))
2102
+ ];
2103
+ /** Assorted Range1d: single point, null, simple forward, simple reverse */
2104
+ Sample.range1d = [
2105
+ Range1d.createX(1),
2106
+ Range1d.createNull(),
2107
+ Range1d.createXX(1, 2),
2108
+ Range1d.createXX(2, 1)
2109
+ ];
2110
+ /** Assorted range2d: single point, null, 2 point with various creation orders. */
2111
+ Sample.range2d = [
2112
+ Range2d.createXY(1, 2),
2113
+ Range2d.createNull(),
2114
+ Range2d.createXYXY(1, 2, 0, 3),
2115
+ Range2d.createXYXY(1, 2, 3, 4)
2116
+ ];
2117
+ /** Assorted range2d: single point, null, 2 point with various creation orders. */
2118
+ Sample.range3d = [
2119
+ Range3d.createXYZ(1, 2, 3),
2120
+ Range3d.createNull(),
2121
+ Range3d.createXYZXYZ(1, 2, 0, 3, 4, 7),
2122
+ Range3d.createXYZXYZ(1, 2, 3, -2, -4, -1)
2123
+ ];
2124
+ //# sourceMappingURL=GeometrySamples.js.map