#include <TopoDS_Shape.hxx>
#include <TopoDS_Wire.hxx>
#include <limits>
+#include <math.h>
static int aMaxNameId = std::numeric_limits<int>::max();
return QColor( r, g, b );
}
+bool HYDROData_Tool::IsNan( double theValue )
+{
+#ifdef WIN32
+ return _isnan( theValue );
+#else
+ return isnan( theValue );
+#endif
+}
+
+bool HYDROData_Tool::IsInf( double theValue )
+{
+#ifdef WIN32
+ return (!_finite( theValue ) );
+#else
+ return isinf( theValue );
+#endif
+}
+
std::ostream& operator<<( std::ostream& theStream, const QString& theText )
{
theStream << theText.toStdString();