| 261 | //////////////////////////////////////////////////////////////////////////////// |
| 262 | |
| 263 | BundleAdjuster::BundleAdjuster(const BundleAdjustmentOptions& options, |
| 264 | const BundleAdjustmentConfig& config) |
| 265 | : options_(options), config_(config) { |
| 266 | THROW_CHECK(options_.Check()); |
| 267 | } |
| 268 | |
| 269 | const BundleAdjustmentOptions& BundleAdjuster::Options() const { |
| 270 | return options_; |