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 the total distance

Returns - void

Defined in

Last Updated: 17 December, 2024