44 return angleInDegrees*M_PI/180.0;
55 return (fabs(s1-s2) < tol);
64 return angleInRadians*180.0/M_PI;
89 return (
int) (val + 0.5);
99 for (
int i=0 ; i<nNonBlankChars ; i++)
120 template <
typename T>
123 return (s1 >= s2) ? s1 : s2;
131 template <
typename T>
134 return (s1 >= s2) ? s2 : s1;
141 template <
typename T>
inline void swap2(T& t1, T& t2)
Definition: AffPoint.c++:12
double radiansToDegrees(double angleInRadians)
Definition: Inline.h:62
double square(double s)
Definition: Inline.h:107
void skipNonblankChars(std::istream &is, int nNonBlankChars)
Definition: Inline.h:96
void random0To1_seed(long seedVal)
Definition: Inline.h:78
void swap2(T &t1, T &t2)
Definition: Inline.h:141
int roundR2I(double val)
Definition: Inline.h:87
T minimum(T s1, T s2)
Definition: Inline.h:132
double random0To1_next()
Definition: Inline.h:70
std::string closeStr(char openStr)
Definition: Inline.h:23
bool equalScalars(double s1, double s2, double tol)
Definition: Inline.h:53
T maximum(T s1, T s2)
Definition: Inline.h:121
double degreesToRadians(double angleInDegrees)
Definition: Inline.h:42