Version: 6.3.1
Public Member Functions

StdMeshers.StdMeshers_StartEndLength Interface Reference

StdMeshers_StartEndLength: interface of "Start and End Length" hypothesis. More...

import "SMESH_BasicHypothesis.idl";

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

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 * OBSOLETE *.
void SetStartLength (in double length) raises (SALOME::SALOME_Exception)
 Sets <start segment="" length>=""> parameter value.
void SetEndLength (in double length) raises (SALOME::SALOME_Exception)
 Sets <end segment="" length>=""> parameter value.
double GetLength (in boolean isStartLength)
 Returns <start segment="" length>=""> or <end segment="" length>=""> parameter value.
void SetReversedEdges (in SMESH::long_array list)
 Set list of edges to reverse.
SMESH::long_array GetReversedEdges ()
 Returns list of edges to reverse.
void SetObjectEntry (in string entry)
 Set entry of the main object.
string GetObjectEntry ()
 Get the entry of the main object.
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_StartEndLength: interface of "Start and End Length" hypothesis.

Definition at line 324 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_StartEndLength.GetLength ( in boolean  isStartLength)

Returns <start segment="" length>=""> or <end segment="" 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 StdMeshers.StdMeshers_StartEndLength.GetObjectEntry ( )

Get the entry of the main object.

string SMESH.SMESH_Hypothesis.GetParameters ( ) [inherited]

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

SMESH::long_array StdMeshers.StdMeshers_StartEndLength.GetReversedEdges ( )

Returns list of edges to reverse.

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

Verify whether hypothesis supports given entity type.

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

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

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_StartEndLength.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.StdMeshers_StartEndLength.SetObjectEntry ( in string  entry)

Set entry of the main object.

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_StartEndLength.SetReversedEdges ( in SMESH::long_array  list)

Set list of edges to reverse.

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

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

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