Added const verifiers for member functions of the class which are compatible

release/4.3a0
Manohar Paluri 2009-08-26 18:04:52 +00:00
parent 0b1b5eca67
commit 6a3d64c896
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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;