#include <Eigen/Geometry>
Go to the source code of this file.
|
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...
|
|