Part: Add #include <limits> where used

This commit is contained in:
Benjamin Nauck
2025-03-31 23:52:08 +02:00
parent 0ac87c8a27
commit d5447df72d
22 changed files with 24 additions and 0 deletions

View File

@@ -105,6 +105,7 @@
# include <boost/random.hpp>
# include <cmath>
# include <ctime>
# include <limits>
#endif //_PreComp_
#include <Base/Console.h>

View File

@@ -24,6 +24,8 @@
#ifndef PART_SHAPEMAPHASHER_H
#define PART_SHAPEMAPHASHER_H
#include <limits>
#include <Standard_Version.hxx>
#include <TopoDS_Shape.hxx>
#if OCC_VERSION_HEX >= 0x070800

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <BRep_Builder.hxx>
# include <BRep_Tool.hxx>
# include <BRepAdaptor_Curve.hxx>

View File

@@ -26,6 +26,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <cmath>
#include <limits>
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_CompCurve.hxx>

View File

@@ -21,6 +21,7 @@
* *
***************************************************************************/
#include <limits>
#include <map>
#include <unordered_set>
#include <vector>

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <sstream>
# include <boost/regex.hpp>

View File

@@ -26,6 +26,7 @@
#include <boost/graph/graph_concepts.hpp>
#ifndef _PreComp_
# include <limits>
# include <BRepLib.hxx>
# include <BRep_Builder.hxx>
# include <BRep_Tool.hxx>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <QFuture>
# include <QKeyEvent>

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <GC_MakeArcOfCircle.hxx>
#include <Geom_Circle.hxx>
#include <Geom_TrimmedCurve.hxx>

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <BRep_Tool.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <QMessageBox>
# include <BRep_Tool.hxx>
# include <BRepAdaptor_Curve.hxx>

View File

@@ -25,6 +25,7 @@
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <gp_Ax2.hxx>
# include <gp_Circ.hxx>

View File

@@ -49,6 +49,7 @@
// STL
#include <algorithm>
#include <limits>
#include <map>
#include <sstream>
#include <string>

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <Inventor/actions/SoGetBoundingBoxAction.h>
# include <Inventor/nodes/SoCamera.h>

View File

@@ -32,6 +32,7 @@
# include <GL/gl.h>
# endif
# include <algorithm>
# include <limits>
# include <Inventor/SoPickedPoint.h>
# include <Inventor/SoPrimitiveVertex.h>
# include <Inventor/actions/SoGetBoundingBoxAction.h>

View File

@@ -30,6 +30,7 @@
#ifndef _PreComp_
# include <algorithm>
# include <limits>
# include <map>
# include <Inventor/SoPickedPoint.h>
# include <Inventor/SoPrimitiveVertex.h>

View File

@@ -32,6 +32,7 @@
# include <GL/gl.h>
# endif
# include <algorithm>
# include <limits>
# include <Inventor/actions/SoGetBoundingBoxAction.h>
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/bundles/SoMaterialBundle.h>

View File

@@ -32,6 +32,7 @@
# include <GL/gl.h>
# endif
# include <algorithm>
# include <limits>
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/bundles/SoMaterialBundle.h>
# include <Inventor/bundles/SoTextureCoordinateBundle.h>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <QMessageBox>
#endif

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <QMessageBox>
#endif

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <limits>
# include <Inventor/nodes/SoAnnotation.h>
# include <Inventor/nodes/SoBaseColor.h>

View File

@@ -24,6 +24,8 @@
#ifndef _PreComp_
# include <limits>
# include <Inventor/nodes/SoDepthBuffer.h>
# include <Inventor/nodes/SoDrawStyle.h>
# include <Inventor/nodes/SoLineSet.h>