9#include "MantidGeometry/DllConfig.h"
17namespace ComponentInfoBankHelpers {
23 const size_t current);
25 const size_t ancestorIdx,
const size_t currentIdx);
ComponentInfo : Provides a component centric view on to the instrument.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
MANTID_GEOMETRY_DLL Eigen::Vector3d offsetFromAncestor(const Mantid::Geometry::ComponentInfo &compInfo, const size_t ancestorIdx, const size_t currentIdx)
Returns the position of the component at the current index relative to the ancestor component at the ...
MANTID_GEOMETRY_DLL bool isAncestorOf(const ComponentInfo &compInfo, const size_t possibleAncestor, const size_t current)
Finds all ancestors up to the root of a component index and returns true if the possible ancestor is ...
MANTID_GEOMETRY_DLL bool isSaveableBank(const ComponentInfo &compInfo, const DetectorInfo &detInfo, const size_t idx)
Function: isSaveableBank.
MANTID_GEOMETRY_DLL bool isDetectorFixedInBank(const ComponentInfo &compInfo, const size_t detIndex)
Tests whether or not the detector is within a fixed bank.
Helper class which provides the Collimation Length for SANS instruments.