Projection.from_entries

classmethod Projection.from_entries(perspective_entries)

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

Parameters

perspective_entries (list of float) – The 4 perspective entries of a matrix.

Returns

Projection – A projection transformation.