10.1.4.5. Transformation

class Musica.Geometry.Transformation.AffineTransformation(obj)[source]

Bases: Musica.Geometry.Transformation.Transformation

classmethod Rotation(angle)[source]
classmethod RotationAt(center, angle)[source]
classmethod Translation(vector)[source]
matrix_part
translation_part
class Musica.Geometry.Transformation.AffineTransformation2D(obj)[source]

Bases: Musica.Geometry.Transformation.AffineTransformation

__dimension__ = 2
__size__ = 3
class Musica.Geometry.Transformation.Transformation(obj)[source]

Bases: object

classmethod Identity()[source]
__imul__(obj)[source]
__mul__(obj)[source]
_compose_transformation(transformation)[source]
same_dimension(other)[source]
transform(transformation)[source]
__dimension__ = None
__size__ = None
array
dimension
size
class Musica.Geometry.Transformation.Transformation2D(obj)[source]

Bases: Musica.Geometry.Transformation.Transformation

classmethod Parity()[source]
classmethod Rotation(angle)[source]
classmethod Scale(x_scale, y_scale)[source]
classmethod XReflection()[source]
classmethod YReflection()[source]
__dimension__ = 2
__size__ = 2