12namespace DataObjects {
70 double wavenumber = 2 * M_PI / wavelength;
79 double wavenumber = 2 * M_PI / wavelength;
84 double thetaLower)
override {
99 while ((quad.
at(0).
X() > quad.
at(3).
X()) || (quad.
at(0).
Y() > quad.
at(1).
Y())) {
Converts from inputs of wavelength, incident theta and final theta to Qx and Qz for reflectometry exp...
void setTwoTheta(double twoTheta) override
Set the final theta value from the detector twoTheta value.
double calculateDim0(double wavelength) const override
Executes the calculation to determine Qx.
void setThetaFinal(double thetaFinal) override
Setter for the final theta value require for the calculation.
Mantid::Geometry::Quadrilateral createQuad(double lamUpper, double lamLower, double thetaUpper, double thetaLower) override
CalculateReflectometryQxQz(int version)
Constructor.
double calculateDim1(double wavelength) const override
Executes the calculation to determine Qz.
void updateThetaIncident(double thetaIncident) override
Setter for the incident theta value require for the calculation.
Provides a common interface to Reflectometry Transform calculators.
const double to_radians_factor
A ConvexPolygon with only 4 vertices.
virtual void shiftVertexesClockwise()
Shifts the vertexes in a clockwise manner.
const Kernel::V2D & at(const size_t index) const override
Bounds-checked index access.
Implements a 2-dimensional vector embedded in a 3D space, i.e.
double Y() const
Y position.
double X() const
X position.
Helper class which provides the Collimation Length for SANS instruments.