#include <StdMeshers_StartEndLength.hxx>
|
enum | Hypothesis_Status {
HYP_OK = 0,
HYP_MISSING,
HYP_CONCURENT,
HYP_BAD_PARAMETER,
HYP_HIDDEN_ALGO,
HYP_HIDING_ALGO,
HYP_UNKNOWN_FATAL,
HYP_INCOMPATIBLE,
HYP_NOTCONFORM,
HYP_ALREADY_EXIST,
HYP_BAD_DIM,
HYP_BAD_SUBSHAPE,
HYP_BAD_GEOMETRY,
HYP_NEED_SHAPE
} |
|
enum | hypothesis_type {
PARAM_ALGO,
ALGO_0D,
ALGO_1D,
ALGO_2D,
ALGO_3D
} |
|
Enumerator |
---|
HYP_OK |
|
HYP_MISSING |
|
HYP_CONCURENT |
|
HYP_BAD_PARAMETER |
|
HYP_HIDDEN_ALGO |
|
HYP_HIDING_ALGO |
|
HYP_UNKNOWN_FATAL |
|
HYP_INCOMPATIBLE |
|
HYP_NOTCONFORM |
|
HYP_ALREADY_EXIST |
|
HYP_BAD_DIM |
|
HYP_BAD_SUBSHAPE |
|
HYP_BAD_GEOMETRY |
|
HYP_NEED_SHAPE |
|
Definition at line 50 of file SMESH_Hypothesis.hxx.
StdMeshers_StartEndLength::StdMeshers_StartEndLength |
( |
int |
hypId, |
|
|
int |
studyId, |
|
|
SMESH_Gen * |
gen |
|
) |
| |
virtual StdMeshers_StartEndLength::~StdMeshers_StartEndLength |
( |
| ) |
|
|
virtual |
void StdMeshers_StartEndLength::SetLength |
( |
double |
length, |
|
|
bool |
isStartLength |
|
) |
| |
throw | ( | SMESH_Exception |
| ) | | |
double StdMeshers_StartEndLength::GetLength |
( |
bool |
isStartLength | ) |
const |
void StdMeshers_StartEndLength::SetReversedEdges |
( |
std::vector< int > & |
ids | ) |
|
const std::vector<int>& StdMeshers_StartEndLength::GetReversedEdges |
( |
| ) |
const |
void StdMeshers_StartEndLength::SetObjectEntry |
( |
const char * |
entry | ) |
|
const char* StdMeshers_StartEndLength::GetObjectEntry |
( |
| ) |
|
virtual std::ostream& StdMeshers_StartEndLength::SaveTo |
( |
std::ostream & |
save | ) |
|
|
virtual |
virtual std::istream& StdMeshers_StartEndLength::LoadFrom |
( |
std::istream & |
load | ) |
|
|
virtual |
virtual bool StdMeshers_StartEndLength::SetParametersByMesh |
( |
const SMESH_Mesh * |
theMesh, |
|
|
const TopoDS_Shape & |
theShape |
|
) |
| |
|
virtual |
Initialize start and end length by the mesh built on the geometry.
- Parameters
-
theMesh | - the built mesh |
theShape | - the geometry of interest |
- Return values
-
bool | - true if parameter values have been successfully defined |
Implements SMESH_Hypothesis.
virtual bool StdMeshers_StartEndLength::SetParametersByDefaults |
( |
const TDefaults & |
dflts, |
|
|
const SMESH_Mesh * |
theMesh = 0 |
|
) |
| |
|
virtual |
Initialize my parameter values by default parameters.
- Return values
-
bool | - true if parameter values have been successfully defined |
Implements SMESH_Hypothesis.
virtual int SMESH_Hypothesis::GetDim |
( |
| ) |
const |
|
virtualinherited |
int SMESH_Hypothesis::GetStudyId |
( |
| ) |
const |
|
inherited |
virtual void SMESH_Hypothesis::NotifySubMeshesHypothesisModification |
( |
| ) |
|
|
virtualinherited |
virtual int SMESH_Hypothesis::GetShapeType |
( |
| ) |
const |
|
virtualinherited |
virtual const char* SMESH_Hypothesis::GetLibName |
( |
| ) |
const |
|
virtualinherited |
void SMESH_Hypothesis::SetLibName |
( |
const char * |
theLibName | ) |
|
|
inherited |
void SMESH_Hypothesis::SetParameters |
( |
const char * |
theParameters | ) |
|
|
inherited |
char* SMESH_Hypothesis::GetParameters |
( |
| ) |
const |
|
inherited |
void SMESH_Hypothesis::SetLastParameters |
( |
const char * |
theParameters | ) |
|
|
inherited |
char* SMESH_Hypothesis::GetLastParameters |
( |
| ) |
const |
|
inherited |
void SMESH_Hypothesis::ClearParameters |
( |
| ) |
|
|
inherited |
virtual bool SMESH_Hypothesis::IsAuxiliary |
( |
| ) |
const |
|
virtualinherited |
Return true if me is an auxiliary hypothesis.
- Return values
-
An auxiliary hypothesis is optional, i.e. an algorithm can work without it and another hypothesis of the same dimention can be assigned to the shape
Definition at line 114 of file SMESH_Hypothesis.hxx.
References SMESHDS_Hypothesis::GetType().
const char* SMESHDS_Hypothesis::GetName |
( |
| ) |
const |
|
inherited |
int SMESHDS_Hypothesis::GetID |
( |
| ) |
const |
|
inherited |
int SMESHDS_Hypothesis::GetType |
( |
| ) |
const |
|
inherited |
double StdMeshers_StartEndLength::_begLength |
|
protected |
double StdMeshers_StartEndLength::_endLength |
|
protected |
std::vector<int> StdMeshers_StartEndLength::_edgeIDs |
|
protected |
std::string StdMeshers_StartEndLength::_objEntry |
|
protected |
int SMESH_Hypothesis::_studyId |
|
protectedinherited |
int SMESH_Hypothesis::_shapeType |
|
protectedinherited |
int SMESH_Hypothesis::_param_algo_dim |
|
protectedinherited |
std::string SMESHDS_Hypothesis::_name |
|
protectedinherited |
int SMESHDS_Hypothesis::_hypId |
|
protectedinherited |
int SMESHDS_Hypothesis::_type |
|
protectedinherited |