|
| PhysPoint () |
| Default constructor. More...
|
|
| PhysPoint (float xCoo, float yCoo, float zCoo, float resX=0., float resY=0., float resZ=0.) |
| Constructor. More...
|
|
| PhysPoint (const Vec3D &coo, std::array< float, 3 > res={0., 0., 0.}) |
| Array constructor. More...
|
|
virtual | ~PhysPoint ()=default |
| Virtual destructor. More...
|
|
float | ResX () const |
| Returns the resolution of the X coordinate of the point. More...
|
|
void | SetResX (float resX) |
|
float | ResY () const |
| Returns the resolution of the Y coordinate of the point. More...
|
|
void | SetResY (float resY) |
|
float | ResZ () const |
| Returns the resolution of the Z coordinate of the point. More...
|
|
void | SetResZ (float resZ) |
|
CooArray< float > | ResAsArray () const |
| Returns the point resolution as array. More...
|
|
void | SetResFromArray (const std::array< float, 3 > arr) |
| Sets the resolution from array. More...
|
|
| Vec3D () |
| Default constructor. More...
|
|
| Vec3D (float x, float y, float z) |
| Constructor. More...
|
|
| Vec3D (std::array< float, 3 > arr) |
| Constructor. More...
|
|
| Vec3D (RefFrame::Direction direction) |
| Constructs a 3D vector from a given direction. More...
|
|
void | Dump () const |
| Dumps the vector components. More...
|
|
float | Mag () const |
| Compute the vector magnitude. More...
|
|
Vec3D | CrossProduct (const Vec3D &rhs) |
| Compute the cross product of two vectors. More...
|
|
float | PolarAngle () const |
| Compute the polar angle. More...
|
|
float | AzimuthAngle () const |
| Compute the azimuth angle. More...
|
|
Vec3D & | operator+= (Vec3D const &right) |
| Add a vector to this one. More...
|
|
Vec3D & | operator+= (Vec3D &&right) |
|
Vec3D | operator- (Vec3D const &right) const |
| Subtract two vectors. More...
|
|
Vec3D & | operator-= (Vec3D const &right) |
| Subtract a vector from this one. More...
|
|
Vec3D & | operator-= (Vec3D &&right) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D & | operator*= (T const &right) |
| Multiply a vector by a number. More...
|
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D & | operator*= (T &&right) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D & | operator/= (T const &right) |
| Divide a vector by a number. More...
|
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D & | operator/= (T &&right) |
|
bool | operator== (const Vec3D &right) const |
| Comparison operator. More...
|
|
| CooArray () |
| Default constructor. More...
|
|
| CooArray (const CooArray< float > &c) |
| Copy constructor. More...
|
|
| CooArray (V &&v1, V &&v2, V &&v3) |
| Initializer list constructor. More...
|
|
| CooArray (const std::array< float, 3 > &values) |
| Array constructors. More...
|
|
| CooArray (std::array< float, 3 > &&values) |
|
CooArray< float > & | operator= (const CooArray< float > &lhs) |
| Assignment operator. More...
|
|
float & | operator[] (const RefFrame::Coo &coo) |
| Accesses an element without validity check on the element index. More...
|
|
const float & | operator[] (const RefFrame::Coo &coo) const |
| Accesses an element without validity check on the element index. More...
|
|
float & | at (const RefFrame::Coo &coo) |
| Accesses an element with validity check on the element index. More...
|
|
const float & | at (const RefFrame::Coo &coo) const |
| Accesses an element with validity check on the element index. More...
|
|
| ArrayForwarder () |
|
| ArrayForwarder (std::array< float, _Nm > arr) |
|
void | fill (const value_type &__u) |
|
void | swap (ArrayForwarder &__other) noexcept(noexcept(std::swap(std::declval< float & >(), std::declval< float & >()))) |
|
_GLIBCXX17_CONSTEXPR iterator | begin () noexcept |
|
_GLIBCXX17_CONSTEXPR const_iterator | begin () const noexcept |
|
_GLIBCXX17_CONSTEXPR iterator | end () noexcept |
|
_GLIBCXX17_CONSTEXPR const_iterator | end () const noexcept |
|
_GLIBCXX17_CONSTEXPR reverse_iterator | rbegin () noexcept |
|
_GLIBCXX17_CONSTEXPR const_reverse_iterator | rbegin () const noexcept |
|
_GLIBCXX17_CONSTEXPR reverse_iterator | rend () noexcept |
|
_GLIBCXX17_CONSTEXPR const_reverse_iterator | rend () const noexcept |
|
_GLIBCXX17_CONSTEXPR const_iterator | cbegin () const noexcept |
|
_GLIBCXX17_CONSTEXPR const_iterator | cend () const noexcept |
|
_GLIBCXX17_CONSTEXPR const_reverse_iterator | crbegin () const noexcept |
|
_GLIBCXX17_CONSTEXPR const_reverse_iterator | crend () const noexcept |
|
constexpr size_type | size () const noexcept |
|
constexpr size_type | max_size () const noexcept |
|
constexpr bool | empty () const noexcept |
|
_GLIBCXX17_CONSTEXPR reference | operator[] (size_type __n) noexcept |
|
constexpr const_reference | operator[] (size_type __n) const noexcept |
|
_GLIBCXX17_CONSTEXPR reference | at (size_type __n) |
|
constexpr const_reference | at (size_type __n) const |
|
_GLIBCXX17_CONSTEXPR reference | front () noexcept |
|
constexpr const_reference | front () const noexcept |
|
_GLIBCXX17_CONSTEXPR reference | back () noexcept |
|
constexpr const_reference | back () const noexcept |
|
_GLIBCXX17_CONSTEXPR pointer | data () noexcept |
|
_GLIBCXX17_CONSTEXPR const_pointer | data () const noexcept |
|
A class describing a physical point in the 3D space.
The PhysPoint class provides the coordinates and the resolution of a point in 3D space.