#ifndef SEC6_POINT3D_SOLN_H_ #define SEC6_POINT3D_SOLN_H_ #include "Triple-soln.h" class Point3D : public Triple { public: Point3D(double x, double y, double z) : Triple(x,y,z) { } // The Pythagorean distance of this point to the origin. double DistanceFromOrigin() const; }; #endif // SEC6_POINT3D_SOLN_H_