2019-03-27 15:08:28 +00:00
|
|
|
#ifndef DOT_H
|
|
|
|
#define DOT_H
|
|
|
|
|
|
|
|
#include <cstdint>
|
2019-03-28 08:38:35 +00:00
|
|
|
#include <stdexcept>
|
2019-03-27 15:08:28 +00:00
|
|
|
|
|
|
|
class Dot
|
|
|
|
{
|
|
|
|
public:
|
2019-03-28 08:38:35 +00:00
|
|
|
Dot(uint16_t x, uint16_t y, uint8_t curve);
|
2019-03-27 15:08:28 +00:00
|
|
|
uint16_t getX(void) const;
|
|
|
|
uint16_t getY(void) const;
|
2019-03-28 08:38:35 +00:00
|
|
|
uint8_t getCurve(void) const;
|
2019-03-27 15:08:28 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
uint16_t x, y;
|
2019-03-28 08:38:35 +00:00
|
|
|
uint8_t curve;
|
2019-03-27 15:08:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // DOT_H
|