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

#include <ImathForward.h>

Public Member Functions

 Line3 ()
 
 Line3 (const Vec3< T > &point1, const Vec3< T > &point2)
 
void set (const Vec3< T > &point1, const Vec3< T > &point2)
 
Vec3< Toperator() (T parameter) const
 
T distanceTo (const Vec3< T > &point) const
 
T distanceTo (const Line3< T > &line) const
 
Vec3< TclosestPointTo (const Vec3< T > &point) const
 
Vec3< TclosestPointTo (const Line3< T > &line) const
 

Public Attributes

Vec3< Tpos
 
Vec3< Tdir
 

Detailed Description

template<class T>
class Line3< T >

Definition at line 53 of file ImathForward.h.

Constructor & Destructor Documentation

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

Definition at line 66 of file ImathLine.h.

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

Definition at line 106 of file ImathLine.h.

Member Function Documentation

template<class T >
Vec3< T > Line3< T >::closestPointTo ( const Vec3< T > &  point) const
inline

Definition at line 131 of file ImathLine.h.

template<class T >
Vec3< T > Line3< T >::closestPointTo ( const Line3< T > &  line) const
inline

Definition at line 145 of file ImathLine.h.

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

Definition at line 125 of file ImathLine.h.

template<class T >
T Line3< T >::distanceTo ( const Line3< T > &  line) const
inline

Definition at line 137 of file ImathLine.h.

template<class T >
Vec3< T > Line3< T >::operator() ( T  parameter) const
inline

Definition at line 119 of file ImathLine.h.

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

Definition at line 112 of file ImathLine.h.

Member Data Documentation

template<class T>
Vec3<T> Line3< T >::dir

Definition at line 60 of file ImathLine.h.

template<class T>
Vec3<T> Line3< T >::pos

Definition at line 59 of file ImathLine.h.


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