clan::LineRay3x< Type > Class Template Reference

3D line ray More...

#include <line_ray.h>

Public Member Functions

 LineRay3x ()
 
 LineRay3x (const LineRay3x< Type > &copy)
 
 LineRay3x (const Vec3< Type > &point_p, const Vec3< Type > &direction_v)
 
bool operator!= (const LineRay3x< Type > &line) const
 != operator. More...
 
LineRay3x< Type > & operator= (const LineRay3x< Type > &copy)
 = operator. More...
 
bool operator== (const LineRay3x< Type > &line) const
 == operator. More...
 

Public Attributes

Vec3< Type > p
 Start point on the line ray. More...
 
Vec3< Type > v
 

Detailed Description

template<typename Type>
class clan::LineRay3x< Type >

3D line ray

A ray has a start point and a direction
These line templates are defined for: int (LineRay3), float (LineRay3f), double (LineRay3d)

Constructor & Destructor Documentation

template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( )
inline
template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( const LineRay3x< Type > &  copy)
inline
template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( const Vec3< Type > &  point_p,
const Vec3< Type > &  direction_v 
)
inline

Member Function Documentation

template<typename Type>
bool clan::LineRay3x< Type >::operator!= ( const LineRay3x< Type > &  line) const
inline

!= operator.

template<typename Type>
LineRay3x<Type>& clan::LineRay3x< Type >::operator= ( const LineRay3x< Type > &  copy)
inline

= operator.

template<typename Type>
bool clan::LineRay3x< Type >::operator== ( const LineRay3x< Type > &  line) const
inline

== operator.

Member Data Documentation

template<typename Type>
Vec3<Type> clan::LineRay3x< Type >::p

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