ALERT
Loading...
Searching...
No Matches
Point3D.h
1/*************************************************
2 * Class for 3D Point
3 *
4 * @author Felix Touchte Codjo
5 * @date November 18,2024
6 * **********************************************/
7
8#ifndef FELIX_POINT_3D_H
9#define FELIX_POINT_3D_H
10
11class Point3D {
12public :
13 double x;
14 double y;
15 double z;
16
17 Point3D(double _x = 0, double _y = 0, double _z = 0);
18 Point3D(const Point3D & pt);
19 //Point3D & operator=(const Point3D & pt);
20 void Print();
21
22 void Translate(double a, double b, double c);
23};
24
25#endif
Definition Point3D.h:11
void Translate(double a, double b, double c)
Definition Point3D.cpp:27
Point3D(double _x=0, double _y=0, double _z=0)
Definition Point3D.cpp:12
double z
z coordinates
Definition Point3D.h:15
void Print()
Definition Point3D.cpp:22
double y
y coordinates
Definition Point3D.h:14
double x
x coordinates
Definition Point3D.h:13