Projection.from_entries

classmethod Projection.from_entries(perspective_entries)[source]

Constructs a perspective transformation by the perspective entries of a matrix.

Parameters:
perspective_entries[float, float, float, float]

The 4 perspective entries of a matrix.

Returns:
compas.geometry.Projection

A projection transformation.