Fix OCC6.5.3 build errors

This commit is contained in:
wmayer 2012-06-15 18:33:05 +02:00
parent 21add8911d
commit 943d24cfa1
7 changed files with 34 additions and 0 deletions

View File

@ -63,6 +63,11 @@
#include "SMESHDS_Mesh.hxx"
#include "SMESHDS_GroupBase.hxx"
#include <cmath>
#ifndef PI
#define PI M_PI
#endif
/*
AUXILIARY METHODS

View File

@ -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;

View File

@ -74,6 +74,11 @@
#include "SMESH_subMesh.hxx"
#include "utilities.h"
#include <cmath>
#ifndef PI
#define PI M_PI
#endif
using namespace std;

View File

@ -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;

View File

@ -56,6 +56,11 @@
#include <list>
#include <set>
#include <vector>
#include <cmath>
#ifndef PI
#define PI M_PI
#endif
#ifdef _DEBUG_

View File

@ -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

View File

@ -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;