39 #ifndef HPP_FCL_GEOMETRIC_SHAPES_UTILITY_H
40 #define HPP_FCL_GEOMETRIC_SHAPES_UTILITY_H
56 std::vector<Vec3f> getBoundVertices(
const Box& box,
const Transform3f& tf)
HPP_FCL_DLLAPI;
57 std::vector<Vec3f> getBoundVertices(
const Sphere& sphere,
const Transform3f& tf)
HPP_FCL_DLLAPI;
58 std::vector<Vec3f> getBoundVertices(
const Capsule& capsule,
const Transform3f& tf)
HPP_FCL_DLLAPI;
59 std::vector<Vec3f> getBoundVertices(
const Cone& cone,
const Transform3f& tf)
HPP_FCL_DLLAPI;
60 std::vector<Vec3f> getBoundVertices(
const Cylinder& cylinder,
const Transform3f& tf)
HPP_FCL_DLLAPI;
61 std::vector<Vec3f> getBoundVertices(
const ConvexBase& convex,
const Transform3f& tf)
HPP_FCL_DLLAPI;
62 std::vector<Vec3f> getBoundVertices(
const TriangleP& triangle,
const Transform3f& tf)
HPP_FCL_DLLAPI;
68 template<
typename BV,
typename S>
71 std::vector<Vec3f> convex_bound_vertices = details::getBoundVertices(s, tf);
72 fit(&convex_bound_vertices[0], (
int)convex_bound_vertices.size(), bv);
135 void computeBV<KDOP<16>, Halfspace>(
const Halfspace& s,
const Transform3f& tf, KDOP<16>& bv)
HPP_FCL_DLLAPI;
138 void computeBV<KDOP<18>, Halfspace>(
const Halfspace& s,
const Transform3f& tf, KDOP<18>& bv)
HPP_FCL_DLLAPI;
141 void computeBV<KDOP<24>, Halfspace>(
const Halfspace& s,
const Transform3f& tf, KDOP<24>& bv)
HPP_FCL_DLLAPI;
156 void computeBV<KDOP<16>, Plane>(
const Plane& s,
const Transform3f& tf, KDOP<16>& bv)
HPP_FCL_DLLAPI;
159 void computeBV<KDOP<18>, Plane>(
const Plane& s,
const Transform3f& tf, KDOP<18>& bv)
HPP_FCL_DLLAPI;
162 void computeBV<KDOP<24>, Plane>(
const Plane& s,
const Transform3f& tf, KDOP<24>& bv)
HPP_FCL_DLLAPI;