\(\renewcommand\AA{\unicode{x212B}}\)
IObjCompAssembly¶
This is a Python binding to the C++ class Mantid::Geometry::ObjCompAssembly.
bases: mantid.geometry.ICompAssembly, mantid.geometry.ObjComponent
- class mantid.geometry.IObjCompAssembly¶
- getBoolParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_bool¶
- getDescription((Component)self) str :¶
Return the description of current parameterized component
- getDistance((IComponent)self, (IComponent)other) float :¶
Returns the distance, in metres, between this and the given component
- getFittingParameter((Component)self, (str)pname, (float)xvalue) float :¶
Get fit parameter from the parameter map. The value of the parameter is determined from a look up table or a formula
- getFullName((IComponent)self) str :¶
Returns full path name of component
- getIntParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_int¶
- getName((IComponent)self) str :¶
Returns the name of the component
- getNumberParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_dbl¶
- getParameterNames((Component)self[, (bool)recursive=True]) mantid.kernel._kernel.std_set_str¶
- getPos((IComponent)self) mantid.kernel._kernel.V3D :¶
Returns the absolute position of the component
- getPositionParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_v3d¶
- getRelativePos((Component)self) mantid.kernel._kernel.V3D¶
- getRelativeRot((IComponent)self) mantid.kernel._kernel.Quat :¶
Returns the relative rotation as a Quat
- getRotation((Component)self) mantid.kernel._kernel.Quat¶
- getRotationParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_quat¶
- getShortDescription((Component)self) str :¶
Return the short description of current parameterized component
- getStringParameter((Component)self, (str)pname[, (bool)recursive=True]) mantid.kernel._kernel.std_vector_str¶
- nelements((ICompAssembly)self) int :¶
Returns the number of elements in the assembly
- setDescription((Component)self, (str)descr) None :¶
Set component’s description, works only if the component is parameterized component
- 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