Go to the documentation of this file.
7 #ifndef SKETCHUP_UTILS_MATH_HELPERS_H_
8 #define SKETCHUP_UTILS_MATH_HELPERS_H_
39 SU_EXPORT
bool SUEquals(
double val1,
double val2);
48 SU_EXPORT
bool SULessThan(
double val1,
double val2);
82 #ifdef SU_COMPAT_MATH_UTILS
85 static
double DegreesToRadians(
double value) {
90 static
bool Equals(
double val1,
double val2) {
95 static
bool GreaterThan(
double val1,
double val2) {
100 static
bool GreaterThanOrEqual(
double val1,
double val2) {
105 static
bool LessThan(
double val1,
double val2) {
110 static
bool LessThanOrEqual(
double val1,
double val2) {
115 static
double RadiansToDegrees(
double value) {
122 #endif // __cplusplus
124 #endif // SKETCHUP_UTILS_MATH_HELPERS_H_