ClanLib  2.3.7
Public Member Functions | Public Attributes | List of all members
CL_LineRay2x< Type > Class Template Reference

2D line ray More...

#include <line_ray.h>

Inheritance diagram for CL_LineRay2x< Type >:
Inheritance graph
[legend]

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. More...
 
bool operator== (const CL_LineRay2x< Type > &line) const
 == operator. More...
 
bool operator!= (const CL_LineRay2x< Type > &line) const
 != operator. More...
 

Public Attributes

CL_Vec2< Type > p
 Start point on the line ray. More...
 
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
template<typename Type>
CL_Vec2<Type> CL_LineRay2x< Type >::v

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