Salome HOME
Merge branch 'V8_3_BR' into V8_4_BR
[modules/smesh.git] / doc / salome / gui / SMESH / input / quad_from_ma_algo.doc
1 /*!
2
3 \page quad_from_ma_algo_page Medial Axis Projection Quadrangle meshing algorithm
4
5 Medial Axis Projection algorithm can be used for meshing faces with
6 sinuous borders and a channel-like shape, for which it can be
7 difficult to define 1D hypotheses such that to obtain a good shape of
8 resulting quadrangles. The algorithm can be also applied to faces with ring
9 topology, which can be viewed as a closed 'channel'. In the latter
10 case radial discretization of a ring can be specified by
11 using <em>Number of Layers</em> or <em>Distribution of Layers</em>
12 hypothesis.
13
14 \image html quad_from_ma_mesh.png "A mesh of a river model to the left and of a ring-face to the right"
15
16 The algorithm provides proper shape of quadrangles by constructing Medial
17 Axis between sinuous borders of the face and using it to
18 discretize the borders. (Shape of quadrangles can be not perfect at
19 locations where opposite sides of a 'channel' are far from being parallel.)
20
21 \image html quad_from_ma_medial_axis.png "Medial Axis between two blue sinuous borders"
22
23 The Medial Axis is used in two ways:
24 <ol>
25 <li>If there is a sub-mesh on a sinuous border, then the nodes of
26   this border are mapped to the opposite border via the Medial
27   Axis.</li>
28 <li> If there are no sub-meshes on sinuous borders, then the part of
29   the Medial Axis that can be mapped to both borders is discretized
30   using a 1D hypothesis assigned to the face or its ancestor shapes,
31   and the division points are mapped from the Medial Axis to both
32   borders to find positions of nodes.</li>
33 </ol>
34
35 \image html quad_from_ma_ring_mesh.png "Mesh depends on defined sub-meshes: to the left - sub-meshes on both wires, to the right - a sub-mesh on internal wire only"
36 */