Back to index

salome-smesh  6.5.0
Functions
Changing orientation of elements
Modifying meshes
Collaboration diagram for Changing orientation of elements:

Functions

def smeshDC.Mesh.Reorient
 Reorients elements by ids.
def smeshDC.Mesh.ReorientObject
 Reorients all elements of the object.

Function Documentation

def smeshDC.Mesh.Reorient (   self,
  IDsOfElements = None 
)

Reorients elements by ids.

Parameters:
IDsOfElementsif undefined reorients all mesh elements
Returns:
True if succeed else False

Definition at line 2531 of file smeshDC.py.

02531 
02532     def Reorient(self, IDsOfElements=None):
02533         if IDsOfElements == None:
02534             IDsOfElements = self.GetElementsId()
02535         return self.editor.Reorient(IDsOfElements)

Here is the call graph for this function:

def smeshDC.Mesh.ReorientObject (   self,
  theObject 
)

Reorients all elements of the object.

Parameters:
theObjectmesh, submesh or group
Returns:
True if succeed else False

Definition at line 2540 of file smeshDC.py.

02540 
02541     def ReorientObject(self, theObject):
02542         if ( isinstance( theObject, Mesh )):
02543             theObject = theObject.GetMesh()
02544         return self.editor.ReorientObject(theObject)