smesh.Mesh_Projection2D Class Reference

Class to define a projection 2D algorithm. More...

Inheritance diagram for smesh.Mesh_Projection2D:

Inheritance graph

Public Member Functions

def __init__
 Private constructor.
def SourceFace
 Define "Source Face" hypothesis, specifying 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).
def FindHypothesis
def GetSubMesh
 If the algorithm is global, return 0;
else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Assign
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm

Static Public Attributes

int algo = 0
int mesh = 0
int geom = 0
int subm = 0
dictionary hypos = {}

Detailed Description

More details.


Member Function Documentation

def smesh.Mesh_Projection2D.__init__   self,
  mesh,
  geom = 0
 

def smesh.Mesh_Projection2D.SourceFace   self,
  face,
  mesh = None,
  srcV1 = None,
  tgtV1 = None,
  srcV2 = None,
  tgtV2 = None,
  UseExisting = 0
 

Parameters:
face to take mesh pattern from
mesh to take mesh pattern from (optional)
srcV1 is vertex of face to associate with tgtV1 (optional)
tgtV1 is vertex of the face where the algorithm is assigned, to associate with srcV1 (optional)
srcV2 is vertex of face to associate with tgtV1 (optional)
tgtV2 is vertex of the face where the algorithm is assigned, to associate with srcV2 (optional)
UseExisting if ==true - search existing hypothesis created with same parameters, else (default) - create new
Note: association vertices must belong to one edge of a face

def smesh.Mesh_Algorithm.FindHypothesis   self,
  hypname,
  args
[inherited]
 

def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
 

def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
 

def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
 

def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
 

def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
 

def smesh.Mesh_Algorithm.Assign   self,
  algo,
  mesh,
  geom
[inherited]
 

def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so",
  UseExisting = 0
[inherited]
 


Field Documentation

int smesh.Mesh_Projection2D.algo = 0 [static]
 

Reimplemented from smesh.Mesh_Algorithm.

int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
 

smesh.Mesh_Algorithm.mesh [inherited]
 

int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
 

Reimplemented in smesh.Mesh_Segment.

smesh.Mesh_Algorithm.geom [inherited]
 

Reimplemented in smesh.Mesh_Segment.

int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
 

smesh.Mesh_Algorithm.subm [inherited]
 

dictionary smesh.Mesh_Algorithm.hypos = {} [static, inherited]