|
| | 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 |
| | Default constructor. More...
|
| |
| | CooArray (const CooArray< float > &c) |
| | Copy constructor. More...
|
| |
| | CooArray (U &&v1, V &&v2, Z &&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 ()=default |
| |
| | 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 vector in 3D space.
The Vec3D class provides vector functionality in 3D space. It also provides some utility operations common on vectors: such as multiplication by a scalar and addition.