From 6969b942b6caf37aa92d65e597da3b57d032903f Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Tue, 15 Oct 2013 20:28:58 +0000 Subject: [PATCH] adding method to get fx & fy (same for Cal3Bundler) --- gtsam/geometry/Cal3Bundler.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtsam/geometry/Cal3Bundler.h b/gtsam/geometry/Cal3Bundler.h index 641ef2745..6dd22fa6d 100644 --- a/gtsam/geometry/Cal3Bundler.h +++ b/gtsam/geometry/Cal3Bundler.h @@ -45,6 +45,16 @@ public: /// @name Standard Constructors /// @{ + /// focal length x + inline double fx() const { + return f_; + } + + /// focal length y + inline double fy() const { + return f_; + } + /// Default constructor Cal3Bundler();