#include <SMESH_Gen.hxx>
Public Member Functions |
| | SMESH_Gen () |
| | ~SMESH_Gen () |
| SMESH_Mesh * | CreateMesh (int theStudyId, bool theIsEmbeddedMode) throw ( SMESH_Exception ) |
| bool | Compute (::SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool anUpward=false, const ::MeshDimension aDim=::MeshDim_3D, TSetOfInt *aShapesId=0) |
| | Computes aMesh on aShape.
|
| bool | Evaluate (::SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap, const bool anUpward=false, TSetOfInt *aShapesId=0) |
| | evaluates size of prospective mesh on a shape
|
| bool | CheckAlgoState (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape) |
| void | SetBoundaryBoxSegmentation (int theNbSegments) |
| | Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.
|
| int | GetBoundaryBoxSegmentation () const |
| void | SetDefaultNbSegments (int nb) |
| | Sets default number of segments per edge.
|
| int | GetDefaultNbSegments () const |
| bool | GetAlgoState (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, std::list< SMESH_Gen::TAlgoStateError > &theErrors) |
| StudyContextStruct * | GetStudyContext (int studyId) |
| SMESH_Algo * | GetAlgo (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, TopoDS_Shape *assignedTo=0) |
| int | GetANewId () |
Detailed Description
Definition at line 62 of file SMESH_Gen.hxx.
Constructor & Destructor Documentation
| SMESH_Gen::~SMESH_Gen |
( |
| ) |
|
Member Function Documentation
Computes aMesh on aShape.
- Parameters:
-
| anUpward | - compute from vertices up to more complex shape (internal usage) |
| aDim | - upper level dimension of the mesh computation |
| aShapesId | - list of shapes with computed mesh entities (elements or nodes) |
- Return values:
-
| bool | - true if none submesh failed to compute |
evaluates size of prospective mesh on a shape
- Parameters:
-
| aMesh | - the mesh |
| aShape | - the shape |
| aResMap | - map for prospective numbers of elements |
- Return values:
-
| void SMESH_Gen::SetBoundaryBoxSegmentation |
( |
int |
theNbSegments | ) |
|
Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.
Definition at line 105 of file SMESH_Gen.hxx.
| int SMESH_Gen::GetBoundaryBoxSegmentation |
( |
| ) |
const |
| void SMESH_Gen::SetDefaultNbSegments |
( |
int |
nb | ) |
|
Sets default number of segments per edge.
Definition at line 110 of file SMESH_Gen.hxx.
| int SMESH_Gen::GetDefaultNbSegments |
( |
| ) |
const |
| static int SMESH_Gen::GetShapeDim |
( |
const TopAbs_ShapeEnum & |
aShapeType | ) |
|
|
static |
| int SMESH_Gen::GetANewId |
( |
| ) |
|
Field Documentation
| int SMESH_Gen::_segmentation |
|
private |
| int SMESH_Gen::_nbSegments |
|
private |