mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -105,9 +105,9 @@ HLRBRep::PolyHLRAngleAndDeflection (const Standard_Real InAngl,
|
||||
Standard_Real& OutAngl,
|
||||
Standard_Real& OutDefl)
|
||||
{
|
||||
static Standard_Real HAngMin = 1*PI/180;
|
||||
static Standard_Real HAngLim = 5*PI/180;
|
||||
static Standard_Real HAngMax = 35*PI/180;
|
||||
static Standard_Real HAngMin = 1*M_PI/180;
|
||||
static Standard_Real HAngLim = 5*M_PI/180;
|
||||
static Standard_Real HAngMax = 35*M_PI/180;
|
||||
|
||||
OutAngl = InAngl;
|
||||
if (OutAngl < HAngMin) OutAngl = HAngMin;
|
||||
|
@@ -439,7 +439,7 @@ static Standard_Integer IndexPlusOnePerCentThree [] = { 1 , 2 , 0 };
|
||||
|
||||
HLRBRep_PolyAlgo::HLRBRep_PolyAlgo () :
|
||||
myDebug (Standard_False),
|
||||
myAngle (5 * PI / 180.),
|
||||
myAngle (5 * M_PI / 180.),
|
||||
myTolSta (0.1),
|
||||
myTolEnd (0.9),
|
||||
myTolAngular(0.001)
|
||||
@@ -475,7 +475,7 @@ HLRBRep_PolyAlgo::HLRBRep_PolyAlgo (const Handle(HLRBRep_PolyAlgo)& A)
|
||||
|
||||
HLRBRep_PolyAlgo::HLRBRep_PolyAlgo (const TopoDS_Shape& S) :
|
||||
myDebug (Standard_False),
|
||||
myAngle (5 * PI / 180.),
|
||||
myAngle (5 * M_PI / 180.),
|
||||
myTolSta (0.1),
|
||||
myTolEnd (0.9),
|
||||
myTolAngular(0.001)
|
||||
|
Reference in New Issue
Block a user