#ifndef __LINE_H
  #define __LINE_H

#include "../arithmetic/arithmetics.h"


class Line {
public:
  Vec3 dir;    //line direction
  Vec3 center; //midpoint of the line segment
  Scalar  hl;     //segment half-length

  Line():dir(Vec3(0,0,0)), center(Vec3(0,0,0)), hl(0) {};
  Line( const Vec3& d, const Vec3& c, const Scalar& h ): dir(d), center(c), hl(h) {};
};

#endif
