Add geometry handling.
This commit is contained in:
parent
9c116b1efd
commit
c1389218f2
37 changed files with 294 additions and 278 deletions
|
@ -4,20 +4,20 @@
|
|||
|
||||
class DiscretePoint
|
||||
{
|
||||
unsigned mX;
|
||||
unsigned mY;
|
||||
unsigned mX;
|
||||
unsigned mY;
|
||||
|
||||
public:
|
||||
|
||||
DiscretePoint(unsigned x, unsigned y);
|
||||
DiscretePoint(unsigned x, unsigned y);
|
||||
|
||||
~DiscretePoint();
|
||||
~DiscretePoint();
|
||||
|
||||
std::shared_ptr<DiscretePoint> Create(unsigned x, unsigned y);
|
||||
std::shared_ptr<DiscretePoint> Create(unsigned x, unsigned y);
|
||||
|
||||
unsigned GetX() const;
|
||||
unsigned GetX() const;
|
||||
|
||||
unsigned GetY() const;
|
||||
unsigned GetY() const;
|
||||
};
|
||||
|
||||
using Pixel = DiscretePoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue