Version: 6.3.1
Home
Functions

Mesh through point

Modifying meshes

Functions

def MoveClosestNodeToPoint
 Finds the node closest to a point and moves it to a point location.
def FindNodeClosestTo
 Finds the node closest to a point.
def FindElementsByPoint
 Finds the elements where a point lays IN or ON.
def MeshToPassThroughAPoint
 Finds the node closest to a point and moves it to a point location.

Function Documentation

def MoveClosestNodeToPoint (   self,
  x,
  y,
  z,
  NodeID 
) [inherited]

Finds the node closest to a point and moves it to a point location.

Parameters:
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
NodeIDif specified (>0), the node with this ID is moved, otherwise, the node closest to point (x,y,z) is moved
Returns:
the ID of a node
def FindNodeClosestTo (   self,
  x,
  y,
  z 
) [inherited]

Finds the node closest to a point.

Parameters:
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
Returns:
the ID of a node
def FindElementsByPoint (   self,
  x,
  y,
  z,
  elementType = SMESH.ALL 
) [inherited]

Finds the elements where a point lays IN or ON.

Parameters:
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
elementTypetype of elements to find (SMESH.ALL type means elements of any type excluding nodes and 0D elements)
Returns:
list of IDs of found elements
def MeshToPassThroughAPoint (   self,
  x,
  y,
  z 
) [inherited]

Finds the node closest to a point and moves it to a point location.

Parameters:
xthe X coordinate of a point
ythe Y coordinate of a point
zthe Z coordinate of a point
Returns:
the ID of a moved node
 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