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
/
Graphic2d
/
Graphic2d_Line.cxx
diff --git
a/src/Graphic2d/Graphic2d_Line.cxx
b/src/Graphic2d/Graphic2d_Line.cxx
index
54ae773
..
9935c87
100755
(executable)
--- a/
src/Graphic2d/Graphic2d_Line.cxx
+++ b/
src/Graphic2d/Graphic2d_Line.cxx
@@
-154,7
+154,7
@@
Standard_Boolean Graphic2d_Line::IsIn ( const Standard_ShortReal aX,
cosin = prosca / norme1 / norme2;
if ( cosin >= 1 ) angle = 0.;
else {
- if ( cosin <= -1) angle = -
Standard
_PI;
+ if ( cosin <= -1) angle = -
M
_PI;
else
angle = Sign ( ACos ( cosin ) , provec );
}