projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c888dec
)
0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector
author
abv
<abv@opencascade.com>
Mon, 10 Dec 2012 20:32:11 +0000
(
00:32
+0400)
committer
abv
<abv@opencascade.com>
Fri, 28 Dec 2012 14:15:03 +0000
(18:15 +0400)
Number of iterations corrected in static function GetArc()
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
b/src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
index
c4cc742
..
02e735e
100755
(executable)
--- a/
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
+++ b/
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
@@
-1366,7
+1366,7
@@
static Standard_Integer GetArc(IntPatch_SequenceOfLine& theSlin,
}
}
// c. all middle gaps
- Standard_Integer NbChkPnts =
theSlin.Length()
- 1;
+ Standard_Integer NbChkPnts =
WLVertexParameters.Length() / 2
- 1;
for(i = 1; i <= NbChkPnts; i++)
{
if( Abs(WLVertexParameters.Value(i*2+1) - WLVertexParameters.Value(i*2)) > arc->Resolution(MaxVertexTol))