OpenStudio:energyplus
 All Classes Namespaces Functions Typedefs Enumerations Enumerator Pages
Classes | Public Member Functions | Related Functions | List of all members
openstudio::energyplus::GeometryTranslator Class Reference

#include <GeometryTranslator.hpp>

Public Member Functions

bool convert (const CoordinateSystem &detailedSystem, const CoordinateSystem &daylightingSystem)
 convert workspace to given coordinate systems all geometry will be converted to upper-left-corner, counterclockwise all simple geometry will be converted to detailed geometry More...
 
 GeometryTranslator (const openstudio::Workspace &workspace)
 constructor with an EnergyPlus Workspace More...
 

Related Functions

(Note that these are not member functions.)

openstudio::Point3dVector getVertices (unsigned firstVertex, const IdfObject &surface)
 Get vertices for a surface. More...
 
bool setVertices (unsigned firstVertex, WorkspaceObject &surface, const openstudio::Point3dVector &vertices)
 Set vertices for a surface, only detailed surfaces are supported. More...
 
openstudio::Point3dVector verticesForAzimuthTiltXYZLengthWidthOrHeight (double azimuth, double tilt, double x0, double y0, double z0, double length, double widthOrHeight)
 Convert azimuth, tilt, starting x, y, z, length, and width to vertices azimith and tilt are in degrees. More...
 

Constructor & Destructor Documentation

openstudio::energyplus::GeometryTranslator::GeometryTranslator ( const openstudio::Workspace &  workspace)

constructor with an EnergyPlus Workspace

Member Function Documentation

bool openstudio::energyplus::GeometryTranslator::convert ( const CoordinateSystem detailedSystem,
const CoordinateSystem daylightingSystem 
)

convert workspace to given coordinate systems all geometry will be converted to upper-left-corner, counterclockwise all simple geometry will be converted to detailed geometry

Friends And Related Function Documentation

openstudio::Point3dVector getVertices ( unsigned  firstVertex,
const IdfObject &  surface 
)
related

Get vertices for a surface.

bool setVertices ( unsigned  firstVertex,
WorkspaceObject &  surface,
const openstudio::Point3dVector &  vertices 
)
related

Set vertices for a surface, only detailed surfaces are supported.

openstudio::Point3dVector verticesForAzimuthTiltXYZLengthWidthOrHeight ( double  azimuth,
double  tilt,
double  x0,
double  y0,
double  z0,
double  length,
double  widthOrHeight 
)
related

Convert azimuth, tilt, starting x, y, z, length, and width to vertices azimith and tilt are in degrees.