In order to do apply operations on point M(x,y), I've defined a class POINT2D.h:
#ifndef POINT2D_H_INCLUDED
#define POINT2D_H_INCLUDED
class POINT2D {
    POINT2D ();                    //first constructor 
    POINT2D(double x,double y);    // second constructor
private:
    Point M, PointImage;
public:
    void DeclarerM(){
        std::cout << "Entrer les composantes du point M : " << " ";
        std::cin >> M.x >> M.y;
    }
    Point Trnaslation(Point M);         //Functions applied on Point
    Point Rotation(Point M);
    Point SymetrieAxiale (Point M);
    Point Homothetie(Point M);
};
#endif // POINT2D_H_INCLUDED
and a struct Point in the main:
struct Point{             //structure Point
    double x;                 //the coordinates of the Point
    double y;
};
When I run it I get an error in the class, saying "Point does not name a type". What is the problem?
 
    