Version: 8.3.0
StdMeshers::StdMeshers_ProjectionSource2D Interface Reference

interface of "ProjectionSource2D" hypothesis. More...

import "SMESH_BasicHypothesis.idl";

Inheritance diagram for StdMeshers::StdMeshers_ProjectionSource2D:

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

Detailed Description

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)

Member Function Documentation

long SMESH::SMESH_Hypothesis::GetId ( )
inherited

Get the internal Id.

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

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

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

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

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