DiffractionGeometry: Store rotation matrix

This commit is contained in:
2026-02-05 11:15:34 +01:00
parent ecc924fe4a
commit a40e4118e6
3 changed files with 18 additions and 1 deletions
+9
View File
@@ -244,3 +244,12 @@ Coord DiffractionGeometry::ProjectToEwaldSphere(const Coord &p0) const {
const RotMatrix &DiffractionGeometry::GetPoniRotMatrix() const {
return poni_rot;
}
std::optional<GoniometerAxis> DiffractionGeometry::GetRotation() const {
return axis;
}
DiffractionGeometry &DiffractionGeometry::Rotation(const std::optional<GoniometerAxis> &input) {
axis = input;
return *this;
}