signFactor Method
Return a scale factor to make these sums match the target orientation sign.
- 1.0 if
this.quantitySum
has the same sign astargetSign
. - -1.0 if
this.quantitySum
has the opposite sign fromtargetSign
signFactor(targetSign: number): number
Parameter | Type | Description |
---|---|---|
targetSign | number |
Returns - number
Defined in
- geometry4d/MomentData.ts Line 60
Last Updated: 30 November, 2023