mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
0030272: Modeling Algorithms - Incorrect work of gproject
-fix TolU/V for approximation; -fix cutting tool for approximation; -add method Adaptor3d_HSurfaceTool::IsSurfG1. -add test bugs/moddata_3/bug30272
This commit is contained in:
@@ -1225,7 +1225,7 @@ static Standard_Integer vecdc(Draw_Interpretor& di,Standard_Integer ,const char*
|
||||
Standard_Real Tol = 1.e-4;
|
||||
Standard_Real Tol2d;
|
||||
Standard_Real MaxDistance = 1.e-3;
|
||||
GeomAbs_Shape Continuity = GeomAbs_C2;
|
||||
GeomAbs_Shape Continuity = GeomAbs_C1;
|
||||
Standard_Integer MaxDeg = 14;
|
||||
Standard_Integer MaxSeg = 16;
|
||||
|
||||
@@ -1259,7 +1259,7 @@ static Standard_Integer vecdc(Draw_Interpretor& di,Standard_Integer ,const char*
|
||||
|
||||
if(n > arg) {
|
||||
if (Draw::Atoi(a[arg]) == 0) Continuity = GeomAbs_C0;
|
||||
else if (Draw::Atoi(a[arg]) == 1) Continuity = GeomAbs_C1;
|
||||
else if (Draw::Atoi(a[arg]) == 2) Continuity = GeomAbs_C2;
|
||||
arg++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user