mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026555: Modeling Algorithms - Exception-safe status reporting in BRepOffset_MakeOffset
Set safe exit status for: Standard_NullObject exception, Standard_NullObject: BRep_Tool:: TopoDS_Vertex hasn't gp_Pnt, BRep_Tool: no parameter on edge, BRepOffset_MakeOffset::TrimEdge no projection
This commit is contained in:
@@ -380,6 +380,21 @@ static void reportOffsetState(Draw_Interpretor& theCommands,
|
||||
theCommands << "ERROR. Incorrect set of faces to remove, the remaining shell is not connected.";
|
||||
break;
|
||||
}
|
||||
case BRepOffset_CannotTrimEdges:
|
||||
{
|
||||
theCommands << "ERROR. Can not trim edges.";
|
||||
break;
|
||||
}
|
||||
case BRepOffset_CannotFuseVertices:
|
||||
{
|
||||
theCommands << "ERROR. Can not fuse vertices.";
|
||||
break;
|
||||
}
|
||||
case BRepOffset_CannotExtentEdge:
|
||||
{
|
||||
theCommands << "ERROR. Can not extent edge.";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
theCommands << "ERROR. offsetperform operation not done.";
|
||||
|
Reference in New Issue
Block a user