38 #ifndef FCL_GEOMETRY_SHAPE_UTILITY_H
39 #define FCL_GEOMETRY_SHAPE_UTILITY_H
59 template <
typename BV,
typename Shape>
61 void computeBV(
const Shape& s,
const Transform3<typename BV::S>& tf, BV& bv);
66 void constructBox(
const AABB<S>& bv, Box<S>& box, Transform3<S>& tf);
70 void constructBox(
const OBB<S>& bv, Box<S>& box, Transform3<S>& tf);
74 void constructBox(
const OBBRSS<S>& bv, Box<S>& box, Transform3<S>& tf);
78 void constructBox(
const kIOS<S>& bv, Box<S>& box, Transform3<S>& tf);
82 void constructBox(
const RSS<S>& bv, Box<S>& box, Transform3<S>& tf);
86 void constructBox(
const KDOP<S, 16>& bv, Box<S>& box, Transform3<S>& tf);
90 void constructBox(
const KDOP<S, 18>& bv, Box<S>& box, Transform3<S>& tf);
94 void constructBox(
const KDOP<S, 24>& bv, Box<S>& box, Transform3<S>& tf);
98 void constructBox(
const AABB<S>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
100 template <
typename S>
102 void constructBox(
const OBB<S>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
104 template <
typename S>
106 void constructBox(
const OBBRSS<S>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
108 template <
typename S>
110 void constructBox(
const kIOS<S>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
112 template <
typename S>
114 void constructBox(
const RSS<S>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
116 template <
typename S>
118 void constructBox(
const KDOP<S, 16>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
120 template <
typename S>
122 void constructBox(
const KDOP<S, 18>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);
124 template <
typename S>
126 void constructBox(
const KDOP<S, 24>& bv,
const Transform3<S>& tf_bv, Box<S>& box, Transform3<S>& tf);