matrix_from_perspective_entries

compas.geometry.matrix_from_perspective_entries(perspective)[source]

Returns a matrix from perspective entries.

Parameters:
values[float, float, float, float]

The 4 perspective entries of a matrix.

Returns:
list[list[float]]

A 4-by-4 transformation matrix.

Notes

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