@itwin/core-geometry 4.1.0-dev.13 → 4.1.0-dev.14

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 (483) hide show
  1. package/lib/cjs/Constant.js.map +1 -1
  2. package/lib/cjs/Geometry.js.map +1 -1
  3. package/lib/cjs/bspline/AkimaCurve3d.js.map +1 -1
  4. package/lib/cjs/bspline/BSpline1dNd.js.map +1 -1
  5. package/lib/cjs/bspline/BSplineCurve.js.map +1 -1
  6. package/lib/cjs/bspline/BSplineCurve3dH.js.map +1 -1
  7. package/lib/cjs/bspline/BSplineCurveOps.js.map +1 -1
  8. package/lib/cjs/bspline/BSplineSurface.js.map +1 -1
  9. package/lib/cjs/bspline/Bezier1dNd.js.map +1 -1
  10. package/lib/cjs/bspline/BezierCurve3d.js.map +1 -1
  11. package/lib/cjs/bspline/BezierCurve3dH.js.map +1 -1
  12. package/lib/cjs/bspline/BezierCurveBase.js.map +1 -1
  13. package/lib/cjs/bspline/InterpolationCurve3d.js.map +1 -1
  14. package/lib/cjs/bspline/KnotVector.js.map +1 -1
  15. package/lib/cjs/bspline/SurfaceLocationDetail.js.map +1 -1
  16. package/lib/cjs/clipping/AlternatingConvexClipTree.js.map +1 -1
  17. package/lib/cjs/clipping/BooleanClipFactory.js.map +1 -1
  18. package/lib/cjs/clipping/BooleanClipNode.js.map +1 -1
  19. package/lib/cjs/clipping/ClipPlane.js.map +1 -1
  20. package/lib/cjs/clipping/ClipPrimitive.js.map +1 -1
  21. package/lib/cjs/clipping/ClipUtils.js.map +1 -1
  22. package/lib/cjs/clipping/ClipVector.js.map +1 -1
  23. package/lib/cjs/clipping/ConvexClipPlaneSet.js.map +1 -1
  24. package/lib/cjs/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  25. package/lib/cjs/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  26. package/lib/cjs/core-geometry.js.map +1 -1
  27. package/lib/cjs/curve/Arc3d.js.map +1 -1
  28. package/lib/cjs/curve/ChainCollectorContext.js.map +1 -1
  29. package/lib/cjs/curve/ConstructCurveBetweenCurves.js.map +1 -1
  30. package/lib/cjs/curve/CoordinateXYZ.js.map +1 -1
  31. package/lib/cjs/curve/CurveChain.js.map +1 -1
  32. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts +61 -41
  33. package/lib/cjs/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  34. package/lib/cjs/curve/CurveChainWithDistanceIndex.js +69 -46
  35. package/lib/cjs/curve/CurveChainWithDistanceIndex.js.map +1 -1
  36. package/lib/cjs/curve/CurveCollection.js.map +1 -1
  37. package/lib/cjs/curve/CurveCurve.js.map +1 -1
  38. package/lib/cjs/curve/CurveCurveCloseApproachXY.js.map +1 -1
  39. package/lib/cjs/curve/CurveCurveIntersectXY.js.map +1 -1
  40. package/lib/cjs/curve/CurveCurveIntersectXYZ.js.map +1 -1
  41. package/lib/cjs/curve/CurveExtendMode.js.map +1 -1
  42. package/lib/cjs/curve/CurveFactory.js.map +1 -1
  43. package/lib/cjs/curve/CurveLocationDetail.js.map +1 -1
  44. package/lib/cjs/curve/CurvePrimitive.js.map +1 -1
  45. package/lib/cjs/curve/CurveProcessor.js.map +1 -1
  46. package/lib/cjs/curve/CurveWireMomentsXYZ.js.map +1 -1
  47. package/lib/cjs/curve/GeometryQuery.js.map +1 -1
  48. package/lib/cjs/curve/LineSegment3d.js.map +1 -1
  49. package/lib/cjs/curve/LineString3d.js.map +1 -1
  50. package/lib/cjs/curve/Loop.d.ts +7 -5
  51. package/lib/cjs/curve/Loop.d.ts.map +1 -1
  52. package/lib/cjs/curve/Loop.js +18 -6
  53. package/lib/cjs/curve/Loop.js.map +1 -1
  54. package/lib/cjs/curve/ParityRegion.d.ts +7 -7
  55. package/lib/cjs/curve/ParityRegion.d.ts.map +1 -1
  56. package/lib/cjs/curve/ParityRegion.js +19 -11
  57. package/lib/cjs/curve/ParityRegion.js.map +1 -1
  58. package/lib/cjs/curve/Path.d.ts +6 -6
  59. package/lib/cjs/curve/Path.d.ts.map +1 -1
  60. package/lib/cjs/curve/Path.js +15 -9
  61. package/lib/cjs/curve/Path.js.map +1 -1
  62. package/lib/cjs/curve/PointString3d.js.map +1 -1
  63. package/lib/cjs/curve/ProxyCurve.d.ts +4 -6
  64. package/lib/cjs/curve/ProxyCurve.d.ts.map +1 -1
  65. package/lib/cjs/curve/ProxyCurve.js +7 -7
  66. package/lib/cjs/curve/ProxyCurve.js.map +1 -1
  67. package/lib/cjs/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  68. package/lib/cjs/curve/Query/CurveSplitContext.js.map +1 -1
  69. package/lib/cjs/curve/Query/CylindricalRange.js.map +1 -1
  70. package/lib/cjs/curve/Query/InOutTests.js.map +1 -1
  71. package/lib/cjs/curve/Query/PlanarSubdivision.js.map +1 -1
  72. package/lib/cjs/curve/Query/StrokeCountChain.js.map +1 -1
  73. package/lib/cjs/curve/Query/StrokeCountMap.js.map +1 -1
  74. package/lib/cjs/curve/RegionMomentsXY.js.map +1 -1
  75. package/lib/cjs/curve/RegionOps.d.ts +70 -43
  76. package/lib/cjs/curve/RegionOps.d.ts.map +1 -1
  77. package/lib/cjs/curve/RegionOps.js +71 -43
  78. package/lib/cjs/curve/RegionOps.js.map +1 -1
  79. package/lib/cjs/curve/RegionOpsClassificationSweeps.js.map +1 -1
  80. package/lib/cjs/curve/StrokeOptions.js.map +1 -1
  81. package/lib/cjs/curve/UnionRegion.d.ts +6 -5
  82. package/lib/cjs/curve/UnionRegion.d.ts.map +1 -1
  83. package/lib/cjs/curve/UnionRegion.js +17 -8
  84. package/lib/cjs/curve/UnionRegion.js.map +1 -1
  85. package/lib/cjs/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  86. package/lib/cjs/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  87. package/lib/cjs/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  88. package/lib/cjs/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  89. package/lib/cjs/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  90. package/lib/cjs/curve/internalContexts/CurveLengthContext.js.map +1 -1
  91. package/lib/cjs/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  92. package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts +2 -1
  93. package/lib/cjs/curve/internalContexts/GapSearchContext.d.ts.map +1 -1
  94. package/lib/cjs/curve/internalContexts/GapSearchContext.js +6 -2
  95. package/lib/cjs/curve/internalContexts/GapSearchContext.js.map +1 -1
  96. package/lib/cjs/curve/internalContexts/MultiChainCollector.js.map +1 -1
  97. package/lib/cjs/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  98. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +14 -8
  99. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -1
  100. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js +14 -8
  101. package/lib/cjs/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  102. package/lib/cjs/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  103. package/lib/cjs/curve/internalContexts/SumLengthsContext.d.ts.map +1 -1
  104. package/lib/cjs/curve/internalContexts/SumLengthsContext.js +4 -1
  105. package/lib/cjs/curve/internalContexts/SumLengthsContext.js.map +1 -1
  106. package/lib/cjs/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  107. package/lib/cjs/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  108. package/lib/cjs/curve/spiral/ClothoidSeries.js.map +1 -1
  109. package/lib/cjs/curve/spiral/CubicEvaluator.js.map +1 -1
  110. package/lib/cjs/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  111. package/lib/cjs/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  112. package/lib/cjs/curve/spiral/DirectSpiral3d.js.map +1 -1
  113. package/lib/cjs/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  114. package/lib/cjs/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  115. package/lib/cjs/curve/spiral/NormalizedTransition.js.map +1 -1
  116. package/lib/cjs/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  117. package/lib/cjs/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  118. package/lib/cjs/curve/spiral/TransitionSpiral3d.js.map +1 -1
  119. package/lib/cjs/curve/spiral/XYCurveEvaluator.js.map +1 -1
  120. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  121. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
  122. package/lib/cjs/geometry3d/BarycentricTriangle.js.map +1 -1
  123. package/lib/cjs/geometry3d/BilinearPatch.js.map +1 -1
  124. package/lib/cjs/geometry3d/CoincidentGeometryOps.js.map +1 -1
  125. package/lib/cjs/geometry3d/Ellipsoid.js.map +1 -1
  126. package/lib/cjs/geometry3d/FrameBuilder.js.map +1 -1
  127. package/lib/cjs/geometry3d/FrustumAnimation.js.map +1 -1
  128. package/lib/cjs/geometry3d/GeometryHandler.js.map +1 -1
  129. package/lib/cjs/geometry3d/GrowableBlockedArray.js.map +1 -1
  130. package/lib/cjs/geometry3d/GrowableFloat64Array.js.map +1 -1
  131. package/lib/cjs/geometry3d/GrowableXYArray.js.map +1 -1
  132. package/lib/cjs/geometry3d/GrowableXYZArray.js.map +1 -1
  133. package/lib/cjs/geometry3d/IndexedCollectionInterval.js.map +1 -1
  134. package/lib/cjs/geometry3d/IndexedXYCollection.js.map +1 -1
  135. package/lib/cjs/geometry3d/IndexedXYZCollection.js.map +1 -1
  136. package/lib/cjs/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  137. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  138. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -1
  139. package/lib/cjs/geometry3d/Plane3d.js.map +1 -1
  140. package/lib/cjs/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  141. package/lib/cjs/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  142. package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -1
  143. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -1
  144. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  145. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  146. package/lib/cjs/geometry3d/PointHelpers.js.map +1 -1
  147. package/lib/cjs/geometry3d/PointStreaming.js.map +1 -1
  148. package/lib/cjs/geometry3d/PolygonOps.js.map +1 -1
  149. package/lib/cjs/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  150. package/lib/cjs/geometry3d/PolylineOps.js.map +1 -1
  151. package/lib/cjs/geometry3d/Range.d.ts +133 -93
  152. package/lib/cjs/geometry3d/Range.d.ts.map +1 -1
  153. package/lib/cjs/geometry3d/Range.js +296 -144
  154. package/lib/cjs/geometry3d/Range.js.map +1 -1
  155. package/lib/cjs/geometry3d/Ray3d.js.map +1 -1
  156. package/lib/cjs/geometry3d/ReusableObjectCache.js.map +1 -1
  157. package/lib/cjs/geometry3d/Segment1d.js.map +1 -1
  158. package/lib/cjs/geometry3d/SortablePolygon.js.map +1 -1
  159. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  160. package/lib/cjs/geometry3d/UVSurfaceOps.js.map +1 -1
  161. package/lib/cjs/geometry3d/XYZProps.js.map +1 -1
  162. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  163. package/lib/cjs/geometry4d/Map4d.js.map +1 -1
  164. package/lib/cjs/geometry4d/Matrix4d.js.map +1 -1
  165. package/lib/cjs/geometry4d/MomentData.js.map +1 -1
  166. package/lib/cjs/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  167. package/lib/cjs/geometry4d/Point4d.js.map +1 -1
  168. package/lib/cjs/numerics/BandedSystem.js.map +1 -1
  169. package/lib/cjs/numerics/BezierPolynomials.js.map +1 -1
  170. package/lib/cjs/numerics/ClusterableArray.js.map +1 -1
  171. package/lib/cjs/numerics/Complex.js.map +1 -1
  172. package/lib/cjs/numerics/ConvexPolygon2d.js.map +1 -1
  173. package/lib/cjs/numerics/Newton.js.map +1 -1
  174. package/lib/cjs/numerics/PascalCoefficients.js.map +1 -1
  175. package/lib/cjs/numerics/PolarData.js.map +1 -1
  176. package/lib/cjs/numerics/Polynomials.js.map +1 -1
  177. package/lib/cjs/numerics/Quadrature.js.map +1 -1
  178. package/lib/cjs/numerics/Range1dArray.js.map +1 -1
  179. package/lib/cjs/numerics/TriDiagonalSystem.js.map +1 -1
  180. package/lib/cjs/numerics/UnionFind.js.map +1 -1
  181. package/lib/cjs/numerics/UsageSums.js.map +1 -1
  182. package/lib/cjs/polyface/AuxData.js.map +1 -1
  183. package/lib/cjs/polyface/BoxTopology.js.map +1 -1
  184. package/lib/cjs/polyface/FacetFaceData.js.map +1 -1
  185. package/lib/cjs/polyface/FacetLocationDetail.js.map +1 -1
  186. package/lib/cjs/polyface/FacetOrientation.js.map +1 -1
  187. package/lib/cjs/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  188. package/lib/cjs/polyface/IndexedEdgeMatcher.js.map +1 -1
  189. package/lib/cjs/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  190. package/lib/cjs/polyface/Polyface.js.map +1 -1
  191. package/lib/cjs/polyface/PolyfaceBuilder.js.map +1 -1
  192. package/lib/cjs/polyface/PolyfaceClip.js.map +1 -1
  193. package/lib/cjs/polyface/PolyfaceData.js.map +1 -1
  194. package/lib/cjs/polyface/PolyfaceQuery.js.map +1 -1
  195. package/lib/cjs/polyface/RangeLengthData.js.map +1 -1
  196. package/lib/cjs/polyface/TaggedNumericData.js.map +1 -1
  197. package/lib/cjs/polyface/TriangleCandidate.js.map +1 -1
  198. package/lib/cjs/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  199. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  200. package/lib/cjs/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  201. package/lib/cjs/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  202. package/lib/cjs/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  203. package/lib/cjs/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  204. package/lib/cjs/polyface/multiclip/RangeSearch.js.map +1 -1
  205. package/lib/cjs/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  206. package/lib/cjs/polyface/multiclip/XYPointBuckets.js.map +1 -1
  207. package/lib/cjs/serialization/BGFBAccessors.js.map +1 -1
  208. package/lib/cjs/serialization/BGFBReader.js.map +1 -1
  209. package/lib/cjs/serialization/BGFBWriter.js.map +1 -1
  210. package/lib/cjs/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  211. package/lib/cjs/serialization/DeepCompare.js.map +1 -1
  212. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  213. package/lib/cjs/serialization/IModelJsonSchema.js.map +1 -1
  214. package/lib/cjs/solid/Box.js.map +1 -1
  215. package/lib/cjs/solid/Cone.js.map +1 -1
  216. package/lib/cjs/solid/LinearSweep.js.map +1 -1
  217. package/lib/cjs/solid/RotationalSweep.js.map +1 -1
  218. package/lib/cjs/solid/RuledSweep.js.map +1 -1
  219. package/lib/cjs/solid/SolidPrimitive.js.map +1 -1
  220. package/lib/cjs/solid/Sphere.js.map +1 -1
  221. package/lib/cjs/solid/SweepContour.js.map +1 -1
  222. package/lib/cjs/solid/TorusPipe.js.map +1 -1
  223. package/lib/cjs/topology/ChainMerge.js.map +1 -1
  224. package/lib/cjs/topology/Graph.js.map +1 -1
  225. package/lib/cjs/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  226. package/lib/cjs/topology/HalfEdgeGraphSearch.js.map +1 -1
  227. package/lib/cjs/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  228. package/lib/cjs/topology/HalfEdgeGraphValidation.js.map +1 -1
  229. package/lib/cjs/topology/HalfEdgeMarkSet.js.map +1 -1
  230. package/lib/cjs/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  231. package/lib/cjs/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  232. package/lib/cjs/topology/HalfEdgePositionDetail.js.map +1 -1
  233. package/lib/cjs/topology/HalfEdgePriorityQueue.js.map +1 -1
  234. package/lib/cjs/topology/InsertAndRetriangulateContext.js.map +1 -1
  235. package/lib/cjs/topology/MaskManager.js.map +1 -1
  236. package/lib/cjs/topology/Merging.js.map +1 -1
  237. package/lib/cjs/topology/RegularizeFace.js.map +1 -1
  238. package/lib/cjs/topology/SignedDataSummary.js.map +1 -1
  239. package/lib/cjs/topology/SpaceTriangulation.js.map +1 -1
  240. package/lib/cjs/topology/Triangulation.js.map +1 -1
  241. package/lib/cjs/topology/XYParitySearchContext.js.map +1 -1
  242. package/lib/esm/Constant.js.map +1 -1
  243. package/lib/esm/Geometry.js.map +1 -1
  244. package/lib/esm/bspline/AkimaCurve3d.js.map +1 -1
  245. package/lib/esm/bspline/BSpline1dNd.js.map +1 -1
  246. package/lib/esm/bspline/BSplineCurve.js.map +1 -1
  247. package/lib/esm/bspline/BSplineCurve3dH.js.map +1 -1
  248. package/lib/esm/bspline/BSplineCurveOps.js.map +1 -1
  249. package/lib/esm/bspline/BSplineSurface.js.map +1 -1
  250. package/lib/esm/bspline/Bezier1dNd.js.map +1 -1
  251. package/lib/esm/bspline/BezierCurve3d.js.map +1 -1
  252. package/lib/esm/bspline/BezierCurve3dH.js.map +1 -1
  253. package/lib/esm/bspline/BezierCurveBase.js.map +1 -1
  254. package/lib/esm/bspline/InterpolationCurve3d.js.map +1 -1
  255. package/lib/esm/bspline/KnotVector.js.map +1 -1
  256. package/lib/esm/bspline/SurfaceLocationDetail.js.map +1 -1
  257. package/lib/esm/clipping/AlternatingConvexClipTree.js.map +1 -1
  258. package/lib/esm/clipping/BooleanClipFactory.js.map +1 -1
  259. package/lib/esm/clipping/BooleanClipNode.js.map +1 -1
  260. package/lib/esm/clipping/ClipPlane.js.map +1 -1
  261. package/lib/esm/clipping/ClipPrimitive.js.map +1 -1
  262. package/lib/esm/clipping/ClipUtils.js.map +1 -1
  263. package/lib/esm/clipping/ClipVector.js.map +1 -1
  264. package/lib/esm/clipping/ConvexClipPlaneSet.js.map +1 -1
  265. package/lib/esm/clipping/UnionOfConvexClipPlaneSets.js.map +1 -1
  266. package/lib/esm/clipping/internalContexts/LineStringOffsetClipperContext.js.map +1 -1
  267. package/lib/esm/core-geometry.js.map +1 -1
  268. package/lib/esm/curve/Arc3d.js.map +1 -1
  269. package/lib/esm/curve/ChainCollectorContext.js.map +1 -1
  270. package/lib/esm/curve/ConstructCurveBetweenCurves.js.map +1 -1
  271. package/lib/esm/curve/CoordinateXYZ.js.map +1 -1
  272. package/lib/esm/curve/CurveChain.js.map +1 -1
  273. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts +61 -41
  274. package/lib/esm/curve/CurveChainWithDistanceIndex.d.ts.map +1 -1
  275. package/lib/esm/curve/CurveChainWithDistanceIndex.js +69 -46
  276. package/lib/esm/curve/CurveChainWithDistanceIndex.js.map +1 -1
  277. package/lib/esm/curve/CurveCollection.js.map +1 -1
  278. package/lib/esm/curve/CurveCurve.js.map +1 -1
  279. package/lib/esm/curve/CurveCurveCloseApproachXY.js.map +1 -1
  280. package/lib/esm/curve/CurveCurveIntersectXY.js.map +1 -1
  281. package/lib/esm/curve/CurveCurveIntersectXYZ.js.map +1 -1
  282. package/lib/esm/curve/CurveExtendMode.js.map +1 -1
  283. package/lib/esm/curve/CurveFactory.js.map +1 -1
  284. package/lib/esm/curve/CurveLocationDetail.js.map +1 -1
  285. package/lib/esm/curve/CurvePrimitive.js.map +1 -1
  286. package/lib/esm/curve/CurveProcessor.js.map +1 -1
  287. package/lib/esm/curve/CurveWireMomentsXYZ.js.map +1 -1
  288. package/lib/esm/curve/GeometryQuery.js.map +1 -1
  289. package/lib/esm/curve/LineSegment3d.js.map +1 -1
  290. package/lib/esm/curve/LineString3d.js.map +1 -1
  291. package/lib/esm/curve/Loop.d.ts +7 -5
  292. package/lib/esm/curve/Loop.d.ts.map +1 -1
  293. package/lib/esm/curve/Loop.js +18 -6
  294. package/lib/esm/curve/Loop.js.map +1 -1
  295. package/lib/esm/curve/ParityRegion.d.ts +7 -7
  296. package/lib/esm/curve/ParityRegion.d.ts.map +1 -1
  297. package/lib/esm/curve/ParityRegion.js +19 -11
  298. package/lib/esm/curve/ParityRegion.js.map +1 -1
  299. package/lib/esm/curve/Path.d.ts +6 -6
  300. package/lib/esm/curve/Path.d.ts.map +1 -1
  301. package/lib/esm/curve/Path.js +15 -9
  302. package/lib/esm/curve/Path.js.map +1 -1
  303. package/lib/esm/curve/PointString3d.js.map +1 -1
  304. package/lib/esm/curve/ProxyCurve.d.ts +4 -6
  305. package/lib/esm/curve/ProxyCurve.d.ts.map +1 -1
  306. package/lib/esm/curve/ProxyCurve.js +7 -7
  307. package/lib/esm/curve/ProxyCurve.js.map +1 -1
  308. package/lib/esm/curve/Query/ConsolidateAdjacentPrimitivesContext.js.map +1 -1
  309. package/lib/esm/curve/Query/CurveSplitContext.js.map +1 -1
  310. package/lib/esm/curve/Query/CylindricalRange.js.map +1 -1
  311. package/lib/esm/curve/Query/InOutTests.js.map +1 -1
  312. package/lib/esm/curve/Query/PlanarSubdivision.js.map +1 -1
  313. package/lib/esm/curve/Query/StrokeCountChain.js.map +1 -1
  314. package/lib/esm/curve/Query/StrokeCountMap.js.map +1 -1
  315. package/lib/esm/curve/RegionMomentsXY.js.map +1 -1
  316. package/lib/esm/curve/RegionOps.d.ts +70 -43
  317. package/lib/esm/curve/RegionOps.d.ts.map +1 -1
  318. package/lib/esm/curve/RegionOps.js +71 -43
  319. package/lib/esm/curve/RegionOps.js.map +1 -1
  320. package/lib/esm/curve/RegionOpsClassificationSweeps.js.map +1 -1
  321. package/lib/esm/curve/StrokeOptions.js.map +1 -1
  322. package/lib/esm/curve/UnionRegion.d.ts +6 -5
  323. package/lib/esm/curve/UnionRegion.d.ts.map +1 -1
  324. package/lib/esm/curve/UnionRegion.js +17 -8
  325. package/lib/esm/curve/UnionRegion.js.map +1 -1
  326. package/lib/esm/curve/internalContexts/AppendPlaneIntersectionStrokeHandler.js.map +1 -1
  327. package/lib/esm/curve/internalContexts/CloneCurvesContext.js.map +1 -1
  328. package/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js.map +1 -1
  329. package/lib/esm/curve/internalContexts/ClosestPointStrokeHandler.js.map +1 -1
  330. package/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js.map +1 -1
  331. package/lib/esm/curve/internalContexts/CurveLengthContext.js.map +1 -1
  332. package/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js.map +1 -1
  333. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts +2 -1
  334. package/lib/esm/curve/internalContexts/GapSearchContext.d.ts.map +1 -1
  335. package/lib/esm/curve/internalContexts/GapSearchContext.js +6 -2
  336. package/lib/esm/curve/internalContexts/GapSearchContext.js.map +1 -1
  337. package/lib/esm/curve/internalContexts/MultiChainCollector.js.map +1 -1
  338. package/lib/esm/curve/internalContexts/NewtonRtoRStrokeHandler.js.map +1 -1
  339. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts +14 -8
  340. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.d.ts.map +1 -1
  341. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js +14 -8
  342. package/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js.map +1 -1
  343. package/lib/esm/curve/internalContexts/PolygonOffsetContext.js.map +1 -1
  344. package/lib/esm/curve/internalContexts/SumLengthsContext.d.ts.map +1 -1
  345. package/lib/esm/curve/internalContexts/SumLengthsContext.js +4 -1
  346. package/lib/esm/curve/internalContexts/SumLengthsContext.js.map +1 -1
  347. package/lib/esm/curve/internalContexts/TransformInPlaceContext.js.map +1 -1
  348. package/lib/esm/curve/spiral/AustralianRailCorpXYEvaluator.js.map +1 -1
  349. package/lib/esm/curve/spiral/ClothoidSeries.js.map +1 -1
  350. package/lib/esm/curve/spiral/CubicEvaluator.js.map +1 -1
  351. package/lib/esm/curve/spiral/CzechSpiralEvaluator.js.map +1 -1
  352. package/lib/esm/curve/spiral/DirectHalfCosineSpiralEvaluator.js.map +1 -1
  353. package/lib/esm/curve/spiral/DirectSpiral3d.js.map +1 -1
  354. package/lib/esm/curve/spiral/IntegratedSpiral3d.js.map +1 -1
  355. package/lib/esm/curve/spiral/MXCubicAlongArcSpiralEvaluator.js.map +1 -1
  356. package/lib/esm/curve/spiral/NormalizedTransition.js.map +1 -1
  357. package/lib/esm/curve/spiral/PolishCubicSpiralEvaluator.js.map +1 -1
  358. package/lib/esm/curve/spiral/TransitionConditionalProperties.js.map +1 -1
  359. package/lib/esm/curve/spiral/TransitionSpiral3d.js.map +1 -1
  360. package/lib/esm/curve/spiral/XYCurveEvaluator.js.map +1 -1
  361. package/lib/esm/geometry3d/Angle.js.map +1 -1
  362. package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
  363. package/lib/esm/geometry3d/BarycentricTriangle.js.map +1 -1
  364. package/lib/esm/geometry3d/BilinearPatch.js.map +1 -1
  365. package/lib/esm/geometry3d/CoincidentGeometryOps.js.map +1 -1
  366. package/lib/esm/geometry3d/Ellipsoid.js.map +1 -1
  367. package/lib/esm/geometry3d/FrameBuilder.js.map +1 -1
  368. package/lib/esm/geometry3d/FrustumAnimation.js.map +1 -1
  369. package/lib/esm/geometry3d/GeometryHandler.js.map +1 -1
  370. package/lib/esm/geometry3d/GrowableBlockedArray.js.map +1 -1
  371. package/lib/esm/geometry3d/GrowableFloat64Array.js.map +1 -1
  372. package/lib/esm/geometry3d/GrowableXYArray.js.map +1 -1
  373. package/lib/esm/geometry3d/GrowableXYZArray.js.map +1 -1
  374. package/lib/esm/geometry3d/IndexedCollectionInterval.js.map +1 -1
  375. package/lib/esm/geometry3d/IndexedXYCollection.js.map +1 -1
  376. package/lib/esm/geometry3d/IndexedXYZCollection.js.map +1 -1
  377. package/lib/esm/geometry3d/LongitudeLatitudeAltitude.js.map +1 -1
  378. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  379. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -1
  380. package/lib/esm/geometry3d/Plane3d.js.map +1 -1
  381. package/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js.map +1 -1
  382. package/lib/esm/geometry3d/Plane3dByOriginAndVectors.js.map +1 -1
  383. package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -1
  384. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -1
  385. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  386. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  387. package/lib/esm/geometry3d/PointHelpers.js.map +1 -1
  388. package/lib/esm/geometry3d/PointStreaming.js.map +1 -1
  389. package/lib/esm/geometry3d/PolygonOps.js.map +1 -1
  390. package/lib/esm/geometry3d/PolylineCompressionByEdgeOffset.js.map +1 -1
  391. package/lib/esm/geometry3d/PolylineOps.js.map +1 -1
  392. package/lib/esm/geometry3d/Range.d.ts +133 -93
  393. package/lib/esm/geometry3d/Range.d.ts.map +1 -1
  394. package/lib/esm/geometry3d/Range.js +296 -144
  395. package/lib/esm/geometry3d/Range.js.map +1 -1
  396. package/lib/esm/geometry3d/Ray3d.js.map +1 -1
  397. package/lib/esm/geometry3d/ReusableObjectCache.js.map +1 -1
  398. package/lib/esm/geometry3d/Segment1d.js.map +1 -1
  399. package/lib/esm/geometry3d/SortablePolygon.js.map +1 -1
  400. package/lib/esm/geometry3d/Transform.js.map +1 -1
  401. package/lib/esm/geometry3d/UVSurfaceOps.js.map +1 -1
  402. package/lib/esm/geometry3d/XYZProps.js.map +1 -1
  403. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  404. package/lib/esm/geometry4d/Map4d.js.map +1 -1
  405. package/lib/esm/geometry4d/Matrix4d.js.map +1 -1
  406. package/lib/esm/geometry4d/MomentData.js.map +1 -1
  407. package/lib/esm/geometry4d/PlaneByOriginAndVectors4d.js.map +1 -1
  408. package/lib/esm/geometry4d/Point4d.js.map +1 -1
  409. package/lib/esm/numerics/BandedSystem.js.map +1 -1
  410. package/lib/esm/numerics/BezierPolynomials.js.map +1 -1
  411. package/lib/esm/numerics/ClusterableArray.js.map +1 -1
  412. package/lib/esm/numerics/Complex.js.map +1 -1
  413. package/lib/esm/numerics/ConvexPolygon2d.js.map +1 -1
  414. package/lib/esm/numerics/Newton.js.map +1 -1
  415. package/lib/esm/numerics/PascalCoefficients.js.map +1 -1
  416. package/lib/esm/numerics/PolarData.js.map +1 -1
  417. package/lib/esm/numerics/Polynomials.js.map +1 -1
  418. package/lib/esm/numerics/Quadrature.js.map +1 -1
  419. package/lib/esm/numerics/Range1dArray.js.map +1 -1
  420. package/lib/esm/numerics/TriDiagonalSystem.js.map +1 -1
  421. package/lib/esm/numerics/UnionFind.js.map +1 -1
  422. package/lib/esm/numerics/UsageSums.js.map +1 -1
  423. package/lib/esm/polyface/AuxData.js.map +1 -1
  424. package/lib/esm/polyface/BoxTopology.js.map +1 -1
  425. package/lib/esm/polyface/FacetFaceData.js.map +1 -1
  426. package/lib/esm/polyface/FacetLocationDetail.js.map +1 -1
  427. package/lib/esm/polyface/FacetOrientation.js.map +1 -1
  428. package/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js.map +1 -1
  429. package/lib/esm/polyface/IndexedEdgeMatcher.js.map +1 -1
  430. package/lib/esm/polyface/IndexedPolyfaceVisitor.js.map +1 -1
  431. package/lib/esm/polyface/Polyface.js.map +1 -1
  432. package/lib/esm/polyface/PolyfaceBuilder.js.map +1 -1
  433. package/lib/esm/polyface/PolyfaceClip.js.map +1 -1
  434. package/lib/esm/polyface/PolyfaceData.js.map +1 -1
  435. package/lib/esm/polyface/PolyfaceQuery.js.map +1 -1
  436. package/lib/esm/polyface/RangeLengthData.js.map +1 -1
  437. package/lib/esm/polyface/TaggedNumericData.js.map +1 -1
  438. package/lib/esm/polyface/TriangleCandidate.js.map +1 -1
  439. package/lib/esm/polyface/multiclip/BuildAverageNormalsContext.js.map +1 -1
  440. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSet.js.map +1 -1
  441. package/lib/esm/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.js.map +1 -1
  442. package/lib/esm/polyface/multiclip/LinearSearchRange2dArray.js.map +1 -1
  443. package/lib/esm/polyface/multiclip/OffsetMeshContext.js.map +1 -1
  444. package/lib/esm/polyface/multiclip/Range2dSearchInterface.js.map +1 -1
  445. package/lib/esm/polyface/multiclip/RangeSearch.js.map +1 -1
  446. package/lib/esm/polyface/multiclip/SweepLineStringToFacetContext.js.map +1 -1
  447. package/lib/esm/polyface/multiclip/XYPointBuckets.js.map +1 -1
  448. package/lib/esm/serialization/BGFBAccessors.js.map +1 -1
  449. package/lib/esm/serialization/BGFBReader.js.map +1 -1
  450. package/lib/esm/serialization/BGFBWriter.js.map +1 -1
  451. package/lib/esm/serialization/BentleyGeometryFlatBuffer.js.map +1 -1
  452. package/lib/esm/serialization/DeepCompare.js.map +1 -1
  453. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  454. package/lib/esm/serialization/IModelJsonSchema.js.map +1 -1
  455. package/lib/esm/solid/Box.js.map +1 -1
  456. package/lib/esm/solid/Cone.js.map +1 -1
  457. package/lib/esm/solid/LinearSweep.js.map +1 -1
  458. package/lib/esm/solid/RotationalSweep.js.map +1 -1
  459. package/lib/esm/solid/RuledSweep.js.map +1 -1
  460. package/lib/esm/solid/SolidPrimitive.js.map +1 -1
  461. package/lib/esm/solid/Sphere.js.map +1 -1
  462. package/lib/esm/solid/SweepContour.js.map +1 -1
  463. package/lib/esm/solid/TorusPipe.js.map +1 -1
  464. package/lib/esm/topology/ChainMerge.js.map +1 -1
  465. package/lib/esm/topology/Graph.js.map +1 -1
  466. package/lib/esm/topology/HalfEdgeGraphFromIndexedLoopsContext.js.map +1 -1
  467. package/lib/esm/topology/HalfEdgeGraphSearch.js.map +1 -1
  468. package/lib/esm/topology/HalfEdgeGraphSpineContext.js.map +1 -1
  469. package/lib/esm/topology/HalfEdgeGraphValidation.js.map +1 -1
  470. package/lib/esm/topology/HalfEdgeMarkSet.js.map +1 -1
  471. package/lib/esm/topology/HalfEdgeNodeXYZUV.js.map +1 -1
  472. package/lib/esm/topology/HalfEdgePointInGraphSearch.js.map +1 -1
  473. package/lib/esm/topology/HalfEdgePositionDetail.js.map +1 -1
  474. package/lib/esm/topology/HalfEdgePriorityQueue.js.map +1 -1
  475. package/lib/esm/topology/InsertAndRetriangulateContext.js.map +1 -1
  476. package/lib/esm/topology/MaskManager.js.map +1 -1
  477. package/lib/esm/topology/Merging.js.map +1 -1
  478. package/lib/esm/topology/RegularizeFace.js.map +1 -1
  479. package/lib/esm/topology/SignedDataSummary.js.map +1 -1
  480. package/lib/esm/topology/SpaceTriangulation.js.map +1 -1
  481. package/lib/esm/topology/Triangulation.js.map +1 -1
  482. package/lib/esm/topology/XYParitySearchContext.js.map +1 -1
  483. package/package.json +3 -3
