diff --git a/Eigen/src/Geometry/Translation.h b/Eigen/src/Geometry/Translation.h index 06db9956e..d76a58f41 100644 --- a/Eigen/src/Geometry/Translation.h +++ b/Eigen/src/Geometry/Translation.h @@ -153,6 +153,8 @@ public: return *this; } + static const Translation Identity() { return Translation(VectorType::Zero()); } + /** \returns \c *this with scalar type casted to \a NewScalarType * * Note that if \a NewScalarType is equal to the current scalar type of \c *this