- Main Page
- Modules
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# Ray Class Reference

`#include <Ray.h>`

List of all members.

## Public Member Functions
| Ray ()
| Ray (const Vector3r &point1, const Vector3r &point2)
bool | adjacentPoints (const Ray &ray, Vector3r &point1, Vector3r &point2) const
void | invert ()
Vector3r | P () const
Vector3r | V () const
dReal | dist (const Ray &ray) const
dReal | dist (const Vector3r &point) const
## Public Attributes
Vector3r | p
Vector3r | v
## Private Member Functions
ostream & | write (ostream &out) const
## Friends
ostream & | operator<< (ostream &out, const Ray &o)

## Constructor & Destructor Documentation

Ray::Ray | ( |  | ) | `[inline]`

Ray::Ray | ( | const Vector3r & | point1,
|  | const Vector3r & | point2 |
| ) |  |  |

## Member Function Documentation

bool Ray::adjacentPoints | ( | const Ray & | ray,
|  | Vector3r & | point1,
|  | Vector3r & | point2 |
| ) |  |  | const

dReal Ray::dist | ( | const Vector3r & | point | ) | const

dReal Ray::dist | ( | const Ray & | ray | ) | const

void Ray::invert | ( |  | ) | `[inline]`

Vector3r Ray::P | ( |  | ) | const`[inline]`

Vector3r Ray::V | ( |  | ) | const`[inline]`

ostream & Ray::write | ( | ostream & | out | ) | const`[private]`

## Friends And Related Function Documentation

ostream& operator<< | ( | ostream & | out,
|  | const Ray & | o |
| ) |  |  | `[friend]`

## Member Data Documentation

Vector3r Ray::p

Vector3r Ray::v

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

- src/vectorMath/Ray.h
- src/vectorMath/Ray.cpp