Factory for retrieving triangulation algorithms. Use BRepMesh_DiscretFactory::Get() static method to retrieve global Factory instance. Use BRepMesh_DiscretFactory::Discret() method to retrieve meshing tool.
More...
#include <BRepMesh_DiscretFactory.hxx>
Factory for retrieving triangulation algorithms. Use BRepMesh_DiscretFactory::Get() static method to retrieve global Factory instance. Use BRepMesh_DiscretFactory::Discret() method to retrieve meshing tool.
This class delegates to BRepMesh_DiscretAlgoFactory registry for algorithm creation.
- See also
- BRepMesh_DiscretAlgoFactory
◆ BRepMesh_DiscretFactory()
| BRepMesh_DiscretFactory::BRepMesh_DiscretFactory |
( |
| ) |
|
|
protected |
◆ DefaultName()
Returns name of current meshing algorithm.
◆ Discret()
Returns triangulation algorithm instance.
- Parameters
-
| [in] | theShape | shape to be meshed |
| [in] | theLinDeflection | linear deflection to be used for meshing |
| [in] | theAngDeflection | angular deflection to be used for meshing |
- Returns
- new meshing algorithm instance, or NULL if no algorithm available
◆ Get()
Returns the global factory instance.
◆ SetDefaultName()
Setup meshing algorithm by name. Returns TRUE if requested algorithm is available. On fail Factory will continue to use previous algorithm.
- Parameters
-
| [in] | theName | name of the algorithm to use |
◆ myDefaultName
The documentation for this class was generated from the following file: