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: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.