Rotates a line (or axis) by applying a coordinate transformation matrix computed from the rotation axis and rotation magnitude. Based on the algorithm originally written by Randall A. Marrett.
Arguments
- raz
Numeric. Trend of the rotation axis in radians.
- rdip
Numeric. Plunge of the rotation axis in radians.
- rot
Numeric. Rotation magnitude in radians (positive = right-hand rule about the axis).
- trd
Numeric. Trend of the line to rotate in radians.
- plg
Numeric. Plunge of the line to rotate in radians.
- ans0
Character.
"a"if the line to rotate is an axis (result forced into lower hemisphere);"v"if it is a vector.
References
Allmendinger, R. W., Cardozo, N., & Fisher, D. M. (2012). Structural geology algorithms: Vectors and tensors. Cambridge university press.
See also
Other structural algorithms:
Angles(),
CartToSphD(),
GreatCircleD(),
Pole(),
SmallCircleD(),
SphToCartD(),
StCoordLineD(),
StPointD()