Object#

This is a Python binding to the C++ class Mantid::Geometry::Object.

class mantid.geometry.IObject#
getAppliedRotation((IObject)self) → numpy.ndarray :#

Return the goniometer rotation baked into this shape.

This reports which frame the shape is in, not every rotation it has ever had. Definition-frame rotations - the file-load orientation of LoadSampleShape v1, the sample environment spec, ‘rotate-all’ and per-primitive ‘rotate’ tags, and RotateSampleShape v1 - re-express the shape within its own frame and are excluded. The identity therefore means the shape is expressed in its own frame, however much its definition has been rotated within that frame.