@@ -13,7 +13,8 @@ import { JointOptions, OffsetOptions } from "./internalContexts/PolygonOffsetCon
13
13
  import { Loop, SignedLoops } from "./Loop";
14
14
  import { Path } from "./Path";
15
15
  /**
16
- * Possible return types from [[splitToPathsBetweenBreaks]], [[collectInsideAndOutsideOffsets]] and [[collectChains]].
16
+ * Possible return types from [[splitToPathsBetweenBreaks]], [[collectInsideAndOutsideOffsets]] and
17
+ * [[collectChains]].
17
18
  * @public
18
19
  */
19
20
  export type ChainTypes = CurvePrimitive | Path | BagOfCurves | Loop | undefined;
@@ -44,7 +45,8 @@ export declare enum RegionBinaryOpType {
44
45
  * * `ParityRegion` -- a collection of loops, interpreted by parity rules.
45
46
  * The common "One outer loop and many Inner loops" is a parity region.
46
47
  * * `UnionRegion` -- a collection of `Loop` and `ParityRegion` objects understood as a (probably disjoint) union.
47
- * * Most of the methods in this class ignore z-coordinates, so callers should ensure that input geometry has been rotated parallel to the xy-plane.
48
+ * * Most of the methods in this class ignore z-coordinates, so callers should ensure that input geometry has been
49
+ * rotated parallel to the xy-plane.
48
50
  * @public
49
51
  */
50
52
  export declare class RegionOps {
@@ -55,7 +57,8 @@ export declare class RegionOps {
55
57
  * @param root any Loop, ParityRegion, or UnionRegion.
56
58
  */
57
59
  static computeXYAreaMoments(root: AnyRegion): MomentData | undefined;
58
- /** Return an area tolerance for a given xy-range and optional distance tolerance.
60
+ /**
61
+ * Return an area tolerance for a given xy-range and optional distance tolerance.
59
62
  * @param range range of planar region to tolerance
60
63
  * @param distanceTolerance optional absolute distance tolerance
61
64
  */
@@ -67,18 +70,20 @@ export declare class RegionOps {
67
70
  * @param root any Loop, ParityRegion, or UnionRegion.
68
71
  */
69
72
  static computeXYArea(root: AnyRegion): number | undefined;
70
- /** Return MomentData with the sums of wire moments.
73
+ /**
74
+ * Return MomentData with the sums of wire moments.
71
75
  * * If `rawMomentData` is the MomentData returned by computeXYAreaMoments, convert to principal axes and moments with
72
76
  * call `principalMomentData = MomentData.inertiaProductsToPrincipalAxes (rawMomentData.origin, rawMomentData.sums);`
73
77
  * @param root any CurveCollection or CurvePrimitive.
74
78
  */
75
79
  static computeXYZWireMomentSums(root: AnyCurve): MomentData | undefined;
76
80
  /**
77
- * * create loops in the graph.
81
+ * Create loops in the graph.
78
82
  * @internal
79
83
  */
80
84
  static addLoopsToGraph(graph: HalfEdgeGraph, data: MultiLineStringDataVariant, announceIsolatedLoop: (graph: HalfEdgeGraph, seed: HalfEdge) => void): void;
81
- /** Add multiple loops to a graph.
85
+ /**
86
+ * Add multiple loops to a graph.
82
87
  * * Apply edgeTag and mask to each edge.
83
88
  * @internal
84
89
  */
@@ -86,7 +91,6 @@ export declare class RegionOps {
86
91
  /**
87
92
  * Given a graph just produced by booleans, convert to a polyface
88
93
  * * "just produced" implies exterior face markup.
89
- *
90
94
  * @param graph
91
95
  * @param triangulate
92
96
  */
@@ -129,7 +133,8 @@ export declare class RegionOps {
129
133
  * @param loopsB second set of loops
130
134
  * @param operation indicates Union, Intersection, Parity, AMinusB, or BMinusA
131
135
  * @param mergeTolerance absolute distance tolerance for merging loops
132
- * @returns a region resulting from merging input loops and the boolean operation. May contain bridge edges added to connect interior loops to exterior loops.
136
+ * @returns a region resulting from merging input loops and the boolean operation. May contain bridge edges added
137
+ * to connect interior loops to exterior loops.
133
138
  */
134
139
  static regionBooleanXY(loopsA: AnyRegion | AnyRegion[] | undefined, loopsB: AnyRegion | AnyRegion[] | undefined, operation: RegionBinaryOpType, mergeTolerance?: number): AnyRegion | undefined;
135
140
  /**
@@ -157,29 +162,35 @@ export declare class RegionOps {
157
162
  * @param inputB second set of loops
158
163
  */
159
164
  static polygonBooleanXYToLoops(inputA: MultiLineStringDataVariant[], operation: RegionBinaryOpType, inputB: MultiLineStringDataVariant[]): AnyRegion | undefined;
160
- /** Construct a wire (not area!!) that is offset from given polyline or polygon.
165
+ /**
166
+ * Construct a wire (not area!!) that is offset from given polyline or polygon.
161
167
  * * This is a simple wire offset, not an area.
162
- * * The construction algorithm attempts to eliminate some self-intersections within the offsets, but does not guarantee a simple area offset.
163
- * * The construction algorithm is subject to being changed, resulting in different (hopefully better) self-intersection behavior on the future.
168
+ * * The construction algorithm attempts to eliminate some self-intersections within the offsets, but does not
169
+ * guarantee a simple area offset.
170
+ * * The construction algorithm is subject to being changed, resulting in different (hopefully better)
171
+ * self-intersection behavior on the future.
164
172
  * @param points a single loop or path
165
173
  * @param wrap true to include wraparound
166
174
  * @param offsetDistance distance of offset from wire. Positive is left.
167
175
  */
168
176
  static constructPolygonWireXYOffset(points: Point3d[], wrap: boolean, offsetDistance: number): CurveCollection | undefined;
169
177
  /**
170
- * Construct curves that are offset from a Path or Loop as viewed in xy-plane (ignoring z).
171
- * * The construction will remove "some" local effects of features smaller than the offset distance, but will not detect self intersection among widely separated edges.
172
- * * If offsetDistance is given as a number, default OffsetOptions are applied.
173
- * * When the offset needs to do an "outside" turn, the first applicable construction is applied:
174
- * * If the turn is larger than `options.minArcDegrees`, a circular arc is constructed.
175
- * * If the turn is less than or equal to `options.maxChamferTurnDegrees`, extend curves along tangent to single intersection point.
176
- * * If the turn is larger than `options.maxChamferDegrees`, the turn is constructed as a sequence of straight lines that are:
177
- * * outside the arc
178
- * * have uniform turn angle less than `options.maxChamferDegrees`
179
- * * each line segment (except first and last) touches the arc at its midpoint.
180
- * @param curves base curves.
181
- * @param offsetDistanceOrOptions offset distance (positive to left of curve, negative to right) or options object.
182
- */
178
+ * Construct curves that are offset from a Path or Loop as viewed in xy-plane (ignoring z).
179
+ * * The construction will remove "some" local effects of features smaller than the offset distance, but will
180
+ * not detect self intersection among widely separated edges.
181
+ * * If offsetDistance is given as a number, default OffsetOptions are applied.
182
+ * * When the offset needs to do an "outside" turn, the first applicable construction is applied:
183
+ * * If the turn is larger than `options.minArcDegrees`, a circular arc is constructed.
184
+ * * If the turn is less than or equal to `options.maxChamferTurnDegrees`, extend curves along tangent to
185
+ * single intersection point.
186
+ * * If the turn is larger than `options.maxChamferDegrees`, the turn is constructed as a sequence of straight
187
+ * lines that are:
188
+ * * outside the arc
189
+ * * have uniform turn angle less than `options.maxChamferDegrees`
190
+ * * each line segment (except first and last) touches the arc at its midpoint.
191
+ * @param curves base curves.
192
+ * @param offsetDistanceOrOptions offset distance (positive to left of curve, negative to right) or options object.
193
+ */
183
194
  static constructCurveXYOffset(curves: Path | Loop, offsetDistanceOrOptions: number | JointOptions | OffsetOptions): CurveCollection | undefined;
184
195
  /**
185
196
  * Test if point (x,y) is IN, OUT or ON a region.
@@ -189,7 +200,8 @@ export declare class RegionOps {
189
200
  * @param y y coordinate of point to test
190
201
  */
191
202
  static testPointInOnOutRegionXY(curves: AnyRegion, x: number, y: number): number;
192
- /** Create curve collection of subtype determined by gaps between the input curves.
203
+ /**
204
+ * Create curve collection of subtype determined by gaps between the input curves.
193
205
  * * If (a) wrap is requested and (b) all curves connect head-to-tail (including wraparound), assemble as a `loop`.
194
206
  * * If all curves connect head-to-tail except for closure, return a `Path`.
195
207
  * * If there are internal gaps, return a `BagOfCurves`
@@ -217,7 +229,8 @@ export declare class RegionOps {
217
229
  static cloneCurvesWithXYSplits(curvesToCut: AnyCurve | undefined, cutterCurves: CurveCollection): AnyCurve | undefined;
218
230
  /**
219
231
  * Create paths assembled from many curves.
220
- * * Assemble paths from consecutive curves NOT separated by either gaps or the split markup set by [[cloneCurvesWithXYSplits]].
232
+ * * Assemble paths from consecutive curves NOT separated by either gaps or the split markup set by
233
+ * [[cloneCurvesWithXYSplits]].
221
234
  * * Return simplest form -- single primitive, single path, or bag of curves.
222
235
  */
223
236
  static splitToPathsBetweenBreaks(source: AnyCurve | undefined, makeClones: boolean): ChainTypes;
@@ -242,7 +255,8 @@ export declare class RegionOps {
242
255
  */
243
256
  static collectChains(fragments: AnyCurve[], gapTolerance?: number): ChainTypes;
244
257
  /**
245
- * Find all intersections among curves in `curvesToCut` against the boundaries of `region` and return fragments of `curvesToCut`.
258
+ * Find all intersections among curves in `curvesToCut` against the boundaries of `region` and return fragments
259
+ * of `curvesToCut`.
246
260
  * * Break `curvesToCut` into parts inside, outside, and coincident.
247
261
  * @returns output object with all fragments split among `insideParts`, `outsideParts`, and `coincidentParts`
248
262
  */
@@ -251,7 +265,8 @@ export declare class RegionOps {
251
265
  outsideParts: AnyCurve[];
252
266
  coincidentParts: AnyCurve[];
253
267
  };
254
- /** If `data` is one of several forms of a rectangle, return its edge Transform.
268
+ /**
269
+ * If `data` is one of several forms of a rectangle, return its edge Transform.
255
270
  * * Points are considered a rectangle if, within the first 4 points:
256
271
  * * vectors from 0 to 1 and 0 to 3 are perpendicular and have a non-zero cross product
257
272
  * * vectors from 0 to 3 and 1 to 2 are the same
@@ -262,7 +277,8 @@ export declare class RegionOps {
262
277
  * * Array of Point3d[]
263
278
  * * IndexedXYZCollection
264
279
  * @param requireClosurePoint whether to require a 5th point equal to the 1st point.
265
- * @returns Transform with origin at one corner, x and y columns extending along two adjacent sides, and unit normal in z column. If not a rectangle, return undefined.
280
+ * @returns Transform with origin at one corner, x and y columns extending along two adjacent sides, and unit
281
+ * normal in z column. If not a rectangle, return undefined.
266
282
  */
267
283
  static rectangleEdgeTransform(data: AnyCurve | Point3d[] | IndexedXYZCollection, requireClosurePoint?: boolean): Transform | undefined;
268
284
  /**
@@ -270,9 +286,10 @@ export declare class RegionOps {
270
286
  * * Contiguous `LineSegment3d` and `LineString3d` objects.
271
287
  * * collect all points
272
288
  * * eliminate duplicated points
273
- * * eliminate points colinear with surrounding points.
274
- * * Contiguous concentric circular or elliptic arcs
289
+ * * eliminate points colinear with surrounding points
290
+ * * contiguous concentric circular or elliptic arcs
275
291
  * * combine angular ranges
292
+ * * This function can be used to compress adjacent LineSegment3ds into a LineString3d
276
293
  * @param curves Path or loop (or larger collection containing paths and loops) to be simplified
277
294
  * @param options options for tolerance and selective simplification.
278
295
  */
@@ -283,24 +300,31 @@ export declare class RegionOps {
283
300
  * @returns a region that captures the input pointers. This region is a:
284
301
  * * `Loop` if there is exactly one input loop. It is oriented counterclockwise.
285
302
  * * `ParityRegion` if input consists of exactly one outer loop with at least one hole loop.
286
- * Its first child is an outer loop oriented counterclockwise; all subsequent children are holes oriented clockwise.
287
- * * `UnionRegion` if any other input configuration. Its children are individually ordered/oriented as in the above cases.
303
+ * Its first child is an outer loop oriented counterclockwise; all subsequent children are holes oriented
304
+ * clockwise.
305
+ * * `UnionRegion` if any other input configuration. Its children are individually ordered/oriented as in
306
+ * the above cases.
288
307
  * @see [[PolygonOps.sortOuterAndHoleLoopsXY]]
289
308
  */
290
309
  static sortOuterAndHoleLoopsXY(loops: Array<Loop | IndexedXYZCollection>): AnyRegion;
291
310
  /**
292
311
  * Find all areas bounded by the unstructured, possibly intersecting curves.
293
- * * A common use case of this method is to assemble the bounding "exterior" loop (or loops) containing the input curves.
294
- * * This method does not add bridge edges to connect outer loops to inner loops. Each disconnected loop, regardless
295
- * of its containment, is returned as its own SignedLoops object. Pre-process with [[regionBooleanXY]] to add bridge edges so that
296
- * [[constructAllXYRegionLoops]] will return outer and inner loops in the same SignedLoops object.
297
- * @param curvesAndRegions Any collection of curves. Each Loop/ParityRegion/UnionRegion contributes its curve primitives.
312
+ * * A common use case of this method is to assemble the bounding "exterior" loop (or loops) containing the
313
+ * input curves.
314
+ * * This method does not add bridge edges to connect outer loops to inner loops. Each disconnected loop,
315
+ * regardless of its containment, is returned as its own SignedLoops object. Pre-process with [[regionBooleanXY]]
316
+ * to add bridge edges so that [[constructAllXYRegionLoops]] will return outer and inner loops in the same
317
+ * SignedLoops object.
318
+ * @param curvesAndRegions Any collection of curves. Each Loop/ParityRegion/UnionRegion contributes its curve
319
+ * primitives.
298
320
  * @param tolerance optional distance tolerance for coincidence
299
321
  * @returns array of [[SignedLoops]], each entry of which describes the faces in a single connected component:
300
- * * `positiveAreaLoops` contains "interior" loops, _including holes in ParityRegion input_. These loops have positive area and counterclockwise orientation.
322
+ * * `positiveAreaLoops` contains "interior" loops, _including holes in ParityRegion input_. These loops have
323
+ * positive area and counterclockwise orientation.
301
324
  * * `negativeAreaLoops` contains (probably just one) "exterior" loop which is ordered clockwise.
302
325
  * * `slivers` contains sliver loops that have zero area, such as appear between coincident curves.
303
- * * `edges` contains a [[LoopCurveLoopCurve]] object for each component edge, collecting both loops adjacent to the edge and a constituent curve in each.
326
+ * * `edges` contains a [[LoopCurveLoopCurve]] object for each component edge, collecting both loops adjacent
327
+ * to the edge and a constituent curve in each.
304
328
  */
305
329
  static constructAllXYRegionLoops(curvesAndRegions: AnyCurve | AnyCurve[], tolerance?: number): SignedLoops[];
306
330
  /**
@@ -309,12 +333,15 @@ export declare class RegionOps {
309
333
  * * Optionally recurses into hidden primitives if `smallestPossiblePrimitives` is true.
310
334
  * @param candidates input curves
311
335
  * @param collectorArray optional pre-defined output array. If defined, it is NOT cleared: primitives are appended.
312
- * @param smallestPossiblePrimitives if true, recurse into the children of a [[CurveChainWithDistanceIndex]]. If false, push the [[CurveChainWithDistanceIndex]] instead.
313
- * @param explodeLinestrings if true, push a [[LineSegment3d]] for each segment of a [[LineString3d]]. If false, push the [[LineString3d]] instead.
336
+ * @param smallestPossiblePrimitives if true, recurse into the children of a [[CurveChainWithDistanceIndex]]. If
337
+ * false, push the [[CurveChainWithDistanceIndex]] instead.
338
+ * @param explodeLinestrings if true, push a [[LineSegment3d]] for each segment of a [[LineString3d]]. If false,
339
+ * push the [[LineString3d]] instead.
314
340
  */
315
341
  static collectCurvePrimitives(candidates: AnyCurve | AnyCurve[], collectorArray?: CurvePrimitive[], smallestPossiblePrimitives?: boolean, explodeLinestrings?: boolean): CurvePrimitive[];
316
342
  /**
317
- * Copy primitive pointers from candidates to result array, replacing each [[LineString3d]] by newly constructed instances of [[LineSegment3d]].
343
+ * Copy primitive pointers from candidates to result array, replacing each [[LineString3d]] by newly constructed
344
+ * instances of [[LineSegment3d]].
318
345
  * @param candidates input curves
319
346
  * @return copied (captured) inputs except for the linestrings, which are exploded
320
347
  */
@@ -1 +1 @@
1
- {"version":3,"file":"RegionOps.d.ts","sourceRoot":"","sources":["../../../src/curve/RegionOps.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,EAAyB,0BAA0B,EAAgB,MAAM,2BAA2B,CAAC;AAE5G,OAAO,EAAE,QAAQ,EAAE,SAA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,OAAe,GAClC,cAAc,EAAE;IAanB;;;;;OAKG;WACW,iBAAiB,CAAC,UAAU,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;IAe/E;;;;OAIG;WACW,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,SAAS,GAAG,OAAO;CAkB5E"}
@@ -60,7 +60,8 @@ var RegionBinaryOpType;
60
60
  * * `ParityRegion` -- a collection of loops, interpreted by parity rules.
61
61
  * The common "One outer loop and many Inner loops" is a parity region.
62
62
  * * `UnionRegion` -- a collection of `Loop` and `ParityRegion` objects understood as a (probably disjoint) union.
63
- * * Most of the methods in this class ignore z-coordinates, so callers should ensure that input geometry has been rotated parallel to the xy-plane.
63
+ * * Most of the methods in this class ignore z-coordinates, so callers should ensure that input geometry has been
64
+ * rotated parallel to the xy-plane.
64
65
  * @public
65
66
  */
66
67
  class RegionOps {
@@ -79,7 +80,8 @@ class RegionOps {
79
80
  }
80
81
  return undefined;
81
82
  }
82
- /** Return an area tolerance for a given xy-range and optional distance tolerance.
83
+ /**
84
+ * Return an area tolerance for a given xy-range and optional distance tolerance.
83
85
  * @param range range of planar region to tolerance
84
86
  * @param distanceTolerance optional absolute distance tolerance
85
87
  */
@@ -102,7 +104,8 @@ class RegionOps {
102
104
  }
103
105
  return undefined;
104
106
  }
105
- /** Return MomentData with the sums of wire moments.
107
+ /**
108
+ * Return MomentData with the sums of wire moments.
106
109
  * * If `rawMomentData` is the MomentData returned by computeXYAreaMoments, convert to principal axes and moments with
107
110
  * call `principalMomentData = MomentData.inertiaProductsToPrincipalAxes (rawMomentData.origin, rawMomentData.sums);`
108
111
  * @param root any CurveCollection or CurvePrimitive.
@@ -115,7 +118,7 @@ class RegionOps {
115
118
  return result;
116
119
  }
117
120
  /**
118
- * * create loops in the graph.
121
+ * Create loops in the graph.
119
122
  * @internal
120
123
  */
121
124
  static addLoopsToGraph(graph, data, announceIsolatedLoop) {
@@ -159,7 +162,8 @@ class RegionOps {
159
162
  }
160
163
  }
161
164
  }
162
- /** Add multiple loops to a graph.
165
+ /**
166
+ * Add multiple loops to a graph.
163
167
  * * Apply edgeTag and mask to each edge.
164
168
  * @internal
165
169
  */
@@ -178,7 +182,6 @@ class RegionOps {
178
182
  /**
179
183
  * Given a graph just produced by booleans, convert to a polyface
180
184
  * * "just produced" implies exterior face markup.
181
- *
182
185
  * @param graph
183
186
  * @param triangulate
184
187
  */
@@ -239,7 +242,8 @@ class RegionOps {
239
242
  * @param loopsB second set of loops
240
243
  * @param operation indicates Union, Intersection, Parity, AMinusB, or BMinusA
241
244
  * @param mergeTolerance absolute distance tolerance for merging loops
242
- * @returns a region resulting from merging input loops and the boolean operation. May contain bridge edges added to connect interior loops to exterior loops.
245
+ * @returns a region resulting from merging input loops and the boolean operation. May contain bridge edges added
246
+ * to connect interior loops to exterior loops.
243
247
  */
244
248
  static regionBooleanXY(loopsA, loopsB, operation, mergeTolerance = Geometry_1.Geometry.smallMetricDistance) {
245
249
  const result = UnionRegion_1.UnionRegion.create();
@@ -306,10 +310,13 @@ class RegionOps {
306
310
  }
307
311
  return RegionOps.sortOuterAndHoleLoopsXY(allLoops);
308
312
  }
309
- /** Construct a wire (not area!!) that is offset from given polyline or polygon.
313
+ /**
314
+ * Construct a wire (not area!!) that is offset from given polyline or polygon.
310
315
  * * This is a simple wire offset, not an area.
311
- * * The construction algorithm attempts to eliminate some self-intersections within the offsets, but does not guarantee a simple area offset.
312
- * * The construction algorithm is subject to being changed, resulting in different (hopefully better) self-intersection behavior on the future.
316
+ * * The construction algorithm attempts to eliminate some self-intersections within the offsets, but does not
317
+ * guarantee a simple area offset.
318
+ * * The construction algorithm is subject to being changed, resulting in different (hopefully better)
319
+ * self-intersection behavior on the future.
313
320
  * @param points a single loop or path
314
321
  * @param wrap true to include wraparound
315
322
  * @param offsetDistance distance of offset from wire. Positive is left.
@@ -319,19 +326,22 @@ class RegionOps {
319
326
  return context.constructPolygonWireXYOffset(points, wrap, offsetDistance);
320
327
  }
321
328
  /**
322
- * Construct curves that are offset from a Path or Loop as viewed in xy-plane (ignoring z).
323
- * * The construction will remove "some" local effects of features smaller than the offset distance, but will not detect self intersection among widely separated edges.
324
- * * If offsetDistance is given as a number, default OffsetOptions are applied.
325
- * * When the offset needs to do an "outside" turn, the first applicable construction is applied:
326
- * * If the turn is larger than `options.minArcDegrees`, a circular arc is constructed.
327
- * * If the turn is less than or equal to `options.maxChamferTurnDegrees`, extend curves along tangent to single intersection point.
328
- * * If the turn is larger than `options.maxChamferDegrees`, the turn is constructed as a sequence of straight lines that are:
329
- * * outside the arc
330
- * * have uniform turn angle less than `options.maxChamferDegrees`
331
- * * each line segment (except first and last) touches the arc at its midpoint.
332
- * @param curves base curves.
333
- * @param offsetDistanceOrOptions offset distance (positive to left of curve, negative to right) or options object.
334
- */
329
+ * Construct curves that are offset from a Path or Loop as viewed in xy-plane (ignoring z).
330
+ * * The construction will remove "some" local effects of features smaller than the offset distance, but will
331
+ * not detect self intersection among widely separated edges.
332
+ * * If offsetDistance is given as a number, default OffsetOptions are applied.
333
+ * * When the offset needs to do an "outside" turn, the first applicable construction is applied:
334
+ * * If the turn is larger than `options.minArcDegrees`, a circular arc is constructed.
335
+ * * If the turn is less than or equal to `options.maxChamferTurnDegrees`, extend curves along tangent to
336
+ * single intersection point.
337
+ * * If the turn is larger than `options.maxChamferDegrees`, the turn is constructed as a sequence of straight
338
+ * lines that are:
339
+ * * outside the arc
340
+ * * have uniform turn angle less than `options.maxChamferDegrees`
341
+ * * each line segment (except first and last) touches the arc at its midpoint.
342
+ * @param curves base curves.
343
+ * @param offsetDistanceOrOptions offset distance (positive to left of curve, negative to right) or options object.
344
+ */
335
345
  static constructCurveXYOffset(curves, offsetDistanceOrOptions) {
336
346
  return PolygonOffsetContext_1.CurveChainWireOffsetContext.constructCurveXYOffset(curves, offsetDistanceOrOptions);
337
347
  }
@@ -345,7 +355,8 @@ class RegionOps {
345
355
  static testPointInOnOutRegionXY(curves, x, y) {
346
356
  return InOutTests_1.PointInOnOutContext.testPointInOnOutRegionXY(curves, x, y);
347
357
  }
348
- /** Create curve collection of subtype determined by gaps between the input curves.
358
+ /**
359
+ * Create curve collection of subtype determined by gaps between the input curves.
349
360
  * * If (a) wrap is requested and (b) all curves connect head-to-tail (including wraparound), assemble as a `loop`.
350
361
  * * If all curves connect head-to-tail except for closure, return a `Path`.
351
362
  * * If there are internal gaps, return a `BagOfCurves`
@@ -382,7 +393,9 @@ class RegionOps {
382
393
  * Announce Checkpoint function for use during booleans
383
394
  * @internal
384
395
  */
385
- static setCheckPointFunction(f) { this._graphCheckPointFunction = f; }
396
+ static setCheckPointFunction(f) {
397
+ this._graphCheckPointFunction = f;
398
+ }
386
399
  /**
387
400
  * Find all intersections among curves in `curvesToCut` and `cutterCurves` and return fragments of `curvesToCut`.
388
401
  * * For a `Loop`, `ParityRegion`, or `UnionRegion` in `curvesToCut`:
@@ -397,7 +410,8 @@ class RegionOps {
397
410
  }
398
411
  /**
399
412
  * Create paths assembled from many curves.
400
- * * Assemble paths from consecutive curves NOT separated by either gaps or the split markup set by [[cloneCurvesWithXYSplits]].
413
+ * * Assemble paths from consecutive curves NOT separated by either gaps or the split markup set by
414
+ * [[cloneCurvesWithXYSplits]].
401
415
  * * Return simplest form -- single primitive, single path, or bag of curves.
402
416
  */
403
417
  static splitToPathsBetweenBreaks(source, makeClones) {
@@ -434,7 +448,8 @@ class RegionOps {
434
448
  return MultiChainCollector_1.OffsetHelpers.collectChains(fragments, gapTolerance);
435
449
  }
436
450
  /**
437
- * Find all intersections among curves in `curvesToCut` against the boundaries of `region` and return fragments of `curvesToCut`.
451
+ * Find all intersections among curves in `curvesToCut` against the boundaries of `region` and return fragments
452
+ * of `curvesToCut`.
438
453
  * * Break `curvesToCut` into parts inside, outside, and coincident.
439
454
  * @returns output object with all fragments split among `insideParts`, `outsideParts`, and `coincidentParts`
440
455
  */
@@ -460,7 +475,8 @@ class RegionOps {
460
475
  }
461
476
  return result;
462
477
  }
463
- /** If `data` is one of several forms of a rectangle, return its edge Transform.
478
+ /**
479
+ * If `data` is one of several forms of a rectangle, return its edge Transform.
464
480
  * * Points are considered a rectangle if, within the first 4 points:
465
481
  * * vectors from 0 to 1 and 0 to 3 are perpendicular and have a non-zero cross product
466
482
  * * vectors from 0 to 3 and 1 to 2 are the same
@@ -471,7 +487,8 @@ class RegionOps {
471
487
  * * Array of Point3d[]
472
488
  * * IndexedXYZCollection
473
489
  * @param requireClosurePoint whether to require a 5th point equal to the 1st point.
474
- * @returns Transform with origin at one corner, x and y columns extending along two adjacent sides, and unit normal in z column. If not a rectangle, return undefined.
490
+ * @returns Transform with origin at one corner, x and y columns extending along two adjacent sides, and unit
491
+ * normal in z column. If not a rectangle, return undefined.
475
492
  */
476
493
  static rectangleEdgeTransform(data, requireClosurePoint = true) {
477
494
  if (data instanceof LineString3d_1.LineString3d) {
@@ -531,9 +548,10 @@ class RegionOps {
531
548
  * * Contiguous `LineSegment3d` and `LineString3d` objects.
532
549
  * * collect all points
533
550
  * * eliminate duplicated points
534
- * * eliminate points colinear with surrounding points.
535
- * * Contiguous concentric circular or elliptic arcs
551
+ * * eliminate points colinear with surrounding points
552
+ * * contiguous concentric circular or elliptic arcs
536
553
  * * combine angular ranges
554
+ * * This function can be used to compress adjacent LineSegment3ds into a LineString3d
537
555
  * @param curves Path or loop (or larger collection containing paths and loops) to be simplified
538
556
  * @param options options for tolerance and selective simplification.
539
557
  */
@@ -547,8 +565,10 @@ class RegionOps {
547
565
  * @returns a region that captures the input pointers. This region is a:
548
566
  * * `Loop` if there is exactly one input loop. It is oriented counterclockwise.
549
567
  * * `ParityRegion` if input consists of exactly one outer loop with at least one hole loop.
550
- * Its first child is an outer loop oriented counterclockwise; all subsequent children are holes oriented clockwise.
551
- * * `UnionRegion` if any other input configuration. Its children are individually ordered/oriented as in the above cases.
568
+ * Its first child is an outer loop oriented counterclockwise; all subsequent children are holes oriented
569
+ * clockwise.
570
+ * * `UnionRegion` if any other input configuration. Its children are individually ordered/oriented as in
571
+ * the above cases.
552
572
  * @see [[PolygonOps.sortOuterAndHoleLoopsXY]]
553
573
  */
554
574
  static sortOuterAndHoleLoopsXY(loops) {
@@ -565,17 +585,22 @@ class RegionOps {
565
585
  }
566
586
  /**
567
587
  * Find all areas bounded by the unstructured, possibly intersecting curves.
568
- * * A common use case of this method is to assemble the bounding "exterior" loop (or loops) containing the input curves.
569
- * * This method does not add bridge edges to connect outer loops to inner loops. Each disconnected loop, regardless
570
- * of its containment, is returned as its own SignedLoops object. Pre-process with [[regionBooleanXY]] to add bridge edges so that
571
- * [[constructAllXYRegionLoops]] will return outer and inner loops in the same SignedLoops object.
572
- * @param curvesAndRegions Any collection of curves. Each Loop/ParityRegion/UnionRegion contributes its curve primitives.
588
+ * * A common use case of this method is to assemble the bounding "exterior" loop (or loops) containing the
589
+ * input curves.
590
+ * * This method does not add bridge edges to connect outer loops to inner loops. Each disconnected loop,
591
+ * regardless of its containment, is returned as its own SignedLoops object. Pre-process with [[regionBooleanXY]]
592
+ * to add bridge edges so that [[constructAllXYRegionLoops]] will return outer and inner loops in the same
593
+ * SignedLoops object.
594
+ * @param curvesAndRegions Any collection of curves. Each Loop/ParityRegion/UnionRegion contributes its curve
595
+ * primitives.
573
596
  * @param tolerance optional distance tolerance for coincidence
574
597
  * @returns array of [[SignedLoops]], each entry of which describes the faces in a single connected component:
575
- * * `positiveAreaLoops` contains "interior" loops, _including holes in ParityRegion input_. These loops have positive area and counterclockwise orientation.
598
+ * * `positiveAreaLoops` contains "interior" loops, _including holes in ParityRegion input_. These loops have
599
+ * positive area and counterclockwise orientation.
576
600
  * * `negativeAreaLoops` contains (probably just one) "exterior" loop which is ordered clockwise.
577
601
  * * `slivers` contains sliver loops that have zero area, such as appear between coincident curves.
578
- * * `edges` contains a [[LoopCurveLoopCurve]] object for each component edge, collecting both loops adjacent to the edge and a constituent curve in each.
602
+ * * `edges` contains a [[LoopCurveLoopCurve]] object for each component edge, collecting both loops adjacent
603
+ * to the edge and a constituent curve in each.
579
604
  */
580
605
  static constructAllXYRegionLoops(curvesAndRegions, tolerance = Geometry_1.Geometry.smallMetricDistance) {
581
606
  const primitives = RegionOps.collectCurvePrimitives(curvesAndRegions, undefined, true, true);
@@ -591,8 +616,10 @@ class RegionOps {
591
616
  * * Optionally recurses into hidden primitives if `smallestPossiblePrimitives` is true.
592
617
  * @param candidates input curves
593
618
  * @param collectorArray optional pre-defined output array. If defined, it is NOT cleared: primitives are appended.
594
- * @param smallestPossiblePrimitives if true, recurse into the children of a [[CurveChainWithDistanceIndex]]. If false, push the [[CurveChainWithDistanceIndex]] instead.
595
- * @param explodeLinestrings if true, push a [[LineSegment3d]] for each segment of a [[LineString3d]]. If false, push the [[LineString3d]] instead.
619
+ * @param smallestPossiblePrimitives if true, recurse into the children of a [[CurveChainWithDistanceIndex]]. If
620
+ * false, push the [[CurveChainWithDistanceIndex]] instead.
621
+ * @param explodeLinestrings if true, push a [[LineSegment3d]] for each segment of a [[LineString3d]]. If false,
622
+ * push the [[LineString3d]] instead.
596
623
  */
597
624
  static collectCurvePrimitives(candidates, collectorArray, smallestPossiblePrimitives = false, explodeLinestrings = false) {
598
625
  const results = collectorArray === undefined ? [] : collectorArray;
@@ -610,7 +637,8 @@ class RegionOps {
610
637
  return results;
611
638
  }
612
639
  /**
613
- * Copy primitive pointers from candidates to result array, replacing each [[LineString3d]] by newly constructed instances of [[LineSegment3d]].
640
+ * Copy primitive pointers from candidates to result array, replacing each [[LineString3d]] by newly constructed
641
+ * instances of [[LineSegment3d]].
614
642
  * @param candidates input curves
615
643
  * @return copied (captured) inputs except for the linestrings, which are exploded
616
644
  */