mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector
Number of iterations corrected in static function GetArc()
This commit is contained in:
parent
c888decadb
commit
53e7fedeb2
@ -1366,7 +1366,7 @@ static Standard_Integer GetArc(IntPatch_SequenceOfLine& theSlin,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// c. all middle gaps
|
// c. all middle gaps
|
||||||
Standard_Integer NbChkPnts = theSlin.Length() - 1;
|
Standard_Integer NbChkPnts = WLVertexParameters.Length() / 2 - 1;
|
||||||
for(i = 1; i <= NbChkPnts; i++)
|
for(i = 1; i <= NbChkPnts; i++)
|
||||||
{
|
{
|
||||||
if( Abs(WLVertexParameters.Value(i*2+1) - WLVertexParameters.Value(i*2)) > arc->Resolution(MaxVertexTol))
|
if( Abs(WLVertexParameters.Value(i*2+1) - WLVertexParameters.Value(i*2)) > arc->Resolution(MaxVertexTol))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user