/home/fayn/OpenKraken-dev/OpenKN-geometry/src/Intersection.hpp File Reference

#include <utility>
#include <OpenKN/math/Vector3.hpp>

Include dependency graph for Intersection.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kn

Functions

std::pair< kn::Vector2d, double > kn::intersectTriangle (const kn::Vector3d &pointA, const kn::Vector3d &pointB, const kn::Vector3d &pointC, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin)
 Intersect a triangle If the returned distance is negative, no intersection was found.
std::pair< kn::Vector3d, double > kn::intersectOBB (const kn::Vector3d &center, const kn::Vector3d a[3], const kn::Vector3d &h, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin)
 Intersect an Oriented Bounding Box If the returned distance is negative, no intersection was found.
std::pair< kn::Vector3d, double > kn::intersectSphere (const kn::Vector3d &spherePosition, double sphereRadius, const kn::Vector3d &rayDirection,const kn::Vector3d &rayOrigin)
 Intersect a sphere If the returned distance is negative, no intersection was found.


Generated on Thu Nov 12 16:06:36 2009 for OpenKN-geometry by  doxygen 1.5.8