#ifndef POINT_H #define POINT_H /** * Point class represents node location in the graphic widget. It contains the information about its location * in x and y. */ typedef struct Point { int xval, yval; } Point; Point *mkpt(int x, int y); double dist(Point a, Point b); Point *add(Point *a, Point *b); Point *sub(Point a, Point b); void move(Point *p, int a, int b); void print(Point p); void prline(Point x, char *op, Point y, Point z); #endif // POINT_H