-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPoint.h
More file actions
32 lines (25 loc) · 694 Bytes
/
Point.h
File metadata and controls
32 lines (25 loc) · 694 Bytes
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
// ===========================================================================
// Point.h
// ===========================================================================
#pragma once
#include <iostream>
namespace Rectangles {
class Point
{
private:
double m_x;
double m_y;
public:
// c'tor(s)
Point();
Point(double, double);
// getter/setter
double getX();
double getY();
void setX(double);
void setY(double);
};
}
// ===========================================================================
// End-of-File
// ===========================================================================