aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry/Translation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Geometry/Translation.h')
-rw-r--r--Eigen/src/Geometry/Translation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Geometry/Translation.h b/Eigen/src/Geometry/Translation.h
index 8b8c9c25c..06db9956e 100644
--- a/Eigen/src/Geometry/Translation.h
+++ b/Eigen/src/Geometry/Translation.h
@@ -98,6 +98,9 @@ public:
const VectorType& vector() const { return m_coeffs; }
VectorType& vector() { return m_coeffs; }
+ const VectorType& translation() const { return m_coeffs; }
+ VectorType& translation() { return m_coeffs; }
+
/** Concatenates two translation */
inline Translation operator* (const Translation& other) const
{ return Translation(m_coeffs + other.m_coeffs); }