238 SVec3
operator+(
const SVec3& a,
const SVec3& b)
noexcept;
241 SVec3
operator-(
const SVec3& a,
const SVec3& b)
noexcept;
A class representing a 3x3 matrix.
RealType * getData() noexcept
Get the matrix data as a modifiable pointer.
std::array< RealType, 9 > elements
The 3x3 matrix elements.
const RealType * getData() const noexcept
Get the matrix data as a constant pointer.
A class representing a vector in spherical coordinates.
RealType elevation
The elevation angle of the vector.
RealType azimuth
The azimuth angle of the vector.
RealType length
The length of the vector.
SVec3 & operator/=(RealType b) noexcept
Scalar division assignment for SVec3.
SVec3 & operator*=(RealType b) noexcept
Scalar multiplication assignment for SVec3.
A class representing a vector in rectangular coordinates.
RealType x
The x component of the vector.
RealType z
The z component of the vector.
Vec3 & operator-=(const Vec3 &b) noexcept
Subtraction assignment operator for Vec3.
RealType length() const noexcept
Calculates the length (magnitude) of the vector.
RealType y
The y component of the vector.
Vec3 & operator+=(const Vec3 &b) noexcept
Addition assignment operator for Vec3.
Vec3 & operator/=(RealType b) noexcept
Scalar division assignment for Vec3.
Vec3 operator+(const RealType value) const
Addition operator for Vec3.
Vec3 & operator*=(const Vec3 &b) noexcept
Multiplication assignment operator for Vec3.
Global configuration file for the project.
double RealType
Type for real numbers.
Coord operator+(const Coord &a, const Coord &b) noexcept
Adds two Coord objects' positions and copies the time.
Coord operator-(const Coord &a, const Coord &b) noexcept
Subtracts two Coord objects' positions and copies the time.
Coord operator/(const Coord &a, const Coord &b) noexcept
Divides two Coord objects' positions and copies the time.
RealType dotProduct(const Vec3 &a, const Vec3 &b) noexcept
Computes the dot product of two Vec3 vectors.
Coord operator*(const Coord &a, const Coord &b) noexcept
Multiplies two Coord objects' positions and copies the time.