From 804d9be0a4e02078942650504e490bbaa28598c8 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Tue, 8 Oct 2019 15:25:11 +0200 Subject: [PATCH] Fix accessibility of method of class EPA. --- include/hpp/fcl/narrowphase/gjk.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/hpp/fcl/narrowphase/gjk.h b/include/hpp/fcl/narrowphase/gjk.h index f6baebc0..07d8a164 100644 --- a/include/hpp/fcl/narrowphase/gjk.h +++ b/include/hpp/fcl/narrowphase/gjk.h @@ -305,6 +305,9 @@ public: void initialize(); + Status evaluate(GJK& gjk, const Vec3f& guess); + +private: bool getEdgeDist(SimplexF* face, SimplexV* a, SimplexV* b, FCL_REAL& dist); SimplexF* newFace(SimplexV* a, SimplexV* b, SimplexV* vertex, bool forced); @@ -312,8 +315,6 @@ public: /// @brief Find the best polytope face to split SimplexF* findBest(); - Status evaluate(GJK& gjk, const Vec3f& guess); - /// @brief the goal is to add a face connecting vertex w and face edge f[e] bool expand(size_t pass, SimplexV* w, SimplexF* f, size_t e, SimplexHorizon& horizon); }; -- GitLab