@itwin/core-geometry 5.3.0-dev.2 → 5.3.0-dev.21

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 (608) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/lib/cjs/Constant.js.map +1 -1
  3. package/lib/cjs/Geometry.js.map +1 -1
  4. package/lib/cjs/bspline/AkimaCurve3d.js.map +1 -1
  5. package/lib/cjs/bspline/BSpline1dNd.js.map +1 -1
  6. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  7. package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -1
  8. package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -1
  9. package/lib/cjs/bspline/BSplineSurface.js.map +1 -1
  10. package/lib/cjs/bspline/Bezier1dNd.js.map +1 -1
  11. package/lib/cjs/bspline/BezierCurve3d.js.map +1 -1
  12. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -1
  13. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -1
  14. package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -1
  15. package/lib/cjs/bspline/KnotVector.js.map +1 -1
  16. package/lib/cjs/bspline/SurfaceLocationDetail.js.map +1 -1
  17. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  18. package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -1
  19. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -1
  20. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  21. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -1
  22. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  23. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  24. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  25. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  26. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  27. package/lib/cjs/core-geometry.js.map +1 -1
  28. package/lib/cjs/curve/Arc3d.d.ts +15 -1
  29. package/lib/cjs/curve/Arc3d.d.ts.map +1 -1
  30. package/lib/cjs/curve/Arc3d.js +36 -9
  31. package/lib/cjs/curve/Arc3d.js.map +1 -1
  32. package/lib/cjs/curve/ConstructCurveBetweenCurves.js.map +1 -1
  33. package/lib/cjs/curve/CoordinateXYZ.js.map +1 -1
  34. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  35. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  36. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  37. package/lib/cjs/curve/CurveExtendMode.js.map +1 -1
  38. package/lib/cjs/curve/CurveFactory.d.ts +25 -8
  39. package/lib/cjs/curve/CurveFactory.d.ts.map +1 -1
  40. package/lib/cjs/curve/CurveFactory.js +51 -55
  41. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  42. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  43. package/lib/cjs/curve/CurveOps.d.ts +2 -5
  44. package/lib/cjs/curve/CurveOps.d.ts.map +1 -1
  45. package/lib/cjs/curve/CurveOps.js +2 -5
  46. package/lib/cjs/curve/CurveOps.js.map +1 -1
  47. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  48. package/lib/cjs/curve/CurveProcessor.js.map +1 -1
  49. package/lib/cjs/curve/CurveTypes.js.map +1 -1
  50. package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -1
  51. package/lib/cjs/curve/GeometryQuery.js.map +1 -1
  52. package/lib/cjs/curve/LineSegment3d.js.map +1 -1
  53. package/lib/cjs/curve/LineString3d.js.map +1 -1
  54. package/lib/cjs/curve/Loop.js.map +1 -1
  55. package/lib/cjs/curve/OffsetOptions.js.map +1 -1
  56. package/lib/cjs/curve/ParityRegion.js.map +1 -1
  57. package/lib/cjs/curve/Path.js.map +1 -1
  58. package/lib/cjs/curve/PointString3d.js.map +1 -1
  59. package/lib/cjs/curve/ProxyCurve.js.map +1 -1
  60. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  61. package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -1
  62. package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -1
  63. package/lib/cjs/curve/Query/InOutTests.js.map +1 -1
  64. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts +50 -15
  65. package/lib/cjs/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  66. package/lib/cjs/curve/Query/PlanarSubdivision.js +102 -84
  67. package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -1
  68. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -1
  69. package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -1
  70. package/lib/cjs/curve/RegionMomentsXY.js.map +1 -1
  71. package/lib/cjs/curve/RegionOps.d.ts +44 -25
  72. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  73. package/lib/cjs/curve/RegionOps.js +74 -39
  74. package/lib/cjs/curve/RegionOps.js.map +1 -1
  75. package/lib/cjs/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  76. package/lib/cjs/curve/RegionOpsClassificationSweeps.js +8 -8
  77. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  78. package/lib/cjs/curve/StrokeOptions.js.map +1 -1
  79. package/lib/cjs/curve/UnionRegion.js.map +1 -1
  80. package/lib/cjs/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  81. package/lib/cjs/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  82. package/lib/cjs/curve/internalContexts/ChainCollectorContext.js.map +1 -1
  83. package/lib/cjs/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  84. package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  85. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  86. package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  87. package/lib/cjs/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  88. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts +1 -0
  89. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  90. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js +102 -92
  91. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  92. package/lib/cjs/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  93. package/lib/cjs/curve/internalContexts/CurveLengthContext.js.map +1 -1
  94. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  95. package/lib/cjs/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
  96. package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -1
  97. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  98. package/lib/cjs/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  99. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  100. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  101. package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -1
  102. package/lib/cjs/curve/internalContexts/TransferWithSplitArcs.js.map +1 -1
  103. package/lib/cjs/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  104. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +10 -13
  105. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -1
  106. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js +23 -22
  107. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  108. package/lib/cjs/curve/spiral/ClothoidSeries.d.ts +10 -6
  109. package/lib/cjs/curve/spiral/ClothoidSeries.d.ts.map +1 -1
  110. package/lib/cjs/curve/spiral/ClothoidSeries.js +36 -19
  111. package/lib/cjs/curve/spiral/ClothoidSeries.js.map +1 -1
  112. package/lib/cjs/curve/spiral/CubicEvaluator.d.ts +7 -6
  113. package/lib/cjs/curve/spiral/CubicEvaluator.d.ts.map +1 -1
  114. package/lib/cjs/curve/spiral/CubicEvaluator.js +29 -14
  115. package/lib/cjs/curve/spiral/CubicEvaluator.js.map +1 -1
  116. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts +34 -44
  117. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -1
  118. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js +47 -53
  119. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  120. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +2 -2
  121. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -1
  122. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js +17 -7
  123. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  124. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts +112 -104
  125. package/lib/cjs/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  126. package/lib/cjs/curve/spiral/DirectSpiral3d.js +143 -117
  127. package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -1
  128. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts +71 -53
  129. package/lib/cjs/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  130. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js +99 -66
  131. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  132. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +8 -12
  133. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -1
  134. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +11 -13
  135. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  136. package/lib/cjs/curve/spiral/NormalizedTransition.d.ts +36 -29
  137. package/lib/cjs/curve/spiral/NormalizedTransition.d.ts.map +1 -1
  138. package/lib/cjs/curve/spiral/NormalizedTransition.js +62 -40
  139. package/lib/cjs/curve/spiral/NormalizedTransition.js.map +1 -1
  140. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts +13 -18
  141. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -1
  142. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js +21 -24
  143. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  144. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts +41 -27
  145. package/lib/cjs/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  146. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js +50 -33
  147. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  148. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts +45 -34
  149. package/lib/cjs/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  150. package/lib/cjs/curve/spiral/TransitionSpiral3d.js +56 -38
  151. package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -1
  152. package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts +27 -21
  153. package/lib/cjs/curve/spiral/XYCurveEvaluator.d.ts.map +1 -1
  154. package/lib/cjs/curve/spiral/XYCurveEvaluator.js +23 -18
  155. package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -1
  156. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  157. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
  158. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -1
  159. package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -1
  160. package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -1
  161. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -1
  162. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
  163. package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -1
  164. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -1
  165. package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -1
  166. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -1
  167. package/lib/cjs/geometry3d/GrowableXYArray.d.ts +98 -99
  168. package/lib/cjs/geometry3d/GrowableXYArray.d.ts.map +1 -1
  169. package/lib/cjs/geometry3d/GrowableXYArray.js +123 -111
  170. package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -1
  171. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts +137 -143
  172. package/lib/cjs/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  173. package/lib/cjs/geometry3d/GrowableXYZArray.js +167 -161
  174. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -1
  175. package/lib/cjs/geometry3d/IndexedCollectionInterval.js.map +1 -1
  176. package/lib/cjs/geometry3d/IndexedXYCollection.d.ts +51 -34
  177. package/lib/cjs/geometry3d/IndexedXYCollection.d.ts.map +1 -1
  178. package/lib/cjs/geometry3d/IndexedXYCollection.js +16 -6
  179. package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -1
  180. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts +87 -93
  181. package/lib/cjs/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  182. package/lib/cjs/geometry3d/IndexedXYZCollection.js +41 -38
  183. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -1
  184. package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  185. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  186. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -1
  187. package/lib/cjs/geometry3d/Plane3d.js.map +1 -1
  188. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  189. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  190. package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -1
  191. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -1
  192. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  193. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  194. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
  195. package/lib/cjs/geometry3d/PointStreaming.js.map +1 -1
  196. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  197. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  198. package/lib/cjs/geometry3d/PolylineOps.d.ts +2 -2
  199. package/lib/cjs/geometry3d/PolylineOps.js +2 -2
  200. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -1
  201. package/lib/cjs/geometry3d/Range.js.map +1 -1
  202. package/lib/cjs/geometry3d/Ray2d.js.map +1 -1
  203. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  204. package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -1
  205. package/lib/cjs/geometry3d/Segment1d.js.map +1 -1
  206. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -1
  207. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  208. package/lib/cjs/geometry3d/UVSurfaceOps.js.map +1 -1
  209. package/lib/cjs/geometry3d/XYZProps.js.map +1 -1
  210. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  211. package/lib/cjs/geometry4d/Map4d.js.map +1 -1
  212. package/lib/cjs/geometry4d/Matrix4d.js.map +1 -1
  213. package/lib/cjs/geometry4d/MomentData.js.map +1 -1
  214. package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  215. package/lib/cjs/geometry4d/Point4d.js.map +1 -1
  216. package/lib/cjs/numerics/BandedSystem.js.map +1 -1
  217. package/lib/cjs/numerics/BezierPolynomials.js.map +1 -1
  218. package/lib/cjs/numerics/ClusterableArray.d.ts.map +1 -1
  219. package/lib/cjs/numerics/ClusterableArray.js +2 -2
  220. package/lib/cjs/numerics/ClusterableArray.js.map +1 -1
  221. package/lib/cjs/numerics/Complex.js.map +1 -1
  222. package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -1
  223. package/lib/cjs/numerics/Newton.js.map +1 -1
  224. package/lib/cjs/numerics/PascalCoefficients.js.map +1 -1
  225. package/lib/cjs/numerics/PolarData.js.map +1 -1
  226. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  227. package/lib/cjs/numerics/Quadrature.js.map +1 -1
  228. package/lib/cjs/numerics/Range1dArray.js.map +1 -1
  229. package/lib/cjs/numerics/SmallSystem.js.map +1 -1
  230. package/lib/cjs/numerics/TriDiagonalSystem.js.map +1 -1
  231. package/lib/cjs/numerics/UnionFind.js.map +1 -1
  232. package/lib/cjs/numerics/UsageSums.js.map +1 -1
  233. package/lib/cjs/polyface/AuxData.js.map +1 -1
  234. package/lib/cjs/polyface/BoxTopology.js.map +1 -1
  235. package/lib/cjs/polyface/FacetFaceData.js.map +1 -1
  236. package/lib/cjs/polyface/FacetLocationDetail.js.map +1 -1
  237. package/lib/cjs/polyface/FacetOrientation.js.map +1 -1
  238. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  239. package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -1
  240. package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  241. package/lib/cjs/polyface/IndexedPolyfaceWalker.js.map +1 -1
  242. package/lib/cjs/polyface/Polyface.js.map +1 -1
  243. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  244. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
  245. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  246. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  247. package/lib/cjs/polyface/RangeLengthData.js.map +1 -1
  248. package/lib/cjs/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  249. package/lib/cjs/polyface/RangeTree/MinimumValueTester.js.map +1 -1
  250. package/lib/cjs/polyface/RangeTree/Point3dArrayRangeTreeContext.js.map +1 -1
  251. package/lib/cjs/polyface/RangeTree/PolyfaceRangeTreeContext.js.map +1 -1
  252. package/lib/cjs/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  253. package/lib/cjs/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  254. package/lib/cjs/polyface/TaggedNumericData.js.map +1 -1
  255. package/lib/cjs/polyface/TriangleCandidate.js.map +1 -1
  256. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  257. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  258. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  259. package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  260. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  261. package/lib/cjs/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  262. package/lib/cjs/polyface/multiclip/RangeSearch.js.map +1 -1
  263. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  264. package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -1
  265. package/lib/cjs/serialization/BGFBAccessors.js.map +1 -1
  266. package/lib/cjs/serialization/BGFBReader.js.map +1 -1
  267. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  268. package/lib/cjs/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  269. package/lib/cjs/serialization/DeepCompare.js.map +1 -1
  270. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  271. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  272. package/lib/cjs/serialization/SerializationHelpers.js.map +1 -1
  273. package/lib/cjs/solid/Box.js.map +1 -1
  274. package/lib/cjs/solid/Cone.js.map +1 -1
  275. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  276. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  277. package/lib/cjs/solid/RuledSweep.js.map +1 -1
  278. package/lib/cjs/solid/SolidPrimitive.js.map +1 -1
  279. package/lib/cjs/solid/Sphere.js.map +1 -1
  280. package/lib/cjs/solid/SweepContour.js.map +1 -1
  281. package/lib/cjs/solid/TorusPipe.js.map +1 -1
  282. package/lib/cjs/topology/ChainMerge.js.map +1 -1
  283. package/lib/cjs/topology/Graph.js.map +1 -1
  284. package/lib/cjs/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  285. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -1
  286. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  287. package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -1
  288. package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -1
  289. package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  290. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  291. package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -1
  292. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -1
  293. package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -1
  294. package/lib/cjs/topology/MaskManager.js.map +1 -1
  295. package/lib/cjs/topology/Merging.d.ts +15 -7
  296. package/lib/cjs/topology/Merging.d.ts.map +1 -1
  297. package/lib/cjs/topology/Merging.js +15 -10
  298. package/lib/cjs/topology/Merging.js.map +1 -1
  299. package/lib/cjs/topology/RegularizeFace.js.map +1 -1
  300. package/lib/cjs/topology/SignedDataSummary.js.map +1 -1
  301. package/lib/cjs/topology/SpaceTriangulation.js.map +1 -1
  302. package/lib/cjs/topology/Triangulation.js.map +1 -1
  303. package/lib/cjs/topology/Voronoi.js.map +1 -1
  304. package/lib/cjs/topology/XYParitySearchContext.js.map +1 -1
  305. package/lib/esm/Constant.js.map +1 -1
  306. package/lib/esm/Geometry.js.map +1 -1
  307. package/lib/esm/bspline/AkimaCurve3d.js.map +1 -1
  308. package/lib/esm/bspline/BSpline1dNd.js.map +1 -1
  309. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  310. package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -1
  311. package/lib/esm/bspline/BSplineCurveOps.js.map +1 -1
  312. package/lib/esm/bspline/BSplineSurface.js.map +1 -1
  313. package/lib/esm/bspline/Bezier1dNd.js.map +1 -1
  314. package/lib/esm/bspline/BezierCurve3d.js.map +1 -1
  315. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -1
  316. package/lib/esm/bspline/BezierCurveBase.js.map +1 -1
  317. package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -1
  318. package/lib/esm/bspline/KnotVector.js.map +1 -1
  319. package/lib/esm/bspline/SurfaceLocationDetail.js.map +1 -1
  320. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  321. package/lib/esm/clipping/BooleanClipFactory.js.map +1 -1
  322. package/lib/esm/clipping/BooleanClipNode.js.map +1 -1
  323. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  324. package/lib/esm/clipping/ClipPrimitive.js.map +1 -1
  325. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  326. package/lib/esm/clipping/ClipVector.js.map +1 -1
  327. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  328. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  329. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  330. package/lib/esm/core-geometry.js.map +1 -1
  331. package/lib/esm/curve/Arc3d.d.ts +15 -1
  332. package/lib/esm/curve/Arc3d.d.ts.map +1 -1
  333. package/lib/esm/curve/Arc3d.js +36 -9
  334. package/lib/esm/curve/Arc3d.js.map +1 -1
  335. package/lib/esm/curve/ConstructCurveBetweenCurves.js.map +1 -1
  336. package/lib/esm/curve/CoordinateXYZ.js.map +1 -1
  337. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  338. package/lib/esm/curve/CurveCollection.js.map +1 -1
  339. package/lib/esm/curve/CurveCurve.js.map +1 -1
  340. package/lib/esm/curve/CurveExtendMode.js.map +1 -1
  341. package/lib/esm/curve/CurveFactory.d.ts +25 -8
  342. package/lib/esm/curve/CurveFactory.d.ts.map +1 -1
  343. package/lib/esm/curve/CurveFactory.js +51 -55
  344. package/lib/esm/curve/CurveFactory.js.map +1 -1
  345. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  346. package/lib/esm/curve/CurveOps.d.ts +2 -5
  347. package/lib/esm/curve/CurveOps.d.ts.map +1 -1
  348. package/lib/esm/curve/CurveOps.js +2 -5
  349. package/lib/esm/curve/CurveOps.js.map +1 -1
  350. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  351. package/lib/esm/curve/CurveProcessor.js.map +1 -1
  352. package/lib/esm/curve/CurveTypes.js.map +1 -1
  353. package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -1
  354. package/lib/esm/curve/GeometryQuery.js.map +1 -1
  355. package/lib/esm/curve/LineSegment3d.js.map +1 -1
  356. package/lib/esm/curve/LineString3d.js.map +1 -1
  357. package/lib/esm/curve/Loop.js.map +1 -1
  358. package/lib/esm/curve/OffsetOptions.js.map +1 -1
  359. package/lib/esm/curve/ParityRegion.js.map +1 -1
  360. package/lib/esm/curve/Path.js.map +1 -1
  361. package/lib/esm/curve/PointString3d.js.map +1 -1
  362. package/lib/esm/curve/ProxyCurve.js.map +1 -1
  363. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  364. package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -1
  365. package/lib/esm/curve/Query/CylindricalRange.js.map +1 -1
  366. package/lib/esm/curve/Query/InOutTests.js.map +1 -1
  367. package/lib/esm/curve/Query/PlanarSubdivision.d.ts +50 -15
  368. package/lib/esm/curve/Query/PlanarSubdivision.d.ts.map +1 -1
  369. package/lib/esm/curve/Query/PlanarSubdivision.js +102 -84
  370. package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -1
  371. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -1
  372. package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -1
  373. package/lib/esm/curve/RegionMomentsXY.js.map +1 -1
  374. package/lib/esm/curve/RegionOps.d.ts +44 -25
  375. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  376. package/lib/esm/curve/RegionOps.js +72 -37
  377. package/lib/esm/curve/RegionOps.js.map +1 -1
  378. package/lib/esm/curve/RegionOpsClassificationSweeps.d.ts.map +1 -1
  379. package/lib/esm/curve/RegionOpsClassificationSweeps.js +8 -8
  380. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  381. package/lib/esm/curve/StrokeOptions.js.map +1 -1
  382. package/lib/esm/curve/UnionRegion.js.map +1 -1
  383. package/lib/esm/curve/internalContexts/AnnounceTangentStrokeHandler.js.map +1 -1
  384. package/lib/esm/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  385. package/lib/esm/curve/internalContexts/ChainCollectorContext.js.map +1 -1
  386. package/lib/esm/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  387. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  388. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  389. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  390. package/lib/esm/curve/internalContexts/CurveCurveCloseApproachXY.js.map +1 -1
  391. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts +1 -0
  392. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.d.ts.map +1 -1
  393. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js +102 -92
  394. package/lib/esm/curve/internalContexts/CurveCurveIntersectXY.js.map +1 -1
  395. package/lib/esm/curve/internalContexts/CurveCurveIntersectXYZ.js.map +1 -1
  396. package/lib/esm/curve/internalContexts/CurveLengthContext.js.map +1 -1
  397. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  398. package/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js.map +1 -1
  399. package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -1
  400. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  401. package/lib/esm/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  402. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  403. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  404. package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -1
  405. package/lib/esm/curve/internalContexts/TransferWithSplitArcs.js.map +1 -1
  406. package/lib/esm/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  407. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts +10 -13
  408. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.d.ts.map +1 -1
  409. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js +23 -22
  410. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  411. package/lib/esm/curve/spiral/ClothoidSeries.d.ts +10 -6
  412. package/lib/esm/curve/spiral/ClothoidSeries.d.ts.map +1 -1
  413. package/lib/esm/curve/spiral/ClothoidSeries.js +36 -19
  414. package/lib/esm/curve/spiral/ClothoidSeries.js.map +1 -1
  415. package/lib/esm/curve/spiral/CubicEvaluator.d.ts +7 -6
  416. package/lib/esm/curve/spiral/CubicEvaluator.d.ts.map +1 -1
  417. package/lib/esm/curve/spiral/CubicEvaluator.js +29 -14
  418. package/lib/esm/curve/spiral/CubicEvaluator.js.map +1 -1
  419. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts +34 -44
  420. package/lib/esm/curve/spiral/CzechSpiralEvaluator.d.ts.map +1 -1
  421. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js +47 -53
  422. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  423. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts +2 -2
  424. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.d.ts.map +1 -1
  425. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js +17 -7
  426. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  427. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts +112 -104
  428. package/lib/esm/curve/spiral/DirectSpiral3d.d.ts.map +1 -1
  429. package/lib/esm/curve/spiral/DirectSpiral3d.js +143 -117
  430. package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -1
  431. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts +71 -53
  432. package/lib/esm/curve/spiral/IntegratedSpiral3d.d.ts.map +1 -1
  433. package/lib/esm/curve/spiral/IntegratedSpiral3d.js +99 -66
  434. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  435. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts +8 -12
  436. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.d.ts.map +1 -1
  437. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js +11 -13
  438. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  439. package/lib/esm/curve/spiral/NormalizedTransition.d.ts +36 -29
  440. package/lib/esm/curve/spiral/NormalizedTransition.d.ts.map +1 -1
  441. package/lib/esm/curve/spiral/NormalizedTransition.js +62 -40
  442. package/lib/esm/curve/spiral/NormalizedTransition.js.map +1 -1
  443. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts +13 -18
  444. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.d.ts.map +1 -1
  445. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js +21 -24
  446. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  447. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts +41 -27
  448. package/lib/esm/curve/spiral/TransitionConditionalProperties.d.ts.map +1 -1
  449. package/lib/esm/curve/spiral/TransitionConditionalProperties.js +50 -33
  450. package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  451. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts +45 -34
  452. package/lib/esm/curve/spiral/TransitionSpiral3d.d.ts.map +1 -1
  453. package/lib/esm/curve/spiral/TransitionSpiral3d.js +56 -38
  454. package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -1
  455. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts +27 -21
  456. package/lib/esm/curve/spiral/XYCurveEvaluator.d.ts.map +1 -1
  457. package/lib/esm/curve/spiral/XYCurveEvaluator.js +23 -18
  458. package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -1
  459. package/lib/esm/geometry3d/Angle.js.map +1 -1
  460. package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
  461. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -1
  462. package/lib/esm/geometry3d/BilinearPatch.js.map +1 -1
  463. package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -1
  464. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -1
  465. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
  466. package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -1
  467. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -1
  468. package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -1
  469. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -1
  470. package/lib/esm/geometry3d/GrowableXYArray.d.ts +98 -99
  471. package/lib/esm/geometry3d/GrowableXYArray.d.ts.map +1 -1
  472. package/lib/esm/geometry3d/GrowableXYArray.js +124 -112
  473. package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -1
  474. package/lib/esm/geometry3d/GrowableXYZArray.d.ts +137 -143
  475. package/lib/esm/geometry3d/GrowableXYZArray.d.ts.map +1 -1
  476. package/lib/esm/geometry3d/GrowableXYZArray.js +167 -161
  477. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -1
  478. package/lib/esm/geometry3d/IndexedCollectionInterval.js.map +1 -1
  479. package/lib/esm/geometry3d/IndexedXYCollection.d.ts +51 -34
  480. package/lib/esm/geometry3d/IndexedXYCollection.d.ts.map +1 -1
  481. package/lib/esm/geometry3d/IndexedXYCollection.js +14 -5
  482. package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -1
  483. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts +87 -93
  484. package/lib/esm/geometry3d/IndexedXYZCollection.d.ts.map +1 -1
  485. package/lib/esm/geometry3d/IndexedXYZCollection.js +41 -38
  486. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -1
  487. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  488. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  489. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -1
  490. package/lib/esm/geometry3d/Plane3d.js.map +1 -1
  491. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  492. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  493. package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -1
  494. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -1
  495. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  496. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  497. package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
  498. package/lib/esm/geometry3d/PointStreaming.js.map +1 -1
  499. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  500. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  501. package/lib/esm/geometry3d/PolylineOps.d.ts +2 -2
  502. package/lib/esm/geometry3d/PolylineOps.js +2 -2
  503. package/lib/esm/geometry3d/PolylineOps.js.map +1 -1
  504. package/lib/esm/geometry3d/Range.js.map +1 -1
  505. package/lib/esm/geometry3d/Ray2d.js.map +1 -1
  506. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  507. package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -1
  508. package/lib/esm/geometry3d/Segment1d.js.map +1 -1
  509. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -1
  510. package/lib/esm/geometry3d/Transform.js.map +1 -1
  511. package/lib/esm/geometry3d/UVSurfaceOps.js.map +1 -1
  512. package/lib/esm/geometry3d/XYZProps.js.map +1 -1
  513. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  514. package/lib/esm/geometry4d/Map4d.js.map +1 -1
  515. package/lib/esm/geometry4d/Matrix4d.js.map +1 -1
  516. package/lib/esm/geometry4d/MomentData.js.map +1 -1
  517. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  518. package/lib/esm/geometry4d/Point4d.js.map +1 -1
  519. package/lib/esm/numerics/BandedSystem.js.map +1 -1
  520. package/lib/esm/numerics/BezierPolynomials.js.map +1 -1
  521. package/lib/esm/numerics/ClusterableArray.d.ts.map +1 -1
  522. package/lib/esm/numerics/ClusterableArray.js +2 -2
  523. package/lib/esm/numerics/ClusterableArray.js.map +1 -1
  524. package/lib/esm/numerics/Complex.js.map +1 -1
  525. package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -1
  526. package/lib/esm/numerics/Newton.js.map +1 -1
  527. package/lib/esm/numerics/PascalCoefficients.js.map +1 -1
  528. package/lib/esm/numerics/PolarData.js.map +1 -1
  529. package/lib/esm/numerics/Polynomials.js.map +1 -1
  530. package/lib/esm/numerics/Quadrature.js.map +1 -1
  531. package/lib/esm/numerics/Range1dArray.js.map +1 -1
  532. package/lib/esm/numerics/SmallSystem.js.map +1 -1
  533. package/lib/esm/numerics/TriDiagonalSystem.js.map +1 -1
  534. package/lib/esm/numerics/UnionFind.js.map +1 -1
  535. package/lib/esm/numerics/UsageSums.js.map +1 -1
  536. package/lib/esm/polyface/AuxData.js.map +1 -1
  537. package/lib/esm/polyface/BoxTopology.js.map +1 -1
  538. package/lib/esm/polyface/FacetFaceData.js.map +1 -1
  539. package/lib/esm/polyface/FacetLocationDetail.js.map +1 -1
  540. package/lib/esm/polyface/FacetOrientation.js.map +1 -1
  541. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  542. package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -1
  543. package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  544. package/lib/esm/polyface/IndexedPolyfaceWalker.js.map +1 -1
  545. package/lib/esm/polyface/Polyface.js.map +1 -1
  546. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  547. package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
  548. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  549. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  550. package/lib/esm/polyface/RangeLengthData.js.map +1 -1
  551. package/lib/esm/polyface/RangeTree/LineString3dRangeTreeContext.js.map +1 -1
  552. package/lib/esm/polyface/RangeTree/MinimumValueTester.js.map +1 -1
  553. package/lib/esm/polyface/RangeTree/Point3dArrayRangeTreeContext.js.map +1 -1
  554. package/lib/esm/polyface/RangeTree/PolyfaceRangeTreeContext.js.map +1 -1
  555. package/lib/esm/polyface/RangeTree/RangeTreeNode.js.map +1 -1
  556. package/lib/esm/polyface/RangeTree/RangeTreeSearchHandlers.js.map +1 -1
  557. package/lib/esm/polyface/TaggedNumericData.js.map +1 -1
  558. package/lib/esm/polyface/TriangleCandidate.js.map +1 -1
  559. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  560. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  561. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  562. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  563. package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  564. package/lib/esm/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  565. package/lib/esm/polyface/multiclip/RangeSearch.js.map +1 -1
  566. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  567. package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -1
  568. package/lib/esm/serialization/BGFBAccessors.js.map +1 -1
  569. package/lib/esm/serialization/BGFBReader.js.map +1 -1
  570. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  571. package/lib/esm/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  572. package/lib/esm/serialization/DeepCompare.js.map +1 -1
  573. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  574. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  575. package/lib/esm/serialization/SerializationHelpers.js.map +1 -1
  576. package/lib/esm/solid/Box.js.map +1 -1
  577. package/lib/esm/solid/Cone.js.map +1 -1
  578. package/lib/esm/solid/LinearSweep.js.map +1 -1
  579. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  580. package/lib/esm/solid/RuledSweep.js.map +1 -1
  581. package/lib/esm/solid/SolidPrimitive.js.map +1 -1
  582. package/lib/esm/solid/Sphere.js.map +1 -1
  583. package/lib/esm/solid/SweepContour.js.map +1 -1
  584. package/lib/esm/solid/TorusPipe.js.map +1 -1
  585. package/lib/esm/topology/ChainMerge.js.map +1 -1
  586. package/lib/esm/topology/Graph.js.map +1 -1
  587. package/lib/esm/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  588. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -1
  589. package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  590. package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -1
  591. package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -1
  592. package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  593. package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  594. package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -1
  595. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -1
  596. package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -1
  597. package/lib/esm/topology/MaskManager.js.map +1 -1
  598. package/lib/esm/topology/Merging.d.ts +15 -7
  599. package/lib/esm/topology/Merging.d.ts.map +1 -1
  600. package/lib/esm/topology/Merging.js +15 -10
  601. package/lib/esm/topology/Merging.js.map +1 -1
  602. package/lib/esm/topology/RegularizeFace.js.map +1 -1
  603. package/lib/esm/topology/SignedDataSummary.js.map +1 -1
  604. package/lib/esm/topology/SpaceTriangulation.js.map +1 -1
  605. package/lib/esm/topology/Triangulation.js.map +1 -1
  606. package/lib/esm/topology/Voronoi.js.map +1 -1
  607. package/lib/esm/topology/XYParitySearchContext.js.map +1 -1
  608. package/package.json +3 -3
