ICompAssembly

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

bases: mantid.geometry.IComponent

class mantid.geometry.ICompAssembly
__init__()

Raises an exception This class cannot be instantiated from Python

getDistance((IComponent)arg1, (IComponent)arg2) → float :

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

getFullName((IComponent)arg1) → str :

Returns full path name of component

getName((IComponent)arg1) → str :

Returns the name of the component

getPos((IComponent)arg1) → V3D :

Returns the absolute position of the component

getRelativeRot((IComponent)arg1) → Quat :

Returns the relative rotation as a Quat

nelements((ICompAssembly)arg1) → int :

Returns the number of elements in the assembly

type((IComponent)arg1) → str :

Returns the type of the component represented as a string