SketchUp C API
|
Interfaces for comparing values with tolerances. More...
#include <SketchUpAPI/common.h>
Functions | |
double | SUDegreesToRadians (double value) |
Converts a value from degrees to radians. More... | |
double | SURadiansToDegrees (double value) |
Converts a value from radians to degrees. More... | |
bool | SUEquals (double val1, double val2) |
Compares two values for equality with a tolerance. More... | |
bool | SULessThan (double val1, double val2) |
Compares two values with a tolerance to see if val1 is less than val2. More... | |
bool | SULessThanOrEqual (double val1, double val2) |
Compares two values with a tolerance to see if val1 is less than or equal to val2. More... | |
bool | SUGreaterThan (double val1, double val2) |
Compares two values with a tolerance to see if val1 is greater than val2. More... | |
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.
double SUDegreesToRadians | ( | double | value | ) |
Converts a value from degrees to radians.
[in] | value | A value in degrees. |
bool SUEquals | ( | double | val1, |
double | val2 | ||
) |
Compares two values for equality with a tolerance.
[in] | val1 | The first value. |
[in] | val2 | The second value. |
bool SUGreaterThan | ( | double | val1, |
double | val2 | ||
) |
Compares two values with a tolerance to see if val1 is greater than val2.
[in] | val1 | The first value. |
[in] | val2 | The second value. |
bool SUGreaterThanOrEqual | ( | double | val1, |
double | val2 | ||
) |
Compares two values with a tolerance to see if val1 is greater than or equal to val2.
[in] | val1 | The first value. |
[in] | val2 | The second value. |
bool SULessThan | ( | double | val1, |
double | val2 | ||
) |
Compares two values with a tolerance to see if val1 is less than val2.
[in] | val1 | The first value. |
[in] | val2 | The second value. |
bool SULessThanOrEqual | ( | double | val1, |
double | val2 | ||
) |
Compares two values with a tolerance to see if val1 is less than or equal to val2.
[in] | val1 | The first value. |
[in] | val2 | The second value. |
double SURadiansToDegrees | ( | double | value | ) |
Converts a value from radians to degrees.
[in] | value | A value in radians. |