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 core/geometry/src/curve/CurveChainWithDistanceIndex.ts Line 95 Last Updated: 13 June, 2024