SALOME documentation central

Cutting quadrangles
[Modifying meshes]

Functions

def QuadToTri
 Splits quadrangles into triangles.
def QuadToTriObject
 Splits quadrangles into triangles.
def SplitQuad
 Splits quadrangles into triangles.
def SplitQuadObject
 Splits quadrangles into triangles.
def BestSplit
 Finds a better splitting of the given quadrangle.

Function Documentation

def QuadToTri (   self,
  IDsOfElements,
  theCriterion 
) [inherited]

Splits quadrangles into triangles.

Parameters:
IDsOfElements the faces to be splitted.
theCriterion FT_...; used to choose a diagonal for splitting.
Returns:
TRUE in case of success, FALSE otherwise.
def QuadToTriObject (   self,
  theObject,
  theCriterion 
) [inherited]

Splits quadrangles into triangles.

Parameters:
theObject the object from which the list of elements is taken, this is mesh, submesh or group
theCriterion FT_...; used to choose a diagonal for splitting.
Returns:
TRUE in case of success, FALSE otherwise.
def SplitQuad (   self,
  IDsOfElements,
  Diag13 
) [inherited]

Splits quadrangles into triangles.

Parameters:
IDsOfElements the faces to be splitted
Diag13 is used to choose a diagonal for splitting.
Returns:
TRUE in case of success, FALSE otherwise.
def SplitQuadObject (   self,
  theObject,
  Diag13 
) [inherited]

Splits quadrangles into triangles.

Parameters:
theObject the object from which the list of elements is taken, this is mesh, submesh or group
Diag13 is used to choose a diagonal for splitting.
Returns:
TRUE in case of success, FALSE otherwise.
def BestSplit (   self,
  IDOfQuad,
  theCriterion 
) [inherited]

Finds a better splitting of the given quadrangle.

Parameters:
IDOfQuad the ID of the quadrangle to be splitted.
theCriterion FT_...; a criterion to choose a diagonal for splitting.
Returns:
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 if error occurs.
 All Data Structures Namespaces Files Functions Variables

Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS