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

#include <ImathPlane.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
 
distanceTo (const Vec3< T > &) const
 
Vec3< T > reflectPoint (const Vec3< T > &) const
 
Vec3< T > reflectVector (const Vec3< T > &) const
 

Public Attributes

Vec3< T > normal
 
distance
 

Constructor & Destructor Documentation

◆ Plane3() [1/4]

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

◆ Plane3() [2/4]

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

◆ Plane3() [3/4]

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

◆ Plane3() [4/4]

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

Member Function Documentation

◆ distanceTo()

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

◆ intersect()

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

◆ intersectT()

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

◆ reflectPoint()

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

◆ reflectVector()

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

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

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

Member Data Documentation

◆ distance

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

◆ normal

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

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