@itwin/core-geometry 5.5.0-dev.4 → 5.5.0-dev.6

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 (611) hide show
  1. package/lib/cjs/Geometry.d.ts +7 -0
  2. package/lib/cjs/Geometry.d.ts.map +1 -1
  3. package/lib/cjs/Geometry.js +9 -0
  4. package/lib/cjs/Geometry.js.map +1 -1
  5. package/lib/cjs/bspline/BSplineCurve.d.ts.map +1 -1
  6. package/lib/cjs/bspline/BSplineCurve.js +2 -1
  7. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  8. package/lib/cjs/bspline/BSplineCurveOps.d.ts.map +1 -1
  9. package/lib/cjs/bspline/BSplineCurveOps.js +4 -1
  10. package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -1
  11. package/lib/cjs/bspline/BezierCurve3d.d.ts.map +1 -1
  12. package/lib/cjs/bspline/BezierCurve3d.js +14 -4
  13. package/lib/cjs/bspline/BezierCurve3d.js.map +1 -1
  14. package/lib/cjs/bspline/BezierCurve3dH.d.ts +2 -0
  15. package/lib/cjs/bspline/BezierCurve3dH.d.ts.map +1 -1
  16. package/lib/cjs/bspline/BezierCurve3dH.js +19 -3
  17. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -1
  18. package/lib/cjs/bspline/BezierCurveBase.d.ts +8 -2
  19. package/lib/cjs/bspline/BezierCurveBase.d.ts.map +1 -1
  20. package/lib/cjs/bspline/BezierCurveBase.js +10 -4
  21. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -1
  22. package/lib/cjs/clipping/AlternatingConvexClipTree.js +4 -4
  23. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  24. package/lib/cjs/clipping/ClipPlane.d.ts +0 -3
  25. package/lib/cjs/clipping/ClipPlane.d.ts.map +1 -1
  26. package/lib/cjs/clipping/ClipPlane.js +9 -2
  27. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  28. package/lib/cjs/clipping/ClipPrimitive.d.ts +59 -9
  29. package/lib/cjs/clipping/ClipPrimitive.d.ts.map +1 -1
  30. package/lib/cjs/clipping/ClipPrimitive.js +124 -55
  31. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -1
  32. package/lib/cjs/clipping/ClipUtils.js +1 -1
  33. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  34. package/lib/cjs/clipping/ClipVector.d.ts.map +1 -1
  35. package/lib/cjs/clipping/ClipVector.js +12 -8
  36. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  37. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts +0 -2
  38. package/lib/cjs/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  39. package/lib/cjs/clipping/ConvexClipPlaneSet.js +19 -18
  40. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  41. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +1 -1
  42. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -1
  43. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js +4 -5
  44. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  45. package/lib/cjs/core-geometry.d.ts +0 -1
  46. package/lib/cjs/core-geometry.d.ts.map +1 -1
  47. package/lib/cjs/core-geometry.js +0 -1
  48. package/lib/cjs/core-geometry.js.map +1 -1
  49. package/lib/cjs/curve/Arc3d.js +2 -2
  50. package/lib/cjs/curve/Arc3d.js.map +1 -1
  51. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts +12 -4
  52. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  53. package/lib/cjs/curve/CurveChainWithDistanceIndex.js +52 -33
  54. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  55. package/lib/cjs/curve/CurveCollection.d.ts.map +1 -1
  56. package/lib/cjs/curve/CurveCollection.js +13 -6
  57. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  58. package/lib/cjs/curve/CurveCurve.js +1 -1
  59. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  60. package/lib/cjs/curve/CurveFactory.d.ts.map +1 -1
  61. package/lib/cjs/curve/CurveFactory.js +13 -1
  62. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  63. package/lib/cjs/curve/CurveLocationDetail.d.ts +12 -4
  64. package/lib/cjs/curve/CurveLocationDetail.d.ts.map +1 -1
  65. package/lib/cjs/curve/CurveLocationDetail.js +14 -5
  66. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  67. package/lib/cjs/curve/CurvePrimitive.d.ts +5 -4
  68. package/lib/cjs/curve/CurvePrimitive.d.ts.map +1 -1
  69. package/lib/cjs/curve/CurvePrimitive.js +7 -4
  70. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  71. package/lib/cjs/curve/LineString3d.d.ts +25 -16
  72. package/lib/cjs/curve/LineString3d.d.ts.map +1 -1
  73. package/lib/cjs/curve/LineString3d.js +90 -72
  74. package/lib/cjs/curve/LineString3d.js.map +1 -1
  75. package/lib/cjs/curve/Path.d.ts +0 -3
  76. package/lib/cjs/curve/Path.d.ts.map +1 -1
  77. package/lib/cjs/curve/Path.js +9 -2
  78. package/lib/cjs/curve/Path.js.map +1 -1
  79. package/lib/cjs/curve/Query/InOutTests.js.map +1 -1
  80. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  81. package/lib/cjs/curve/Query/PlanarSubdivision.js +25 -31
  82. package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -1
  83. package/lib/cjs/curve/Query/StrokeCountChain.d.ts +7 -1
  84. package/lib/cjs/curve/Query/StrokeCountChain.d.ts.map +1 -1
  85. package/lib/cjs/curve/Query/StrokeCountChain.js +27 -36
  86. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -1
  87. package/lib/cjs/curve/RegionMomentsXY.d.ts.map +1 -1
  88. package/lib/cjs/curve/RegionMomentsXY.js +7 -1
  89. package/lib/cjs/curve/RegionMomentsXY.js.map +1 -1
  90. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  91. package/lib/cjs/curve/RegionOps.js +8 -5
  92. package/lib/cjs/curve/RegionOps.js.map +1 -1
  93. package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  94. package/lib/cjs/curve/RegionOpsClassificationSweeps.js +6 -6
  95. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  96. package/lib/cjs/curve/internalContexts/AnnounceTangentStrokeHandler.d.ts.map +1 -1
  97. package/lib/cjs/curve/internalContexts/AnnounceTangentStrokeHandler.js +4 -1
  98. package/lib/cjs/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  99. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.d.ts.map +1 -1
  100. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js +6 -1
  101. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  102. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +5 -21
  103. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
  104. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js +29 -73
  105. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  106. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts +55 -13
  107. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  108. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js +238 -110
  109. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  110. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js +1 -1
  111. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  112. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts +1 -4
  113. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  114. package/lib/cjs/curve/spiral/DirectSpiral3d.js +9 -9
  115. package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -1
  116. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts +11 -14
  117. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  118. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +18 -18
  119. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  120. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts +7 -1
  121. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  122. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  123. package/lib/cjs/geometry3d/Ellipsoid.d.ts +19 -7
  124. package/lib/cjs/geometry3d/Ellipsoid.d.ts.map +1 -1
  125. package/lib/cjs/geometry3d/Ellipsoid.js +26 -11
  126. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -1
  127. package/lib/cjs/geometry3d/FrustumAnimation.d.ts.map +1 -1
  128. package/lib/cjs/geometry3d/FrustumAnimation.js +11 -1
  129. package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -1
  130. package/lib/cjs/geometry3d/GrowableFloat64Array.d.ts +5 -1
  131. package/lib/cjs/geometry3d/GrowableFloat64Array.d.ts.map +1 -1
  132. package/lib/cjs/geometry3d/GrowableFloat64Array.js +11 -1
  133. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -1
  134. package/lib/cjs/geometry3d/GrowableXYArray.d.ts +1 -1
  135. package/lib/cjs/geometry3d/GrowableXYArray.js +1 -1
  136. package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -1
  137. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts +49 -8
  138. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  139. package/lib/cjs/geometry3d/GrowableXYZArray.js +90 -37
  140. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -1
  141. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts +100 -3
  142. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  143. package/lib/cjs/geometry3d/IndexedXYZCollection.js +125 -0
  144. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -1
  145. package/lib/cjs/geometry3d/Matrix3d.d.ts +10 -1
  146. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
  147. package/lib/cjs/geometry3d/Matrix3d.js +53 -34
  148. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  149. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js +1 -1
  150. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  151. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts +49 -2
  152. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  153. package/lib/cjs/geometry3d/Point3dArrayCarrier.js +67 -9
  154. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  155. package/lib/cjs/geometry3d/Point3dVector3d.d.ts +1 -1
  156. package/lib/cjs/geometry3d/Point3dVector3d.js +1 -1
  157. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  158. package/lib/cjs/geometry3d/PointStreaming.js +1 -1
  159. package/lib/cjs/geometry3d/PointStreaming.js.map +1 -1
  160. package/lib/cjs/geometry3d/PolygonOps.d.ts +24 -32
  161. package/lib/cjs/geometry3d/PolygonOps.d.ts.map +1 -1
  162. package/lib/cjs/geometry3d/PolygonOps.js +147 -180
  163. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  164. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js +5 -5
  165. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  166. package/lib/cjs/geometry3d/PolylineOps.d.ts.map +1 -1
  167. package/lib/cjs/geometry3d/PolylineOps.js +13 -3
  168. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -1
  169. package/lib/cjs/geometry3d/Range.js.map +1 -1
  170. package/lib/cjs/geometry3d/Ray3d.d.ts +0 -3
  171. package/lib/cjs/geometry3d/Ray3d.d.ts.map +1 -1
  172. package/lib/cjs/geometry3d/Ray3d.js +5 -1
  173. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  174. package/lib/cjs/geometry3d/SortablePolygon.d.ts +2 -2
  175. package/lib/cjs/geometry3d/SortablePolygon.d.ts.map +1 -1
  176. package/lib/cjs/geometry3d/SortablePolygon.js +14 -18
  177. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -1
  178. package/lib/cjs/geometry3d/Transform.d.ts +8 -0
  179. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -1
  180. package/lib/cjs/geometry3d/Transform.js +15 -9
  181. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  182. package/lib/cjs/numerics/ClusterableArray.d.ts +4 -2
  183. package/lib/cjs/numerics/ClusterableArray.d.ts.map +1 -1
  184. package/lib/cjs/numerics/ClusterableArray.js +6 -4
  185. package/lib/cjs/numerics/ClusterableArray.js.map +1 -1
  186. package/lib/cjs/numerics/Newton.d.ts +3 -1
  187. package/lib/cjs/numerics/Newton.d.ts.map +1 -1
  188. package/lib/cjs/numerics/Newton.js +5 -1
  189. package/lib/cjs/numerics/Newton.js.map +1 -1
  190. package/lib/cjs/polyface/AuxData.d.ts +1 -4
  191. package/lib/cjs/polyface/AuxData.d.ts.map +1 -1
  192. package/lib/cjs/polyface/AuxData.js +5 -1
  193. package/lib/cjs/polyface/AuxData.js.map +1 -1
  194. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js +3 -3
  195. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  196. package/lib/cjs/polyface/Polyface.d.ts.map +1 -1
  197. package/lib/cjs/polyface/Polyface.js +14 -16
  198. package/lib/cjs/polyface/Polyface.js.map +1 -1
  199. package/lib/cjs/polyface/PolyfaceBuilder.d.ts +84 -28
  200. package/lib/cjs/polyface/PolyfaceBuilder.d.ts.map +1 -1
  201. package/lib/cjs/polyface/PolyfaceBuilder.js +277 -217
  202. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  203. package/lib/cjs/polyface/PolyfaceClip.d.ts +4 -3
  204. package/lib/cjs/polyface/PolyfaceClip.d.ts.map +1 -1
  205. package/lib/cjs/polyface/PolyfaceClip.js +11 -4
  206. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
  207. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  208. package/lib/cjs/polyface/PolyfaceQuery.d.ts.map +1 -1
  209. package/lib/cjs/polyface/PolyfaceQuery.js +9 -7
  210. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  211. package/lib/cjs/polyface/RangeTree/LineString3dRangeTreeContext.d.ts.map +1 -1
  212. package/lib/cjs/polyface/RangeTree/LineString3dRangeTreeContext.js +3 -2
  213. package/lib/cjs/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  214. package/lib/cjs/polyface/RangeTree/RangeTreeNode.d.ts +1 -1
  215. package/lib/cjs/polyface/RangeTree/RangeTreeNode.js +2 -2
  216. package/lib/cjs/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  217. package/lib/cjs/polyface/RangeTree/RangeTreeSearchHandlers.d.ts.map +1 -1
  218. package/lib/cjs/polyface/RangeTree/RangeTreeSearchHandlers.js +14 -12
  219. package/lib/cjs/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  220. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.d.ts +1 -1
  221. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -1
  222. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js +10 -6
  223. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  224. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js +4 -3
  225. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  226. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -1
  227. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js +3 -5
  228. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  229. package/lib/cjs/polyface/multiclip/XYPointBuckets.d.ts +1 -1
  230. package/lib/cjs/polyface/multiclip/XYPointBuckets.d.ts.map +1 -1
  231. package/lib/cjs/polyface/multiclip/XYPointBuckets.js +4 -8
  232. package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -1
  233. package/lib/cjs/serialization/BGFBAccessors.d.ts.map +1 -1
  234. package/lib/cjs/serialization/BGFBAccessors.js +1 -0
  235. package/lib/cjs/serialization/BGFBAccessors.js.map +1 -1
  236. package/lib/cjs/serialization/BGFBReader.d.ts.map +1 -1
  237. package/lib/cjs/serialization/BGFBReader.js +37 -7
  238. package/lib/cjs/serialization/BGFBReader.js.map +1 -1
  239. package/lib/cjs/serialization/BGFBWriter.d.ts +4 -4
  240. package/lib/cjs/serialization/BGFBWriter.d.ts.map +1 -1
  241. package/lib/cjs/serialization/BGFBWriter.js +24 -40
  242. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  243. package/lib/cjs/serialization/IModelJsonSchema.d.ts.map +1 -1
  244. package/lib/cjs/serialization/IModelJsonSchema.js +9 -3
  245. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  246. package/lib/cjs/serialization/SerializationHelpers.d.ts +0 -3
  247. package/lib/cjs/serialization/SerializationHelpers.d.ts.map +1 -1
  248. package/lib/cjs/serialization/SerializationHelpers.js +16 -7
  249. package/lib/cjs/serialization/SerializationHelpers.js.map +1 -1
  250. package/lib/cjs/solid/Box.d.ts +2 -2
  251. package/lib/cjs/solid/Box.d.ts.map +1 -1
  252. package/lib/cjs/solid/Box.js.map +1 -1
  253. package/lib/cjs/solid/Cone.d.ts +3 -2
  254. package/lib/cjs/solid/Cone.d.ts.map +1 -1
  255. package/lib/cjs/solid/Cone.js +4 -1
  256. package/lib/cjs/solid/Cone.js.map +1 -1
  257. package/lib/cjs/solid/LinearSweep.d.ts +1 -1
  258. package/lib/cjs/solid/LinearSweep.d.ts.map +1 -1
  259. package/lib/cjs/solid/LinearSweep.js +1 -1
  260. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  261. package/lib/cjs/solid/RotationalSweep.d.ts.map +1 -1
  262. package/lib/cjs/solid/RotationalSweep.js +1 -3
  263. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  264. package/lib/cjs/solid/TorusPipe.d.ts +4 -3
  265. package/lib/cjs/solid/TorusPipe.d.ts.map +1 -1
  266. package/lib/cjs/solid/TorusPipe.js.map +1 -1
  267. package/lib/cjs/topology/ChainMerge.d.ts +4 -4
  268. package/lib/cjs/topology/ChainMerge.d.ts.map +1 -1
  269. package/lib/cjs/topology/ChainMerge.js +11 -1
  270. package/lib/cjs/topology/ChainMerge.js.map +1 -1
  271. package/lib/cjs/topology/Graph.d.ts +2 -0
  272. package/lib/cjs/topology/Graph.d.ts.map +1 -1
  273. package/lib/cjs/topology/Graph.js +5 -0
  274. package/lib/cjs/topology/Graph.js.map +1 -1
  275. package/lib/cjs/topology/HalfEdgeGraphSearch.d.ts.map +1 -1
  276. package/lib/cjs/topology/HalfEdgeGraphSearch.js +2 -0
  277. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -1
  278. package/lib/cjs/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -1
  279. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js +23 -16
  280. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  281. package/lib/cjs/topology/HalfEdgePositionDetail.d.ts +20 -9
  282. package/lib/cjs/topology/HalfEdgePositionDetail.d.ts.map +1 -1
  283. package/lib/cjs/topology/HalfEdgePositionDetail.js +17 -13
  284. package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -1
  285. package/lib/cjs/topology/HalfEdgePriorityQueue.d.ts.map +1 -1
  286. package/lib/cjs/topology/HalfEdgePriorityQueue.js +3 -1
  287. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -1
  288. package/lib/cjs/topology/InsertAndRetriangulateContext.d.ts +6 -2
  289. package/lib/cjs/topology/InsertAndRetriangulateContext.d.ts.map +1 -1
  290. package/lib/cjs/topology/InsertAndRetriangulateContext.js +41 -35
  291. package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -1
  292. package/lib/cjs/topology/MaskManager.d.ts +7 -3
  293. package/lib/cjs/topology/MaskManager.d.ts.map +1 -1
  294. package/lib/cjs/topology/MaskManager.js +10 -4
  295. package/lib/cjs/topology/MaskManager.js.map +1 -1
  296. package/lib/cjs/topology/RegularizeFace.d.ts.map +1 -1
  297. package/lib/cjs/topology/RegularizeFace.js.map +1 -1
  298. package/lib/cjs/topology/Triangulation.d.ts +2 -1
  299. package/lib/cjs/topology/Triangulation.d.ts.map +1 -1
  300. package/lib/cjs/topology/Triangulation.js +12 -7
  301. package/lib/cjs/topology/Triangulation.js.map +1 -1
  302. package/lib/esm/Geometry.d.ts +7 -0
  303. package/lib/esm/Geometry.d.ts.map +1 -1
  304. package/lib/esm/Geometry.js +9 -0
  305. package/lib/esm/Geometry.js.map +1 -1
  306. package/lib/esm/bspline/BSplineCurve.d.ts.map +1 -1
  307. package/lib/esm/bspline/BSplineCurve.js +2 -1
  308. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  309. package/lib/esm/bspline/BSplineCurveOps.d.ts.map +1 -1
  310. package/lib/esm/bspline/BSplineCurveOps.js +4 -1
  311. package/lib/esm/bspline/BSplineCurveOps.js.map +1 -1
  312. package/lib/esm/bspline/BezierCurve3d.d.ts.map +1 -1
  313. package/lib/esm/bspline/BezierCurve3d.js +14 -4
  314. package/lib/esm/bspline/BezierCurve3d.js.map +1 -1
  315. package/lib/esm/bspline/BezierCurve3dH.d.ts +2 -0
  316. package/lib/esm/bspline/BezierCurve3dH.d.ts.map +1 -1
  317. package/lib/esm/bspline/BezierCurve3dH.js +19 -3
  318. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -1
  319. package/lib/esm/bspline/BezierCurveBase.d.ts +8 -2
  320. package/lib/esm/bspline/BezierCurveBase.d.ts.map +1 -1
  321. package/lib/esm/bspline/BezierCurveBase.js +10 -4
  322. package/lib/esm/bspline/BezierCurveBase.js.map +1 -1
  323. package/lib/esm/clipping/AlternatingConvexClipTree.js +4 -4
  324. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  325. package/lib/esm/clipping/ClipPlane.d.ts +0 -3
  326. package/lib/esm/clipping/ClipPlane.d.ts.map +1 -1
  327. package/lib/esm/clipping/ClipPlane.js +9 -2
  328. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  329. package/lib/esm/clipping/ClipPrimitive.d.ts +59 -9
  330. package/lib/esm/clipping/ClipPrimitive.d.ts.map +1 -1
  331. package/lib/esm/clipping/ClipPrimitive.js +124 -55
  332. package/lib/esm/clipping/ClipPrimitive.js.map +1 -1
  333. package/lib/esm/clipping/ClipUtils.js +1 -1
  334. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  335. package/lib/esm/clipping/ClipVector.d.ts.map +1 -1
  336. package/lib/esm/clipping/ClipVector.js +12 -8
  337. package/lib/esm/clipping/ClipVector.js.map +1 -1
  338. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts +0 -2
  339. package/lib/esm/clipping/ConvexClipPlaneSet.d.ts.map +1 -1
  340. package/lib/esm/clipping/ConvexClipPlaneSet.js +20 -19
  341. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  342. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts +1 -1
  343. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.d.ts.map +1 -1
  344. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js +4 -5
  345. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  346. package/lib/esm/core-geometry.d.ts +0 -1
  347. package/lib/esm/core-geometry.d.ts.map +1 -1
  348. package/lib/esm/core-geometry.js +0 -1
  349. package/lib/esm/core-geometry.js.map +1 -1
  350. package/lib/esm/curve/Arc3d.js +2 -2
  351. package/lib/esm/curve/Arc3d.js.map +1 -1
  352. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +12 -4
  353. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  354. package/lib/esm/curve/CurveChainWithDistanceIndex.js +53 -34
  355. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  356. package/lib/esm/curve/CurveCollection.d.ts.map +1 -1
  357. package/lib/esm/curve/CurveCollection.js +13 -6
  358. package/lib/esm/curve/CurveCollection.js.map +1 -1
  359. package/lib/esm/curve/CurveCurve.js +1 -1
  360. package/lib/esm/curve/CurveCurve.js.map +1 -1
  361. package/lib/esm/curve/CurveFactory.d.ts.map +1 -1
  362. package/lib/esm/curve/CurveFactory.js +13 -1
  363. package/lib/esm/curve/CurveFactory.js.map +1 -1
  364. package/lib/esm/curve/CurveLocationDetail.d.ts +12 -4
  365. package/lib/esm/curve/CurveLocationDetail.d.ts.map +1 -1
  366. package/lib/esm/curve/CurveLocationDetail.js +14 -5
  367. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  368. package/lib/esm/curve/CurvePrimitive.d.ts +5 -4
  369. package/lib/esm/curve/CurvePrimitive.d.ts.map +1 -1
  370. package/lib/esm/curve/CurvePrimitive.js +7 -4
  371. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  372. package/lib/esm/curve/LineString3d.d.ts +25 -16
  373. package/lib/esm/curve/LineString3d.d.ts.map +1 -1
  374. package/lib/esm/curve/LineString3d.js +90 -72
  375. package/lib/esm/curve/LineString3d.js.map +1 -1
  376. package/lib/esm/curve/Path.d.ts +0 -3
  377. package/lib/esm/curve/Path.d.ts.map +1 -1
  378. package/lib/esm/curve/Path.js +9 -2
  379. package/lib/esm/curve/Path.js.map +1 -1
  380. package/lib/esm/curve/Query/InOutTests.js.map +1 -1
  381. package/lib/esm/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  382. package/lib/esm/curve/Query/PlanarSubdivision.js +25 -31
  383. package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -1
  384. package/lib/esm/curve/Query/StrokeCountChain.d.ts +7 -1
  385. package/lib/esm/curve/Query/StrokeCountChain.d.ts.map +1 -1
  386. package/lib/esm/curve/Query/StrokeCountChain.js +27 -36
  387. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -1
  388. package/lib/esm/curve/RegionMomentsXY.d.ts.map +1 -1
  389. package/lib/esm/curve/RegionMomentsXY.js +7 -1
  390. package/lib/esm/curve/RegionMomentsXY.js.map +1 -1
  391. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  392. package/lib/esm/curve/RegionOps.js +8 -5
  393. package/lib/esm/curve/RegionOps.js.map +1 -1
  394. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  395. package/lib/esm/curve/RegionOpsClassificationSweeps.js +6 -6
  396. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  397. package/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.d.ts.map +1 -1
  398. package/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js +4 -1
  399. package/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  400. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.d.ts.map +1 -1
  401. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js +6 -1
  402. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  403. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts +5 -21
  404. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.d.ts.map +1 -1
  405. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js +29 -73
  406. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  407. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts +55 -13
  408. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  409. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js +239 -111
  410. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  411. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js +1 -1
  412. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  413. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts +1 -4
  414. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  415. package/lib/esm/curve/spiral/DirectSpiral3d.js +9 -9
  416. package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -1
  417. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts +11 -14
  418. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  419. package/lib/esm/curve/spiral/IntegratedSpiral3d.js +18 -18
  420. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  421. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts +7 -1
  422. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  423. package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  424. package/lib/esm/geometry3d/Ellipsoid.d.ts +19 -7
  425. package/lib/esm/geometry3d/Ellipsoid.d.ts.map +1 -1
  426. package/lib/esm/geometry3d/Ellipsoid.js +26 -11
  427. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -1
  428. package/lib/esm/geometry3d/FrustumAnimation.d.ts.map +1 -1
  429. package/lib/esm/geometry3d/FrustumAnimation.js +11 -1
  430. package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -1
  431. package/lib/esm/geometry3d/GrowableFloat64Array.d.ts +5 -1
  432. package/lib/esm/geometry3d/GrowableFloat64Array.d.ts.map +1 -1
  433. package/lib/esm/geometry3d/GrowableFloat64Array.js +11 -1
  434. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -1
  435. package/lib/esm/geometry3d/GrowableXYArray.d.ts +1 -1
  436. package/lib/esm/geometry3d/GrowableXYArray.js +1 -1
  437. package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -1
  438. package/lib/esm/geometry3d/GrowableXYZArray.d.ts +49 -8
  439. package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  440. package/lib/esm/geometry3d/GrowableXYZArray.js +90 -37
  441. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -1
  442. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +100 -3
  443. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  444. package/lib/esm/geometry3d/IndexedXYZCollection.js +125 -0
  445. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -1
  446. package/lib/esm/geometry3d/Matrix3d.d.ts +10 -1
  447. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
  448. package/lib/esm/geometry3d/Matrix3d.js +53 -34
  449. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  450. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js +1 -1
  451. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  452. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts +49 -2
  453. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  454. package/lib/esm/geometry3d/Point3dArrayCarrier.js +67 -9
  455. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  456. package/lib/esm/geometry3d/Point3dVector3d.d.ts +1 -1
  457. package/lib/esm/geometry3d/Point3dVector3d.js +1 -1
  458. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  459. package/lib/esm/geometry3d/PointStreaming.js +1 -1
  460. package/lib/esm/geometry3d/PointStreaming.js.map +1 -1
  461. package/lib/esm/geometry3d/PolygonOps.d.ts +24 -32
  462. package/lib/esm/geometry3d/PolygonOps.d.ts.map +1 -1
  463. package/lib/esm/geometry3d/PolygonOps.js +147 -180
  464. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  465. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js +5 -5
  466. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  467. package/lib/esm/geometry3d/PolylineOps.d.ts.map +1 -1
  468. package/lib/esm/geometry3d/PolylineOps.js +13 -3
  469. package/lib/esm/geometry3d/PolylineOps.js.map +1 -1
  470. package/lib/esm/geometry3d/Range.js.map +1 -1
  471. package/lib/esm/geometry3d/Ray3d.d.ts +0 -3
  472. package/lib/esm/geometry3d/Ray3d.d.ts.map +1 -1
  473. package/lib/esm/geometry3d/Ray3d.js +5 -1
  474. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  475. package/lib/esm/geometry3d/SortablePolygon.d.ts +2 -2
  476. package/lib/esm/geometry3d/SortablePolygon.d.ts.map +1 -1
  477. package/lib/esm/geometry3d/SortablePolygon.js +14 -18
  478. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -1
  479. package/lib/esm/geometry3d/Transform.d.ts +8 -0
  480. package/lib/esm/geometry3d/Transform.d.ts.map +1 -1
  481. package/lib/esm/geometry3d/Transform.js +15 -9
  482. package/lib/esm/geometry3d/Transform.js.map +1 -1
  483. package/lib/esm/numerics/ClusterableArray.d.ts +4 -2
  484. package/lib/esm/numerics/ClusterableArray.d.ts.map +1 -1
  485. package/lib/esm/numerics/ClusterableArray.js +6 -4
  486. package/lib/esm/numerics/ClusterableArray.js.map +1 -1
  487. package/lib/esm/numerics/Newton.d.ts +3 -1
  488. package/lib/esm/numerics/Newton.d.ts.map +1 -1
  489. package/lib/esm/numerics/Newton.js +5 -1
  490. package/lib/esm/numerics/Newton.js.map +1 -1
  491. package/lib/esm/polyface/AuxData.d.ts +1 -4
  492. package/lib/esm/polyface/AuxData.d.ts.map +1 -1
  493. package/lib/esm/polyface/AuxData.js +5 -1
  494. package/lib/esm/polyface/AuxData.js.map +1 -1
  495. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js +3 -3
  496. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  497. package/lib/esm/polyface/Polyface.d.ts.map +1 -1
  498. package/lib/esm/polyface/Polyface.js +14 -16
  499. package/lib/esm/polyface/Polyface.js.map +1 -1
  500. package/lib/esm/polyface/PolyfaceBuilder.d.ts +84 -28
  501. package/lib/esm/polyface/PolyfaceBuilder.d.ts.map +1 -1
  502. package/lib/esm/polyface/PolyfaceBuilder.js +277 -217
  503. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  504. package/lib/esm/polyface/PolyfaceClip.d.ts +4 -3
  505. package/lib/esm/polyface/PolyfaceClip.d.ts.map +1 -1
  506. package/lib/esm/polyface/PolyfaceClip.js +11 -4
  507. package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
  508. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  509. package/lib/esm/polyface/PolyfaceQuery.d.ts.map +1 -1
  510. package/lib/esm/polyface/PolyfaceQuery.js +9 -7
  511. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  512. package/lib/esm/polyface/RangeTree/LineString3dRangeTreeContext.d.ts.map +1 -1
  513. package/lib/esm/polyface/RangeTree/LineString3dRangeTreeContext.js +3 -2
  514. package/lib/esm/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  515. package/lib/esm/polyface/RangeTree/RangeTreeNode.d.ts +1 -1
  516. package/lib/esm/polyface/RangeTree/RangeTreeNode.js +2 -2
  517. package/lib/esm/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  518. package/lib/esm/polyface/RangeTree/RangeTreeSearchHandlers.d.ts.map +1 -1
  519. package/lib/esm/polyface/RangeTree/RangeTreeSearchHandlers.js +14 -12
  520. package/lib/esm/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  521. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts +1 -1
  522. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.d.ts.map +1 -1
  523. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js +10 -6
  524. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  525. package/lib/esm/polyface/multiclip/OffsetMeshContext.js +4 -3
  526. package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  527. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.d.ts.map +1 -1
  528. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js +3 -5
  529. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  530. package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts +1 -1
  531. package/lib/esm/polyface/multiclip/XYPointBuckets.d.ts.map +1 -1
  532. package/lib/esm/polyface/multiclip/XYPointBuckets.js +4 -8
  533. package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -1
  534. package/lib/esm/serialization/BGFBAccessors.d.ts.map +1 -1
  535. package/lib/esm/serialization/BGFBAccessors.js +1 -0
  536. package/lib/esm/serialization/BGFBAccessors.js.map +1 -1
  537. package/lib/esm/serialization/BGFBReader.d.ts.map +1 -1
  538. package/lib/esm/serialization/BGFBReader.js +37 -7
  539. package/lib/esm/serialization/BGFBReader.js.map +1 -1
  540. package/lib/esm/serialization/BGFBWriter.d.ts +4 -4
  541. package/lib/esm/serialization/BGFBWriter.d.ts.map +1 -1
  542. package/lib/esm/serialization/BGFBWriter.js +24 -40
  543. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  544. package/lib/esm/serialization/IModelJsonSchema.d.ts.map +1 -1
  545. package/lib/esm/serialization/IModelJsonSchema.js +9 -3
  546. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  547. package/lib/esm/serialization/SerializationHelpers.d.ts +0 -3
  548. package/lib/esm/serialization/SerializationHelpers.d.ts.map +1 -1
  549. package/lib/esm/serialization/SerializationHelpers.js +16 -7
  550. package/lib/esm/serialization/SerializationHelpers.js.map +1 -1
  551. package/lib/esm/solid/Box.d.ts +2 -2
  552. package/lib/esm/solid/Box.d.ts.map +1 -1
  553. package/lib/esm/solid/Box.js.map +1 -1
  554. package/lib/esm/solid/Cone.d.ts +3 -2
  555. package/lib/esm/solid/Cone.d.ts.map +1 -1
  556. package/lib/esm/solid/Cone.js +4 -1
  557. package/lib/esm/solid/Cone.js.map +1 -1
  558. package/lib/esm/solid/LinearSweep.d.ts +1 -1
  559. package/lib/esm/solid/LinearSweep.d.ts.map +1 -1
  560. package/lib/esm/solid/LinearSweep.js +1 -1
  561. package/lib/esm/solid/LinearSweep.js.map +1 -1
  562. package/lib/esm/solid/RotationalSweep.d.ts.map +1 -1
  563. package/lib/esm/solid/RotationalSweep.js +1 -3
  564. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  565. package/lib/esm/solid/TorusPipe.d.ts +4 -3
  566. package/lib/esm/solid/TorusPipe.d.ts.map +1 -1
  567. package/lib/esm/solid/TorusPipe.js.map +1 -1
  568. package/lib/esm/topology/ChainMerge.d.ts +4 -4
  569. package/lib/esm/topology/ChainMerge.d.ts.map +1 -1
  570. package/lib/esm/topology/ChainMerge.js +11 -1
  571. package/lib/esm/topology/ChainMerge.js.map +1 -1
  572. package/lib/esm/topology/Graph.d.ts +2 -0
  573. package/lib/esm/topology/Graph.d.ts.map +1 -1
  574. package/lib/esm/topology/Graph.js +5 -0
  575. package/lib/esm/topology/Graph.js.map +1 -1
  576. package/lib/esm/topology/HalfEdgeGraphSearch.d.ts.map +1 -1
  577. package/lib/esm/topology/HalfEdgeGraphSearch.js +2 -0
  578. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -1
  579. package/lib/esm/topology/HalfEdgePointInGraphSearch.d.ts.map +1 -1
  580. package/lib/esm/topology/HalfEdgePointInGraphSearch.js +23 -16
  581. package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  582. package/lib/esm/topology/HalfEdgePositionDetail.d.ts +20 -9
  583. package/lib/esm/topology/HalfEdgePositionDetail.d.ts.map +1 -1
  584. package/lib/esm/topology/HalfEdgePositionDetail.js +17 -13
  585. package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -1
  586. package/lib/esm/topology/HalfEdgePriorityQueue.d.ts.map +1 -1
  587. package/lib/esm/topology/HalfEdgePriorityQueue.js +4 -2
  588. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -1
  589. package/lib/esm/topology/InsertAndRetriangulateContext.d.ts +6 -2
  590. package/lib/esm/topology/InsertAndRetriangulateContext.d.ts.map +1 -1
  591. package/lib/esm/topology/InsertAndRetriangulateContext.js +41 -35
  592. package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -1
  593. package/lib/esm/topology/MaskManager.d.ts +7 -3
  594. package/lib/esm/topology/MaskManager.d.ts.map +1 -1
  595. package/lib/esm/topology/MaskManager.js +10 -4
  596. package/lib/esm/topology/MaskManager.js.map +1 -1
  597. package/lib/esm/topology/RegularizeFace.d.ts.map +1 -1
  598. package/lib/esm/topology/RegularizeFace.js.map +1 -1
  599. package/lib/esm/topology/Triangulation.d.ts +2 -1
  600. package/lib/esm/topology/Triangulation.d.ts.map +1 -1
  601. package/lib/esm/topology/Triangulation.js +12 -7
  602. package/lib/esm/topology/Triangulation.js.map +1 -1
  603. package/package.json +3 -3
  604. package/lib/cjs/serialization/GeometrySamples.d.ts +0 -705
  605. package/lib/cjs/serialization/GeometrySamples.d.ts.map +0 -1
  606. package/lib/cjs/serialization/GeometrySamples.js +0 -2433
  607. package/lib/cjs/serialization/GeometrySamples.js.map +0 -1
  608. package/lib/esm/serialization/GeometrySamples.d.ts +0 -705
  609. package/lib/esm/serialization/GeometrySamples.d.ts.map +0 -1
  610. package/lib/esm/serialization/GeometrySamples.js +0 -2428
  611. package/lib/esm/serialization/GeometrySamples.js.map +0 -1
