StdMeshers_LocalLength: interface of "Average length" hypothesis. More...
import "SMESH_BasicHypothesis.idl";
Public Member Functions | |
void | SetLength (in double length) raises (SALOME::SALOME_Exception) |
Sets <length> parameter value. More... | |
void | SetPrecision (in double precision) raises (SALOME::SALOME_Exception) |
Sets <precision> parameter value. More... | |
double | GetLength () |
Returns <length> parameter value. More... | |
double | GetPrecision () |
Returns <precision> parameter value. More... | |
string | GetName () |
Get the Hypothesis typeName. More... | |
string | GetLibName () |
Get the Hypothesis plugin library Name. More... | |
long | GetId () |
Get the internal Id. More... | |
void | SetVarParameter (in string parameter, in string method) |
Set the variable parameter. More... | |
string | GetVarParameter (in string methodName) |
Return the variable parameter used for Hypothesis creation by name of method setting this parameter. More... | |
void | SetHolderHypothesis (in SMESH::SMESH_Hypothesis hyp) |
Store a hypothesis wrapping this not published one. More... | |
boolean | IsDimSupported (in Dimension type) |
Verify whether hypothesis supports given entity type. More... | |
boolean | HasParameters () |
Return true if a hypothesis has parameters. More... | |
StdMeshers_LocalLength: interface of "Average length" hypothesis.
|
inherited |
Get the internal Id.
double StdMeshers::StdMeshers_LocalLength::GetLength | ( | ) |
Returns <length> parameter value.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
|
inherited |
Get the Hypothesis plugin library Name.
|
inherited |
Get the Hypothesis typeName.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
double StdMeshers::StdMeshers_LocalLength::GetPrecision | ( | ) |
Returns <precision> parameter value.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
|
inherited |
Return the variable parameter used for Hypothesis creation by name of method setting this parameter.
|
inherited |
Return true if a hypothesis has parameters.
This method is intended for GUI to know if "Edit" menu item should be available
|
inherited |
Verify whether hypothesis supports given entity type.
|
inherited |
Store a hypothesis wrapping this not published one.
This hyp, which has no own parameters but is published, is used to store variables defining parameters of this hypothesis.
void StdMeshers::StdMeshers_LocalLength::SetLength | ( | in double | length | ) | raises (SALOME::SALOME_Exception) |
Sets <length> parameter value.
void StdMeshers::StdMeshers_LocalLength::SetPrecision | ( | in double | precision | ) | raises (SALOME::SALOME_Exception) |
Sets <precision> parameter value.
Precision parameter is used to allow rounding a number of segments, calculated from the edge length and average length of segment, to the lower integer, if this value outstands from it in bounds of the precision. Otherwise, the number of segments is rounded to the higher integer. Use value 0.5 to provide rounding to the nearest integer, 1.0 for the lower integer, 0.0 for the higher integer. Default value is 1e-07. In old studies, restored from file, this value will be set to zero, what corresponds to the old behaviour.
|
inherited |
Set the variable parameter.
parameter | is a string containing the notebook variable used for Hypothesis creation |
method | is a name of Hypothesis method setting this parameter |
This method must be called before calling method()