9 #ifndef _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_
10 #define _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_
12 #include <almath/api.h>
33 const std::vector<Position2D>& pLFootBoundingBox,
34 const std::vector<Position2D>& pRFootBoundingBox,
35 const bool& pIsLeftSupport,
50 const float& pMaxFootX,
51 const float& pMaxFootY,
59 const std::vector<Position2D>& pBoxA,
60 const std::vector<Position2D>& pBoxB);
67 const std::vector<Position2D>& pInitBox,
69 std::vector<Position2D>& pMovedBox);
78 const std::vector<Position2D>& pFixedBox,
79 const std::vector<Position2D>& pMovingBox,
90 const Position2D &pA1,
91 const Position2D &pA2,
92 const Position2D &pB1,
93 const Position2D &pB2,
99 #endif // _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_
ALMATH_API void computeBox(const std::vector< Position2D > &pInitBox, const Pose2D &pMove, std::vector< Position2D > &pMovedBox)
ALMATH_API const bool areTwoBoxesInCollision(const std::vector< Position2D > &pBoxA, const std::vector< Position2D > &pBoxB)
ALMATH_API const void dichotomie(const std::vector< Position2D > &pFixedBox, const std::vector< Position2D > &pMovingBox, Pose2D &pMove)
ALMATH_API bool intersectionSegment2D(const Position2D &pA1, const Position2D &pA2, const Position2D &pB1, const Position2D &pB2, Position2D &pC)