AffineTransformation#

class polpo.preprocessing.mesh.transform.AffineTransformation(transform=None, attr=None)[source]#

Bases: MeshTransformer

Apply affine transform to mesh vertices.

apply(mesh)#

Apply step.

Parameters:

mesh (Mesh) – Mesh to transform.

Returns:

transformed_mesh (Mesh) – Transformed mesh.