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

43 lines
929 B
C
Raw 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 PLATFORMSTAIR_H
#define PLATFORMSTAIR_H
#include "Stair.h"
struct PlatformStair {
/** stair to the platform */
Stair s1;
/** platform in the center */
BBox2 platform;
/** stair from the platform */
Stair s2;
PlatformStair() : s1(), platform(), s2() {;}
// PlatformStair(const Line2& startEdge, const Line2& endEdge, const int w2, const int w2) {
// s1.start = startEdge;
// s2.start = endEdge;
// Point2 edgeDir = startEdge.p2 - startEdge.p1;
// Point2 perp(edgeDir.y, -edgeDir.x);
// platform.add(startEdge.p1 + perp);
// plat
// }
};
#endif // PLATFORMSTAIR_H