0023511: The function BRepTools::UVBounds provides icorrect result for a face
authornbv <nbv@opencascade.com>
Mon, 19 May 2014 07:57:24 +0000 (11:57 +0400)
committerapn <apn@opencascade.com>
Thu, 22 May 2014 13:55:31 +0000 (17:55 +0400)
commit59495dbe8ae341b6a6235f1190e317704cb6f735
treec192eee28afce6b78cb2c91f4e3fea253fc12c34
parent0734c53d68ccd602e93925f9b1830e909e002784
0023511: The function BRepTools::UVBounds provides icorrect result for a face

Range of changing of some analytic curves is computed by other methods. It allows computing face's boundaries with more precise.
Tolerance was increased to provide successful work of some algorithms.
Functions BRepOffsetAPI_MiddlePath::Build() and ApproxWithPCurves(...) (file IntTools_FaceFace.cxx) were changed according to new result of algorithm's work.
It is possibly for "outboundaried faces" (see bug#23675) to compute incorrect UV-Bounds, when first parameter is more than last. To avoid it, extended control of computed bounds was added.
Function for fail sameparameter fixing was added to HLRAppli_ReflectLines to avoid creation bad shapes after algorithm's work.

In file ShapeFix_ComposeShell.cxx only text formatting was changed.

Some test cases are changed according to their new behavior.
Added test case bugs/moddata_3/bug23511
34 files changed:
src/BOPTools/BOPTools_AlgoTools.cxx
src/BRepOffsetAPI/BRepOffsetAPI_MiddlePath.cxx
src/BRepTools/BRepTools.cxx
src/BndLib/BndLib_Add2dCurve.cdl
src/BndLib/BndLib_Add2dCurve.cxx
src/HLRAppli/HLRAppli_ReflectLines.cxx
src/IntTools/IntTools_FaceFace.cxx
src/ProjLib/ProjLib_Sphere.cxx
src/ShapeFix/ShapeFix_ComposeShell.cxx
src/ShapeFix/ShapeFix_Face.cxx
tests/boolean/bcut_complex/O8
tests/boolean/bsection/R3
tests/bugs/modalg_1/buc60555_3
tests/bugs/modalg_1/bug10160_5
tests/bugs/modalg_2/bug5805_21
tests/bugs/modalg_2/bug5805_22
tests/bugs/modalg_2/bug5805_23
tests/bugs/modalg_2/bug5805_24
tests/bugs/modalg_2/bug5805_45
tests/bugs/modalg_2/bug5805_47
tests/bugs/modalg_2/bug5805_48
tests/bugs/modalg_5/bug23625_1
tests/bugs/modalg_5/bug24208_10
tests/bugs/modalg_5/bug24208_11
tests/bugs/modalg_5/bug24208_14
tests/bugs/modalg_5/bug24208_3
tests/bugs/modalg_5/bug24208_4
tests/bugs/modalg_5/bug24208_7
tests/bugs/moddata_2/bug76
tests/bugs/moddata_2/bug921
tests/bugs/moddata_3/bug23511 [new file with mode: 0644]
tests/de/iges_1/J9
tests/draft/angle/K8
tests/draft/angle/M2