|
MIDSX 0.1
A x-ray transport code system for dosimetry
|
Class which represents a beam directionality. More...
#include <source.h>
Public Member Functions | |
| BeamDirectionality (Eigen::Vector3d pass_through_point) | |
| Constructor for the BeamDirectionality class. | |
| Eigen::Vector3d | sampleDirection (const Eigen::Vector3d &photon_initial_position) override |
| Returns a sample from the beam directionality. | |
Private Attributes | |
| Eigen::Vector3d | pass_through_point_ |
Class which represents a beam directionality.
The beam directionality is infinitely narrow and passes through a point.
|
explicit |
Constructor for the BeamDirectionality class.
| pass_through_point | The point that the beam passes through. |
|
overridevirtual |
Returns a sample from the beam directionality.
Implements Directionality.
|
private |