CL_LineRay2x< Type > Class Template Reference
[clanCore Math]

2D line ray More...

#include <line_ray.h>

List of all members.

Public Member Functions

 CL_LineRay2x ()
 CL_LineRay2x (const CL_LineRay2x< Type > &copy)
 CL_LineRay2x (const CL_Vec2< Type > &point_p, const CL_Vec2< Type > &direction_v)
Operators
CL_LineRay2x< Type > & operator= (const CL_LineRay2x< Type > &copy)
 = operator.
bool operator== (const CL_LineRay2x< Type > &line) const
 == operator.
bool operator!= (const CL_LineRay2x< Type > &line) const
 != operator.

Public Attributes

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


Detailed Description

template<typename Type>
class CL_LineRay2x< Type >

2D line ray

A ray has a start point and a direction
These line templates are defined for: int (CL_LineRay2i), float (CL_LineRay2f), double (CL_LineRay2d)


Constructor & Destructor Documentation

template<typename Type>
CL_LineRay2x< Type >::CL_LineRay2x  )  [inline]
 

template<typename Type>
CL_LineRay2x< Type >::CL_LineRay2x const CL_LineRay2x< Type > &  copy  )  [inline]
 

template<typename Type>
CL_LineRay2x< Type >::CL_LineRay2x const CL_Vec2< Type > &  point_p,
const CL_Vec2< Type > &  direction_v
[inline]
 


Member Function Documentation

template<typename Type>
bool CL_LineRay2x< Type >::operator!= const CL_LineRay2x< Type > &  line  )  const [inline]
 

!= operator.

template<typename Type>
CL_LineRay2x<Type>& CL_LineRay2x< Type >::operator= const CL_LineRay2x< Type > &  copy  )  [inline]
 

= operator.

template<typename Type>
bool CL_LineRay2x< Type >::operator== const CL_LineRay2x< Type > &  line  )  const [inline]
 

== operator.


Member Data Documentation

template<typename Type>
CL_Vec2<Type> CL_LineRay2x< Type >::p
 

Start point on the line ray.

template<typename Type>
CL_Vec2<Type> CL_LineRay2x< Type >::v
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:38 2009 for ClanLib by  doxygen 1.4.6