add optional arguments to projectSafe

release/4.3a0
Kai Ni 2011-01-06 09:27:04 +00:00
parent f7a1665476
commit 47376aec13
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ class GeneralCameraT {
std::pair<Point2,bool> projectSafe(
const Point3& P,
boost::optional<Matrix&> H1,
boost::optional<Matrix&> H2) const {
boost::optional<Matrix&> H1 = boost::none,
boost::optional<Matrix&> H2 = boost::none) const {
Point3 cameraPoint = calibrated_.pose().transform_to(P);
return std::pair<Point2, bool>(