Version: 9.12.0
StdMeshers::StdMeshers_ImportSource2D Interface Reference

interface of "Source faces" hypothesis. More...

import"SMESH_BasicHypothesis.idl";

Inheritance diagram for StdMeshers::StdMeshers_ImportSource2D:

Public Member Functions

void SetSourceFaces (in SMESH::ListOfGroups groups)
 Set faces to import from other mesh. More...
 
SMESH::string_array GetSourceFaces ()
 
void SetCopySourceMesh (in boolean toCopyMesh, in boolean toCopyGroups)
 Set to import the whole other mesh or not, and if yes, to copy groups of not. More...
 
void GetCopySourceMesh (out boolean toCopyMesh, out boolean toCopyGroups)
 
string GetName ()
 Get the Hypothesis typeName. More...
 
string GetLibName ()
 Get the Hypothesis plugin library Name. More...
 
short 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 "Source faces" hypothesis.

This hypothesis specifies groups of faces of other mesh to be imported in this mesh

Member Function Documentation

◆ GetCopySourceMesh()

void StdMeshers::StdMeshers_ImportSource2D::GetCopySourceMesh ( out boolean  toCopyMesh,
out boolean  toCopyGroups 
)

◆ GetId()

short SMESH::SMESH_Hypothesis::GetId ( )
inherited

Get the internal Id.

◆ GetLibName()

string SMESH::SMESH_Hypothesis::GetLibName ( )
inherited

Get the Hypothesis plugin library Name.

◆ GetName()

string SMESH::SMESH_Hypothesis::GetName ( )
inherited

Get the Hypothesis typeName.

Referenced by StdMeshers_Regular_1D::CheckHypothesis().

◆ GetSourceFaces()

SMESH::string_array StdMeshers::StdMeshers_ImportSource2D::GetSourceFaces ( )

◆ GetVarParameter()

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

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

◆ HasParameters()

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

◆ IsDimSupported()

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

Verify whether hypothesis supports given entity type.

◆ SetCopySourceMesh()

void StdMeshers::StdMeshers_ImportSource2D::SetCopySourceMesh ( in boolean  toCopyMesh,
in boolean  toCopyGroups 
)

Set to import the whole other mesh or not, and if yes, to copy groups of not.

By default the mesh is not copied.

◆ SetHolderHypothesis()

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.

◆ SetSourceFaces()

void StdMeshers::StdMeshers_ImportSource2D::SetSourceFaces ( in SMESH::ListOfGroups  groups)

Set faces to import from other mesh.

◆ SetVarParameter()

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