code: public double distanceSquared(Vector o) {
          return NumberConversions.square(x - o.x) + NumberConversions.square(y - o.y) + NumberConversions.square(z - o.z);
      }
docs: Get the squared distance between this vector and another.
  
  @param o The other vector
  @return the distance