SALOME documentation central
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:
-
| x | the X coordinate of a point |
| y | the Y coordinate of a point |
| z | the Z coordinate of a point |
| NodeID | if 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:
-
| x | the X coordinate of a point |
| y | the Y coordinate of a point |
| z | the 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:
-
| x | the X coordinate of a point |
| y | the Y coordinate of a point |
| z | the Z coordinate of a point |
| elementType | type 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:
-
| x | the X coordinate of a point |
| y | the Y coordinate of a point |
| z | the Z coordinate of a point |
- Returns:
- the ID of a moved node
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