@@ -13,42 +13,38 @@ const GrowableXYZArray_1 = require("./GrowableXYZArray");
13
13
  const IndexedXYCollection_1 = require("./IndexedXYCollection");
14
14
  const Point2dVector2d_1 = require("./Point2dVector2d");
15
15
  const Point3dVector3d_1 = require("./Point3dVector3d");
16
- /** `GrowableXYArray` manages a (possibly growing) Float64Array to pack xy coordinates.
16
+ /**
17
+ * `GrowableXYArray` manages a (possibly growing) Float64Array to pack xy coordinates.
17
18
  * @public
18
19
  */
19
- class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
20
- /**
21
- * array of packed xy xy xy components
22
- */
20
+ class GrowableXYArray extends IndexedXYCollection_1.IndexedReadWriteXYCollection {
21
+ /** Array of packed xy xy xy components. */
23
22
  _data;
24
- /**
25
- * Number of xy tuples (not floats) in the array
26
- */
23
+ /** Number of xy tuples (not floats) in the array. */
27
24
  _xyInUse;
28
- /**
29
- * capacity in xy tuples. (not floats)
30
- */
25
+ /** Capacity in xy tuples. (not floats). */
31
26
  _xyCapacity;
32
- /**
33
- * multiplier used by ensureCapacity to expand requested reallocation size
34
- */
27
+ /** Multiplier used by ensureCapacity to expand requested reallocation size. */
35
28
  _growthFactor;
36
- /** Construct a new GrowablePoint2d array.
37
- * @param numPoints initial capacity in xy tuples (default 8)
38
- * @param growthFactor used by ensureCapacity to expand requested reallocation size (default 1.5)
29
+ /**
30
+ * Construct a new GrowablePoint2d array.
31
+ * @param numPoints initial capacity in xy tuples (default 8).
32
+ * @param growthFactor used by ensureCapacity to expand requested reallocation size (default 1.5).
33
+ * @param data optional pre-existing Float64Array to use as the backing memory. If supplied, numPoints is ignored.
39
34
  */
40
- constructor(numPoints = 8, growthFactor) {
35
+ constructor(numPoints = 8, growthFactor, data) {
41
36
  super();
42
- this._data = new Float64Array(numPoints * 2); // 2 values per point
37
+ this._data = data || new Float64Array(numPoints * 2); // 2 values per point
43
38
  this._xyInUse = 0;
44
- this._xyCapacity = numPoints;
39
+ this._xyCapacity = data ? data.length / 2 : numPoints;
45
40
  this._growthFactor = (undefined !== growthFactor && growthFactor >= 1.0) ? growthFactor : 1.5;
46
41
  }
47
- /** Copy xy points from source array. Does not reallocate or change active point count.
48
- * @param source array to copy from
49
- * @param sourceCount copy the first sourceCount points; all points if undefined
50
- * @param destOffset copy to instance array starting at this point index; zero if undefined
51
- * @return count and offset of points copied
42
+ /**
43
+ * Copy xy points from source array. Does not reallocate or change active point count.
44
+ * @param source array to copy from.
45
+ * @param sourceCount copy the first sourceCount points; all points if undefined.
46
+ * @param destOffset copy to instance array starting at this point index; zero if undefined.
47
+ * @return count and offset of points copied.
52
48
  */
53
49
  copyData(source, sourceCount, destOffset) {
54
50
  // validate inputs and convert from points to entries
@@ -77,30 +73,45 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
77
73
  return { count: myCount / 2, offset: myOffset / 2 };
78
74
  }
79
75
  /** The number of points in use. When the length is increased, the array is padded with zeroes. */
80
- get length() { return this._xyInUse; }
81
- set length(newLength) { this.resize(newLength, true); }
76
+ get length() {
77
+ return this._xyInUse;
78
+ }
79
+ set length(newLength) {
80
+ this.resize(newLength, true);
81
+ }
82
82
  /** Return the number of float64 in use. */
83
- get float64Length() { return this._xyInUse * 2; }
84
- /** Return the raw packed data.
83
+ get float64Length() {
84
+ return this._xyInUse * 2;
85
+ }
86
+ /**
87
+ * Return the raw packed data.
85
88
  * * Note that the length of the returned Float64Array is a count of doubles, and includes the excess capacity
86
89
  */
87
- float64Data() { return this._data; }
88
- /** If necessary, increase the capacity to a new pointCount. Current coordinates and point count (length) are unchanged. */
90
+ float64Data() {
91
+ return this._data;
92
+ }
93
+ /** If necessary, increase the capacity to a new pointCount. Current coordinates and point count (length) are unchanged. */
89
94
  ensureCapacity(pointCapacity, applyGrowthFactor = true) {
90
95
  if (pointCapacity > this._xyCapacity) {
91
96
  if (applyGrowthFactor)
92
- pointCapacity *= this._growthFactor;
97
+ pointCapacity = Math.trunc(pointCapacity * this._growthFactor);
93
98
  const prevData = this._data;
94
- this._data = new Float64Array(pointCapacity * 2);
99
+ if (this._data.buffer instanceof ArrayBuffer)
100
+ this._data = new Float64Array(new ArrayBuffer(pointCapacity * 2 * this._data.BYTES_PER_ELEMENT));
101
+ else
102
+ this._data = new Float64Array(new SharedArrayBuffer(pointCapacity * 2 * this._data.BYTES_PER_ELEMENT));
95
103
  this.copyData(prevData, this._xyInUse);
96
104
  this._xyCapacity = pointCapacity;
97
105
  }
98
106
  }
99
107
  /**
100
- * * If pointCount is less than current length, just reset current length to pointCount, effectively trimming active points but preserving original capacity.
101
- * * If pointCount is greater than current length, reallocate to exactly pointCount, copy existing points, and optionally pad excess with zero.
102
- * @param pointCount new number of active points in array
103
- * @param padWithZero when increasing point count, whether to zero out new points (default false)
108
+ * Resize the internal storage to hold a new number of points.
109
+ * * If pointCount is less than current length, just reset current length to pointCount, effectively trimming active
110
+ * points but preserving original capacity.
111
+ * * If pointCount is greater than current length, reallocate to exactly pointCount, copy existing points, and
112
+ * optionally pad excess with zero.
113
+ * @param pointCount new number of active points in array.
114
+ * @param padWithZero when increasing point count, whether to zero out new points (default false).
104
115
  */
105
116
  resize(pointCount, padWithZero) {
106
117
  if (pointCount >= 0 && pointCount < this._xyInUse)
@@ -112,17 +123,15 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
112
123
  this._xyInUse = pointCount;
113
124
  }
114
125
  }
115
- /**
116
- * Make a copy of the (active) points in this array.
117
- * (The clone does NOT get excess capacity)
118
- */
126
+ /** Make a copy of the (active) points in this array (the clone does NOT get excess capacity). */
119
127
  clone() {
120
128
  const newPoints = new GrowableXYArray(this.length);
121
129
  newPoints.copyData(this._data, this.length);
122
130
  newPoints._xyInUse = this.length;
123
131
  return newPoints;
124
132
  }
125
- /** Create an array populated from
133
+ /**
134
+ * Create an array by copying data from various point formats.
126
135
  * Valid inputs are:
127
136
  * * Point2d
128
137
  * * Point3d
@@ -132,7 +141,9 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
132
141
  * * A GrowableXYArray
133
142
  * * Any json object satisfying Point3d.isXAndY
134
143
  * * A Float64Array of doubles, interpreted as xyxy
135
- * * An array of any of the above
144
+ * * An array of any of the above.
145
+ * @param data source points.
146
+ * @param result optional pre-allocated GrowableXYArray to clear and fill.
136
147
  */
137
148
  static create(data, result) {
138
149
  if (result) {
@@ -145,23 +156,32 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
145
156
  result.pushFrom(data);
146
157
  return result;
147
158
  }
148
- /** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
159
+ /**
160
+ * Create a new GrowableXYArray capturing the provided data. The data is not copied, just referenced.
161
+ * @param data source data to capture.
162
+ * @returns a new GrowableXYArray object that references the provided data.
163
+ */
164
+ static createCapture(data) {
165
+ return new GrowableXYArray(0, undefined, data);
166
+ }
167
+ /**
168
+ * Restructure MultiLineStringDataVariant as array of GrowableXYZArray
149
169
  * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
150
170
  */
151
171
  static createArrayOfGrowableXYZArray(data) {
152
172
  return GrowableXYZArray_1.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
153
173
  }
154
- /** push a point to the end of the array */
174
+ /** Push a point to the end of the array. */
155
175
  push(toPush) {
156
176
  this.pushXY(toPush.x, toPush.y);
157
177
  }
158
- /** push all points of an array */
178
+ /** Push all points of an array. */
159
179
  pushAll(points) {
160
180
  this.ensureCapacity(this._xyInUse + points.length, false);
161
181
  for (const p of points)
162
182
  this.push(p);
163
183
  }
164
- /** push all points of an array */
184
+ /** Push all points of an array. */
165
185
  pushAllXYAndZ(points) {
166
186
  this.ensureCapacity(this._xyInUse + points.length, false);
167
187
  if (points instanceof GrowableXYZArray_1.GrowableXYZArray) {
@@ -175,7 +195,8 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
175
195
  this.pushXY(p.x, p.y);
176
196
  }
177
197
  }
178
- /** Push copies of points from variant sources.
198
+ /**
199
+ * Push copies of points from variant sources.
179
200
  * Valid inputs are:
180
201
  * * Point2d
181
202
  * * Point3d
@@ -184,7 +205,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
184
205
  * * A GrowableXYZArray
185
206
  * * Any json object satisfying Point3d.isXAndY
186
207
  * * A Float64Array of doubles, interpreted as xyxy
187
- * * An array of any of the above
208
+ * * An array of any of the above.
188
209
  */
189
210
  pushFrom(p) {
190
211
  if (p instanceof Point3dVector3d_1.Point3d) {
@@ -206,7 +227,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
206
227
  this.pushXY(p[0], p[1]);
207
228
  }
208
229
  else if (Array.isArray(p)) {
209
- // direct recursion re-wraps p and goes infinite. Unroll here.
230
+ // direct recursion re-wraps p and goes infinite; unroll here.
210
231
  for (const q of p)
211
232
  this.pushFrom(q);
212
233
  }
@@ -222,7 +243,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
222
243
  }
223
244
  /**
224
245
  * Replicate numWrap xy values from the front of the array as new values at the end.
225
- * @param numWrap number of xy values to replicate
246
+ * @param numWrap number of xy values to replicate.
226
247
  */
227
248
  pushWrap(numWrap) {
228
249
  if (this._xyInUse >= numWrap) {
@@ -241,16 +262,17 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
241
262
  this._data[index + 1] = y;
242
263
  this._xyInUse++;
243
264
  }
244
- /** Remove one point from the back.
265
+ /**
266
+ * Remove one point from the back.
245
267
  * * NOTE that (in the manner of std::vector native) this is "just" removing the point -- no point is NOT returned.
246
- * * Use `back ()` to get the last x,y assembled into a `Point2d `
268
+ * * Use `back ()` to get the last x,y assembled into a `Point2d`.
247
269
  */
248
270
  pop() {
249
271
  if (this._xyInUse > 0)
250
272
  this._xyInUse--;
251
273
  }
252
274
  /**
253
- * Test if index is valid for an xy (point or vector) within this array
275
+ * Test if index is valid for an xy (point or vector) within this array.
254
276
  * @param index xy index to test.
255
277
  */
256
278
  isIndexValid(index) {
@@ -258,38 +280,34 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
258
280
  return false;
259
281
  return true;
260
282
  }
261
- /**
262
- * Clear all xy data, but leave capacity unchanged.
263
- */
283
+ /** Clear all xy data, but leave capacity unchanged. */
264
284
  clear() {
265
285
  this._xyInUse = 0;
266
286
  }
267
287
  /**
268
- * Get a point by index, strongly typed as a Point2d. This is unchecked. Use atPoint2dIndex to have validity test.
269
- * @param pointIndex index to access
270
- * @param result optional result
288
+ * Get a point by index, strongly typed as a `Point2d`. This is unchecked. Use atPoint2dIndex to have validity test.
289
+ * @param pointIndex index to access.
290
+ * @param result optional result.
271
291
  */
272
292
  getPoint2dAtUncheckedPointIndex(pointIndex, result) {
273
293
  const index = 2 * pointIndex;
274
294
  return Point2dVector2d_1.Point2d.create(this._data[index], this._data[index + 1], result);
275
295
  }
276
296
  /**
277
- * Get x coordinate by point index, with no index checking
278
- * @param pointIndex index to access
297
+ * Get x coordinate by point index, with no index checking.
298
+ * @param pointIndex index to access.
279
299
  */
280
300
  getXAtUncheckedPointIndex(pointIndex) {
281
301
  return this._data[2 * pointIndex];
282
302
  }
283
303
  /**
284
- * Get y coordinate by point index, with no index checking
285
- * @param pointIndex index to access
304
+ * Get y coordinate by point index, with no index checking.
305
+ * @param pointIndex index to access.
286
306
  */
287
307
  getYAtUncheckedPointIndex(pointIndex) {
288
308
  return this._data[2 * pointIndex + 1];
289
309
  }
290
- /**
291
- * Gather all points as a Point2d[]
292
- */
310
+ /** Gather all points as a Point2d[]. */
293
311
  getPoint2dArray() {
294
312
  const n = 2 * this._xyInUse;
295
313
  const result = [];
@@ -298,7 +316,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
298
316
  result.push(Point2dVector2d_1.Point2d.create(data[i], data[i + 1]));
299
317
  return result;
300
318
  }
301
- /** copy xy into strongly typed Point2d */
319
+ /** Copy xy into strongly typed Point2d. */
302
320
  getPoint2dAtCheckedPointIndex(pointIndex, result) {
303
321
  if (this.isIndexValid(pointIndex)) {
304
322
  const index = 2 * pointIndex;
@@ -306,7 +324,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
306
324
  }
307
325
  return undefined;
308
326
  }
309
- /** copy xy into strongly typed Vector2d */
327
+ /** Copy xy into strongly typed Vector2d. */
310
328
  getVector2dAtCheckedVectorIndex(vectorIndex, result) {
311
329
  if (this.isIndexValid(vectorIndex)) {
312
330
  const index = 2 * vectorIndex;
@@ -316,9 +334,9 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
316
334
  }
317
335
  /**
318
336
  * Read coordinates from source array, place them at index within this array.
319
- * @param destIndex point index where coordinates are to be placed in this array
320
- * @param source source array
321
- * @param sourceIndex point index in source array
337
+ * @param destIndex point index where coordinates are to be placed in this array.
338
+ * @param source source array.
339
+ * @param sourceIndex point index in source array.
322
340
  * @returns true if destIndex and sourceIndex are both valid.
323
341
  */
324
342
  transferFromGrowableXYArray(destIndex, source, sourceIndex) {
@@ -332,13 +350,13 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
332
350
  return false;
333
351
  }
334
352
  /**
335
- * push coordinates from the source array to the end of this array.
336
- * @param source source array
337
- * @param sourceIndex xy index within the source. If undefined, push entire contents of source
353
+ * Push coordinates from the source array to the end of this array.
354
+ * @param source source array.
355
+ * @param sourceIndex xy index within the source. If undefined, push entire contents of source.
338
356
  * @returns number of points pushed.
339
357
  */
340
358
  pushFromGrowableXYArray(source, sourceIndex) {
341
- // full array push . . .
359
+ // full array push
342
360
  if (sourceIndex === undefined) {
343
361
  const numXYAdd = source.length;
344
362
  this.ensureCapacity(this.length + numXYAdd, false);
@@ -346,7 +364,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
346
364
  this._xyInUse += numXYAdd;
347
365
  return numXYAdd;
348
366
  }
349
- // single point push . . .
367
+ // single point push
350
368
  if (source.isIndexValid(sourceIndex)) {
351
369
  const j = sourceIndex * 2;
352
370
  this.pushXY(source._data[j], source._data[j + 1]);
@@ -355,8 +373,8 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
355
373
  return 0;
356
374
  }
357
375
  /**
358
- * * Compute a point at fractional coordinate between points i and j of source
359
- * * push onto this array.
376
+ * * Compute a point at fractional coordinate between points i and j of source.
377
+ * * Push onto this array.
360
378
  */
361
379
  pushInterpolatedFromGrowableXYArray(source, i, fraction, j) {
362
380
  if (source.isIndexValid(i) && source.isIndexValid(j)) {
@@ -369,7 +387,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
369
387
  }
370
388
  /**
371
389
  * Create an array of xy points from source xyz points.
372
- * @param source source array of xyz
390
+ * @param source source array of xyz.
373
391
  * @param transform optional transform to apply to xyz points.
374
392
  * @param dest optional result.
375
393
  */
@@ -397,17 +415,13 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
397
415
  }
398
416
  return dest;
399
417
  }
400
- /**
401
- * Return the first point, or undefined if the array is empty.
402
- */
418
+ /** Return the first point, or undefined if the array is empty. */
403
419
  front(result) {
404
420
  if (this._xyInUse === 0)
405
421
  return undefined;
406
422
  return this.getPoint2dAtUncheckedPointIndex(0, result);
407
423
  }
408
- /**
409
- * Return the last point, or undefined if the array is empty.
410
- */
424
+ /** Return the last point, or undefined if the array is empty. */
411
425
  back(result) {
412
426
  if (this._xyInUse < 1)
413
427
  return undefined;
@@ -415,8 +429,8 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
415
429
  }
416
430
  /**
417
431
  * Set the coordinates of a single point.
418
- * @param pointIndex index of point to set
419
- * @param value coordinates to set
432
+ * @param pointIndex index of point to set.
433
+ * @param value coordinates to set.
420
434
  */
421
435
  setAtCheckedPointIndex(pointIndex, value) {
422
436
  if (!this.isIndexValid(pointIndex))
@@ -428,9 +442,9 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
428
442
  }
429
443
  /**
430
444
  * Set the coordinates of a single point given as coordinates.
431
- * @param pointIndex index of point to set
432
- * @param x x coordinate
433
- * @param y y coordinate
445
+ * @param pointIndex index of point to set.
446
+ * @param x x coordinate.
447
+ * @param y y coordinate.
434
448
  */
435
449
  setXYAtCheckedPointIndex(pointIndex, x, y) {
436
450
  if (!this.isIndexValid(pointIndex))
@@ -440,9 +454,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
440
454
  this._data[index + 1] = y;
441
455
  return true;
442
456
  }
443
- /**
444
- * Copy all points into a simple array of Point3d with given z.
445
- */
457
+ /** Copy all points into a simple array of Point3d with given z. */
446
458
  getPoint3dArray(z = 0) {
447
459
  const n = 2 * this._xyInUse;
448
460
  const result = [];
@@ -451,7 +463,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
451
463
  result.push(Point3dVector3d_1.Point3d.create(data[i], data[i + 1], z));
452
464
  return result;
453
465
  }
454
- /** reverse the order of points. */
466
+ /** Reverse the order of points. */
455
467
  reverseInPlace() {
456
468
  const n = this.length;
457
469
  let j0, j1;
@@ -470,7 +482,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
470
482
  data[j1] = a;
471
483
  }
472
484
  }
473
- /** multiply each point by the transform, replace values. */
485
+ /** Multiply each point by the transform, replace values. */
474
486
  multiplyTransformInPlace(transform) {
475
487
  const data = this._data;
476
488
  const nDouble = this.float64Length;
@@ -487,7 +499,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
487
499
  data[i + 1] = coffs[3] * x + coffs[4] * y + y0;
488
500
  }
489
501
  }
490
- /** multiply each xy (as a vector) by matrix, replace values. */
502
+ /** Multiply each xy (as a vector) by matrix, replace values. */
491
503
  multiplyMatrix3dInPlace(matrix) {
492
504
  const data = this._data;
493
505
  const nDouble = this.float64Length;
@@ -501,7 +513,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
501
513
  data[i + 1] = coffs[3] * x + coffs[4] * y;
502
514
  }
503
515
  }
504
- /** multiply each point by the transform, replace values. */
516
+ /** Multiply each point by the transform, replace values. */
505
517
  tryTransformInverseInPlace(transform) {
506
518
  const data = this._data;
507
519
  const nDouble = this.float64Length;
@@ -536,7 +548,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
536
548
  rangeToExtend.extendXY(data[i], data[i + 1]);
537
549
  }
538
550
  }
