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

Class which represents a point geometry. More...

#include <source.h>

Collaboration diagram for PointGeometry:

Public Member Functions

 PointGeometry (const Eigen::Vector3d &position)
 Constructor for the PointGeometry class.
 
Eigen::Vector3d samplePosition () override
 Returns the position of the point.
 

Additional Inherited Members

- Protected Member Functions inherited from SourceGeometry
 SourceGeometry (Eigen::Vector3d position)
 
- Protected Attributes inherited from SourceGeometry
Eigen::Vector3d position_
 

Detailed Description

Class which represents a point geometry.

The point geometry is a single point.

Definition at line 219 of file source.h.

Constructor & Destructor Documentation

◆ PointGeometry()

PointGeometry::PointGeometry ( const Eigen::Vector3d & position)
explicit

Constructor for the PointGeometry class.

Parameters
positionThe position of the point.

Member Function Documentation

◆ samplePosition()

Eigen::Vector3d PointGeometry::samplePosition ( )
overridevirtual

Returns the position of the point.

Returns
The position of the point.

Implements SourceGeometry.


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