Free Electron
Static Public Member Functions | List of all members
fe::ext::RayCylinderIntersect< T > Class Template Reference

Find intersection between ray and cylinder. More...

#include <RayCylinderIntersect.h>

Static Public Member Functions

static T solve (const Vector< 3, T > &base, const Vector< 3, T > axis, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, T &along, Vector< 3, T > &intersection)
 
static void resolveContact (const Vector< 3, T > &base, const Vector< 3, T > axis, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, const T range, const T along, const Vector< 3, T > &intersection, Vector< 3, T > &normal)
 

Detailed Description

template<typename T>
class fe::ext::RayCylinderIntersect< T >

Find intersection between ray and cylinder.

"Intersecting a Ray with a Cylinder" by Joseph M. Cychosz and Warren N. Waggenspack, Jr., (3ksnn.nosp@m.64@e.nosp@m.cn.pu.nosp@m.rdue.nosp@m..edu, mewag.nosp@m.g@me.nosp@m.wnw.d.nosp@m.net..nosp@m.lsu.e.nosp@m.du) in "Graphics Gems IV", Academic Press, 1994


The documentation for this class was generated from the following file: