/*
 * Vertex.h
 *
 *  Created on: 01.12.2009
 *      Author: sep
 */

#ifndef VERTEX_H_
#define VERTEX_H_

#include "Object.h"

class Vertex: public Object {
public:
	Vertex(double x,double y);
	Vertex(std::string s);
	virtual ~Vertex();
	double x;
	double y;

	virtual std::string toString();

	Vertex operator+(Vertex that);

	Vertex* operator+(Vertex* that);

	double operator[](unsigned int i);
	double operator()();
	double betrag();
};

#endif /* VERTEX_H_ */
