ShearingTransform
ShearingTransform[θ,v,n]
gives a TransformationFunction that represents a shear by θ radians along the direction of the vector v, normal to the vector n, and keeping the origin fixed.
ShearingTransform[θ,v,n,p]
gives a shear that keeps the point p fixed, rather than the origin.
Details
- ShearingTransform gives a TransformationFunction which can be applied to vectors.
- ShearingTransform works in any number of dimensions, and always gives area- or volume-preserving transformations.
- In 2D, ShearingTransform turns rectangles into parallelograms. ShearingTransform[θ,{1,0},{0,1}] effectively represents slanting by angle θ to the right.
- In 3D, ShearingTransform does the analog of shearing a deck of cards by angle θ in the direction v, with the cards oriented so as to have normal vector n, and the card that goes through the point p kept fixed.
Examples
open allclose allBasic Examples (3)
Scope (5)
Applications (2)
Properties & Relations (3)
The inverse of ShearingTransform[θ,v,n] is given by ShearingTransform[-θ,v,n]:
The inverse of ShearingTransform[θ,v,n] is given by ShearingTransform[θ,-v,n]:
Performing the shearing transform multiple times corresponds to a single shearing transform:
Possible Issues (3)
Text
Wolfram Research (2007), ShearingTransform, Wolfram Language function, https://reference.wolfram.com/language/ref/ShearingTransform.html.
CMS
Wolfram Language. 2007. "ShearingTransform." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ShearingTransform.html.
APA
Wolfram Language. (2007). ShearingTransform. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ShearingTransform.html