API Reference > geometry-core > Curve > PathFragment > reverseFractionsAndDistances reverseFractionsAndDistances Method Reverse the fraction and distance data. each child fraction f is replaced by 1-f each chainDistance is replaced by totalDistance-chainDistance reverseFractionsAndDistances(totalDistance: number): void Parameter Type Description totalDistance number Returns - void Defined in curve/CurveChainWithDistanceIndex.ts Line 96 Last Updated: 12 June, 2024