diff --git a/gtsam/sam/sam.i b/gtsam/sam/sam.i index 370e1c3ea..7ba401f1e 100644 --- a/gtsam/sam/sam.i +++ b/gtsam/sam/sam.i @@ -22,10 +22,19 @@ virtual class RangeFactor : gtsam::NoiseModelFactor { void serialize() const; }; +// between points: +typedef gtsam::RangeFactor RangeFactor2; +typedef gtsam::RangeFactor RangeFactor3; + +// between pose and point: typedef gtsam::RangeFactor RangeFactor2D; -typedef gtsam::RangeFactor RangeFactor3D; typedef gtsam::RangeFactor RangeFactorPose2; + +// between poses: +typedef gtsam::RangeFactor RangeFactor3D; typedef gtsam::RangeFactor RangeFactorPose3; + +// more specialized types: typedef gtsam::RangeFactor RangeFactorCalibratedCameraPoint; typedef gtsam::RangeFactor, gtsam::Point3>