mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
19 lines
304 B
C++
19 lines
304 B
C++
#ifndef GEOMETRY_POINT_H
|
|
#define GEOMETRY_POINT_H
|
|
|
|
#include "figure.h"
|
|
namespace Geometry {
|
|
|
|
class PointNode : public FigureNode {
|
|
virtual FigureType type() const override { return FigureType::Point; }
|
|
};
|
|
|
|
class Point : public Figure {
|
|
public:
|
|
Point(const PointNode * n) : Figure(n) {}
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|