0027384: BRepMesh_IncrementalMesh does not take angular deflection into account for...
authoroan <oan@opencascade.com>
Tue, 26 Apr 2016 12:38:42 +0000 (15:38 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 29 Apr 2016 08:48:33 +0000 (11:48 +0300)
commit7856b126b06781bcae11ced1bf03789bbda4043e
tree0d3045dce1e11040ad7ecb8a472db49fc9496a8e
parent3a507ddb477aeb566d6328d50ea02c7896177af2
0027384: BRepMesh_IncrementalMesh does not take angular deflection into account for spun/elementary surfaces

Check deviation of normals at vertices of triangles for complex surface types different from Bezier and BSpline.
Modified test cased according to changes in BRepMesh.
Do not remove more intermediate parameters than N - 3 in order to have at least one parameter related to surface internals.
Check angle for angular deflection before removement of intermediate parameters.
Unify computation of internal vertices for complex surfaces.
Discretization points of edges are taken into account during computation of step of mesh grid.
Remove parameters only if they fit the constrains along the whole surface.
Do not add random internal parameters in case if their number is just 2.
Force freezing parameters both for U and V in case of significant control point.

Modified test cases

Warnings elimination in vc14.
37 files changed:
src/BRepMesh/BRepMesh.hxx
src/BRepMesh/BRepMesh_FastDiscretFace.cxx
src/BRepMesh/BRepMesh_FastDiscretFace.hxx
src/Extrema/Extrema_GenExtCC.gxx
src/LocOpe/LocOpe_SplitShape.cxx
src/STEPCAFControl/STEPCAFControl_Reader.cxx
tests/bugs/begin
tests/bugs/end
tests/bugs/iges/buc60820_2
tests/bugs/iges/buc60823
tests/bugs/iges/bug306
tests/bugs/mesh/bug24127
tests/bugs/mesh/bug25378_1_1
tests/bugs/mesh/bug25378_1_2
tests/bugs/mesh/bug25378_1_3
tests/bugs/mesh/bug25519
tests/bugs/mesh/bug27384_1 [new file with mode: 0644]
tests/bugs/mesh/bug27384_2 [new file with mode: 0644]
tests/bugs/modalg_2/bug21909
tests/bugs/modalg_2/bug264_10
tests/bugs/modalg_2/bug358
tests/bugs/moddata_1/bug22759
tests/bugs/moddata_2/fra62476_2
tests/bugs/moddata_3/bug25737_1
tests/bugs/vis/bug288_5
tests/mesh/begin
tests/mesh/data/advanced/B1
tests/mesh/data/advanced/B6
tests/mesh/data/advanced/B8
tests/mesh/data/standard/J8
tests/mesh/data/standard/L6
tests/mesh/data/standard/M4
tests/mesh/data/standard/M8
tests/mesh/data/standard/V5
tests/mesh/data/standard/W7
tests/mesh/data/standard/X3
tests/mesh/end