ns3::SatSGP4MobilityModel::Matrix Struct Reference

Matrix data structure to make coordinate conversion code clearer and less verbose. More...

+ Collaboration diagram for ns3::SatSGP4MobilityModel::Matrix:

Public Member Functions

 Matrix (double c00, double c01, double c02, double c10, double c11, double c12, double c20, double c21, double c22)
 
 Matrix (void)
 
Vector3D operator* (const Vector3D &v) const
 
Rowoperator[] (uint32_t i)
 
const Rowoperator[] (uint32_t i) const
 
Matrix Transpose (void) const
 

Private Attributes

Row m [3]
 

Detailed Description

Matrix data structure to make coordinate conversion code clearer and less verbose.

Definition at line 105 of file satellite-sgp4-mobility-model.h.

Constructor & Destructor Documentation

◆ Matrix() [1/2]

ns3::SatSGP4MobilityModel::Matrix::Matrix ( void  )
inline

Definition at line 108 of file satellite-sgp4-mobility-model.h.

◆ Matrix() [2/2]

ns3::SatSGP4MobilityModel::Matrix::Matrix ( double  c00,
double  c01,
double  c02,
double  c10,
double  c11,
double  c12,
double  c20,
double  c21,
double  c22 
)

Definition at line 317 of file satellite-sgp4-mobility-model.cc.

References m.

Member Function Documentation

◆ operator*()

Vector3D ns3::SatSGP4MobilityModel::Matrix::operator* ( const Vector3D &  v) const

Definition at line 339 of file satellite-sgp4-mobility-model.cc.

◆ operator[]() [1/2]

Row& ns3::SatSGP4MobilityModel::Matrix::operator[] ( uint32_t  i)
inline

Definition at line 122 of file satellite-sgp4-mobility-model.h.

References m.

◆ operator[]() [2/2]

const Row& ns3::SatSGP4MobilityModel::Matrix::operator[] ( uint32_t  i) const
inline

Definition at line 127 of file satellite-sgp4-mobility-model.h.

References m.

◆ Transpose()

Matrix ns3::SatSGP4MobilityModel::Matrix::Transpose ( void  ) const

Member Data Documentation

◆ m

Row ns3::SatSGP4MobilityModel::Matrix::m[3]
private

Definition at line 137 of file satellite-sgp4-mobility-model.h.

Referenced by Matrix(), and operator[]().


The documentation for this struct was generated from the following files: