fix linker error, namespace issue
parent
c13569df4c
commit
a343c947b4
|
|
@ -19,15 +19,18 @@
|
||||||
#include <gtsam/geometry/StereoPoint2.h>
|
#include <gtsam/geometry/StereoPoint2.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace gtsam;
|
|
||||||
|
namespace gtsam {
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
void StereoPoint2::print(const string& s) const {
|
void StereoPoint2::print(const string& s) const {
|
||||||
cout << s << "(" << uL_ << ", " << uR_ << ", " << v_ << ")" << endl;
|
cout << s << "(" << uL_ << ", " << uR_ << ", " << v_ << ")" << endl;
|
||||||
}
|
}
|
||||||
/* ************************************************************************* */
|
|
||||||
|
|
||||||
|
/* ************************************************************************* */
|
||||||
ostream &operator<<(ostream &os, const StereoPoint2& p) {
|
ostream &operator<<(ostream &os, const StereoPoint2& p) {
|
||||||
os << '(' << p.uL() << ", " << p.uR() << p.v() << ')';
|
os << '(' << p.uL() << ", " << p.uR() << ", " << p.v() << ')';
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace gtsam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue