#ifndef LINESEGMENT_HPP
#define LINESEGMENT_HPP

#include "point.hpp"

class LineSegment{
private:
	Point sourse;
	Point target;
public:
	LineSegment();
	LineSegment(Point s, Point t);

	Point getSource() const;
	Point getTarget() const;

	void setSource(Point s);
	void setTarget(Point t);

	void input();
	void output() const;
	
	double length() const;
	


};


#endif
