IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ca0d4bd7 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by ralfulrich
Browse files

added CoordinateSyste::operator== and !=

parent 4e0bfebd
No related branches found
No related tags found
2 merge requests!234WIP: Initial example of python as script language from C++,!232Conex EM
......@@ -117,6 +117,12 @@ namespace corsika::geometry {
auto const* GetReference() const { return reference; }
auto const& GetTransform() const { return transf; }
bool operator==(CoordinateSystem const& cs) const {
return reference == cs.reference && transf.matrix() == cs.transf.matrix();
}
bool operator!=(CoordinateSystem const& cs) const { return !(cs == *this); }
};
} // namespace corsika::geometry
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment