This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Indoor/floorplan/Stair.h
FrankE 0e05f4bef8 started removing KLib related code:
- assertions
- distributions
new helper methods
worked on stairs
worked on grid-walkers
worked on navigation
2016-01-27 20:03:58 +01:00

26 lines
472 B
C

#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