OpenStudio:energyplus
Loading...
Searching...
No Matches
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
 
 GeometryTranslator (const openstudio::Workspace &workspace)
 constructor with an EnergyPlus Workspace
 

Related Symbols

(Note that these are not member symbols.)

openstudio::Point3dVector getVertices (unsigned firstVertex, const IdfObject &surface)
 Get vertices for a surface.
 
bool setVertices (unsigned firstVertex, WorkspaceObject &surface, const openstudio::Point3dVector &vertices)
 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)
 Convert azimuth, tilt, starting x, y, z, length, and width to vertices azimith and tilt are in degrees.
 

Constructor & Destructor Documentation

◆ GeometryTranslator()

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

constructor with an EnergyPlus Workspace

Member Function Documentation

◆ convert()

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 Symbol Documentation

◆ getVertices()

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

Get vertices for a surface.

◆ setVertices()

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

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

◆ verticesForAzimuthTiltXYZLengthWidthOrHeight()

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.