OpenStudioCore:airflow
 All Classes Namespaces Functions Enumerations Enumerator
List of all members
openstudio::contam::PressureCoefficientPoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 PressureCoefficientPoint ()
 Create a new object with default values. More...
 
 PressureCoefficientPoint (double azm, double coef)
 Create a new object. More...
 
 PressureCoefficientPoint (std::string azm, std::string coef)
 Create a new object. More...
 
Input and Output
void read (Reader &reader)
 Read an object from a Reader. More...
 
std::string write ()
 Write the object to a string. More...
 
Getters and Setters
double azm () const
 Returns the wind azimuth value [degrees]. More...
 
bool setAzm (const double azm)
 Sets the wind azimuth value [degrees]. More...
 
bool setAzm (const std::string &azm)
 Sets the wind azimuth value [degrees]. More...
 
double coef () const
 Returns the normalized wind pressure coefficient. More...
 
bool setCoef (const double coef)
 Sets the normalized wind pressure coefficient. More...
 
bool setCoef (const std::string &coef)
 Sets the normalized wind pressure coefficient. More...
 

Detailed Description

The PressureCoefficientPoint object contains a single wind pressure coefficient data point.

The azimuthal angle is stored in degrees from north with the corresponding pressure coefficient.

Constructor & Destructor Documentation

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( )

Create a new object with default values.

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( double  azm,
double  coef 
)

Create a new object.

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( std::string  azm,
std::string  coef 
)

Create a new object.

Member Function Documentation

double openstudio::contam::PressureCoefficientPoint::azm ( ) const

Returns the wind azimuth value [degrees].

double openstudio::contam::PressureCoefficientPoint::coef ( ) const

Returns the normalized wind pressure coefficient.

void openstudio::contam::PressureCoefficientPoint::read ( Reader reader)

Read an object from a Reader.

bool openstudio::contam::PressureCoefficientPoint::setAzm ( const double  azm)

Sets the wind azimuth value [degrees].

bool openstudio::contam::PressureCoefficientPoint::setAzm ( const std::string &  azm)

Sets the wind azimuth value [degrees].

bool openstudio::contam::PressureCoefficientPoint::setCoef ( const double  coef)

Sets the normalized wind pressure coefficient.

bool openstudio::contam::PressureCoefficientPoint::setCoef ( const std::string &  coef)

Sets the normalized wind pressure coefficient.

std::string openstudio::contam::PressureCoefficientPoint::write ( )

Write the object to a string.