From e2f8ad8962de897d2c8dbeb68f0bb262b0b73f7e Mon Sep 17 00:00:00 2001 From: Akshay Krishnan Date: Wed, 5 Oct 2022 16:37:51 -0400 Subject: [PATCH] Update geometry.i --- gtsam/geometry/geometry.i | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtsam/geometry/geometry.i b/gtsam/geometry/geometry.i index 3919af496a..5675265a4c 100644 --- a/gtsam/geometry/geometry.i +++ b/gtsam/geometry/geometry.i @@ -329,7 +329,7 @@ class Rot3 { // Operator Overloads gtsam::Rot3 operator*(const gtsam::Rot3& p2) const; - gtsam::Rot3 operator*(const gtsam::Unit3& p) const; + gtsam::Unit3 operator*(const gtsam::Unit3& p) const; // Manifold // gtsam::Rot3 retractCayley(Vector v) const; // TODO, does not exist in both @@ -341,6 +341,10 @@ class Rot3 { gtsam::Point3 rotate(const gtsam::Point3& p) const; gtsam::Point3 unrotate(const gtsam::Point3& p) const; + // Group action on Unit3 + gtsam::Unit3 rotate(const gtsam::Unit3& p) const; + gtsam::Unit3 unrotate(const gtsam::Unit3& p) const; + // Standard Interface static gtsam::Rot3 Expmap(Vector v); static Vector Logmap(const gtsam::Rot3& p);