#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 |
( |
| ) |
|
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
-
| bool SMESH_Gen::CheckAlgoState |
( |
SMESH_Mesh & |
aMesh, |
|
|
const TopoDS_Shape & |
aShape |
|
) |
| |
| 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 |
| static int SMESH_Gen::GetShapeDim |
( |
const TopoDS_Shape & |
aShape | ) |
|
|
static |
| SMESH_Algo* SMESH_Gen::GetAlgo |
( |
SMESH_Mesh & |
aMesh, |
|
|
const TopoDS_Shape & |
aShape, |
|
|
TopoDS_Shape * |
assignedTo = 0 |
|
) |
| |
| int SMESH_Gen::GetANewId |
( |
| ) |
|
| int SMESH_Gen::_segmentation |
|
private |
| int SMESH_Gen::_nbSegments |
|
private |