#include <SMESH_Gen.hxx>
|
| 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. More...
|
|
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 More...
|
|
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. More...
|
|
int | GetBoundaryBoxSegmentation () const |
|
void | SetDefaultNbSegments (int nb) |
| Sets default number of segments per edge. More...
|
|
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 () |
|
Definition at line 62 of file SMESH_Gen.hxx.
◆ SMESH_Gen()
◆ ~SMESH_Gen()
SMESH_Gen::~SMESH_Gen |
( |
| ) |
|
◆ CreateMesh()
◆ Compute()
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 |
◆ Evaluate()
evaluates size of prospective mesh on a shape
- Parameters
-
aMesh | - the mesh |
aShape | - the shape |
aResMap | - map for prospective numbers of elements |
- Return values
-
◆ CheckAlgoState()
bool SMESH_Gen::CheckAlgoState |
( |
SMESH_Mesh & |
aMesh, |
|
|
const TopoDS_Shape & |
aShape |
|
) |
| |
◆ SetBoundaryBoxSegmentation()
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.
◆ GetBoundaryBoxSegmentation()
int SMESH_Gen::GetBoundaryBoxSegmentation |
( |
| ) |
const |
◆ SetDefaultNbSegments()
void SMESH_Gen::SetDefaultNbSegments |
( |
int |
nb | ) |
|
Sets default number of segments per edge.
Definition at line 110 of file SMESH_Gen.hxx.
◆ GetDefaultNbSegments()
int SMESH_Gen::GetDefaultNbSegments |
( |
| ) |
const |
◆ GetAlgoState()
◆ GetStudyContext()
◆ GetShapeDim() [1/2]
static int SMESH_Gen::GetShapeDim |
( |
const TopAbs_ShapeEnum & |
aShapeType | ) |
|
|
static |
◆ GetShapeDim() [2/2]
static int SMESH_Gen::GetShapeDim |
( |
const TopoDS_Shape & |
aShape | ) |
|
|
static |
◆ GetAlgo()
SMESH_Algo* SMESH_Gen::GetAlgo |
( |
SMESH_Mesh & |
aMesh, |
|
|
const TopoDS_Shape & |
aShape, |
|
|
TopoDS_Shape * |
assignedTo = 0 |
|
) |
| |
◆ IsGlobalHypothesis()
◆ GetANewId()
int SMESH_Gen::GetANewId |
( |
| ) |
|
◆ _mapAlgo
◆ _map0D_Algo
◆ _map1D_Algo
◆ _map2D_Algo
◆ _map3D_Algo
◆ _localId
◆ _mapStudyContext
◆ _hypId
◆ _segmentation
int SMESH_Gen::_segmentation |
|
private |
◆ _nbSegments
int SMESH_Gen::_nbSegments |
|
private |