pyxmolpp2.Transformation class

Generic transformation

Contents

Methods

def inverted(self, /) -> Transformation
Inverted transformation
def matrix3d(self, /) -> numpy.ndarray[numpy.float64]
Non-translational part of transformation
def transform(self, r: XYZ) -> XYZ
Returns transformed point
def vector3d(self, /) -> XYZ
Translational part of transformation

Special methods

def __init__(self, /) -> None
def __init__(self, rotation_followed_by: Rotation, translation: Translation) -> None
def __mul__(self, arg0: Transformation, /) -> Transformation
def __mul__(self, arg0: Translation, /) -> Transformation
def __mul__(self, arg0: Rotation, /) -> Transformation
def __mul__(self, arg0: UniformScale, /) -> Transformation
def __rmul__(self, arg0: Translation, /) -> Transformation
def __rmul__(self, arg0: Rotation, /) -> Transformation
def __rmul__(self, arg0: UniformScale, /) -> Transformation