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

Last Updated: 11 June, 2024