Parameter Operations
- Last UpdatedJan 13, 2023
- 1 minute read
Parameter values may be manipulated using mathematical operators to derive the appropriate value for the geometry component.
The following table shows the different operators available with query examples:
|
Operator |
Description |
Query Example |
Result |
|
+ |
add |
Q (10 + 10) |
20 |
|
- |
subtract or minus |
Q (10 – 20 – (100)) |
-110 |
|
* |
multiply |
Q (10 * 10) |
100 |
|
/ |
divide |
Q (10 / 10) |
1 |
|
SIN |
singe of angle (degrees) |
Q (sin (30)) |
0.5 |
|
COS |
cosine of angle (degrees) |
Q (cos (60)) |
0.5 |
|
TAN |
tangent of angle (degrees) |
Q (tan (45)) |
1 |
|
ASIN |
arc sine (degrees) |
Q (asin (1)) |
90° |
|
ACOS |
arc cosine (degrees) |
Q (acos (-1)) |
180° |
|
ATAN |
arc tangent (degrees) |
Q (atan (1)) |
45° |
|
ATANT |
arc tangent of two lengths |
Q (atant (5, 2)) |
68.119° |
|
MIN |
minimum of two or more values |
Q (min (5, 4, 8)) |
4 |
|
MAX |
maximum of two or more values |
Q (max (1, 50, 1348)) |
1348 |
|
SQRT |
square root |
Q (sqrt (16)) |
4 |
|
POW |
raise to the power of |
Q (pow (2, 3)) |
8 |
|
ABS |
absolute value |
Q (abs (-156)) |
156 |