/* * point3d.h * * Created on: 07.03.2013 * Author: trifon */ #ifndef POINT3D_H_ #define POINT3D_H_ #include "point2d.h" class Point3D { private: Point2D p; double z; public: // конструктор Point3D(Point2D, double); // селектори double getZ() const; Point2D getP() const; void print() const; }; #endif /* POINT3D_H_ */