Public Member Functions | Public Attributes

CL_LineRay2x< Type > Class Template Reference
[clanCore Math]

2D line ray More...

#include <line_ray.h>

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

List of all members.

Public Member Functions

 CL_LineRay2x ()
 CL_LineRay2x (const CL_Vec2< Type > &point_p, const CL_Vec2< Type > &direction_v)
 CL_LineRay2x (const CL_LineRay2x< Type > &copy)
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
template<typename Type>
CL_Vec2<Type> CL_LineRay2x< Type >::v

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