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
/
StdSelect
/
StdSelect_BRepSelectionTool.cxx
diff --git
a/src/StdSelect/StdSelect_BRepSelectionTool.cxx
b/src/StdSelect/StdSelect_BRepSelectionTool.cxx
index
520fcf2
..
54fd5df
100755
(executable)
--- a/
src/StdSelect/StdSelect_BRepSelectionTool.cxx
+++ b/
src/StdSelect/StdSelect_BRepSelectionTool.cxx
@@
-689,7
+689,7
@@
Standard_Boolean StdSelect_BRepSelectionTool
}
case GeomAbs_Circle:
{
- if (2 * PI - Abs (wl - wf) <= Precision::Confusion())
+ if (2 *
M_
PI - Abs (wl - wf) <= Precision::Confusion())
{
if (BS.GetType() == GeomAbs_Cylinder ||
BS.GetType() == GeomAbs_Torus ||