Version: 9.12.0
StdMeshers::StdMeshers_NumberOfSegments Interface Reference

StdMeshers_NumberOfSegments: interface of "Nb. Segments" hypothesis. More...

import"SMESH_BasicHypothesis.idl";

Inheritance diagram for StdMeshers::StdMeshers_NumberOfSegments:

Public Member Functions

SMESH::double_array BuildDistributionExpr (in string func, in long nbSeg, in long conv) raises (SALOME::SALOME_Exception)
 Builds and returns point distribution according to passed density function. More...
 
SMESH::double_array BuildDistributionTab (in SMESH::double_array func, in long nbSeg, in long conv) raises (SALOME::SALOME_Exception)
 
void SetNumberOfSegments (in SMESH::smIdType segmentsNumber) raises (SALOME::SALOME_Exception)
 Sets <number of segments> parameter value. More...
 
long GetNumberOfSegments ()
 Returns <number of segments> parameter value. More...
 
void SetDistrType (in long typ) raises (SALOME::SALOME_Exception)
 Sets <distribution type> parameter value. More...
 
long GetDistrType ()
 Returns <distribution type> parameter value. More...
 
void SetScaleFactor (in double scaleFactor) raises (SALOME::SALOME_Exception)
 Sets <scale factor> parameter value. More...
 
double GetScaleFactor () raises (SALOME::SALOME_Exception)
 Returns <scale factor> parameter value. More...
 
void SetTableFunction (in SMESH::double_array table) raises (SALOME::SALOME_Exception)
 Sets. More...
 
SMESH::double_array GetTableFunction () raises (SALOME::SALOME_Exception)
 Returns. More...
 
void SetExpressionFunction (in string expr) raises (SALOME::SALOME_Exception)
 Sets <expression function> parameter value for distribution DT_ExprFunc. More...
 
string GetExpressionFunction () raises (SALOME::SALOME_Exception)
 Returns <expression function> parameter value for distribution DT_ExprFunc. More...
 
void SetConversionMode (in long conv) raises (SALOME::SALOME_Exception)
 Sets <conversion mode> parameter value for functional distributions. More...
 
long ConversionMode () raises (SALOME::SALOME_Exception)
 Returns <conversion mode> parameter value for functional distributions. More...
 
string GetName ()
 Get the Hypothesis typeName. More...
 
string GetLibName ()
 Get the Hypothesis plugin library Name. More...
 
short 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...
 
void SetReversedEdges (in SMESH::long_array list)
 Set list of edges to reverse. More...
 
SMESH::long_array GetReversedEdges ()
 Returns list of edges to reverse. More...
 
void SetObjectEntry (in string entry)
 Set entry of the main object. More...
 
string GetObjectEntry ()
 Get the entry of the main object. More...
 

Detailed Description

StdMeshers_NumberOfSegments: interface of "Nb. Segments" hypothesis.

Member Function Documentation

◆ BuildDistributionExpr()

SMESH::double_array StdMeshers::StdMeshers_NumberOfSegments::BuildDistributionExpr ( in string  func,
in long  nbSeg,
in long  conv 
)
raises (SALOME::SALOME_Exception
)

Builds and returns point distribution according to passed density function.

◆ BuildDistributionTab()

SMESH::double_array StdMeshers::StdMeshers_NumberOfSegments::BuildDistributionTab ( in SMESH::double_array  func,
in long  nbSeg,
in long  conv 
)
raises (SALOME::SALOME_Exception
)

◆ ConversionMode()

long StdMeshers::StdMeshers_NumberOfSegments::ConversionMode ( )
raises (SALOME::SALOME_Exception
)

Returns <conversion mode> parameter value for functional distributions.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetDistrType()

long StdMeshers::StdMeshers_NumberOfSegments::GetDistrType ( )

Returns <distribution type> parameter value.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetExpressionFunction()

string StdMeshers::StdMeshers_NumberOfSegments::GetExpressionFunction ( )
raises (SALOME::SALOME_Exception
)

Returns <expression function> parameter value for distribution DT_ExprFunc.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetId()

