#include <ray2.h>
Public Member Functions | |
CRay2 () | |
CRay2 (const CVector2 &c_start, const CVector2 &c_end) | |
CRay2 (const CVector2 &c_start, const CVector2 &c_direction, Real f_length) | |
const CVector2 & | GetStart () const |
const CVector2 & | GetEnd () const |
void | SetStart (const CVector2 &c_start) |
void | SetEnd (const CVector2 &c_end) |
void | Set (const CVector2 &c_start, const CVector2 &c_end) |
void | Set (const CVector2 &c_start, const CVector2 &c_direction, Real f_length) |
void | GetDirection (CVector2 &c_buffer) const |
void | GetInverseDirection (CVector2 &c_buffer) const |
Real | GetLength () const |
void | ToVector (CVector2 &c_buffer) const |
void | GetPoint (CVector2 &c_point, Real f_t) const |
Real | GetDistance (Real f_t) const |
bool | Intersects (const CRay2 &c_ray) const |
Friends | |
std::ostream & | operator<< (std::ostream &c_os, const CRay2 &c_ray) |
Serializes the contents of the passed ray onto a stream. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |