add Pose2.align() to wrapper

release/4.3a0
John Lambert 2021-08-30 16:38:47 -04:00 committed by GitHub
parent e94ea7c70c
commit 13c164f25d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,14 @@ class Point2 {
// enable pickling in python // enable pickling in python
void pickle() const; void pickle() const;
}; };
class Point2Pairs {
Point2Pairs();
size_t size() const;
bool empty() const;
gtsam::Point2Pair at(size_t n) const;
void push_back(const gtsam::Point2Pair& point_pair);
};
// std::vector<gtsam::Point2> // std::vector<gtsam::Point2>
class Point2Vector { class Point2Vector {
@ -428,6 +436,8 @@ class Pose2 {
// enable pickling in python // enable pickling in python
void pickle() const; void pickle() const;
gtsam::Pose2 align(const gtsam::Point2Pairs& pairs);
}; };
#include <gtsam/geometry/Pose3.h> #include <gtsam/geometry/Pose3.h>