|
RobinTrace
|
Class for ray bundles. More...
#include <bun.h>
Public Member Functions | |
| bun () | |
| Default constructor. More... | |
| bun (const std::vector< ray > _rays) | |
| Initialization constructor. More... | |
Public Attributes | |
| std::vector< ray > | rays |
| Vector of rays. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const bun &b) |
| Printer. | |
Class for ray bundles.
The bun class is a very thin abstraction around a vector of rays. It is used in order to define operations over groups of rays.
| bun::bun | ( | ) |
Default constructor.
An empty vector of rays is initialized.
| bun::bun | ( | const std::vector< ray > | _rays | ) |
Initialization constructor.
| _rays | Initial vector of rays. |