|
| template<class Scalar , int Dim> |
| bool | SurgSim::Math::doAabbIntersect (const Eigen::AlignedBox< Scalar, Dim > &aabb0, const Eigen::AlignedBox< Scalar, Dim > &aabb1, double tolerance) |
| | Determine whether two AABBs have an intersection with each other, for the calculation see http://www.gamasutra.com/view/feature/131790/simple_intersection_tests_for_games.php?page=3. More...
|
| |
| template<class Scalar , int Dim> |
| bool | SurgSim::Math::doAabbIntersect (const Eigen::AlignedBox< Scalar, Dim > &a, const Eigen::AlignedBox< Scalar, Dim > &b) |
| | Determine whether two AABBs overlap, using a minimal set of eigen calls, does not take a tolerance. More...
|
| |
| template<class Scalar , int Dim, int MType> |
| Eigen::AlignedBox< Scalar, Dim > | SurgSim::Math::makeAabb (const Eigen::Matrix< Scalar, Dim, 1, MType > &vector0, const Eigen::Matrix< Scalar, Dim, 1, MType > &vector1, const Eigen::Matrix< Scalar, Dim, 1, MType > &vector2) |
| | Convenience function for creating a bounding box from three vertices (e.g. More...
|
| |
| template<class Scalar , int Dim> |
| Eigen::AlignedBox< Scalar, Dim > | SurgSim::Math::transformAabb (const Eigen::Transform< Scalar, Dim, Eigen::Isometry > &transform, const Eigen::AlignedBox< Scalar, Dim > &aabb) |
| | Rotate the extrema of the aabb, note that that will extend the size of the box. More...
|
| |