539
- /** sum the lengths of segments between points. */
551
+ /** Sum the lengths of segments between points. */
540
552
  sumLengths() {
541
553
  let sum = 0.0;
542
554
  const n = 2 * (this._xyInUse - 1); // Length already takes into account what specifically is in use
@@ -547,7 +559,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
547
559
  }
548
560
  /**
549
561
  * Multiply each x,y by the scale factor.
550
- * @param factor
562
+ * @param factor scale factor.
551
563
  */
552
564
  scaleInPlace(factor) {
553
565
  if (this._data) {
@@ -556,7 +568,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
556
568
  this._data[i] = this._data[i] * factor;
557
569
  }
558
570
  }
559
- /** Compute a point at fractional coordinate between points i and j */
571
+ /** Compute a point at fractional coordinate between points i and j. */
560
572
  interpolate(i, fraction, j, result) {
561
573
  if (this.isIndexValid(i) && this.isIndexValid(j)) {
562
574
  const fraction0 = 1.0 - fraction;
@@ -567,10 +579,10 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
567
579
  }
568
580
  return undefined;
569
581
  }
570
- /** Sum the signed areas of the projection to xy plane */
582
+ /** Sum the signed areas of the projection to xy plane. */
571
583
  areaXY() {
572
584
  let area = 0.0;
573
- const n = 2 * this._xyInUse; // float count !!
585
+ const n = 2 * this._xyInUse; // float count
574
586
  if (n > 4) {
575
587
  const x0 = this._data[n - 2];
576
588
  const y0 = this._data[n - 1];
@@ -586,7 +598,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
586
598
  }
587
599
  return 0.5 * area;
588
600
  }
