#ifndef LENGTH_H
#define LENGTH_H

#ifndef FUNCTION_H
#include "Function.h"       
#endif

namespace MM
{
class Point_3D;

class Length : public Function    //fix to Distance
{
protected:
    const Point_3D & v_1_;
    const Point_3D & v_2_;

public:
    Length (Point_3D const & point1, Point_3D const & point2);

    virtual double value() const ;
    virtual double value_2() const ;
};

}//MM

#endif //LENGTH_H
