signFactor Method

Return a scale factor to make these sums match the target orientation sign.

  • 1.0 if this.quantitySum has the same sign as targetSign.
  • -1.0 if this.quantitySum has the opposite sign from targetSign

signFactor(targetSign: number): number

Parameter Type Description
targetSign number  

Defined in

Last Updated: 08 January, 2020