@@ -1,705 +0,0 @@
1
- import { BSplineCurve3d, BSplineCurve3dBase } from "../bspline/BSplineCurve";
2
- import { BSplineCurve3dH } from "../bspline/BSplineCurve3dH";
3
- import { BSplineSurface3d, BSplineSurface3dH } from "../bspline/BSplineSurface";
4
- import { ClipPlane } from "../clipping/ClipPlane";
5
- import { UnionOfConvexClipPlaneSets } from "../clipping/UnionOfConvexClipPlaneSets";
6
- import { Arc3d } from "../curve/Arc3d";
7
- import { CurveChainWithDistanceIndex } from "../curve/CurveChainWithDistanceIndex";
8
- import { BagOfCurves } from "../curve/CurveCollection";
9
- import { CurvePrimitive } from "../curve/CurvePrimitive";
10
- import { GeometryQuery } from "../curve/GeometryQuery";
11
- import { LineSegment3d } from "../curve/LineSegment3d";
12
- import { LineString3d } from "../curve/LineString3d";
13
- import { Loop } from "../curve/Loop";
14
- import { ParityRegion } from "../curve/ParityRegion";
15
- import { Path } from "../curve/Path";
16
- import { PointString3d } from "../curve/PointString3d";
17
- import { TransitionSpiral3d } from "../curve/spiral/TransitionSpiral3d";
18
- import { StrokeOptions } from "../curve/StrokeOptions";
19
- import { UnionRegion } from "../curve/UnionRegion";
20
- import { Angle } from "../geometry3d/Angle";
21
- import { AngleSweep } from "../geometry3d/AngleSweep";
22
- import { GrowableFloat64Array } from "../geometry3d/GrowableFloat64Array";
23
- import { GrowableXYZArray } from "../geometry3d/GrowableXYZArray";
24
- import { Matrix3d } from "../geometry3d/Matrix3d";
25
- import { Plane3dByOriginAndUnitNormal } from "../geometry3d/Plane3dByOriginAndUnitNormal";
26
- import { Point2d, Vector2d } from "../geometry3d/Point2dVector2d";
27
- import { Point3d, Vector3d } from "../geometry3d/Point3dVector3d";
28
- import { Range1d, Range2d, Range3d } from "../geometry3d/Range";
29
- import { Ray3d } from "../geometry3d/Ray3d";
30
- import { Segment1d } from "../geometry3d/Segment1d";
31
- import { Transform } from "../geometry3d/Transform";
32
- import { XYAndZ } from "../geometry3d/XYZProps";
33
- import { Map4d } from "../geometry4d/Map4d";
34
- import { Matrix4d } from "../geometry4d/Matrix4d";
35
- import { Point4d } from "../geometry4d/Point4d";
36
- import { AuxChannelDataType } from "../polyface/AuxData";
37
- import { IndexedPolyface } from "../polyface/Polyface";
38
- import { PolyfaceData } from "../polyface/PolyfaceData";
39
- import { Box } from "../solid/Box";
40
- import { Cone } from "../solid/Cone";
41
- import { LinearSweep } from "../solid/LinearSweep";
42
- import { RotationalSweep } from "../solid/RotationalSweep";
43
- import { RuledSweep } from "../solid/RuledSweep";
44
- import { SolidPrimitive } from "../solid/SolidPrimitive";
45
- import { Sphere } from "../solid/Sphere";
46
- import { TorusPipe } from "../solid/TorusPipe";
47
- /**
48
- * Function to be called to obtain function value at (i,n), for
49
- * * n fixed over many calls
50
- * * n may be assumed 1 or greater (so fraction = i/n is safe)
51
- * * i varies from 0 to n
52
- * @alpha
53
- */
54
- export type SteppedIndexFunction = (i: number, n: number) => number;
55
- /**
56
- * Static methods to create functions of type SteppedIndexFunction
57
- * * Convention: constant value is optional last argument, with default value 0
58
- * @alpha
59
- */
60
- export declare class SteppedIndexFunctionFactory {
61
- /** Returns a callable function that returns a constant value. */
62
- static createConstant(value?: number): SteppedIndexFunction;
63
- /**
64
- * Return a function that steps linearly
65
- * * f(i,n) = y0 + (i/n) * a
66
- */
67
- static createLinear(a: number, f0?: number): SteppedIndexFunction;
68
- /**
69
- * Return a function that steps with cosine of angles in sweep
70
- * * f(i,n) = y0 + amplitude * cos(i/n)
71
- */
72
- static createCosine(amplitude: number, sweep?: AngleSweep, f0?: number): SteppedIndexFunction;
73
- /**
74
- * Return a function that steps with cosine of angles in sweep.
75
- * * f(i,n) = y0 + amplitude * sin(i/n)
76
- */
77
- static createSine(amplitude: number, sweep?: AngleSweep, f0?: number): SteppedIndexFunction;
78
- }
79
- /**
80
- * `Sample` has static methods to create a variety of geometry samples useful in testing.
81
- * @alpha
82
- */
83
- export declare class Sample {
84
- /** Array with assorted Point2d samples */
85
- static readonly point2d: Point2d[];
86
- /** Array with assorted Point3d samples */
87
- static readonly point3d: Point3d[];
88
- /**
89
- * Return an array of Point3d, with x,y,z all stepping through a range of values.
90
- * x varies fastest, then y then z
91
- */
92
- static createPoint3dLattice(low: number, step: number, high: number): Point3d[];
93
- /**
94
- * Return an array of Point2d, with x,y all stepping through a range of values.
95
- * x varies fastest, then y
96
- */
97
- static createPoint2dLattice(low: number, step: number, high: number): Point2d[];
98
- /** Array with assorted Point4d samples */
99
- static readonly point4d: Point4d[];
100
- /** Array with assorted nonzero vector samples. */
101
- static createNonZeroVectors(): Vector3d[];
102
- /** Array with assorted nonzero Vector2d samples */
103
- static readonly vector2d: Vector2d[];
104
- /** Return an array with assorted Range3d samples */
105
- static createRange3ds(): Range3d[];
106
- /** Create 5 points of a (axis aligned) rectangle with corners (x0,y0) and (x0+ax, y0 + ay) */
107
- static createRectangleXY(x0: number, y0: number, ax: number, ay: number, z?: number): Point3d[];
108
- /** Create 5 points of a (axis aligned) rectangle with corners (cx-ax,cy-ay) and (cx+ax,cy+ay) */
109
- static createCenteredRectangleXY(cx: number, cy: number, ax: number, ay: number, z?: number): Point3d[];
110
- /**
111
- * Access the last point in the array. push another shifted by dx,dy,dz.
112
- * * No push if all are 0.
113
- * * If array is empty, push a leading 000
114
- */
115
- static pushMove(data: Point3d[], dx: number, dy: number, dz?: number): void;
116
- /** Return an array with numPoints on the unit circle (counting closure) */
117
- static createUnitCircle(numPoints: number): Point3d[];
118
- /**
119
- * Create points for an L shaped polygon
120
- * * lower left at x0,y0.
121
- * * ax,ay are larger side lengths (lower left to corners along x and y directions)
122
- * * bx,by are smaller side lengths (inner corner to points along x and y directions)
123
- */
124
- static createLShapedPolygon(x0: number, y0: number, ax: number, ay: number, bx: number, by: number, z?: number): Point3d[];
125
- /** Create assorted clip planes. */
126
- static createClipPlanes(): ClipPlane[];
127
- /**
128
- * * A first-quadrant unit square
129
- * * Two squares -- first and fourth quadrant unit squares
130
- * * Three squares -- first, second and fourth quadrant unit squares
131
- */
132
- static createClipPlaneSets(): UnionOfConvexClipPlaneSets[];
133
- /**
134
- * Create (unweighted) bspline curves.
135
- * order varies from 2 to 5
136
- */
137
- static createBsplineCurves(includeMultipleKnots?: boolean): BSplineCurve3d[];
138
- /**
139
- * Create weighted bspline curves.
140
- * order varies from 2 to 5
141
- */
142
- static createBspline3dHCurves(): BSplineCurve3dH[];
143
- /** Create various orders of non-rational B-spline curves with helical poles. */
144
- static createBsplineCurveHelices(radius: number, height: number, numTurns: number, numSamplesPerTurn: number): BSplineCurve3d[];
145
- /** Create weighted bsplines for circular arcs. */
146
- static createBspline3dHArcs(): BSplineCurve3dH[];
147
- /**
148
- * Return array [x,y,z,w] bspline control points for an arc in 90 degree bspline spans.
149
- * @param points array of [x,y,z,w]
150
- * @param center center of arc
151
- * @param axes matrix with 0 and 90 degree axes
152
- * @param radius0 radius multiplier for x direction.
153
- * @param radius90 radius multiplier for y direction.
154
- * @param applyWeightsToXYZ
155
- */
156
- static createBsplineArc90SectionToXYZWArrays(center: Point3d, axes: Matrix3d, radius0: number, radius90: number, applyWeightsToXYZ: boolean): number[][];
157
- /**
158
- * Create both unweighted and weighted bspline curves.
159
- * (This is the combined results from createBsplineCurves and createBspline3dHCurves)
160
- */
161
- static createMixedBsplineCurves(): BSplineCurve3dBase[];
162
- /** Create a plane from origin and normal coordinates -- default to 001 normal if needed. */
163
- static createPlane(x: number, y: number, z: number, u: number, v: number, w: number): Plane3dByOriginAndUnitNormal;
164
- /** Create ray from (x,y,z) and direction components. (Normalize the direction) */
165
- static createRay(x: number, y: number, z: number, u: number, v: number, w: number): Ray3d;
166
- /** Assorted Plane3dBYOriginAndUnitNormal */
167
- static readonly plane3dByOriginAndUnitNormal: Plane3dByOriginAndUnitNormal[];
168
- /** Assorted Ray3d, not all unit direction vectors. */
169
- static readonly ray3d: Ray3d[];
170
- /** Assorted angles. All principal directions, some others included. */
171
- static readonly angle: Angle[];
172
- /** Assorted angle sweeps */
173
- static readonly angleSweep: AngleSweep[];
174
- /** Assorted line segments */
175
- static readonly lineSegment3d: LineSegment3d[];
176
- /** Assorted lines strings */
177
- static createLineStrings(): LineString3d[];
178
- /** Assorted Range1d: single point, null, simple forward, simple reverse */
179
- static readonly range1d: Range1d[];
180
- /** Assorted range2d: single point, null, 2 point with various creation orders. */
181
- static readonly range2d: Range2d[];
182
- /** Assorted range2d: single point, null, 2 point with various creation orders. */
183
- static readonly range3d: Range3d[];
184
- /**
185
- * Assorted Matrix3d:
186
- * * identity
187
- * * rotation around x
188
- * * rotation around general vector
189
- * * uniform scale
190
- * * nonuniform scale (including negative scales!)
191
- */
192
- static createMatrix3dArray(): Matrix3d[];
193
- /** Assorted invertible transforms. */
194
- static createInvertibleTransforms(): Transform[];
195
- /**
196
- * Return an array of Matrix3d with various skew and scale. This includes at least:
197
- * * identity
198
- * * 3 distinct diagonals.
199
- * * The distinct diagonal base with smaller value added to other 6 spots in succession.
200
- * * the distinct diagonals with all others also smaller non-zeros.
201
- */
202
- static createScaleSkewMatrix3d(): Matrix3d[];
203
- /**
204
- * Return an array of singular Matrix3d. This includes at least:
205
- * * all zeros
206
- * * one non-zero column
207
- * * two independent columns, third is zero
208
- * * two independent columns, third is sum of those
209
- * * two independent columns, third is copy of one
210
- */
211
- static createSingularMatrix3d(): Matrix3d[];
212
- /**
213
- * Return an array of rigid transforms. This includes (at least)
214
- * * Identity
215
- * * translation with identity matrix
216
- * * rotation around origin and arbitrary vector
217
- * * rotation around space point and arbitrary vector
218
- * * use given refDistance is crude distance of translation and distance to fixed point.
219
- */
220
- static createRigidTransforms(distanceScale?: number): Transform[];
221
- /** Return a single rigid transform with all terms nonzero. */
222
- static createMessyRigidTransform(fixedPoint?: Point3d): Transform;
223
- /**
224
- * Return various rigid matrices:
225
- * * identity
226
- * * small rotations around x, y, z
227
- * * small rotation around (1,2,3)
228
- */
229
- static createRigidAxes(): Matrix3d[];
230
- /**
231
- * Return various Matrix4d
232
- * * Simple promotion of each Sample.createInvertibleTransforms ()
233
- * * optional nasty [1,2,3,4...15] row order
234
- * @param includeIrregular if true, include [1,2,..15] row major
235
- */ static createMatrix4ds(includeIrregular?: boolean): Matrix4d[];
236
- /** Create full Map4d for each `Sample.createInvertibleTransforms()` */
237
- static createMap4ds(): Map4d[];
238
- /** Assorted simple `Path` objects. */
239
- static createSimplePaths(withGaps?: boolean): Path[];
240
- /**
241
- * Assorted `Path` with lines and arcs.
242
- * Specifically useful for offset tests.
243
- */
244
- static createLineArcPaths(): Path[];
245
- /** Assorted `PointString3d` objects. */
246
- static createSimplePointStrings(): PointString3d[];
247
- /** Assorted `Loop` objects */
248
- static createSimpleLoops(): Loop[];
249
- /**
250
- * Create a square wave along x direction
251
- * @param dx0 distance along x axis at y=0
252
- * @param dy vertical rise
253
- * @param dx1 distance along x axis at y=dy
254
- * @param numPhase number of phases of the jump.
255
- * @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
256
- * If nonzero, rise to that y value, return to x=0, and return down to origin.
257
- */
258
- static createSquareWave(origin: Point3d, dx0: number, dy: number, dx1: number, numPhase: number, dyReturn: number): Point3d[];
259
- /**
260
- * Create multiple interpolated points between two points
261
- * @param point0 start point (at fraction0)
262
- * @param point1 end point (at fraction1)
263
- * @param numPoints total number of points. This is force to at least 2.
264
- * @param result optional existing array to receive points.
265
- * @param index0 optional index of first point. Default is 0.
266
- * @param index1 optional index of final point. Default is numPoints
267
- */
268
- static createInterpolatedPoints(point0: Point3d, point1: Point3d, numPoints: number, result?: Point3d[], index0?: number, index1?: number): Point3d[];
269
- /**
270
- * Append numPhase teeth. Each tooth starts with dxLow dwell at initial y, then sloped rise, then dwell at top, then sloped fall
271
- * * If no points are present, start with 000. (this happens in pushMove) Otherwise start from final point.
272
- * * return points array reference.
273
- * @param points point array to receive points
274
- * @param dxLow starting step along x direction
275
- * @param riseX width of rising and falling parts
276
- * @param riseY height of rise
277
- * @param dxHigh width at top
278
- * @param numPhase number of phases.
279
- */
280
- static appendSawTooth(points: Point3d[], dxLow: number, riseX: number, riseY: number, dxHigh: number, numPhase: number): Point3d[];
281
- /** Append sawtooth with x distances successively scaled by xFactor */
282
- static appendVariableSawTooth(points: Point3d[], dxLow: number, riseX: number, riseY: number, dxHigh: number, numPhase: number, xFactor: number): Point3d[];
283
- /**
284
- * Create a pair of sawtooth patterns, one (nominally) outbound and up, the other inbound and down.
285
- * * return phase count adjusted to end at start x
286
- * * enter return dx values as lengths -- sign will be negated in construction.
287
- * @param origin start of entire path.
288
- * @param dxLow low outbound dwell
289
- * @param riseX x part of outbound rise and fall
290
- * @param riseY y part of outbound rise and fall
291
- * @param dxHigh high outbound dwell
292
- * @param numPhaseOutbound number of phases outbound. Final phase followed by dxLow dwell.
293
- * @param dyFinal rise after final dwell.
294
- * @param dxLowReturn dwell at return high
295
- * @param riseXReturn rise x part of return
296
- * @param riseYReturn rise y part of return
297
- * @param dxHighReturn dwell at return high
298
- */
299
- static createBidirectionalSawtooth(origin: Point3d, dxLow: number, riseX: number, riseY: number, dxHigh: number, numPhaseOutbound: number, dyFinal: number, dxLowReturn: number, riseXReturn: number, riseYReturn: number, dxHighReturn: number): Point3d[];
300
- /**
301
- * Append to a linestring, taking steps along given vector directions
302
- * If the linestring is empty, a 000 point is added.
303
- * @param linestring LineString3d to receive points.
304
- * @param numPhase number of phases of the sawtooth
305
- * @param vectors any number of vector steps.
306
- */
307
- static appendPhases(linestring: LineString3d, numPhase: number, ...vectors: Vector3d[]): void;
308
- /**
309
- * Assorted regions with arc boundaries
310
- * * full circle
311
- * * with varying sweep:
312
- * * partial arc with single chord closure
313
- * * partial arc with 2-edge closure via center
314
- */
315
- static createArcRegions(): Loop[];
316
- /**
317
- * Assorted loops in xy plane:
318
- * * unit square
319
- * * rectangle
320
- * * L shape
321
- */
322
- static createSimpleXYPointLoops(): Point3d[][];
323
- /** Assorted `ParityRegion` objects */
324
- static createSimpleParityRegions(includeBCurves?: boolean): ParityRegion[];
325
- /** Union region. */
326
- static createSimpleUnions(): UnionRegion[];
327
- /** Assorted unstructured curve sets. */
328
- static createBagOfCurves(): BagOfCurves[];
329
- /**
330
- * Assorted smooth curve primitives:
331
- * * line segments
332
- * * arcs
333
- */
334
- static createSmoothCurvePrimitives(size?: number): CurvePrimitive[];
335
- /** Assorted small polyface grids, possibly expanded by gridMultiplier */
336
- static createSimpleIndexedPolyfaces(gridMultiplier: number): IndexedPolyface[];
337
- /**
338
- * Build a mesh that is a (possibly skewed) grid in a plane.
339
- * @param origin "lower left" coordinate
340
- * @param vectorX step in "X" direction
341
- * @param vectorY step in "Y" direction
342
- * @param numXVertices number of vertices in X direction
343
- * @param numYVertices number of vertices in y direction
344
- * @param createParams true to create parameters, with parameter value `(i,j)` for point at (0 based) vertex in x,y directions
345
- * @param createNormals true to create a (single) normal indexed from all facets
346
- * @param createColors true to create a single color on each quad (shared between both triangles in quad if triangulating)
347
- * @param triangulate whether to triangulate the quads (default true)
348
- * @note edgeVisible is false only on the diagonals
349
- */
350
- static createTriangularUnitGridPolyface(origin: Point3d, vectorX: Vector3d, vectorY: Vector3d, numXVertices: number, numYVertices: number, createParams?: boolean, createNormals?: boolean, createColors?: boolean, triangulate?: boolean): IndexedPolyface;
351
- /** Create an xy grid of points in single array with x varying fastest. */
352
- static createXYGrid(numU: number, numV: number, dX?: number, dY?: number): Point3d[];
353
- /** Create simple bspline surface on xy plane grid. */
354
- static createXYGridBsplineSurface(numU: number, numV: number, orderU: number, orderV: number): BSplineSurface3d | undefined;
355
- /**
356
- * Create a bspline surface whose poles area on circular paths.
357
- * * (BUT not weighted bspline, therefore although u and v isolines "go around" they are not true circles.)
358
- * @param radiusU major radius
359
- * @param radiusV minor radius
360
- * @param numU number of facets around major hoop
361
- * @param numV number of facets around minor hoop
362
- * @param orderU major hoop order
363
- * @param orderV minor hoop order
364
- */
365
- static createPseudoTorusBsplineSurface(radiusU: number, radiusV: number, numU: number, numV: number, orderU: number, orderV: number): BSplineSurface3d | undefined;
366
- /**
367
- * Create a Bspline surface for a cone.
368
- * @param centerA center at section A
369
- * @param centerB center at section B
370
- * @param radiusA radius at point A
371
- * @param radiusB radius at point B
372
- */
373
- static createConeBsplineSurface(centerA: Point3d, centerB: Point3d, radiusA: number, radiusB: number, numSection: number): BSplineSurface3dH | undefined;
374
- /** Create bspline surface on xy grid with weights. */
375
- static createWeightedXYGridBsplineSurface(numU: number, numV: number, orderU: number, orderV: number, weight00?: number, weight10?: number, weight01?: number, weight11?: number): BSplineSurface3dH | undefined;
376
- /** Assorted linear sweeps */
377
- static createSimpleLinearSweeps(): LinearSweep[];
378
- /**
379
- * Create an array of primitives with an arc centered at origin and a line segment closing back to the arc start.
380
- * This can be bundled into Path or Loop by caller.
381
- */
382
- static createCappedArcPrimitives(radius: number, startDegrees: number, endDegrees: number): CurvePrimitive[];
383
- /** Return a Path structure for a segment of arc, with closure segment */
384
- static createCappedArcPath(radius: number, startDegrees: number, endDegrees: number): Path;
385
- /** Return a Loop structure for a segment of arc, with closure segment */
386
- static createCappedArcLoop(radius: number, startDegrees: number, endDegrees: number): Loop;
387
- /** Create assorted rotational sweeps. */
388
- static createSimpleRotationalSweeps(): RotationalSweep[];
389
- /** Create assorted spheres */
390
- static createSpheres(includeEllipsoidal?: boolean): Sphere[];
391
- /** Create true (non-spherical) ellipsoids. */
392
- static createEllipsoids(): Sphere[];
393
- /** Create assorted cones. */
394
- static createCones(): Cone[];
395
- /** Return a TorusPipe with swept circle in xz plane rotating through an angle range around the Z axis. */
396
- static createPartialTorusAroundZ(majorRadius: number, majorSweep: Angle, minorRadius: number, minorStart: Angle, minorEnd: Angle): RotationalSweep;
397
- /** Create assorted Torus Pipes */
398
- static createTorusPipes(): TorusPipe[];
399
- /** Create assorted boxes. */
400
- static createBoxes(capped?: boolean): Box[];
401
- /** Create an array of points for a rectangle with corners (x0,y0,z) and (x1,y1,z) */
402
- static createRectangle(x0: number, y0: number, x1: number, y1: number, z?: number, closed?: boolean): Point3d[];
403
- /** Create an array of points for a rectangle with corners of a Range2d. */
404
- static createRectangleInRange2d(range: Range2d, z?: number, closed?: boolean): Point3d[];
405
- /** Create assorted ruled sweeps */
406
- static createRuledSweeps(includeParityRegion?: boolean, includeBagOfCurves?: boolean): RuledSweep[];
407
- /**
408
- * Uniformly spaced numbers
409
- * @param a0 first entry
410
- * @param delta step between entries
411
- * @param n number of entries
412
- */
413
- static createGrowableArrayCountedSteps(a0: number, delta: number, n: number): GrowableFloat64Array;
414
- /**
415
- * Create points on a unit circle
416
- * @param radius first entry
417
- * @param numEdge number of edges of chorded circle. Angle step is 2PI/numEdge (whether or not closed)
418
- * @param closed true to include final point (i.e. return numEdge+1 points)
419
- */
420
- static createGrowableArrayCirclePoints(radius: number, numEdge: number, closed?: boolean, centerX?: number, centerY?: number, data?: GrowableXYZArray): GrowableXYZArray;
421
- private static pushIfDistinct;
422
- private static appendToFractalEval;
423
- /**
424
- * For each edge of points, construct a transform (with scale, rotate, and translate) that spreads the patter out along the edge.
425
- * Repeat recursively for each edge
426
- * @returns Returns an array of recursively generated fractal points
427
- * @param poles level-0 (coarse) polygon whose edges are to be replaced by recursive fractals
428
- * @param pattern pattern to map to each edge of poles (and to edges of the recursion)
429
- * @param numRecursion number of recursions
430
- * @param perpendicularFactor factor to apply to perpendicular sizing.
431
- */
432
- static createRecursiveFractalPolygon(poles: Point3d[], pattern: Point2d[], numRecursion: number, perpendicularFactor: number): Point3d[];
433
- /**
434
- * Primary shape is a "triangle" with lower edge pushed in so it becomes a mild nonconvex quad.
435
- * Fractal effects are gentle.
436
- */
437
- static nonConvexQuadSimpleFractal(numRecursion: number, perpendicularFactor: number): Point3d[];
438
- /** Create a diamond with convex fractal */
439
- static createFractalDiamondConvexPattern(numRecursion: number, perpendicularFactor: number): Point3d[];
440
- /** Create l on a square, with pattern shift to both directions. */
441
- static createFractalSquareReversingPattern(numRecursion: number, perpendicularFactor: number): Point3d[];
442
- /** Create a fractal on a non-convex base and reversing pattern */
443
- static createFractalHatReversingPattern(numRecursion: number, perpendicularFactor: number): Point3d[];
444
- /** Create a fractal on a primary L shape with a reversing pattern */
445
- static createFractalLReversingPattern(numRecursion: number, perpendicularFactor: number): Point3d[];
446
- /** Fractal with fewer concavity changes.... */
447
- static createFractalLMildConcavePatter(numRecursion: number, perpendicularFactor: number): Point3d[];
448
- /** Append interpolated points from the array tail to the target. */
449
- static appendSplits(points: Point3d[], target: Point3d, numSplit: number, includeTarget: boolean): void;
450
- /**
451
- * Triangle with 3 given vertices, and indicated extra points on each each.
452
- * @param numSplitAB number of extra points on edge AB
453
- * @param numSplitBC number of extra points on edge BC
454
- * @param numSplitCA number of extra points on edge CA
455
- * @param wrap true to replicate vertexA at end
456
- * @param xyzA vertexA
457
- * @param xyzB vertexB
458
- * @param xyzC vertexC
459
- */
460
- static createTriangleWithSplitEdges(numSplitAB: number, numSplitBC: number, numSplitCA: number, wrap?: boolean, xyzA?: Point3d, xyzB?: Point3d, xyzC?: Point3d): Point3d[];
461
- /** Create a box (xyz) from half-lengths and center. */
462
- static createCenteredBoxEdges(ax?: number, ay?: number, az?: number, cx?: number, cy?: number, cz?: number, geometry?: GeometryQuery[]): GeometryQuery[];
463
- /**
464
- * Assorted transition spirals
465
- * * (All combinations of bearing radius bearing radius length subsets.)
466
- */
467
- static createSimpleTransitionSpirals(): TransitionSpiral3d[];
468
- /**
469
- * Create a Bezier curve with significant twist effects
470
- * * r and theta are circle in xy plane at steps in thetaStepper
471
- * * z varies with sin(phi) at steps in phiStepper.
472
- */
473
- static createTwistingBezier(order: number, x0: number, y0: number, r: number, thetaStepper: AngleSweep, phiStepper: AngleSweep, weightInterval?: Segment1d): CurvePrimitive | undefined;
474
- /**
475
- * Create various curve chains with distance indexing.
476
- * * LineSegment
477
- * * CircularArc
478
- * * LineString
479
- * * order 3 bspline
480
- * * order 4 bspline
481
- * * alternating lines and arcs
482
- * * arc spline with corners
483
- * * arc spline with smooth joins
484
- * * interpolation curve 2 pts
485
- * * interpolation curve 3 pts
486
- * * interpolation curve >3 pts
487
- * * integrated spiral (bloss)
488
- * * direct spiral (half-cosine)
489
- */
490
- static createCurveChainWithDistanceIndex(): CurveChainWithDistanceIndex[];
491
- /**
492
- * Create a square wave path.
493
- * @param numTooth number of teeth.
494
- * @param dxA x size of "A" part
495
- * @param dxB x size of "B" part
496
- * @param yA y for A part
497
- * @param yB y for B part
498
- * @param structure 1 for line segments, 2 for one linestring per tooth, 0 for single linestring
499
- */
500
- static createSquareWavePath(numTooth: number, dxA: number, dxB: number, yA: number, yB: number, structure: number): Path;
501
- /**
502
- * Create various elliptic arcs
503
- * * circle with vector0, vector90 aligned with x,y
504
- * * circle with axes rotated
505
- * *
506
- * @param radiusRatio = vector90.magnitude / vector0.magnitude
507
- */
508
- static createArcs(radiusRatio?: number, sweep?: AngleSweep): Arc3d[];
509
- /**
510
- * Create many arcs, optionally including skews
511
- * * @param skewFactor array of skew factors. for each skew factor, all base arcs are replicated with vector90 shifted by the factor times vector0
512
- */
513
- static createManyArcs(skewFactors?: number[]): Arc3d[];
514
- /**
515
- * Create edges of a range box.
516
- * * Line strings on low and high z
517
- * * single lines on each low z to high z edge.
518
- * * @param range (possibly null) range
519
- */
520
- static createRangeEdges(range: Range3d): BagOfCurves | undefined;
521
- /** Create swept "solids" that can be capped.
522
- * * At least one of each solid type.
523
- * * each is within 10 of the origin all directions.
524
- * @param capped true to include caps
525
- * @param rotationAngle angle of rotation for the angular sweep. The default is 90 degrees.
526
- * Beware that the rotation sweep created with the default or any positive angle produces a mesh with inward normals.
527
- */
528
- static createClosedSolidSampler(capped: boolean, rotationAngle?: Angle): SolidPrimitive[];
529
- /**
530
- * Create points:
531
- * * `numRadialEdges` radially from origin to polar point (r,sweep.start)
532
- * * `numArcEdges` along arc from (r,sweep.start) to (r,sweep.end)
533
- * * `numRadialEdges` returning to origin.
534
- * * optionally include closure point at origin.
535
- * @param x0 center x
536
- * @param y0 center y
537
- * @param radius radius of circle.
538
- * @param sweep start and end angles of sweep.
539
- * @param numRadialEdges number of edges from center to arc
540
- * @param numArcEdges number of edges along arc
541
- * @param addClosure true to repeat center as closure point
542
- */
543
- static createCutPie(x0: number, y0: number, radius: number, sweep: AngleSweep, numRadialEdges: number, numArcEdges: number, addClosure?: boolean): Point3d[];
544
- /**
545
- * * Let ay = 4
546
- * * Base polygon has vertices (0,0), (ax,0), (2*ax,0), (2* ax,ay), (ax,ay), (0,ay), (0,0).
547
- * * Shift the x coordinates of vertices 1,4 by indicated amounts (0-based numbering)
548
- * * Shift the y coordinates for points 1,2,3,4 by indicated amounts (in 0-based numbering)
549
- * * This is useful for testing non-y-monotonic face situations.
550
- * * Return as points.
551
- * @param dy1
552
- * @param dy2
553
- * @param dy3
554
- * @param dy4
555
- */
556
- static createVerticalStaggerPolygon(dy1: number, dy2: number, dy3: number, dy4: number, ax: number, ay: number, dx1: number, dx4: number): Point3d[];
557
- /** @deprecated in 4.0.0 - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
558
- static creatVerticalStaggerPolygon(dy1: number, dy2: number, dy3: number, dy4: number, ax: number, ay: number, dx1: number, dx4: number): Point3d[];
559
- /**
560
- * Make line segments for each pair of adjacent points.
561
- * @param points array of points
562
- * @param forceClosure if true, inspect coordinates to determine if a closure edge is needed.
563
- */
564
- static convertPointsToSegments(points: Point3d[], forceClosure?: boolean): LineSegment3d[];
565
- /**
566
- * Create a regular polygon
567
- * @param angle0 angle from x axis to first point.
568
- * @param numPoint number of points
569
- * @param close true to add closure edge.
570
- */
571
- static createRegularPolygon(cx: number, cy: number, cz: number, angle0: Angle, r: number, numPoint: number, close: boolean): Point3d[];
572
- /**
573
- * Create a star by alternating radii (with equal angular steps)
574
- * @param r0 first point radius
575
- * @param r1 second point radius (if undefined, this is skipped and the result is points on a circle.)
576
- * @param numPoint number of points
577
- * @param close true to add closure edge.
578
- */
579
- static createStar(cx: number, cy: number, cz: number, r0: number, r1: number | undefined, numPoint: number, close: boolean, theta0?: Angle): Point3d[];
580
- /**
581
- * Create an outer star A
582
- * Place multiple inner stars B with centers on circle C
583
- * @param rA0 radius to star tips on starA
584
- * @param rA1 radius to star tips on starA
585
- * @param numAPoint number of points on starA
586
- * @param rB0 radius to star B tips
587
- * @param rB1 radius to star B tips
588
- * @param numBPoint
589
- * @param rC radius for inner star centers
590
- * @param numC number of inner stars
591
- */
592
- static createStarsInStars(rA0: number, rA1: number, numAPoint: number, rB0: number, rB1: number, numBPoint: number, rC: number, numC: number, close: boolean): Point3d[][];
593
- private static appendGeometry;
594
- /** Create a simple example of each GeometryQuery type .... */
595
- static createAllGeometryQueryTypes(): GeometryQuery[];
596
- /**
597
- * Create points on a sine wave.
598
- * * Point i is origin + (i * xStep, a *sin(theta0 + i * dTheta), b * sin(beta0 + i * dBeta)).
599
- * * Default b is zero, so it is a simple sine wave.
600
- * * If the dTheta and dBeta are equal, it is a sine wave in a tilted plane.
601
- * * If dTheta and dBeta are different it is a non-planar curve.
602
- */
603
- static createPointSineWave(origin: XYAndZ | undefined, numInterval?: number, xStep?: number, a?: number, thetaSweep?: AngleSweep, b?: number, betaSweep?: AngleSweep): Point3d[];
604
- /**
605
- * Create points with x,y,z independent functions of i and numInterval,
606
- * Point3d.create (fx(i,numInterval), fy(i,numInterval), fz(i, numInterval));
607
- */
608
- static createPointsByIndexFunctions(numInterval: number, fx: SteppedIndexFunction, fy: SteppedIndexFunction, fz?: SteppedIndexFunction): Point3d[];
609
- /**
610
- * Add an AuxData (with multiple AuxChannelData) using data evaluated by a function of input and xyz.
611
- * @param data existing polyface data object to receive the additional AuxChannel
612
- * @param channelIndex
613
- * @param name name of channel
614
- * @param inputName name of input
615
- * @param input0 input value for channel 0
616
- * @param inputStep step between inputs (channels)
617
- * @param numInput number of channels (inputs)
618
- * @param dataType
619
- * @param scalarFunction function to return the scalar value at (input, point)
620
- */
621
- static addAuxDataScalarChannel(data: PolyfaceData, channelIndex: number, name: string | undefined, inputName: string | undefined, input0: number, inputStep: number, numInput: number, dataType: AuxChannelDataType, scalarFunction: (input: number, xyz: Point3d) => number): void;
622
- /**
623
- * Create a mesh between concentric arcs
624
- * @param edgesPerQuadrant edges per 90 degrees
625
- * @param center arc center
626
- * @param r0 first radius
627
- * @param r1 second radius
628
- * @param theta0 start angle
629
- * @param theta1 end angle.
630
- * @returns
631
- */
632
- static createMeshInAnnulus(edgesPerQuadrant: number, center: Point3d, r0: number, r1: number, theta0: Angle, theta1: Angle): IndexedPolyface | undefined;
633
- /** Create strokes on an arc at radius r0, then returning at radius r1. */
634
- static createAnnulusPolyline(edgesPerQuadrant: number, center: Point3d, r0: number, r1: number, theta0: Angle, theta1: Angle, addClosure: boolean): Point3d[];
635
- /**
636
- * Create a grid of lat-long points on a sphere.
637
- * * If pole latitudes appear in the evaluation, a single point (not a circle) is evaluated.
638
- * * Circles at various latitudes proceed south to north.
639
- * * If first and last angles of longitudeSweep match, that meridian is not duplicated.
640
- * * Longitudes can wrap freely.
641
- * @param transform local to world
642
- * @param numLatitudeStep number of latitude steps (poles count if they are in the sweeps)
643
- * @param numLongitudeStep number of longitude steps
644
- * @param latitudeSweep angle range for latitudes
645
- * @param longitudeSweep angle range for longitudes
646
- */
647
- static createGridPointsOnEllipsoid(transform: Transform, numLatitudeStep: number, numLongitudeStep: number, latitudeSweep?: AngleSweep, longitudeSweep?: AngleSweep): Point3d[];
648
- /**
649
- * Return an array of points on a circular arc.
650
- * @param edgesPerQuadrant number of edges per 90 degrees
651
- * @param center arc center
652
- * @param r0 arc radius
653
- * @param theta0 start angle
654
- * @param theta1 end angle
655
- * @param addClosure true to add a closure stroke
656
- * @returns
657
- */
658
- static createArcStrokes(edgesPerQuadrant: number, center: Point3d, r0: number, theta0: Angle, theta1: Angle, addClosure?: boolean, z?: number): Point3d[];
659
- /**
660
- * Create a mesh with
661
- * * xy facets are 1x1 quads starting at origin
662
- * * acceptFunction is called to accept or reject each quad's lower left xy coordinates
663
- * @param xzPoints array of points in the xz plane. Expected to have increasing x and all integer coordinates.
664
- * @param ySweep distance to sweep in y direction
665
- * @param acceptFunction (x0: number, y0: number)=> boolean
666
- */
667
- static sweepXZLineStringToMeshWithHoles(xzPoints: number[][], ySweep: number, acceptFunction: (x0: number, y0: number) => boolean): IndexedPolyface;
668
- /**
669
- * Successively move in directions in the steps array, creating numStroke total strokes.
670
- * * In typical use there are two entries in the steps vector, giving the effect of stair steps if they are perpendicular.
671
- * * if start is a single point, create a new point array with start as its first entry.
672
- * * if start is an array, add to it.
673
- * * if start is an empty array, push 000 as starting point.
674
- * @param start start point or prior array of points whose last is start point.
675
- * @param steps array of vectors giving step vectors.
676
- * @param numStroke number of steps to take.
677
- */
678
- static createZigZag(start: Point3d | Point3d[], steps: Vector3d[], numStroke: number): Point3d[];
679
- /** Create a point on the polar parametric curve r = cos(a * theta), aka "rose".
680
- * @param theta angle
681
- * @param a period multiplier. If odd, this is the petal count; if even, twice the number of petals.
682
- * @param z z-coordinate for output
683
- */
684
- static createRosePoint3d(theta: number, a: number, z?: number): Point3d;
685
- /** Create a point on the polar parametric curve r = cos(a * theta), aka "rose".
686
- * @param theta angle
687
- * @param a period multiplier. If odd, this is the petal count; if even, twice the number of petals.
688
- */
689
- static createRosePoint2d(theta: number, a: number): Point2d;
690
- /**
691
- * Create a mesh surface from samples of a smooth real-valued function over [0,1]x[0,1] with multiple humps and dips.
692
- * * The facets are bilinear quads, so if planar facets are required, set `options.shouldTriangulate = true`.
693
- * @param size grid size; the number of intervals on each side of the unit square domain.
694
- * @param scales = array of 4 (four) numbers to scale the corresponding Franke exponential. If undefined, all scales are 1.
695
- */
696
- static createMeshFromFrankeSurface(size: number, options?: StrokeOptions, scales?: number[]): IndexedPolyface | undefined;
697
- /** Stroke a helix over the unit circle. Place in space via a transform.
698
- * The various columns of the transform become the critical measures for the (elliptic) helix:
699
- * The unit cylinder maps to an elliptic cylinder with x and y columns as 0 and 90 degree vectors.
700
- * the Helix pitch is equal to the length of the z axis in the transform.
701
- * The completeTurns parameter (which does NOT need to be an integer) is the local z of the last point
702
- */
703
- static createHelixPoints(completeTurns: number, numPoints: number, placement?: Transform): Point3d[];
704
- }
705
- //# sourceMappingURL=GeometrySamples.d.ts.map