XX CMake Package
Loading...
Searching...
No Matches
XXLinalgSpherical.h
Go to the documentation of this file.
1#ifndef XXLinalgSphericalH
2#define XXLinalgSphericalH
3
4#include "XXMathExportDef.h"
5
6#include <iostream>
7
8#include <QDebug>
9
10namespace XX
11{
12 namespace Linalg
13 {
16
18 {
19 public:
20 Spherical(const double& az = 0.0, const double& el = 0.0, const double& radius = 1.0);
21
22 public:
23 bool operator<(const Spherical& other) const;
24
25 public:
26 double az = 0.0;
27 double el = 0.0;
28 double radius = 0.0;
29
30 private:
31 friend XXMATH_DECLSPEC std::ostream& operator<<(std::ostream& out, const Spherical& spherial);
32 friend XXMATH_DECLSPEC QDebug operator<<(QDebug stream, const Spherical& spherial);
33 };
34
40
41 XXMATH_DECLSPEC std::ostream& operator<<(std::ostream& out, const Spherical& spherial);
42 XXMATH_DECLSPEC QDebug operator<<(QDebug stream, const Spherical& spherial);
43
45
46 } // namespace Linalg
47} // namespace XX
48
49#endif // NOT XXLinalgSphericalH
#define XXMATH_DECLSPEC
Definition XXMathExportDef.h:17
Spherical coordinates, used to represent points in 3D space.
Definition XXLinalgSpherical.h:18
double el
Definition XXLinalgSpherical.h:27
friend QDebug operator<<(QDebug stream, const Spherical &spherial)
friend std::ostream & operator<<(std::ostream &out, const Spherical &spherial)
double az
Definition XXLinalgSpherical.h:26
Spherical(const double &az=0.0, const double &el=0.0, const double &radius=1.0)
bool operator<(const Spherical &other) const
double radius
Definition XXLinalgSpherical.h:28
QDebug operator<<(QDebug stream, const Matrix &matrix)
Definition XXLinalg.h:10
Definition XXPopulatedAbstract.h:11