DiffractionGeometry: Store rotation matrix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user