589
- /** Compute a vector from index origin i to indexed target j */
601
+ /** Compute a vector from index origin i to indexed target j. */
590
602
  vectorIndexIndex(i, j, result) {
591
603
  if (!this.isIndexValid(i) || !this.isIndexValid(j))
592
604
  return undefined;
@@ -595,7 +607,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
595
607
  j = 2 * j;
596
608
  return Point2dVector2d_1.Vector2d.create(data[j] - data[i], data[j + 1] - data[i + 1], result);
597
609
  }
598
- /** Compute a vector from origin to indexed target j */
610
+ /** Compute a vector from origin to indexed target j. */
599
611
  vectorXAndYIndex(origin, j, result) {
600
612
  if (this.isIndexValid(j)) {
601
613
  const data = this._data;
@@ -604,7 +616,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
604
616
  }
605
617
  return undefined;
606
618
  }
607
- /** Compute the cross product of vectors from from indexed origin to indexed targets i and j */
619
+ /** Compute the cross product of vectors from from indexed origin to indexed targets i and j. */
608
620
  crossProductIndexIndexIndex(originIndex, targetAIndex, targetBIndex) {
609
621
  if (this.isIndexValid(originIndex) && this.isIndexValid(targetAIndex) && this.isIndexValid(targetBIndex)) {
610
622
  const i = originIndex * 2;
@@ -615,7 +627,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
615
627
  }
616
628
  return undefined;
617
629
  }
