Added const verifiers for member functions of the class which are compatible
parent
0b1b5eca67
commit
6a3d64c896
|
@ -101,7 +101,7 @@ bool assert_equal(const Pose3& A, const Pose3& B, double tol)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
Pose3 Pose3::transformPose_to(const Pose3& transform)
|
Pose3 Pose3::transformPose_to(const Pose3& transform) const
|
||||||
{
|
{
|
||||||
Rot3 cRv = rotation() * Rot3(transform.rotation().inverse());
|
Rot3 cRv = rotation() * Rot3(transform.rotation().inverse());
|
||||||
Point3 t = transform_to(transform, translation());
|
Point3 t = transform_to(transform, translation());
|
||||||
|
|
|
@ -73,7 +73,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/** transforms */
|
/** transforms */
|
||||||
Pose3 transformPose_to(const Pose3& transform);
|
Pose3 transformPose_to(const Pose3& transform) const;
|
||||||
|
|
||||||
/** assert equality up to a tolerance */
|
/** assert equality up to a tolerance */
|
||||||
bool equals(const Pose3& pose, double tol=1e-9) const;
|
bool equals(const Pose3& pose, double tol=1e-9) const;
|
||||||
|
|
Loading…
Reference in New Issue