]> OCCT Git - occt-copy.git/commit
0023675: P-curves of a face are out of the domain of the face. CR23675_19c
authornbv <nbv@opencascade.com>
Wed, 2 Apr 2014 10:18:07 +0000 (14:18 +0400)
committernbv <nbv@opencascade.com>
Thu, 3 Apr 2014 08:08:15 +0000 (12:08 +0400)
commitc2fd3dc272eeea6c21a333b3768d377fea0ca479
treecec018d5cd0c0b15e180b25e8d8d4a37b3d6eee8
parentdd8f1b191bb658fc0329e4014de112cdd73524ed
0023675: P-curves of a face are out of the domain of the face.

Analyzing of 2D-curves' boundaries.
Tolerance range computing was changed.

1. Function Validate(...) returns BRepCheck_Status.
2. For faces, whose pcurves is out of domain, status BRepCheck_OutOfSurfaceBoundary is returned.
3. For edges, which is out of face's boundary, status BRepCheck_PCurveIsOutOfDomainFace is returned.
4. Print warning, if status is not defined.
5. BRepCheck_Face::SetStatus(...) and BRepCheck_Wire::SetStatus(...) functions added.
6. ShapeFix::RefineFace(...) function and it draw-commands (ffixpcu and sfixpcu) are added. Command "ffixpcu" fixes a face with BRepCheck_OutOfSurfaceBoundary status. Command "sfixpcu" fixes a shape, which contains a face with BRepCheck_OutOfSurfaceBoundary status.
7. Trimming algorithm for surfaces changed (ForceTrim method is added).
8. Small correction of output of "checkshape" command result.
9. MinMax() and RealMod() functions are added.
10. Fixing of some shapes from test base.

Faces, which based on periodic or closed surfaces, are not controlled.
58 files changed:
src/BRep/BRep_Builder.cdl
src/BRep/BRep_Builder.cxx
src/BRep/BRep_Builder.lxx
src/BRepCheck/BRepCheck.cdl
src/BRepCheck/BRepCheck.cxx
src/BRepCheck/BRepCheck_Analyzer.cxx
src/BRepCheck/BRepCheck_Edge.cxx
src/BRepCheck/BRepCheck_Face.cdl
src/BRepCheck/BRepCheck_Face.cxx
src/BRepCheck/BRepCheck_Wire.cxx
src/BRepLib/BRepLib.cxx
src/BRepTest/BRepTest_CheckCommands.cxx
src/Geom/Geom_RectangularTrimmedSurface.cdl
src/Geom/Geom_RectangularTrimmedSurface.cxx
src/GeomTools/GeomTools_SurfaceSet.cxx
src/SWDRAW/SWDRAW_ShapeFix.cxx
src/ShapeBuild/ShapeBuild.cdl
src/ShapeFix/ShapeFix.cdl
src/ShapeFix/ShapeFix.cxx
src/Standard/Standard_Integer.hxx
src/Standard/Standard_Real.cxx
src/Standard/Standard_Real.hxx
tests/blend/complex/D3
tests/boolean/bcut_complex/E7
tests/boolean/bcut_complex/G2
tests/boolean/bcut_complex/H8
tests/boolean/bcut_complex/M2
tests/boolean/bfuse_complex/E6
tests/boolean/bfuse_complex/R8
tests/bugs/modalg_2/bug263
tests/bugs/modalg_4/bug6272_5
tests/bugs/modalg_4/bug6272_6
tests/bugs/modalg_4/bug6272_710
tests/bugs/modalg_4/bug6272_77
tests/bugs/modalg_4/bug6272_78
tests/bugs/modalg_4/bug6272_79
tests/bugs/moddata_1/bug15
tests/bugs/moddata_2/bug956_1
tests/feat/featlf/B8
tests/feat/featprism/K7
tests/feat/featprism/R1
tests/heal/data/advanced/G9
tests/heal/data/advanced/H9
tests/heal/data/advanced/I4
tests/heal/data/advanced/I5
tests/heal/data/advanced/M7
tests/heal/data/advanced/ZF1
tests/heal/data/advanced/ZF2
tests/heal/data/advanced/ZF7
tests/heal/data/advanced/ZF8
tests/heal/data/standard/I5
tests/heal/split_closed_faces/end
tests/heal/surface_to_bspline/B5
tests/heal/surface_to_bspline/C5
tests/heal/surface_to_bspline/C7
tests/heal/surface_to_bspline/D6
tests/heal/surface_to_bspline/D7
tests/heal/surface_to_bspline/D8