IObjComponent#

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

bases: mantid.geometry.IComponent

class mantid.geometry.IObjComponent#
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) mantid.kernel._kernel.V3D :#

Returns the absolute position of the component

getRelativeRot((IComponent)self) mantid.kernel._kernel.Quat :#

Returns the relative rotation as a Quat

shape((IObjComponent)self) IObject :#

Get the object that represents the physical shape of this component

type((IComponent)self) str :#

Returns the type of the component represented as a string