const correctness
parent
2eef2c14b5
commit
391a29bcaf
|
|
@ -143,12 +143,12 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** convenient function to get a Point2 from the left image */
|
/** convenient function to get a Point2 from the left image */
|
||||||
inline Point2 point2(){
|
inline Point2 point2() const {
|
||||||
return Point2(uL_, v_);
|
return Point2(uL_, v_);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** convenient function to get a Point2 from the right image */
|
/** convenient function to get a Point2 from the right image */
|
||||||
inline Point2 right(){
|
inline Point2 const right(){
|
||||||
return Point2(uR_, v_);
|
return Point2(uR_, v_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue