#include "HYDROData_Tool.h"
#include "HYDROData_PolylineXY.h"
-#include <boost/math/special_functions/fpclassify.hpp>
-
#include <gp_XY.hxx>
#include <gp_XYZ.hxx>
if ( !isXOk || !isYOk || !isZOk )
return false;
- if ( boost::math::isnan( aPoint.X() ) || boost::math::isinf( aPoint.X() ) ||
- boost::math::isnan( aPoint.Y() ) || boost::math::isinf( aPoint.Y() ) ||
- boost::math::isnan( aPoint.Z() ) || boost::math::isinf( aPoint.Z() ) )
+ if ( isnan( aPoint.X() ) || isinf( aPoint.X() ) ||
+ isnan( aPoint.Y() ) || isinf( aPoint.Y() ) ||
+ isnan( aPoint.Z() ) || isinf( aPoint.Z() ) )
return false;
// Invert the z value if requested
#pragma warning ( default: 4251 )
#endif
-#include <boost/math/special_functions/fpclassify.hpp>
-
static const Standard_GUID GUID_SELF_SPLIT("997995aa-5c19-40bf-9a60-ab4b70ad04d8");
static const Standard_GUID GUID_HAS_LOCAL_POINTS("FD8841AA-FC44-42fa-B6A7-0F682CCC6F27");
static const Standard_GUID GUID_HAS_GLOBAL_POINTS("330D0E81-742D-4ea3-92D4-484877CFA7C1");
// Check the result
if ( !isDoubleOk ||
- boost::math::isnan( aDoubleValue ) ||
- boost::math::isinf( aDoubleValue ) ) {
+ isnan( aDoubleValue ) ||
+ isinf( aDoubleValue ) ) {
continue;
}
#include "HYDROData_Tool.h"
#include "HYDROData_PolylineXY.h"
-#include <boost/math/special_functions/fpclassify.hpp>
-
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakePolygon.hxx>
double aCoordX = aValX.RealValue();
double aCoordY = aValY.RealValue();
- if ( boost::math::isnan( aCoordX ) || boost::math::isinf( aCoordX ) ||
- boost::math::isnan( aCoordY ) || boost::math::isinf( aCoordY ) )
+ if ( isnan( aCoordX ) || isinf( aCoordX ) ||
+ isnan( aCoordY ) || isinf( aCoordY ) )
aRes = false;
if ( anIsParametric )
}
double aCoordZ = aValZ.RealValue();
- if ( boost::math::isnan( aCoordZ ) || boost::math::isinf( aCoordZ ) )
+ if ( isnan( aCoordZ ) || isinf( aCoordZ ) )
aRes = false;
ProfilePoint aPoint( aCoordX, aCoordY, aCoordZ );