ENH: support Euler rotation rollPitchYaw/yawPitchRoll ordering

- can be more intuitive to specify for some cases:

      rotation
      {
          type    euler;
          order   rollPitchYaw;
          angles  (0 20 45);
      }

- refactor starcd rotation to reuse Euler ZXY ordering
  (code reduction)

ENH: add -rotate-x, -rotate-y, -rotate-z for transformPoints etc

- easier to specify for simple rotations
This commit is contained in:
Mark Olesen
2022-06-01 13:38:49 +02:00
parent eba7a485ba
commit a465e4db85
26 changed files with 336 additions and 228 deletions

View File

@ -9,7 +9,7 @@ mkdir -p constant/triSurface
runApplication surfaceTransformPoints \
-translate '(0 0 5)' \
-origin '(0 0 5)' \
-rotate-angle '((1 0 0) 45)' \
-rotate-x 45 \
"$FOAM_TUTORIALS"/resources/geometry/blob.stl.gz \
constant/triSurface/blob.obj