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
Options are:

-translate vector Translates the points by the given vector,

-rotate (vector vector) Rotates the points from the first vector to the second,

or -yawPitchRoll (yawdegrees pitchdegrees rolldegrees) or -rollPitchYaw (rolldegrees pitchdegrees yawdegrees)

-scale vector Scales the points by the given vector.

The any or all of the three options may be specified and are processed in the above order.

With -rotateFields (in combination with -rotate/yawPitchRoll/rollPitchYaw) it will also read & transform vector & tensor fields.

Note: yaw (rotation about z) pitch (rotation about y) roll (rotation about x)

Definition in file transformPoints.C.