-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPunto3D.h
32 lines (26 loc) · 838 Bytes
/
Punto3D.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Punto3D.h: interface for the Punto3D class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PUNTO3D_H__6453BB38_81BE_42B6_9B28_01E3C1DBF084__INCLUDED_)
#define AFX_PUNTO3D_H__6453BB38_81BE_42B6_9B28_01E3C1DBF084__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Punto2D.h"
class Punto3D : public Punto2D {
private:
double z, l;
public:
Punto3D(double, double, double);
Punto3D(Punto3D *);
Punto3D();
virtual ~Punto3D();
int modZ(double);
double cogerZ(void) { return z; }
int modL(double);
double cogerL(void) { return l; }
Punto3D& operator= (const Punto3D&);
Punto3D& operator+ (const Punto3D&);
Punto3D& operator- (const Punto3D&);
};
#endif // !defined(AFX_PUNTO3D_H__6453BB38_81BE_42B6_9B28_01E3C1DBF084__INCLUDED_)