/*! \page cartesian_algo_page Body Fitting 3D meshing algorithm Body Fitting algorithm generates hexahedrons of a Cartesian grid in the internal part of geometry and polyhedra and other types of elements at the intersection of Cartesian cells with the geometrical boundary. \image html cartesian3D_sphere.png "A shpere meshed by Body Fitting algorithm" The meshing algorithm is as follows.
  1. Lines of a Cartesian structured grid defined by \ref cartesian_hyp_anchor "Body Fitting Parameters" hypothesis are intersected with the geometry boundary, thus nodes lying on the boundary are found. This step also allows finding out for each node of the Cartesian grid if it is inside or outside the geometry.
  2. For each cell of the grid, check how many of its nodes are outside of the geometry boundary. Depending on a result of this check
To apply this algorithm when you define your mesh, select Body Fitting in the list of 3D algorithms and click "Add Hypothesis" button and "Body Fitting Parameters"" menu item. Dialog of Body Fitting Parameters hypothesis will appear.
\anchor cartesian_hyp_anchor

Body Fitting Parameters hypothesis

\image html cartesian3D_hyp.png "Body Fitting Parameters hypothesis dialog" This dialog allows to define
See Also a sample TUI Script of a \ref tui_cartesian_algo "Usage of Body Fitting algorithm". */