Namespaces | Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/collision/collision_sphere_plane.h File Reference

#include <OpenTissue/configuration.h>
#include <OpenTissue/core/math/math_constants.h>
#include <OpenTissue/core/math/math_precision.h>

Go to the source code of this file.

Namespaces

namespace  OpenTissue
namespace  OpenTissue::collision

Functions

template<typename coordsys_type , typename sphere_type , typename plane_type , typename real_type , typename vector3_type >
bool OpenTissue::collision::sphere_plane (coordsys_type const &StoWCS, coordsys_type const &PtoWCS, sphere_type const &sphere, plane_type const &plane, real_type const &envelope, vector3_type &p, vector3_type &n, real_type &distance)