SAGA-GIS Tool Library Documentation (v9.1.2)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesShapes, inputSHAPESThe input shapes to transform.-
OutputTransformed Shapes (*)Shapes, output, optionalTRANSFORMThe transformed output shapes.-
OptionsdXFloating pointMOVEXThe shift along the x-axis [map units].Default: 0.000000
dYFloating pointMOVEYThe shift along the y-axis [map units].Default: 0.000000
dZFloating pointMOVEZThe shift along the z-axis [map units].Default: 0.000000
XFloating pointANCHORXThe x-coordinate of the anchor point.Default: 0.000000
YFloating pointANCHORYThe y-coordinate of the anchor point.Default: 0.000000
ZFloating pointANCHORZThe z-coordinate of the anchor point.Default: 0.000000
Angle XFloating pointROTATEXAngle in degrees, clockwise around x-axis.Default: 0.000000
Angle YFloating pointROTATEYAngle in degrees, clockwise around y-axis.Default: 0.000000
Angle ZFloating pointROTATEZAngle in degrees, clockwise around z-axis.Default: 0.000000
Scale Factor XFloating pointSCALEXThe scale factor in x-direction.Default: 1.000000
Scale Factor YFloating pointSCALEYThe scale factor in y-direction.Default: 1.000000
Scale Factor ZFloating pointSCALEZThe scale factor in z-direction.Default: 1.000000
Type of ReflectionChoiceREFLECTION_TYPEThe 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
	Default: 0.000000
  -MOVEY:<double>       	dY
	Floating point
	Default: 0.000000
  -MOVEZ:<double>       	dZ
	Floating point
	Default: 0.000000
  -ANCHORX:<double>     	X
	Floating point
	Default: 0.000000
  -ANCHORY:<double>     	Y
	Floating point
	Default: 0.000000
  -ANCHORZ:<double>     	Z
	Floating point
	Default: 0.000000
  -ROTATEX:<double>     	Angle X
	Floating point
	Default: 0.000000
  -ROTATEY:<double>     	Angle Y
	Floating point
	Default: 0.000000
  -ROTATEZ:<double>     	Angle Z
	Floating point
	Default: 0.000000
  -SCALEX:<double>      	Scale Factor X
	Floating point
	Default: 1.000000
  -SCALEY:<double>      	Scale Factor Y
	Floating point
	Default: 1.000000
  -SCALEZ:<double>      	Scale Factor Z
	Floating point
	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