adding some accessor functions
parent
ecb24ebd06
commit
d36836e1ec
|
@ -128,9 +128,18 @@ namespace gtsam {
|
||||||
/// @name Standard Interface
|
/// @name Standard Interface
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
/// get uL
|
||||||
|
inline double uL() const {return uL_;}
|
||||||
|
|
||||||
|
/// get uR
|
||||||
|
inline double uR() const {return uR_;}
|
||||||
|
|
||||||
|
/// get v
|
||||||
|
inline double v() const {return v_;}
|
||||||
|
|
||||||
/** convert to vector */
|
/** convert to vector */
|
||||||
Vector vector() const {
|
Vector3 vector() const {
|
||||||
return Vector_(3, uL_, uR_, v_);
|
return Vector3(uL_, uR_, v_);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** convenient function to get a Point2 from the left image */
|
/** convenient function to get a Point2 from the left image */
|
||||||
|
|
Loading…
Reference in New Issue