MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
IsotropicDirectionality Class Reference

Class which represents an isotropic directionality. More...

#include <source.h>

Collaboration diagram for IsotropicDirectionality:

Public Member Functions

Eigen::Vector3d sampleDirection (const Eigen::Vector3d &photon_initial_position) override
 Returns a sample from the isotropic directionality.
 

Private Attributes

ProbabilityDist::Uniform uniform_dist_
 

Detailed Description

Class which represents an isotropic directionality.

The isotropic directionality is a uniform distribution over the unit sphere.

Definition at line 97 of file source.h.

Member Function Documentation

◆ sampleDirection()

Eigen::Vector3d IsotropicDirectionality::sampleDirection ( const Eigen::Vector3d & photon_initial_position)
overridevirtual

Returns a sample from the isotropic directionality.

Returns
A sample from the isotropic directionality.

Implements Directionality.

Member Data Documentation

◆ uniform_dist_

ProbabilityDist::Uniform IsotropicDirectionality::uniform_dist_
private

Definition at line 107 of file source.h.


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