diff --git a/Framework/Geometry/CoordinateSystem.h b/Framework/Geometry/CoordinateSystem.h index b0257c39ed5ca880242387c9d843382e8cea11a6..64e51167e9425c43cd727a3ec332417382710554 100644 --- a/Framework/Geometry/CoordinateSystem.h +++ b/Framework/Geometry/CoordinateSystem.h @@ -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