25 lines
329 B
C
25 lines
329 B
C
|
//
|
||
|
// Created by maximilian on 16.04.22.
|
||
|
//
|
||
|
|
||
|
#ifndef PROG_GEOMETRY_H
|
||
|
#define PROG_GEOMETRY_H
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
using Coordinate = int;
|
||
|
using Unit = uint64_t;
|
||
|
using Index = size_t;
|
||
|
|
||
|
struct Point {
|
||
|
Coordinate x;
|
||
|
Coordinate y;
|
||
|
};
|
||
|
|
||
|
struct Interval {
|
||
|
Coordinate left;
|
||
|
Coordinate right;
|
||
|
};
|
||
|
|
||
|
#endif //PROG_GEOMETRY_H
|