Version: 6.3.1
Home
Functions

Smoothing

Modifying meshes

Functions

def Smooth
 Smoothes elements.
def SmoothObject
 Smoothes elements which belong to the given object.
def SmoothParametric
 Parametrically smoothes the given elements.
def SmoothParametricObject
 Parametrically smoothes the elements which belong to the given object.

Function Documentation

def Smooth (   self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
) [inherited]

Smoothes elements.

Parameters:
IDsOfElementsthe list if ids of elements to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns:
TRUE in case of success, FALSE otherwise.
def SmoothObject (   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
) [inherited]

Smoothes elements which belong to the given object.

Parameters:
theObjectthe object to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns:
TRUE in case of success, FALSE otherwise.
def SmoothParametric (   self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
) [inherited]

Parametrically smoothes the given elements.

Parameters:
IDsOfElementsthe list if ids of elements to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns:
TRUE in case of success, FALSE otherwise.
def SmoothParametricObject (   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
) [inherited]

Parametrically smoothes the elements which belong to the given object.

Parameters:
theObjectthe object to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
MethodLaplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns:
TRUE in case of success, FALSE otherwise.
 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