-
Notifications
You must be signed in to change notification settings - Fork 0
/
Point.h
37 lines (25 loc) · 838 Bytes
/
Point.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
33
34
35
36
37
//-----------------------------------------------------------
// File : Point.h
// Class: COP 3003, Fall 2022
// Devl : Katarya Johnson-Williams
// Desc : Declaration of a Point class object
//---------------------------------------------------------
// HEADER GUARD
#ifndef PROJECT_SHAPES_CALCULATOR_POINT_H
#define PROJECT_SHAPES_CALCULATOR_POINT_H
class Point {
protected:
float x;
float y;
public:
// Constructors
//---------------------------------------------------------
Point(); // default constructor
// Accessors
//---------------------------------------------------------
float getCoordinateX();
void setCoordinateX(float value);
float getCoordinateY();
void setCoordinateY(float value);
};
#endif //PROJECT_SHAPES_CALCULATOR_POINT_H