occt: master 712879c8

Author Committer Branch Timestamp Parent
azv apn master 2016-11-15 09:17:45 master 4e1bc39a
Affected Issues  0027383: Modeling - improve handling of regularity on edges
Changeset 0027383: Modeling - improve handling of regularity on edges

1. There has been implemented calculation of all possible types of continuity for shared edges:
  * G1 is set if tangential planes are the same for connected faces in each control points through the edge;
  * C1 is set in addition to G1 conditions if derivatives, orthogonal to the edge on each face, are equal vectors;
  * G2 is set in addition to G1 if the centers of principal curvatures are the same for connected faces in each control points through the edge;
  * C2 is set in addition to C1 and G2 if directions of principal curvatures are equal;
  * CN continuity is set only if both connected faces are based on elementary surfaces (the conditions for this case are similar to C2 continuity).

2. ShapeFix::EncodeRegularity() is merged into BRepLib::EncodeRegularity().
3. Implemented several test cases to check correct handling of regularity.
4. Fix incorrect usage of BRepLib::EncodeRegularity() in BRepBuilderAPI_Sewing.
5. Implement a method for calculation of regularity on the given list of edges.
6. Documentation updates
mod - dox/user_guides/modeling_algos/modeling_algos.md Diff File
add - dox/user_guides/modeling_data/images/modeling_data_continuity_curves.svg Diff File
add - dox/user_guides/modeling_data/images/modeling_data_continuity_surfaces.svg Diff File
mod - dox/user_guides/modeling_data/modeling_data.md Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx Diff File
mod - src/BRepLib/BRepLib.cxx Diff File
mod - src/BRepLib/BRepLib.hxx Diff File
mod - src/ShapeFix/ShapeFix.cxx Diff File
mod - tests/bugs/modalg_6/bug27341_313 Diff File
mod - tests/bugs/modalg_6/bug27341_314 Diff File
mod - tests/bugs/modalg_6/bug27383_1 Diff File
mod - tests/bugs/modalg_6/bug27383_2 Diff File
add - tests/bugs/modalg_6/bug27383_3 Diff File
add - tests/bugs/modalg_6/bug27383_4 Diff File
add - tests/bugs/modalg_6/bug27383_5 Diff File
add - tests/bugs/modalg_6/bug27383_6 Diff File
add - tests/bugs/modalg_6/bug27383_7 Diff File