ICompAssembly#

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

bases: mantid.geometry.IComponent

class mantid.geometry.ICompAssembly#
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 (deprecated, use ComponentInfo.name)

getName((IComponent)self) str :#

Returns the name of the component (deprecated, use ComponentInfo.name)

getPos((IComponent)self) mantid.kernel._kernel.V3D :#

Returns the absolute position of the component (deprecated, use ComponentInfo.position)

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

Returns the relative rotation as a Quat (deprecated, use ComponentInfo.relativeRotation)

nelements((ICompAssembly)self) int :#

Returns the number of elements in the assembly (deprecated, use ComponentInfo.componentsInSubtree)

type((IComponent)self) str :#

Returns the type of the component represented as a string (deprecated, use ComponentInfo.componentType)