interface of "ProjectionSource2D" hypothesis. More...
import "SMESH_BasicHypothesis.idl";
Public Member Functions | |
void | SetSourceFace (in GEOM::GEOM_Object face) raises (SALOME::SALOME_Exception) |
Sets a source <face> to take a mesh pattern from. More... | |
GEOM::GEOM_Object | GetSourceFace () |
Returns the source face. More... | |
void | SetSourceMesh (in SMESH::SMESH_Mesh mesh) |
Sets source <mesh> to take a mesh pattern from. More... | |
SMESH::SMESH_Mesh | GetSourceMesh () |
Return source mesh. More... | |
void | SetVertexAssociation (in GEOM::GEOM_Object sourceVertex1, in GEOM::GEOM_Object sourceVertex2, in GEOM::GEOM_Object targetVertex1, in GEOM::GEOM_Object targetVertex2) raises (SALOME::SALOME_Exception) |
Sets vertex association between the source face and the target one. More... | |
GEOM::GEOM_Object | GetSourceVertex (in long i) raises (SALOME::SALOME_Exception) |
Returns the -th source vertex associated with the -th target vertex. More... | |
GEOM::GEOM_Object | GetTargetVertex (in long i) raises (SALOME::SALOME_Exception) |
Returns the -th target vertex associated with the -th source vertex. 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... | |
interface of "ProjectionSource2D" hypothesis.
This hypothesis specifies a meshed face to take a mesh pattern from and optionally association of vertices between the source face and a target one (where a hipothesis is assigned to)
|
inherited |
Get the internal Id.
|
inherited |
Get the Hypothesis plugin library Name.
|
inherited |
Get the Hypothesis typeName.
Referenced by StdMeshers_Regular_1D::CheckHypothesis().
GEOM::GEOM_Object StdMeshers::StdMeshers_ProjectionSource2D::GetSourceFace | ( | ) |
Returns the source face.
SMESH::SMESH_Mesh StdMeshers::StdMeshers_ProjectionSource2D::GetSourceMesh | ( | ) |
Return source mesh.
GEOM::GEOM_Object StdMeshers::StdMeshers_ProjectionSource2D::GetSourceVertex | ( | in long | i | ) | raises (SALOME::SALOME_Exception) |
Returns the -th source vertex associated with the -th target vertex.
Result may be nil if association not set. Valid indices are 1 and 2
GEOM::GEOM_Object StdMeshers::StdMeshers_ProjectionSource2D::GetTargetVertex | ( | in long | i | ) | raises (SALOME::SALOME_Exception) |
Returns the -th target vertex associated with the -th source vertex.
Result may be nil if association not set. Valid indices are 1 and 2
|
inherited |
Return the variable parameter used for Hypothesis creation by name of method setting this parameter.
|
inherited |
Return true if a hypothesis has parameters.
This method is intended for GUI to know if "Edit" menu item should be available
|
inherited |
Verify whether hypothesis supports given entity type.
|
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_ProjectionSource2D::SetSourceFace | ( | in GEOM::GEOM_Object | face | ) | raises (SALOME::SALOME_Exception) |
Sets a source <face> to take a mesh pattern from.
void StdMeshers::StdMeshers_ProjectionSource2D::SetSourceMesh | ( | in SMESH::SMESH_Mesh | mesh | ) |
Sets source <mesh> to take a mesh pattern from.
|
inherited |
Set the variable parameter.
parameter | is a string containing the notebook variable used for Hypothesis creation |
method | is a name of Hypothesis method setting this parameter |
This method must be called before calling method()
void StdMeshers::StdMeshers_ProjectionSource2D::SetVertexAssociation | ( | in GEOM::GEOM_Object | sourceVertex1, |
in GEOM::GEOM_Object | sourceVertex2, | ||
in GEOM::GEOM_Object | targetVertex1, | ||
in GEOM::GEOM_Object | targetVertex2 | ||
) | raises (SALOME::SALOME_Exception) |
Sets vertex association between the source face and the target one.
This parameter is optional. Two vertices must belong to one edge of a face