salomesmesh
6.5.0

Functions  
def  StdMeshersDC.StdMeshersDC_Quadrangle.QuadrangleParameters 
Defines "QuadrangleParameters" hypothesis.  
def  StdMeshersDC.StdMeshersDC_Quadrangle.QuadranglePreference 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built in the transition area along the finer meshed sides, iff the total quantity of segments on all four sides of the face is even.  
def  StdMeshersDC.StdMeshersDC_Quadrangle.TrianglePreference 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides.  
def  StdMeshersDC.StdMeshersDC_Quadrangle.Reduced 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built and the transition between the sides is made gradually, layer by layer.  
def  StdMeshersDC.StdMeshersDC_Quadrangle.TriangleVertex 
Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation. 
def StdMeshersDC.StdMeshersDC_Quadrangle.QuadrangleParameters  (  self,  
quadType = StdMeshers.QUAD_STANDARD , 

triangleVertex = 0 , 

UseExisting = 0 

) 
Defines "QuadrangleParameters" hypothesis.
quadType  defines the algorithm of transition between differently descretized sides of a geometrical face:

triangleVertex,:  vertex of a trilateral geometrical face, around which triangles will be created while other elements will be quadrangles. Vertex can be either a GEOM_Object or a vertex ID within the shape to mesh 
UseExisting,:  if ==true  searches for the existing hypothesis created with the same parameters, else (default)  creates a new one 
Definition at line 458 of file StdMeshersDC.py.
00458 00459 def QuadrangleParameters(self, quadType=StdMeshers.QUAD_STANDARD, triangleVertex=0, UseExisting=0): 00460 import GEOM 00461 vertexID = triangleVertex 00462 if isinstance( triangleVertex, GEOM._objref_GEOM_Object ): 00463 vertexID = self.mesh.geompyD.GetSubShapeID( self.mesh.geom, triangleVertex ) 00464 if not self.params: 00465 compFun = lambda hyp,args: \ 00466 hyp.GetQuadType() == args[0] and \ 00467 ( hyp.GetTriaVertex()==args[1] or ( hyp.GetTriaVertex()<1 and args[1]<1)) 00468 self.params = self.Hypothesis("QuadrangleParams", [quadType,vertexID], 00469 UseExisting = UseExisting, CompareMethod=compFun) 00470 pass 00471 if self.params.GetQuadType() != quadType: 00472 self.params.SetQuadType(quadType) 00473 if vertexID > 0: 00474 self.params.SetTriaVertex( vertexID ) 00475 return self.params
def StdMeshersDC.StdMeshersDC_Quadrangle.QuadranglePreference  (  self,  
reversed = False , 

UseExisting = 0 

) 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built in the transition area along the finer meshed sides, iff the total quantity of segments on all four sides of the face is even.
reversed  if True, transition area is located along the coarser meshed sides. 
UseExisting,:  if ==true  searches for the existing hypothesis created with the same parameters, else (default)  creates a new one 
Definition at line 483 of file StdMeshersDC.py.
00483 00484 def QuadranglePreference(self, reversed=False, UseExisting=0): 00485 if reversed: 00486 return self.QuadrangleParameters(QUAD_QUADRANGLE_PREF_REVERSED,UseExisting=UseExisting) 00487 return self.QuadrangleParameters(QUAD_QUADRANGLE_PREF,UseExisting=UseExisting)
def StdMeshersDC.StdMeshersDC_Quadrangle.Reduced  (  self,  
UseExisting = 0 

) 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only quadrangles are built and the transition between the sides is made gradually, layer by layer.
This type has a limitation on the number of segments: one pair of opposite sides must have the same number of segments, the other pair must have an even difference between the numbers of segments on the sides.
UseExisting,:  if ==true  searches for the existing hypothesis created with the same parameters, else (default)  creates a new one 
Definition at line 504 of file StdMeshersDC.py.
00504 00505 def Reduced(self, UseExisting=0): 00506 return self.QuadrangleParameters(QUAD_REDUCED,UseExisting=UseExisting)
def StdMeshersDC.StdMeshersDC_Quadrangle.TrianglePreference  (  self,  
UseExisting = 0 

) 
Defines "QuadrangleParams" hypothesis with a type of quadrangulation that only triangles are built in the transition area along the finer meshed sides.
UseExisting,:  if ==true  searches for the existing hypothesis created with the same parameters, else (default)  creates a new one 
Definition at line 493 of file StdMeshersDC.py.
00493 00494 def TrianglePreference(self, UseExisting=0): 00495 return self.QuadrangleParameters(QUAD_TRIANGLE_PREF,UseExisting=UseExisting)
def StdMeshersDC.StdMeshersDC_Quadrangle.TriangleVertex  (  self,  
vertex,  
UseExisting = 0 

) 
Defines "QuadrangleParams" hypothesis with QUAD_STANDARD type of quadrangulation.
vertex,:  vertex of a trilateral geometrical face, around which triangles will be created while other elements will be quadrangles. Vertex can be either a GEOM_Object or a vertex ID within the shape to mesh 
UseExisting,:  if ==true  searches for the existing hypothesis created with the same parameters, else (default)  creates a new one 
Definition at line 515 of file StdMeshersDC.py.
00515 00516 def TriangleVertex(self, vertex, UseExisting=0): 00517 return self.QuadrangleParameters(QUAD_STANDARD,vertex,UseExisting) 00518 00519 00520 # Public class: Mesh_Hexahedron 00521 # 