#include <PrjObjects.hpp>
Public Member Functions | |
Constructors and Destructors | |
| WindPressureProfile () | |
| Create a new object with default values. | |
| WindPressureProfile (int nr, int type, std::string name, std::string desc, std::vector< PressureCoefficientPoint > coeffs) | |
| Create a new object. | |
| WindPressureProfile (const WindPressureProfile &other) | |
| Create a new object from another object. | |
| ~WindPressureProfile ()=default | |
| Destroy the object. | |
Operators | |
| WindPressureProfile & | operator= (const WindPressureProfile &other) |
| Copy operator. | |
| bool | operator== (const WindPressureProfile &other) const |
| Equality operator. | |
| bool | operator!= (const WindPressureProfile &other) const |
| Inequality operator. | |
Input and Output | |
| void | read (Reader &input) |
| Read an object from a Reader. | |
| std::string | write () |
| Write the object to a string. | |
Getters and Setters | |
| int | nr () const |
| Returns the profile number, in order from 1 to the number of profiles. | |
| void | setNr (const int nr) |
| Sets the profile number. | |
| int | type () const |
| Returns the profile type: 1 = linear, 2 = cubic spline, 3 = trigonometric. | |
| void | setType (const int type) |
| Sets the profile type: 1 = linear, 2 = cubic spline, 3 = trigonometric. | |
| std::string | name () const |
| Returns the profile name. | |
| void | setName (const std::string &name) |
| Sets the profile name. | |
| std::string | desc () const |
| Returns the profile description. | |
| void | setDesc (const std::string &desc) |
| Sets the profile description. | |
| std::vector< PressureCoefficientPoint > | coeffs () const |
| Returns the wind pressure coefficient data points as a vector. | |
| void | setCoeffs (const std::vector< PressureCoefficientPoint > &coeffs) |
| Sets the wind pressure coefficient data point vector. | |
WindPressureProfile objects store pressure coefficient as a function of angle from north.
| openstudio::contam::WindPressureProfile::WindPressureProfile | ( | ) |
Create a new object with default values.
| openstudio::contam::WindPressureProfile::WindPressureProfile | ( | int | nr, |
| int | type, | ||
| std::string | name, | ||
| std::string | desc, | ||
| std::vector< PressureCoefficientPoint > | coeffs ) |
Create a new object.
| openstudio::contam::WindPressureProfile::WindPressureProfile | ( | const WindPressureProfile & | other | ) |
Create a new object from another object.
|
default |
Destroy the object.
| std::vector< PressureCoefficientPoint > openstudio::contam::WindPressureProfile::coeffs | ( | ) | const |
Returns the wind pressure coefficient data points as a vector.
| std::string openstudio::contam::WindPressureProfile::desc | ( | ) | const |
Returns the profile description.
| std::string openstudio::contam::WindPressureProfile::name | ( | ) | const |
Returns the profile name.
| int openstudio::contam::WindPressureProfile::nr | ( | ) | const |
Returns the profile number, in order from 1 to the number of profiles.
| bool openstudio::contam::WindPressureProfile::operator!= | ( | const WindPressureProfile & | other | ) | const |
Inequality operator.
| WindPressureProfile & openstudio::contam::WindPressureProfile::operator= | ( | const WindPressureProfile & | other | ) |
Copy operator.
| bool openstudio::contam::WindPressureProfile::operator== | ( | const WindPressureProfile & | other | ) | const |
Equality operator.
| void openstudio::contam::WindPressureProfile::setCoeffs | ( | const std::vector< PressureCoefficientPoint > & | coeffs | ) |
Sets the wind pressure coefficient data point vector.
| void openstudio::contam::WindPressureProfile::setDesc | ( | const std::string & | desc | ) |
Sets the profile description.
| void openstudio::contam::WindPressureProfile::setName | ( | const std::string & | name | ) |
Sets the profile name.
| void openstudio::contam::WindPressureProfile::setNr | ( | const int | nr | ) |
Sets the profile number.
This should only be done with care.
| void openstudio::contam::WindPressureProfile::setType | ( | const int | type | ) |
Sets the profile type: 1 = linear, 2 = cubic spline, 3 = trigonometric.
| int openstudio::contam::WindPressureProfile::type | ( | ) | const |
Returns the profile type: 1 = linear, 2 = cubic spline, 3 = trigonometric.
| std::string openstudio::contam::WindPressureProfile::write | ( | ) |
Write the object to a string.