sgp4/Vector.cpp

6 lines
112 B
C++

#include "Vector.h"
double Vector::GetMagnitude() const {
return sqrt(x_ * x_ + y_ * y_ + z_ * z_);
}