SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Data-only class containing 3 coordinates. More...
#include <common.h>
Public Member Functions | |
CPosPoint () | |
default constructor | |
CPosPoint (const NumT Pos0, const NumT Pos1, const NumT Pos2) | |
construct from three float/double numbers | |
CPosPoint (const CPosPoint< double > &src) | |
copy constructor from CPosPoint<double> | |
CPosPoint (const CPosPoint< float > &src) | |
copy constructor from CPosPoint<float> | |
CPosPoint (const CPosVelPoint< double > &src) | |
copy constructor from CPosVelPoint<double> | |
CPosPoint (const CPosVelPoint< float > &src) | |
copy constructor from CPosVelPoint<float> | |
Public Attributes | |
NumT | Pos [N_DIM] |
Data-only class containing 3 coordinates.
NumT | may be float or double. Copy constructor provided for both instantiations so that each one may be seamlessly converted to another one by (implicit) type cast. |