projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git]
/
src
/
ProjLib
/
ProjLib_Cylinder.cxx
diff --git
a/src/ProjLib/ProjLib_Cylinder.cxx
b/src/ProjLib/ProjLib_Cylinder.cxx
index
fff6f4b
..
65c3130
100755
(executable)
--- a/
src/ProjLib/ProjLib_Cylinder.cxx
+++ b/
src/ProjLib/ProjLib_Cylinder.cxx
@@
-122,7
+122,7
@@
void ProjLib_Cylinder::Project(const gp_Lin& L)
gp_Pnt2d P2d = EvalPnt2d(L.Location(),myCylinder);
if ( P2d.X() < 0.) {
- P2d.SetX(P2d.X()+2*PI);
+ P2d.SetX(P2d.X()+2*
M_
PI);
}
Standard_Real Signe
= L.Direction().Dot(myCylinder.Position().Direction());