ManualAffinityUnit

class ManualAffinityUnit(matrix: ndarray[4, 4])

A ManualAffinityUnit is an Affinity unit that is implemented by specifying its matrix manually (used by the compute() method of Affinity).

Methods

apply

Apply this HomogeneousTransformation to a vector.

inverse

The inverse HomogeneousTransformation of this one.

validate

apply(vector: ndarray[3]) ndarray[3]

Apply this HomogeneousTransformation to a vector.

inverse()

The inverse HomogeneousTransformation of this one.

static validate(matrix, *, direct: bool = True, indirect: bool = True) bool