Interfaces for comparing values with tolerances.
More...
Go to the source code of this file.
|
SU_EXPORT double | SUDegreesToRadians (double value) |
| Converts a value from degrees to radians. More...
|
|
SU_EXPORT double | SURadiansToDegrees (double value) |
| Converts a value from radians to degrees. More...
|
|
SU_EXPORT bool | SUEquals (double val1, double val2) |
| Compares two values for equality with a tolerance. More...
|
|
SU_EXPORT bool | SULessThan (double val1, double val2) |
| Compares two values with a tolerance to see if val1 is less than val2. More...
|
|
SU_EXPORT bool | SULessThanOrEqual (double val1, double val2) |
| Compares two values with a tolerance to see if val1 is less than or equal to val2. More...
|
|
SU_EXPORT bool | SUGreaterThan (double val1, double val2) |
| Compares two values with a tolerance to see if val1 is greater than val2. More...
|
|
SU_EXPORT bool | SUGreaterThanOrEqual (double val1, double val2) |
| Compares two values with a tolerance to see if val1 is greater than or equal to val2. More...
|
|
Interfaces for comparing values with tolerances.
SU_EXPORT double SUDegreesToRadians |
( |
double |
value | ) |
|
Converts a value from degrees to radians.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | value | A value in degrees. |
- Returns
- The value converted to radians.
SU_EXPORT bool SUEquals |
( |
double |
val1, |
|
|
double |
val2 |
|
) |
| |
Compares two values for equality with a tolerance.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | val1 | The first value. |
[in] | val2 | The second value. |
- Returns
- True if the values are equal.
SU_EXPORT bool SUGreaterThan |
( |
double |
val1, |
|
|
double |
val2 |
|
) |
| |
Compares two values with a tolerance to see if val1 is greater than val2.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | val1 | The first value. |
[in] | val2 | The second value. |
- Returns
- True if val1 is greater than val2.
SU_EXPORT bool SUGreaterThanOrEqual |
( |
double |
val1, |
|
|
double |
val2 |
|
) |
| |
Compares two values with a tolerance to see if val1 is greater than or equal to val2.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | val1 | The first value. |
[in] | val2 | The second value. |
- Returns
- True if val1 is greater than or equal to val2.
SU_EXPORT bool SULessThan |
( |
double |
val1, |
|
|
double |
val2 |
|
) |
| |
Compares two values with a tolerance to see if val1 is less than val2.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | val1 | The first value. |
[in] | val2 | The second value. |
- Returns
- True if val1 is less than val2.
SU_EXPORT bool SULessThanOrEqual |
( |
double |
val1, |
|
|
double |
val2 |
|
) |
| |
Compares two values with a tolerance to see if val1 is less than or equal to val2.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | val1 | The first value. |
[in] | val2 | The second value. |
- Returns
- True if val1 is less than or equal to val2.
SU_EXPORT double SURadiansToDegrees |
( |
double |
value | ) |
|
Converts a value from radians to degrees.
- Since
- SketchUp 2018, API 6.0
- Parameters
-
[in] | value | A value in radians. |
- Returns
- The value converted to degrees.