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  

Defined in

Last Updated: 08 January, 2020