mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
This commit is contained in:
@@ -1359,7 +1359,7 @@ Standard_Boolean IntWalk_PWalking::ExtendLineInCommonZone(const IntImp_ConstIsop
|
||||
anIsoDir = gp_Dir2d(1, 0);
|
||||
|
||||
if(aTangentZoneDir.SquareMagnitude() > gp::Resolution()) {
|
||||
Standard_Real piquota = PI*0.25;
|
||||
Standard_Real piquota = M_PI*0.25;
|
||||
|
||||
if(fabs(aTangentZoneDir.Angle(anIsoDir)) > piquota) {
|
||||
Standard_Integer ii = 1, nextii = 2;
|
||||
|
@@ -109,7 +109,7 @@
|
||||
}
|
||||
//==================================================================================
|
||||
//OCC431(apo): modified ->
|
||||
static Standard_Real CosRef2D = Cos(PI/9.0), AngRef2D = PI/2.0;
|
||||
static Standard_Real CosRef2D = Cos(M_PI/9.0), AngRef2D = M_PI/2.0;
|
||||
|
||||
static Standard_Real /*tolArea = 100.0,*/ d = 7.0;
|
||||
Standard_Real tolArea = 100.0;
|
||||
|
Reference in New Issue
Block a user