mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031361: Modeling algorithms - An exception arise when building tube
* Add status flag to GeomFill_Pipe * Add myIsPerform flag to GeomFill_Pipe * Add checking vectors in GeomFill_CorrectedFrenet * Add boolean return to SetCurve virtual methods * Add test case
This commit is contained in:
@@ -237,8 +237,8 @@ static Standard_Integer tuyau (Draw_Interpretor& di,
|
||||
|
||||
Pipe.Perform(1.e-4, Standard_False, Cont);
|
||||
if (!Pipe.IsDone()) {
|
||||
di << "GeomFill_Pipe cannot make a surface\n";
|
||||
return 1;
|
||||
di << "Error: GeomFill_Pipe cannot make a surface\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
Standard_Real Accuracy = Pipe.ErrorOnSurf();
|
||||
|
Reference in New Issue
Block a user