618
- /** Compute the cross product of vectors from from origin to indexed targets i and j */
630
+ /** Compute the cross product of vectors from from origin to indexed targets i and j. */
619
631
  crossProductXAndYIndexIndex(origin, targetAIndex, targetBIndex) {
620
632
  if (this.isIndexValid(targetAIndex) && this.isIndexValid(targetBIndex)) {
621
633
  const j = targetAIndex * 2;
@@ -655,7 +667,7 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
655
667
  // if both are null it is equal, otherwise unequal
656
668
  return (!dataA && !dataB);
657
669
  }
658
- /** Return an array of block indices sorted per compareLexicalBlock function */
670
+ /** Return an array of block indices sorted per compareLexicalBlock function. */
659
671
  sortIndicesLexical() {
660
672
  const n = this._xyInUse;
661
673
  // let numCompare = 0;
@@ -681,13 +693,13 @@ class GrowableXYArray extends IndexedXYCollection_1.IndexedXYCollection {
681
693
  if (ax < bx)
682
694
  return -1;
683
695
  }
684
- return ia - ib; // so original order is maintained among duplicates !!!!
696
+ return ia - ib; // so original order is maintained among duplicates
685
697
  }
686
- /** Access a single double at offset within a block. This has no index checking. */
698
+ /** Access a single double at offset within a block. This has no index checking. */
687
699
  component(pointIndex, componentIndex) {
688
700
  return this._data[2 * pointIndex + componentIndex];
689
701
  }
690
- /** Toleranced equality test */
702
+ /** Toleranced equality test. */
691
703
  isAlmostEqual(other, tolerance = Geometry_1.Geometry.smallMetricDistance) {
692
704
  const numXY = this._xyInUse;
693
705
  if (other._xyInUse !== numXY)