Version: 6.3.1
Public Member Functions

StdMeshers.StdMeshers_LocalLength Interface Reference

StdMeshers_LocalLength: interface of "Average length" hypothesis. More...

import "SMESH_BasicHypothesis.idl";

Inheritance diagram for StdMeshers.StdMeshers_LocalLength:
Inheritance graph
[legend]

Public Member Functions

void SetLength (in double length) raises (SALOME::SALOME_Exception)
 Sets <length> parameter value.
void SetPrecision (in double precision) raises (SALOME::SALOME_Exception)
 Sets <precision> parameter value.
double GetLength ()
 Returns <length> parameter value.
double GetPrecision ()
 Returns <precision> parameter value.
string GetName ()
 Get the Hypothesis typeName.
string GetLibName ()
 Get the Hypothesis plugin library Name.
long GetId ()
 Get the internal Id.
void SetParameters (in string theParameters)
 Set list of parameters.
string GetParameters ()
 Return list of notebook variables used for Hypothesis creation separated by ":" symbol.
ListOfParameters GetLastParameters ()
 Return list of last notebook variables used for Hypothesis creation.
void SetLastParameters (in string theParameters)
 Set list of parameters.
void ClearParameters ()
 Clear parameters list.
boolean IsDimSupported (in Dimension type)
 Verify whether hypothesis supports given entity type.

Detailed Description

StdMeshers_LocalLength: interface of "Average length" hypothesis.

Definition at line 43 of file SMESH_BasicHypothesis.idl.


Member Function Documentation

void SMESH_Hypothesis::ClearParameters ( ) [inherited]

Clear parameters list.

Definition at line 194 of file SMESH_Hypothesis.cxx.

{
  _parameters = string();
}
long SMESH.SMESH_Hypothesis.GetId ( ) [inherited]

Get the internal Id.

ListOfParameters SMESH.SMESH_Hypothesis.GetLastParameters ( ) [inherited]

Return list of last notebook variables used for Hypothesis creation.

double StdMeshers.StdMeshers_LocalLength.GetLength ( )

Returns <length> parameter value.

string SMESH.SMESH_Hypothesis.GetLibName ( ) [inherited]

Get the Hypothesis plugin library Name.

string SMESH.SMESH_Hypothesis.GetName ( ) [inherited]

Get the Hypothesis typeName.

string SMESH.SMESH_Hypothesis.GetParameters ( ) [inherited]

Return list of notebook variables used for Hypothesis creation separated by ":" symbol.

double StdMeshers.StdMeshers_LocalLength.GetPrecision ( )

Returns <precision> parameter value.

boolean SMESH.SMESH_Hypothesis.IsDimSupported ( in Dimension  type) [inherited]

Verify whether hypothesis supports given entity type.

void SMESH.SMESH_Hypothesis.SetLastParameters ( in string  theParameters) [inherited]

Set list of parameters.

Parameters:
theParametersis a string containing the last notebook variables separated by ":" symbol, used for Hypothesis creation
void StdMeshers.StdMeshers_LocalLength.SetLength ( in double  length) raises (SALOME::SALOME_Exception)

Sets <length> parameter value.

void SMESH.SMESH_Hypothesis.SetParameters ( in string  theParameters) [inherited]

Set list of parameters.

Parameters:
theParametersis a string containing the notebook variables separated by ":" symbol, used for Hypothesis creation
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.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS