17 #include "element.hpp" 61 inline double date()
const{
Object material.
Definition: material.hpp:39
bool operator<(const hit &h) const
Compare the date of two hits.
Definition: hit.cpp:20
void setMaterial(Material *m)
Attach a material to the element.
Definition: element.hpp:148
void setMaterial(Material *m)
Set the material associated with the surface element.
Definition: hit.hpp:75
const element & surface() const
Surface element attached to the hit.
Definition: hit.hpp:68
bool operator>(const hit &h) const
Compare the date of two hits.
Definition: hit.cpp:24
The result of a collistion between a Geometry and an euclidian.
Definition: hit.hpp:39
double date() const
Date of the hit.
Definition: hit.hpp:61
Geometric surface element unit.
Definition: element.hpp:43
hit()
Default constructor.
Definition: hit.cpp:6