#include <cmath>

#include "Point3D.h"

double Point3D::DistanceFromOrigin() const {
  return sqrt(pow(x_,2) + pow(y_,2) + pow(z_,2));
}