projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518d862
)
0022915: crash in iges reader TransferRoots()
author
AMA
<>
Fri, 17 Feb 2012 11:06:07 +0000
(11:06 +0000)
committer
bugmaster
<bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:32:42 +0000
(19:32 +0400)
src/IGESGeom/IGESGeom_CircularArc.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/IGESGeom/IGESGeom_CircularArc.cxx
b/src/IGESGeom/IGESGeom_CircularArc.cxx
index
19d463e
..
98d4243
100755
(executable)
--- a/
src/IGESGeom/IGESGeom_CircularArc.cxx
+++ b/
src/IGESGeom/IGESGeom_CircularArc.cxx
@@
-120,5
+120,5
@@
Standard_Boolean IGESGeom_CircularArc::IsClosed () const
{
- return (
(theStart.X() == theEnd.X()) && (theStart.Y() == theEnd.Y()
));
+ return (
Abs (theStart.X() - theEnd.X()) < Precision::PConfusion() && Abs (theStart.Y() - theEnd.Y()) < Precision::PConfusion(
));
}