occt: master e6ae74fd

Author Committer Branch Timestamp Parent
emv apn master 2017-02-03 11:24:28 master ea3193f5
Changeset 0028426: Implementation of the EdgesToFaces function

1. The two new methods have been implemented:
a. BOPAlgo_Tools::EdgesToWires - allows creating planar wires from edges.
The input edges may be not shared, but the output wires will be sharing the coinciding vertices and edges.
It is possible to skip the sharing if the input edges are already shared by passing the corresponding flag into the method.
The input edges are expected to be planar, but the method does not check it. Thus, if the input edges are not planar, the output wires will also be not planar.
In general, the output wires will be non-manifold and may contain free vertices.

b. BOPAlgo_Tools::WiresToFaces - allows creating planar faces from the planar wires.
In general, the input wires are non-manifold and may be not closed, but should share the coinciding parts.
The wires located in the same plane and completely included into other wires will create holes in the faces built from bigger wires

These two methods combined allow building faces from set of edges randomly located in 3D space.

2. The DRAW command *edgestofaces* has been implemented.

3. The documentation has been updated with the new section in Modeling Algorithms - Topological Tools.

4. Test cases for the issue.
mod - dox/user_guides/draw_test_harness/draw_test_harness.md Diff File
add - dox/user_guides/modeling_algos/images/modeling_algos_image062.png Diff File
add - dox/user_guides/modeling_algos/images/modeling_algos_image063.png Diff File
add - dox/user_guides/modeling_algos/images/modeling_algos_image064.png Diff File
add - dox/user_guides/modeling_algos/images/modeling_algos_image065.png Diff File
mod - dox/user_guides/modeling_algos/modeling_algos.md Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.hxx Diff File
mod - src/BOPTest/BOPTest_UtilityCommands.cxx Diff File
add - tests/mkface/edges_to_faces/A1 Diff File
add - tests/mkface/edges_to_faces/A2 Diff File
add - tests/mkface/edges_to_faces/A3 Diff File
add - tests/mkface/edges_to_faces/A4 Diff File
add - tests/mkface/edges_to_faces/A5 Diff File
add - tests/mkface/edges_to_faces/A6 Diff File
add - tests/mkface/edges_to_faces/A7 Diff File
add - tests/mkface/edges_to_faces/A8 Diff File
add - tests/mkface/edges_to_faces/A9 Diff File
add - tests/mkface/edges_to_faces/B1 Diff File
add - tests/mkface/edges_to_faces/B2 Diff File
add - tests/mkface/edges_to_faces/B3 Diff File
add - tests/mkface/edges_to_faces/B4 Diff File
add - tests/mkface/edges_to_faces/B5 Diff File
add - tests/mkface/edges_to_faces/B6 Diff File
add - tests/mkface/edges_to_faces/B7 Diff File
add - tests/mkface/edges_to_faces/B8 Diff File
add - tests/mkface/edges_to_faces/B9 Diff File
add - tests/mkface/edges_to_faces/C1 Diff File
add - tests/mkface/edges_to_faces/C2 Diff File
add - tests/mkface/edges_to_faces/C3 Diff File
add - tests/mkface/edges_to_faces/C4 Diff File
add - tests/mkface/edges_to_faces/C5 Diff File
add - tests/mkface/edges_to_faces/C6 Diff File
add - tests/mkface/edges_to_faces/C7 Diff File
add - tests/mkface/edges_to_faces/C8 Diff File
add - tests/mkface/edges_to_faces/C9 Diff File
add - tests/mkface/edges_to_faces/D1 Diff File
add - tests/mkface/edges_to_faces/D2 Diff File
add - tests/mkface/edges_to_faces/D3 Diff File
add - tests/mkface/edges_to_faces/D4 Diff File
add - tests/mkface/edges_to_faces/D5 Diff File
add - tests/mkface/edges_to_faces/D6 Diff File
add - tests/mkface/edges_to_faces/D7 Diff File
add - tests/mkface/edges_to_faces/D8 Diff File
add - tests/mkface/edges_to_faces/D9 Diff File
add - tests/mkface/edges_to_faces/E1 Diff File
add - tests/mkface/edges_to_faces/E2 Diff File
mod - tests/mkface/grids.list Diff File