25 #ifndef SATELLITE_VECTOR_EXTENSIONS_H
26 #define SATELLITE_VECTOR_EXTENSIONS_H
28 #include <ns3/vector.h>
49 Vector3D
operator+(
const Vector3D& v1,
const Vector3D& v2);
57 Vector3D
operator-(
const Vector3D& v1,
const Vector3D& v2);
65 Vector3D
operator*(
const Vector3D& vector,
double scalar);
73 Vector3D
operator*(
double scalar,
const Vector3D& vector);
81 Vector3D
CrossProduct(
const Vector3D& v1,
const Vector3D& v2);
89 double DotProduct(
const Vector3D& v1,
const Vector3D& v2);
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.
Vector3D operator*(const Vector3D &vector, double scalar)
Multiplication between a Vector3D object and a scalar.
double Magnitude(const Vector3D &vector)
Magnitude of a Vector3D object.
double DotProduct(const Vector3D &v1, const Vector3D &v2)
Dot product of two Vector3D objects.
Vector3D operator-(const Vector3D &v1, const Vector3D &v2)
Subtraction of Vector3D objects.
Vector3D operator+(const Vector3D &v1, const Vector3D &v2)
extensions to ns3::Vector3D to support additional operations
double MagnitudeSquared(const Vector3D &vector)
The square of the magnitude of a Vector3D object.
Vector3D CrossProduct(const Vector3D &v1, const Vector3D &v2)
Cross product of two Vector3D objects.