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
2018-10-25 11:50:12 +02:00

36 lines
807 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* © Copyright 2014 Urheberrechtshinweis
* Alle Rechte vorbehalten / All Rights Reserved
*
* Programmcode ist urheberrechtlich geschuetzt.
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
* Keine Verwendung ohne explizite Genehmigung.
* (vgl. § 106 ff UrhG / § 97 UrhG)
*/
#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