short SMESH::SMESH_Hypothesis::GetId ( )
inherited

Get the internal Id.

◆ GetLibName()

string SMESH::SMESH_Hypothesis::GetLibName ( )
inherited

Get the Hypothesis plugin library Name.

◆ GetName()

string SMESH::SMESH_Hypothesis::GetName ( )
inherited

Get the Hypothesis typeName.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetNumberOfSegments()

long StdMeshers::StdMeshers_NumberOfSegments::GetNumberOfSegments ( )

Returns <number of segments> parameter value.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetObjectEntry()

string StdMeshers::Reversible1D::GetObjectEntry ( )
inherited

Get the entry of the main object.

◆ GetReversedEdges()

SMESH::long_array StdMeshers::Reversible1D::GetReversedEdges ( )
inherited

Returns list of edges to reverse.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetScaleFactor()

double StdMeshers::StdMeshers_NumberOfSegments::GetScaleFactor ( )
raises (SALOME::SALOME_Exception
)

Returns <scale factor> parameter value.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetTableFunction()

SMESH::double_array StdMeshers::StdMeshers_NumberOfSegments::GetTableFunction ( )
raises (SALOME::SALOME_Exception
)

Returns.

value for distribution DT_TabFunc

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetVarParameter()

string SMESH::SMESH_Hypothesis::GetVarParameter ( in string  methodName)
inherited

Return the variable parameter used for Hypothesis creation by name of method setting this parameter.

◆ HasParameters()

boolean SMESH::SMESH_Hypothesis::HasParameters ( )
inherited

Return true if a hypothesis has parameters.

This method is intended for GUI to know if "Edit" menu item should be available

◆ IsDimSupported()

boolean SMESH::SMESH_Hypothesis::IsDimSupported ( in Dimension  type)
inherited

Verify whether hypothesis supports given entity type.

◆ SetConversionMode()

void StdMeshers::StdMeshers_NumberOfSegments::SetConversionMode ( in long  conv)
raises (SALOME::SALOME_Exception
)

Sets <conversion mode> parameter value for functional distributions.

◆ SetDistrType()

void StdMeshers::StdMeshers_NumberOfSegments::SetDistrType ( in long  typ)
raises (SALOME::SALOME_Exception
)

Sets <distribution type> parameter value.

◆ SetExpressionFunction()

void StdMeshers::StdMeshers_NumberOfSegments::SetExpressionFunction ( in string  expr)
raises (SALOME::SALOME_Exception
)

Sets <expression function> parameter value for distribution DT_ExprFunc.

◆ SetHolderHypothesis()

void SMESH::SMESH_Hypothesis::SetHolderHypothesis ( in SMESH::SMESH_Hypothesis  hyp)
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.

◆ SetNumberOfSegments()

void StdMeshers::StdMeshers_NumberOfSegments::SetNumberOfSegments ( in SMESH::smIdType  segmentsNumber)
raises (SALOME::SALOME_Exception
)

Sets <number of segments> parameter value.

◆ SetObjectEntry()

void StdMeshers::Reversible1D::SetObjectEntry ( in string  entry)
inherited

Set entry of the main object.

◆ SetReversedEdges()

void StdMeshers::Reversible1D::SetReversedEdges ( in SMESH::long_array  list)
inherited

Set list of edges to reverse.

◆ SetScaleFactor()

void StdMeshers::StdMeshers_NumberOfSegments::SetScaleFactor ( in double  scaleFactor)
raises (SALOME::SALOME_Exception
)

Sets <scale factor> parameter value.

◆ SetTableFunction()

void StdMeshers::StdMeshers_NumberOfSegments::SetTableFunction ( in SMESH::double_array  table)
raises (SALOME::SALOME_Exception
)

Sets.

value for distribution DT_TabFunc

◆ SetVarParameter()

void SMESH::SMESH_Hypothesis::SetVarParameter ( in string  parameter,
in string  method 
)
inherited

Set the variable parameter.

Parameters
parameteris a string containing the notebook variable used for Hypothesis creation
methodis a name of Hypothesis method setting this parameter

This method must be called before calling method()