API Reference > geometry-core > Curve > RegionOps > collectChains collectChains MethodStatic Restructure curve fragments as chains Return the chains, possibly wrapped in BagOfCurves if there multiple chains. collectChains(fragments: GeometryQuery[], gapTolerance: number = Geometry.smallMetricDistance): ChainTypes Parameter Type Description fragments GeometryQuery[] fragments to be chained gapTolerance number Returns - ChainTypes Defined in curve/RegionOps.ts Line 445 Last Updated: 12 June, 2024