Tool Transform Shapes
The tool allows one to transform the input shapes by the following operations:
- translation
- rotation
- scaling
- reflection (mirroring)
The operations are applied in the same order as listed above.
- Author: Victor Olaya, Volker Wichmann (c) 2004-2022
- Menu: Shapes|Tools
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Shapes | shapes, input | SHAPES | The input shapes to transform. | - |
Output | Transformed Shapes (*) | shapes, output, optional | TRANSFORM | The transformed output shapes. | - |
Options | dX | floating point number | MOVEX | The shift along the x-axis [map units]. | Default: 0.000000 |
dY | floating point number | MOVEY | The shift along the y-axis [map units]. | Default: 0.000000 | |
dZ | floating point number | MOVEZ | The shift along the z-axis [map units]. | Default: 0.000000 | |
X | floating point number | ANCHORX | The x-coordinate of the anchor point. | Default: 0.000000 | |
Y | floating point number | ANCHORY | The y-coordinate of the anchor point. | Default: 0.000000 | |
Z | floating point number | ANCHORZ | The z-coordinate of the anchor point. | Default: 0.000000 | |
Angle X | floating point number | ROTATEX | Angle in degrees, clockwise around x-axis. | Default: 0.000000 | |
Angle Y | floating point number | ROTATEY | Angle in degrees, clockwise around y-axis. | Default: 0.000000 | |
Angle Z | floating point number | ROTATEZ | Angle in degrees, clockwise around z-axis. | Default: 0.000000 | |
Scale Factor X | floating point number | SCALEX | The scale factor in x-direction. | Default: 1.000000 | |
Scale Factor Y | floating point number | SCALEY | The scale factor in y-direction. | Default: 1.000000 | |
Scale Factor Z | floating point number | SCALEZ | The scale factor in z-direction. | Default: 1.000000 | |
Type of Reflection | choice | REFLECTION_TYPE | The type of reflection (mirroring) to apply. | Available Choices: [0] no reflection [1] reflection relative to xz plane [2] reflection relative to yz plane [3] reflection relative to xy plane Default: 0 | |
(*) optional |
Command-line
Usage: saga_cmd shapes_tools 10 [-SHAPES <str>] [-TRANSFORM <str>] [-MOVEX <double>] [-MOVEY <double>] [-MOVEZ <double>] [-ANCHORX <double>] [-ANCHORY <double>] [-ANCHORZ <double>] [-ROTATEX <double>] [-ROTATEY <double>] [-ROTATEZ <double>] [-SCALEX <double>] [-SCALEY <double>] [-SCALEZ <double>] [-REFLECTION_TYPE <str>] -SHAPES:<str> Shapes shapes, input -TRANSFORM:<str> Transformed Shapes shapes, output, optional -MOVEX:<double> dX floating point number Default: 0.000000 -MOVEY:<double> dY floating point number Default: 0.000000 -MOVEZ:<double> dZ floating point number Default: 0.000000 -ANCHORX:<double> X floating point number Default: 0.000000 -ANCHORY:<double> Y floating point number Default: 0.000000 -ANCHORZ:<double> Z floating point number Default: 0.000000 -ROTATEX:<double> Angle X floating point number Default: 0.000000 -ROTATEY:<double> Angle Y floating point number Default: 0.000000 -ROTATEZ:<double> Angle Z floating point number Default: 0.000000 -SCALEX:<double> Scale Factor X floating point number Default: 1.000000 -SCALEY:<double> Scale Factor Y floating point number Default: 1.000000 -SCALEZ:<double> Scale Factor Z floating point number Default: 1.000000 -REFLECTION_TYPE:<str> Type of Reflection choice Available Choices: [0] no reflection [1] reflection relative to xz plane [2] reflection relative to yz plane [3] reflection relative to xy plane Default: 0