Fix OCC6.5.3 build errors
This commit is contained in:
parent
21add8911d
commit
943d24cfa1
|
@ -63,6 +63,11 @@
|
|||
|
||||
#include "SMESHDS_Mesh.hxx"
|
||||
#include "SMESHDS_GroupBase.hxx"
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
/*
|
||||
AUXILIARY METHODS
|
||||
|
|
|
@ -82,6 +82,10 @@
|
|||
#include <numeric>
|
||||
#include <limits>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
#define cast2Node(elem) static_cast<const SMDS_MeshNode*>( elem )
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -74,6 +74,11 @@
|
|||
#include "SMESH_subMesh.hxx"
|
||||
|
||||
#include "utilities.h"
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
#include <TopExp.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -56,6 +56,11 @@
|
|||
#include <list>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _DEBUG_
|
||||
|
|
|
@ -47,6 +47,11 @@ typedef NCollection_Array1<TColStd_SequenceOfInteger> StdMeshers_Array1OfSequenc
|
|||
#include <SMESH_Array1.hxx>
|
||||
typedef SMESH_Array1<TColStd_SequenceOfInteger> StdMeshers_Array1OfSequenceOfInteger;
|
||||
#endif
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
//function : StdMeshers_QuadToTriaAdaptor
|
||||
|
|
|
@ -54,6 +54,11 @@
|
|||
#include <TColgp_SequenceOfPnt2d.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <cmath>
|
||||
|
||||
#ifndef PI
|
||||
#define PI M_PI
|
||||
#endif
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
|
Loading…
Reference in New Issue
Block a user