src/utilities/geometry/RoofGeometry.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef UTILITIES_GEOMETRY_ROOFGEOMETRY_HPP | ||
| 7 | #define UTILITIES_GEOMETRY_ROOFGEOMETRY_HPP | ||
| 8 | |||
| 9 | #include "../UtilitiesAPI.hpp" | ||
| 10 | #include "../core/Logger.hpp" | ||
| 11 | #include "Point3d.hpp" | ||
| 12 | |||
| 13 | namespace openstudio { | ||
| 14 | |||
| 15 | − | REGISTER_LOGGER("utilities.RoofGeometry"); | |
| 16 | |||
| 17 | /// Generate shed roof polygons | ||
| 18 | UTILITIES_API std::vector<std::vector<Point3d>> generateShedRoof(std::vector<Point3d>& polygon, double roofPitchDegrees, double directionDegrees); | ||
| 19 | |||
| 20 | /// Generate gable roof polygons | ||
| 21 | UTILITIES_API std::vector<std::vector<Point3d>> generateGableRoof(std::vector<Point3d>& polygon, double roofPitchDegrees); | ||
| 22 | |||
| 23 | /// Generate hip roof polygons | ||
| 24 | UTILITIES_API std::vector<std::vector<Point3d>> generateHipRoof(std::vector<Point3d>& polygon, double roofPitchDegrees); | ||
| 25 | |||
| 26 | } // namespace openstudio | ||
| 27 | |||
| 28 | #endif //UTILITIES_GEOMETRY_ROOFGEOMETRY_HPP | ||
| 29 |