#ifndef STAIR_H #define STAIR_H #include "../geo/BBox2.h" #include "../geo/Point2.h" /** a simple stair with a slope from A to B */ struct Stair { /** starting line of the stair */ Line2 start; /** the direction to move all the starting points to */ Point2 dir; /** empty ctor */ Stair() : start(), dir() {;} /** ctor with starting edge and stair-direction */ Stair(const Line2& start, const Point2& dir) : start(start), dir(dir) {;} }; #endif // STAIR_H