All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions
Aabb.h File Reference
#include <Eigen/Geometry>
Include dependency graph for Aabb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Math
 

Typedefs

typedef Eigen::AlignedBox
< float, 3 > 
SurgSim::Math::Aabbf
 Wrapper around the Eigen type. More...
 
typedef Eigen::AlignedBox
< double, 3 > 
SurgSim::Math::Aabbd
 Wrapper around the Eigen type. More...
 

Functions

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...