Version: 8.3.0
StdMeshers::StdMeshers_Arithmetic1D Interface Reference

StdMeshers_Arithmetic1D: interface of "Arithmetic 1D" hypothesis. More...

import "SMESH_BasicHypothesis.idl";

Inheritance diagram for StdMeshers::StdMeshers_Arithmetic1D:

Public Member Functions

void SetLength (in double length, in boolean isStartLength) raises (SALOME::SALOME_Exception)
 Sets <start segment="" length>=""> or <end segment="" length>=""> parameter value. More...
 
void SetStartLength (in double length) raises (SALOME::SALOME_Exception)
 Sets <start segment="" length>=""> parameter value. More...
 
void SetEndLength (in double length) raises (SALOME::SALOME_Exception)
 Sets <end segment="" length>=""> parameter value. More...
 
double GetLength (in boolean isStartLength)
 Returns <start segment="" length>=""> or <end segment="" length>=""> 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...
 
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_Arithmetic1D: interface of "Arithmetic 1D" hypothesis.

Member Function Documentation

long SMESH::SMESH_Hypothesis::GetId ( )
inherited

Get the internal Id.

double StdMeshers::StdMeshers_Arithmetic1D::GetLength ( in boolean  isStartLength)

Returns <start segment="" length>=""> or <end segment="" length>=""> parameter value.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

string SMESH::SMESH_Hypothesis::GetLibName ( )
inherited

Get the Hypothesis plugin library Name.

string SMESH::SMESH_Hypothesis::GetName ( )
inherited

Get the Hypothesis typeName.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

string StdMeshers::Reversible1D::GetObjectEntry ( )
inherited

Get the entry of the main object.

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

Returns list of edges to reverse.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

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

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

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

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

Verify whether hypothesis supports given entity type.

void StdMeshers::StdMeshers_Arithmetic1D::SetEndLength ( in double  length) raises (SALOME::SALOME_Exception)

Sets <end segment="" length>=""> parameter value.

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.

void StdMeshers::StdMeshers_Arithmetic1D::SetLength ( in double  length,
in boolean  isStartLength 
) raises (SALOME::SALOME_Exception)

Sets <start segment="" length>=""> or <end segment="" length>=""> parameter value.

  • OBSOLETE *. Avoid such a way of interface design
  • It is recommended to dedicate a method to each parameter.
void StdMeshers::Reversible1D::SetObjectEntry ( in string  entry)
inherited

Set entry of the main object.

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

Set list of edges to reverse.

void StdMeshers::StdMeshers_Arithmetic1D::SetStartLength ( in double  length) raises (SALOME::SALOME_Exception)

Sets <start segment="" length>=""> parameter value.

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()