add constness for operator * in Pose2*Point2
parent
19014eb60e
commit
e517dee4f8
|
|
@ -99,7 +99,7 @@ namespace gtsam {
|
||||||
boost::optional<Matrix&> H2 = boost::none) const;
|
boost::optional<Matrix&> H2 = boost::none) const;
|
||||||
|
|
||||||
/** syntactic sugar for transform_from */
|
/** syntactic sugar for transform_from */
|
||||||
inline Point2 operator*(const Point2& point) { return transform_from(point);}
|
inline Point2 operator*(const Point2& point) const { return transform_from(point);}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exponential map from se(2) to SE(2)
|
* Exponential map from se(2) to SE(2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue