Defines parameters used by the Mefisto meshing algorithm.
More...
#include <MeshAlgo_MefistoFactory.hxx>
|
| Parameters () |
| Constructor.
|
|
| Parameters (double theAbsMaxSize, double theGlobRelMaxSize, double theLocRelMaxSize) |
| Constructor.
|
|
|
double | myGlobAbsMaxSize |
| Absolute value of the global maximum size of element edge.
|
|
double | myGlobRelMaxSize |
| Relative value of the global maximum size of element edge.
|
|
double | myLocRelMaxSize |
| Relative value of the local maximum size of element edge.
|
|
Defines parameters used by the Mefisto meshing algorithm.
- Warning
- This class is a part of Advanced Meshers add-on, which is licensed separately from the base CAD Exchanger SDK.
Parameters include:
- Absolute value of the global maximum size of an element.
- Relative value of the global maximum size of an element. Relative value is calculated by multiplying the value by the diagonal of the bounding box of the parent shape (Shell or Solid).
- Relative value of the local maximum size of element edge. Relative value is calculated per each face by multiplying the value by the diagonal of the bounding box of the face.
If any of these parameters is negative or zero then it is ignored. At least one of them must be positive. Relative parameters must be within a (0., 1.] range.
- See also
- sdk_meshing_advalgos.
- Examples
- meshing/mefisto/Program.cs, and meshing/mefisto/main.cxx.
◆ Parameters() [1/2]
cadex::MeshAlgo_MefistoFactory::Parameters::Parameters |
( |
| ) |
|
|
inline |
Constructor.
Constructs parameters with myGlobAbsMaxSize as -1., myGlobRelMaxSize as -1., myLocRelMaxSize as 5% (1./20.) of the corresponding bounding box diagonal. Thus, only local max size is used, global ones are ignored.
◆ Parameters() [2/2]
cadex::MeshAlgo_MefistoFactory::Parameters::Parameters |
( |
double |
theAbsMaxSize, |
|
|
double |
theGlobRelMaxSize, |
|
|
double |
theLocRelMaxSize |
|
) |
| |
|
inline |
Constructor.
Constructs parameters using explicitly specified values.