diff --git a/GeoLib/PointWithID.h b/GeoLib/PointWithID.h
index a09b800e717b15b299da220bd8a1dc986fda7a30..7d6a1dddf0838ef4581d2b8c38f7678a21d1483a 100644
--- a/GeoLib/PointWithID.h
+++ b/GeoLib/PointWithID.h
@@ -20,22 +20,29 @@ namespace GeoLib
  * class PointWithID is derived from class Point in
  * order to extend the class Point with an ID.
  */
-class PointWithID : public Point
-{
+class PointWithID: public Point {
 public:
-	PointWithID (double x0, double x1, double x2, size_t id) :
-		Point (x0, x1, x2), _id (id)
+	PointWithID(double x0, double x1, double x2, size_t id) :
+		Point(x0, x1, x2), _id(id)
+	{}
+
+	PointWithID(double const* const coords, size_t id) :
+		Point(coords), _id(id)
 	{}
 
-	PointWithID (double const* const coords, size_t id) :
-		Point (coords), _id (id)
+	PointWithID(GeoLib::Point const& pnt, size_t id) :
+		Point(pnt), _id(id)
 	{}
 
-	PointWithID (GeoLib::Point const& pnt, size_t id) :
-		Point (pnt), _id (id)
+	/**
+	 * standard constructor that initializes the id with 0 and calls
+	 * the standard constructor of class Point
+	 */
+	PointWithID() :
+		Point(), _id(0)
 	{}
 
-	size_t getID () const { return _id; }
+	size_t getID() const { return _id; }
 
 protected:
 	size_t _id;