matrix_from_shear_entries

compas.geometry.matrix_from_shear_entries(shear_entries)[source]

Returns a shear matrix from the 3 factors for x-y, x-z, and y-z axes.

Parameters

shear_entries (list of float) – The 3 shear factors for x-y, x-z, and y-z axes.

Examples

>>> Sh = matrix_from_shear_entries([1, 2, 3])

Notes

[ .  0  1  . ]
[ .  .  2  . ]
[ .  .  .  . ]
[ .  .  .  . ]