Shear.from_entries

classmethod Shear.from_entries(shear_entries)[source]

Construct a shear transformation from the 3 factors for x-y, x-z, and y-z axes.

Parameters:
shear_factors[float, float, float]

The 3 shear factors for x-y, x-z, and y-z axes.

Returns:
compas.geometry.Shear

The shear transformation object.

Examples

>>> S = Shear.from_entries([1, 2, 3])