2D line ray More...
#include <line_ray.h>

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 > ©) | |
Operators | |
| CL_LineRay2x< Type > & | operator= (const CL_LineRay2x< Type > ©) |
| = 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 |
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)
| CL_LineRay2x< Type >::CL_LineRay2x | ( | ) | [inline] |
| CL_LineRay2x< Type >::CL_LineRay2x | ( | const CL_LineRay2x< Type > & | copy | ) | [inline] |
| CL_LineRay2x< Type >::CL_LineRay2x | ( | const CL_Vec2< Type > & | point_p, | |
| const CL_Vec2< Type > & | direction_v | |||
| ) | [inline] |
| bool CL_LineRay2x< Type >::operator!= | ( | const CL_LineRay2x< Type > & | line | ) | const [inline] |
!= operator.
| CL_LineRay2x<Type>& CL_LineRay2x< Type >::operator= | ( | const CL_LineRay2x< Type > & | copy | ) | [inline] |
= operator.
| bool CL_LineRay2x< Type >::operator== | ( | const CL_LineRay2x< Type > & | line | ) | const [inline] |
== operator.
| CL_Vec2<Type> CL_LineRay2x< Type >::p |
Start point on the line ray.
Referenced by CL_LineRay2x< int >::CL_LineRay2x(), CL_LineRay2x< int >::operator!=(), CL_LineRay2x< int >::operator=(), and CL_LineRay2x< int >::operator==().
| CL_Vec2<Type> CL_LineRay2x< Type >::v |
1.7.1