mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms
Method BRep_Tool::IsClosed() extended to analyze closure of wires in addition to shells and solids. External and Internal edges and vertices are ignored in this check. Analysis of compounds is disabled. Update of flag Closed according to actual state is added in most places where new shells are constructed. Draw-command and test case for issue CR25202
This commit is contained in:
@@ -429,6 +429,7 @@ static const Standard_ExtString voidext = { 0 };
|
||||
TopoDS_Shell S;
|
||||
B.MakeShell (S);
|
||||
B.Add (S,shape); // ne passe pas ! : TopoDS::Face(shape));
|
||||
S.Closed (BRep_Tool::IsClosed (S));
|
||||
return S;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user