/* * point3d.h * * Created on: 25.04.2013 * Author: trifon */ #ifndef POINT3D_H_ #define POINT3D_H_ #include "point.h" template class Point3D : public Point { protected: T z; public: Point3D() {} Point3D(T _x, T _y, T _z) { this->x = _x; this->y = _y; z = _z; } }; template class LabeledPoint3D : public Point3D { L label; public: LabeledPoint3D(T _x, T _y, T _z, L _label) { this->x = _x; this->y = _y; this->z = _z; label = _label; } }; #endif /* POINT3D_H_ */