19 #ifndef SURGSIM_MATH_VALID_H 20 #define SURGSIM_MATH_VALID_H 24 #include <Eigen/Geometry> 35 inline bool isValid(
float value);
41 inline bool isValid(
double value);
50 inline bool isValid(
const Eigen::DenseBase<T>& value);
59 inline bool isValid(
const Eigen::QuaternionBase<T>& value);
68 inline bool isValid(
const Eigen::AngleAxis<T>& value);
77 inline bool isValid(
const Eigen::Rotation2D<T>& value);
88 template <
typename T,
int D,
int M,
int O>
89 inline bool isValid(
const Eigen::Transform<T, D, M, O>& value);
116 template <
typename T>
117 inline bool isSubnormal(
const Eigen::DenseBase<T>& value);
126 template <
typename T>
127 inline bool isSubnormal(
const Eigen::QuaternionBase<T>& value);
136 template <
typename T>
137 inline bool isSubnormal(
const Eigen::AngleAxis<T>& value);
146 template <
typename T>
147 inline bool isSubnormal(
const Eigen::Rotation2D<T>& value);
159 template <
typename T,
int D,
int M,
int O>
160 inline bool isSubnormal(
const Eigen::Transform<T, D, M, O>& value);
187 template <
typename T>
197 template <
typename T>
207 template <
typename T>
217 template <
typename T>
227 template <
typename T,
int D,
int M,
int O>
237 #endif // SURGSIM_MATH_VALID_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Implementation of isValid(), isSubnormal() and setSubnormalToZero().
bool setSubnormalToZero(float *value)
If the float value is subnormal, set it to zero.
Definition: Valid-inl.h:187
bool isSubnormal(float value)
Check if a float value is subnormal.
Definition: Valid-inl.h:141
bool isValid(float value)
Check if a float value is valid.
Definition: Valid-inl.h:97