|
| V3R | getPositiveVector () const |
| | Returns a V3R with absolute components.
|
| |
| | operator Kernel::V3D () const |
| | Returns an instance of Kernel::V3D with floating point approximations of the components.
|
| |
| | operator std::vector< double > () const |
| | Returns an std::vector<double> with approximations of the components.
|
| |
| bool | operator!= (const V3R &other) const |
| | Returns true if the compared vectors are not equal.
|
| |
| bool | operator!= (int other) const |
| | Returns true if any component is different from the integer.
|
| |
| V3R | operator* (const RationalNumber &other) const |
| | Performs the operation v' = v1 * r, which multiplies each component of v1 with the RationalNumber r.
|
| |
| V3R | operator* (int other) const |
| | Performs the operation v' = v1 * i, which multiplies each component of v1 with the integer i.
|
| |
| V3R & | operator*= (const RationalNumber &other) |
| | Performs the operation v1 *= r in place, which multiplies each component of v1 with the RationalNumber r.
|
| |
| V3R & | operator*= (int other) |
| | Performs the operation v1 *= i in place, which multiplies each component of v1 with the integer i.
|
| |
| Kernel::V3D | operator+ (const Kernel::V3D &other) const |
| | Returns the result of the operation d3' = r3 + d3, which is again a Kernel::V3D.
|
| |
| V3R | operator+ (const RationalNumber &other) const |
| | Performs the operation v' = v1 + r, which adds the RationalNumber r to each component of v1.
|
| |
| V3R | operator+ (const V3R &other) const |
| | Performs the operation v1 + v2, which sums the vectors component-wise.
|
| |
| V3R | operator+ (int other) const |
| | Performs the operation v' = v1 + i, which adds the integer i to each component of v1.
|
| |
| V3R & | operator+= (const RationalNumber &other) |
| | Performs the operation v1 += r in place, which adds the RationalNumber r to each component of v1.
|
| |
| V3R & | operator+= (const V3R &other) |
| | Performs the operation v1 += v2 in place, which adds the components of v2 to the components of v1.
|
| |
| V3R & | operator+= (int other) |
| | Performs the operation v1 += i in place, which adds the integer i to each component of v1.
|
| |
| V3R | operator- () const |
| | Negates all components of the vector.
|
| |
| Kernel::V3D | operator- (const Kernel::V3D &other) const |
| | Returns the result of the operation d3' = r3 - d3, which is again a Kernel::V3D.
|
| |
| V3R | operator- (const RationalNumber &other) const |
| | Performs the operation v' = v1 - r, which subtracts the RationalNumber r from each component of v1.
|
| |
| V3R | operator- (const V3R &other) const |
| | Performs the operation v1 - v2, which subtracts the vectors component-wise.
|
| |
| V3R | operator- (int other) const |
| | Performs the operation v' = v1 - i, which subtracts the integer i from each component of v1.
|
| |
| V3R & | operator-= (const RationalNumber &other) |
| | Performs the operation v1 -= r, which subtracts the RationalNumber r from each component of v1.
|
| |
| V3R & | operator-= (const V3R &other) |
| | Performs the operation v1 -= v2 in place, which subtracts the components of v2 from the components of v1.
|
| |
| V3R & | operator-= (int other) |
| | Performs the operation v1 -= i in place, which subtracts the integer i from each component of v1.
|
| |
| V3R | operator/ (const RationalNumber &other) const |
| | Performs the operation v' = v1 / r, which divides each component of v1 by the RationalNumber r.
|
| |
| V3R | operator/ (int other) const |
| | Performs the operation v' = v1 / i, which divides each component of v1 by the integer i.
|
| |
| V3R & | operator/= (const RationalNumber &other) |
| | Performs the operation v1 /= r in place, which divides each component of v1 by the RationalNumber r.
|
| |
| V3R & | operator/= (int other) |
| | Performs the operation v1 /= i in place, which divides each component of v1 by the integer i.
|
| |
| bool | operator< (const V3R &other) const |
| | Compares x of both vectors first, if those are equal the function compares y and finally z.
|
| |
| bool | operator== (const V3R &other) const |
| | Returns true if all components of the compared vectors are equal, false otherwise.
|
| |
| bool | operator== (int other) const |
| | Returns true if all components are equal to the integer used for comparison.
|
| |
| RationalNumber & | operator[] (size_t index) |
| | Array-style non-const access to the components.
|
| |
| const RationalNumber & | operator[] (size_t index) const |
| | Array-style const access to the components.
|
| |
| void | setX (const RationalNumber &newX) |
| | Assigns a new value to the x-component.
|
| |
| void | setY (const RationalNumber &newY) |
| | Assigns a new value to the y-component.
|
| |
| void | setZ (const RationalNumber &newZ) |
| | Assigns a new value to the z-component.
|
| |
| | V3R () |
| | Default constructor, all elements 0.
|
| |
| | V3R (const RationalNumber &x, const RationalNumber &y, const RationalNumber &z) |
| | Constructor from three RationalNumbers, which may also be integers.
|
| |
| | V3R (const std::vector< int > &vector) |
| | Constructor from an appropriately sized integer vector.
|
| |
| const RationalNumber & | x () const |
| | Returns the x-component of the vector.
|
| |
| const RationalNumber & | y () const |
| | Returns the y-component of the vector.
|
| |
| const RationalNumber & | z () const |
| | Returns the z-component of the vector.
|
| |
Definition at line 37 of file V3R.h.