Rumba C++ SDK
Imath::Line3< T > Class Template Reference

#include <ImathLine.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< T > operator() (T parameter) const
 
distanceTo (const Vec3< T > &point) const
 
distanceTo (const Line3< T > &line) const
 
Vec3< T > closestPointTo (const Vec3< T > &point) const
 
Vec3< T > closestPointTo (const Line3< T > &line) const
 

Public Attributes

Vec3< T > pos
 
Vec3< T > dir
 

Constructor & Destructor Documentation

◆ Line3() [1/2]

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

◆ Line3() [2/2]

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

Member Function Documentation

◆ closestPointTo() [1/2]

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

◆ closestPointTo() [2/2]

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

◆ distanceTo() [1/2]

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

◆ distanceTo() [2/2]

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

◆ operator()()

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

◆ set()

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

Member Data Documentation

◆ dir

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

◆ pos

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

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