Shear transformations produce a shape distortion.
(old coordinates are (x, y) and the new coordinates are (x', y'))
X-Direction Shear is given by the following matrix:
(1 0 0)
(SHx 1 0)
(0 0 1)
( 1 0 0)
(x' y' 1) = ( x y 1) * (SHx 1 0)
( 0 0 1)
Which produces a shearing along x that is proportional to y:
x' = x + SHx * y
y' = y
1 = 1

Y-Direction Shear is given by the following matrix:
(1 SHy 0)
(0 1 0)
(0 0 1)
(1 SHy 0)
(x' y' 1) = ( x y 1) * (0 1 0)
(0 0 1)
Which produces a shearing along y that is proportional to x:
x' = x
y' = x * SHy + y
1=1

Main 2D Modeling page
HyperGraph Table of Contents.
HyperGraph Home page.