Version: 6.3.1
Home
Functions

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.
def SplitVolumesIntoTetra
 Splits volumic elements into tetrahedrons.

Function Documentation

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

Splits quadrangles into triangles.

Parameters:
IDsOfElementsthe faces to be splitted.
theCriterionFT_...; 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:
theObjectthe object from which the list of elements is taken, this is mesh, submesh or group
theCriterionFT_...; 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:
IDsOfElementsthe faces to be splitted
Diag13is 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:
theObjectthe object from which the list of elements is taken, this is mesh, submesh or group
Diag13is 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:
IDOfQuadthe ID of the quadrangle to be splitted.
theCriterionFT_...; 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.
def SplitVolumesIntoTetra (   self,
  elemIDs,
  method = Hex_5Tet 
) [inherited]

Splits volumic elements into tetrahedrons.

Parameters:
elemIDseither list of elements or mesh or group or submesh
methodflags passing splitting method: Hex_5Tet, Hex_6Tet, Hex_24Tet Hex_5Tet - split the hexahedron into 5 tetrahedrons, etc
 All Data Structures Namespaces Files Functions Variables
Copyright © 2007-2011 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