Adding print function for CalibratedCamera

release/4.3a0
Andrew Melim 2012-01-20 22:18:23 +00:00
parent 9bad4f67eb
commit bcb1a578d8
1 changed files with 4 additions and 1 deletions

View File

@ -55,12 +55,15 @@ namespace gtsam {
/// @{
/// construct from vector
CalibratedCamera(const Vector &v) ;
CalibratedCamera(const Vector &v);
/// @}
/// @name Testable
/// @{
void print(const std::string& s="") const {
pose_.print();
}
/// check equality to another camera
bool equals (const CalibratedCamera &camera, double tol = 1e-9) const {
return pose_.equals(camera.pose(), tol) ;