doc:user:geometry:user:operateurs
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:user:geometry:user:operateurs [2013/07/01 12:45] – external edit 127.0.0.1 | doc:user:geometry:user:operateurs [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
===== Introduction ===== | ===== Introduction ===== | ||
- | Les opérateurs de transformation géométrique permettent de déplacer une géométrie maillée ou non pour la placer dans une autre position. La syntaxe est la suivante: | + | These kinds of operators are used to move/deform a geometry and its associated mesh from one configuration to another. The generic syntax is as follow: |
- | op = MachinOperator(arg1, arg2, ...) | + | op = XXXOperator(arg1, arg2, ...) |
- | | + | |
- | On crée donc l'opérateur | + | where '' |
+ | As can be seen, the operator '' | ||
- | ===== Opérateur de translation ===== | ||
- | Cet opérateur permet de déplacer selon un mouvement de translation une géométrie maillée ou non. Le déplacement est défini par un '' | + | ===== Translation Operator ===== |
- | op = TranslationOperator([Vect3] disp) | + | This operator translates a geometry, meshed or not. The displacement is defined by a '' |
- | sideset(1).move(op) | + | |
+ | op = TranslationOperator(disp) | ||
- | ===== Opérateur de rotation ===== | + | where |
+ | | '' | ||
- | Cet opérateur permet de faire tourner une géométrie maillée ou non autour d'un axe. La rotation est définie par un angle (en radian) et un objet géométrique '' | + | ===== Rotation Operator ===== |
- | op = RotationOperator(axe, angle) | + | This operator is used to rotate a geometry, meshed or not, along an axis. The rotation is defined by and angle (in radian) and an '' |
- | sideset(1).move(op) | + | |
+ | op = RotationOperator(axis, | ||
- | ===== Opérateur d'alignement ===== | + | where |
+ | | '' | ||
+ | | '' | ||
- | Cet opérateur permet d' | ||
- | op = AlignmentOperator(triedreRef, | + | ===== Alignment Operator ===== |
- | sideset(1).move(op) | + | |
- | '' | + | This operator is used to apply a rigid body motion (translation + rotation), to a geometric entity, meshed or not. This rigid body mode is defined by two '' |
+ | op = AlignmentOperator(trihedronRef, | ||
- | ===== Opérateur de symétrie centrale ===== | + | '' |
- | Cet opérateur permet d' | + | |
+ | ===== Point-Reflection Operator ===== | ||
+ | |||
+ | This operator is used to apply a point reflection | ||
op = RadialOperator(axe, | op = RadialOperator(axe, | ||
- | op.setDisplacement([Vect3] | + | op.setDisplacement(disp) |
- | sideset(1).move(op) | + | |
- | L' | + | where |
+ | | ''axe'' | ||
+ | | '' | ||
+ | | '' | ||
- | ===== Opérateur de symétrie orthogonale | + | ===== Reflection/ |
- | + | ||
- | Cet opérateur permet d' | + | |
+ | This operator is used to apply a reflection symmetry to a geometric entity, meshed or not: | ||
op = OrthogonalSymmetryOperator(plane) | op = OrthogonalSymmetryOperator(plane) | ||
- | | + | where |
+ | | '' | ||
- | ===== Opérateur de mise à échelle | + | ===== Scaling Operator |
- | Cet opérateur permet d' | + | This operator is used to apply a scaling to a geometric entity, meshed or not. |
op = ScalingOperator(pt0, | op = ScalingOperator(pt0, | ||
- | | + | |
- | + | where | |
+ | | '' | ||
+ | | '' | ||
+ | |
doc/user/geometry/user/operateurs.1372675532.txt.gz · Last modified: 2016/03/30 15:22 (external edit)