Skip to content

Commit

Permalink
Update geometry.i
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-krishnan authored Oct 5, 2022
1 parent 7766428 commit e2f8ad8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gtsam/geometry/geometry.i
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit e2f8ad8

Please sign in to comment.