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:
@@ -369,6 +369,7 @@ Standard_Boolean AIS_ColoredShape::dispatchColors (const TopoDS_Shape& th
|
||||
// iterate on sub-shapes
|
||||
BRep_Builder aBBuilder;
|
||||
TopoDS_Shape aShapeCopy = theSubshapeToParse.EmptyCopied();
|
||||
aShapeCopy.Closed (theSubshapeToParse.Closed());
|
||||
Standard_Boolean isSubOverride = Standard_False;
|
||||
Standard_Integer nbDef = 0;
|
||||
for (TopoDS_Iterator it (theSubshapeToParse); it.More(); it.Next())
|
||||
|
Reference in New Issue
Block a user