#ifndef _VERTEX_H_ #define _VERTEX_H_ #include "global.h" /* * Vertex Class * * This class simply holds the information for an individual vertex. * It is very non-complex. It also knows its rank. That is the number * of segments which come into the vertex. */ class Vertex { public: Vertex(); Vertex(fixedpt m_x, fixedpt m_y); ~Vertex(); void do_copy(Vertex *v_copy); int Equals(Vertex *other); fixedpt Distance(Vertex *other); fixedpt x, y; int rank; }; #endif /* _VERTEX_H_ */