IComponent

This a python binding to the C++ class Mantid::Geometry::IComponent.

class mantid.geometry.IComponent
__init__()

Raises an exception This class cannot be instantiated from Python

getDistance((IComponent)self, (IComponent)other) → float :

Returns the distance, in metres, between this and the given component

getFullName((IComponent)self) → str :

Returns full path name of component

getName((IComponent)self) → str :

Returns the name of the component

getPos((IComponent)self) → V3D :

Returns the absolute position of the component

getRelativeRot((IComponent)self) → Quat :

Returns the relative rotation as a Quat

type((IComponent)self) → str :

Returns the type of the component represented as a string