transformPoints.C File Reference

Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options. More...

Go to the source code of this file.

Detailed Description

Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options.

Original source file transformPoints.C

Usage
transformPoints [OPTION]

Options:

  • -translate <vector>
    Translates the points by the given vector.
  • -rotate (<vector> <vector>)
    Rotates the points from the first vector to the second.
  • -yawPitchRoll (<yawdegrees> <pitchdegrees> <rolldegrees>)
    Alternative rotation specification: yaw (rotation about z) pitch (rotation about y) roll (rotation about x)
  • -rollPitchYaw (<rolldegrees> <pitchdegrees> <yawdegrees>)
    Alternative rotation specification: roll (rotation about x) pitch (rotation about y) yaw (rotation about z)
  • -rotateFields
    In combination with -rotate, -yawPitchRoll or -rollPitchYaw additionally transform vector and tensor fields.
  • -scale <vector>
    Scales the points by the given vector.
    Any or all of the three transformation option types may be specified and are processed in the above order.

Definition in file transformPoints.C.