0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms
authorabv <abv@opencascade.com>
Wed, 8 Oct 2014 14:52:07 +0000 (18:52 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 10 Oct 2014 12:28:36 +0000 (16:28 +0400)
commitab860031bd5c0a3314c1322276749f2f66cd7b47
treee43da26a0cfb625911e5658332c8567edc9dc88c
parent2bc75a1bce4109fedd49f1941a3d93c94a8e69b6
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
53 files changed:
src/AIS/AIS_ColoredShape.cxx
src/BOPAlgo/BOPAlgo_BuilderSolid.cxx
src/BOPAlgo/BOPAlgo_Builder_3.cxx
src/BOPAlgo/BOPAlgo_ShellSplitter.cxx
src/BRep/BRep_Tool.cdl
src/BRep/BRep_Tool.cxx
src/BRepAlgo/BRepAlgo_Loop.cxx
src/BRepCheck/BRepCheck_Shell.cxx
src/BRepFeat/BRepFeat_MakeLinearForm.cxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.cxx
src/BRepFeat/BRepFeat_RibSlot.cxx
src/BRepFill/BRepFill.cxx
src/BRepFill/BRepFill_Draft.cxx
src/BRepFill/BRepFill_Generator.cxx
src/BRepFill/BRepFill_Pipe.cxx
src/BRepFill/BRepFill_TrimShellCorner.cxx
src/BRepLib/BRepLib_MakeShell.cxx
src/BRepLib/BRepLib_MakeSolid.cxx
src/BRepPrim/BRepPrim_GWedge.cxx
src/BRepPrim/BRepPrim_OneAxis.cxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.cxx
src/BRepTest/BRepTest_FeatureCommands.cxx
src/BRepTools/BRepTools_ReShape.cxx
src/DBRep/DBRep.cxx
src/LocOpe/LocOpe_BuildShape.cxx
src/LocOpe/LocOpe_SplitShape.cxx
src/QABugs/QABugs_13.cxx
src/QABugs/QABugs_14.cxx
src/QABugs/QABugs_19.cxx
src/QABugs/QABugs_3.cxx
src/ShapeBuild/ShapeBuild_ReShape.cxx
src/ShapeFix/ShapeFix_FaceConnect.cxx
src/ShapeFix/ShapeFix_Shell.cxx
src/ShapeProcess/ShapeProcess_ShapeContext.cxx
src/ShapeUpgrade/ShapeUpgrade_FaceDivideArea.cxx
src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
src/ShapeUpgrade/ShapeUpgrade_WireDivide.cxx
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx
src/TNaming/TNaming_Name.cxx
src/TestTopOpe/TestTopOpe_OtherCommands.cxx
src/TopOpeBRep/TopOpeBRep_ShapeIntersector.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1_2.cxx
src/XCAFPrs/XCAFPrs.cxx
src/XSControl/XSControl_Utils.cxx
tests/bugs/moddata_3/bug25202_1 [new file with mode: 0755]
tests/bugs/moddata_3/bug25202_2 [new file with mode: 0755]
tests/bugs/moddata_3/bug25202_3 [new file with mode: 0755]
tests/bugs/moddata_3/bug25202_4 [new file with mode: 0755]