mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025225: Failure of 2d offset algorithm on two wires with arc
Test cases for issue CR25225 Correction of test case bugs/modalg_4(009)/bug745_4 for issue CR25225
This commit is contained in:
@@ -1938,7 +1938,7 @@ void MakeOffset (const TopoDS_Edge& E,
|
||||
Standard_Real Crossed = Xd.X()*Yd.Y()-Xd.Y()*Yd.X();
|
||||
Standard_Real Signe = ( Crossed > 0.) ? 1. : -1.;
|
||||
|
||||
if (anOffset*Signe < AC.Circle().Radius()) {
|
||||
if (anOffset*Signe < AC.Circle().Radius() - Precision::Confusion()) {
|
||||
|
||||
Handle(Geom2dAdaptor_HCurve) AHC =
|
||||
new Geom2dAdaptor_HCurve(G2d);
|
||||
|
Reference in New Issue
Block a user