reverseFractionsAndDistances Method
Reverse the fraction and distance data.
- Each child fraction
fis replaced by1-f - Each
chainDistanceis replaced bytotalDistance - chainDistance
reverseFractionsAndDistances(totalDistance: number): void
| Parameter | Type | Description |
|---|---|---|
| totalDistance | number | the total distance |
Returns - void
Defined in
- curve/CurveChainWithDistanceIndex.ts Line 144
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.