Version: 8.3.0
SMESH::SMESH_Hypothesis Interface Reference

import "SMESH_Hypothesis.idl";

Inheritance diagram for SMESH::SMESH_Hypothesis:

Public Member Functions

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...
 

Member Function Documentation

long SMESH::SMESH_Hypothesis::GetId ( )

Get the internal Id.

string SMESH::SMESH_Hypothesis::GetLibName ( )

Get the Hypothesis plugin library Name.

string SMESH::SMESH_Hypothesis::GetName ( )

Get the Hypothesis typeName.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

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

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

boolean SMESH::SMESH_Hypothesis::HasParameters ( )

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)

Verify whether hypothesis supports given entity type.

void SMESH::SMESH_Hypothesis::SetHolderHypothesis ( in SMESH::SMESH_Hypothesis  hyp)

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 SMESH::SMESH_Hypothesis::SetVarParameter ( in string  parameter,
in string  method 
)

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