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

#include <ImathForward.h>

Public Member Functions

 Plane3 ()
 
 Plane3 (const Vec3< T > &normal, T distance)
 
 Plane3 (const Vec3< T > &point, const Vec3< T > &normal)
 
 Plane3 (const Vec3< T > &point1, const Vec3< T > &point2, const Vec3< T > &point3)
 
void set (const Vec3< T > &normal, T distance)
 
void set (const Vec3< T > &point, const Vec3< T > &normal)
 
void set (const Vec3< T > &point1, const Vec3< T > &point2, const Vec3< T > &point3)
 
bool intersect (const Line3< T > &line, Vec3< T > &intersection) const
 
bool intersectT (const Line3< T > &line, T &parameter) const
 
T distanceTo (const Vec3< T > &) const
 
Vec3< TreflectPoint (const Vec3< T > &) const
 
Vec3< TreflectVector (const Vec3< T > &) const
 

Public Attributes

Vec3< Tnormal
 
T distance
 

Detailed Description

template<class T>
class Plane3< T >

Definition at line 56 of file ImathForward.h.

Constructor & Destructor Documentation

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

Definition at line 70 of file ImathPlane.h.

template<class T >
Plane3< T >::Plane3 ( const Vec3< T > &  normal,
T  distance 
)
inline

Definition at line 129 of file ImathPlane.h.

template<class T >
Plane3< T >::Plane3 ( const Vec3< T > &  point,
const Vec3< T > &  normal 
)
inline

Definition at line 135 of file ImathPlane.h.

template<class T >
Plane3< T >::Plane3 ( const Vec3< T > &  point1,
const Vec3< T > &  point2,
const Vec3< T > &  point3 
)
inline

Definition at line 121 of file ImathPlane.h.

Member Function Documentation

template<class T >
T Plane3< T >::distanceTo ( const Vec3< T > &  point) const
inline

Definition at line 167 of file ImathPlane.h.

template<class T >
bool Plane3< T >::intersect ( const Line3< T > &  line,
Vec3< T > &  intersection 
) const
inline

Definition at line 187 of file ImathPlane.h.

template<class T >
bool Plane3< T >::intersectT ( const Line3< T > &  line,
T parameter 
) const
inline

Definition at line 197 of file ImathPlane.h.

template<class T >
Vec3< T > Plane3< T >::reflectPoint ( const Vec3< T > &  point) const
inline

Definition at line 173 of file ImathPlane.h.

template<class T >
Vec3< T > Plane3< T >::reflectVector ( const Vec3< T > &  v) const
inline

Definition at line 180 of file ImathPlane.h.

template<class T >
void Plane3< T >::set ( const Vec3< T > &  normal,
T  distance 
)
inline

Definition at line 159 of file ImathPlane.h.

template<class T >
void Plane3< T >::set ( const Vec3< T > &  point,
const Vec3< T > &  normal 
)
inline

Definition at line 151 of file ImathPlane.h.

template<class T >
void Plane3< T >::set ( const Vec3< T > &  point1,
const Vec3< T > &  point2,
const Vec3< T > &  point3 
)
inline

Definition at line 141 of file ImathPlane.h.

Member Data Documentation

template<class T>
T Plane3< T >::distance

Definition at line 68 of file ImathPlane.h.

template<class T>
Vec3<T> Plane3< T >::normal

Definition at line 67 of file ImathPlane.h.


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