HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sphere3< T > Class Template Reference

#include <ImathForward.h>

Public Member Functions

 Sphere3 ()
 
 Sphere3 (const Vec3< T > &c, T r)
 
void circumscribe (const Box< Vec3< T > > &box)
 
bool intersect (const Line3< T > &l, Vec3< T > &intersection) const
 
bool intersectT (const Line3< T > &l, T &t) const
 

Public Attributes

Vec3< Tcenter
 
T radius
 

Detailed Description

template<class T>
class Sphere3< T >

Definition at line 59 of file ImathForward.h.

Constructor & Destructor Documentation

template<class T>
Sphere3< T >::Sphere3 ( )
inline

Definition at line 65 of file ImathSphere.h.

template<class T>
Sphere3< T >::Sphere3 ( const Vec3< T > &  c,
T  r 
)
inline

Definition at line 66 of file ImathSphere.h.

Member Function Documentation

template<class T >
void Sphere3< T >::circumscribe ( const Box< Vec3< T > > &  box)

Definition at line 110 of file ImathSphere.h.

template<class T >
bool Sphere3< T >::intersect ( const Line3< T > &  l,
Vec3< T > &  intersection 
) const

Definition at line 160 of file ImathSphere.h.

template<class T >
bool Sphere3< T >::intersectT ( const Line3< T > &  l,
T t 
) const

Definition at line 118 of file ImathSphere.h.

Member Data Documentation

template<class T>
Vec3<T> Sphere3< T >::center

Definition at line 58 of file ImathSphere.h.

template<class T>
T Sphere3< T >::radius

Definition at line 59 of file ImathSphere.h.


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