API Reference
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
DB.Api.Plane Class Reference

Class to handle plane objects. More...

Public Member Functions

bool SetAttribute (string attributeName, string value)
 Sets an attribute with the supplied name to the supplied value.
 
string GetAttribute (string attributeName)
 Returns the string value of the attribute with the supplied name.
 
int GetAttributeAsInt (string attributeName)
 Returns the integer value of the attribute with the supplied name (same as GetIntegerAttribute). If the value of the attribute is not an integer value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an integer value.
 
double GetAttributeAsDouble (string attributeName)
 Returns the double value of the attribute with the supplied name. If the value of the attribute is not a double value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an double value.
 
int GetIntegerAttribute (string attributeName)
 Returns the integer value of the attribute with the supplied name (same as GetAttributeAsInt). If the value of the attribute is not an integer value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an integer value.
 
DataObject GetAttributeDataObject (string attributeName)
 Returns a DataObject object associated with the attribute of the supplied name.
 
bool IsAttributeTrue (string attributeName)
 Returns boolean value (TRUE/FALSE) of the attribute with the supplied name.
 
void Dispose ()
 

Properties

Collections.Polygons Polygons [get]
 Processes the plane polygon and returns a collection of polygons that conform to EnergyPlus constraints.
 
Collections.Polygons PolygonsTriangulated [get]
 Triangulates the plane polygon and returns a collection of triangles that conform to EnergyPlus constraints.
 
bool IsGbXmlSurface [get]
 Returns a bolean value that indicates whether or not the plane is a surface imported from a gbXML file.
 

Detailed Description

Class to handle plane objects.

Member Function Documentation

◆ GetAttribute()

string DB.Api.Plane.GetAttribute ( string  attributeName)

Returns the string value of the attribute with the supplied name.

Parameters
attributeNameName of attribute from which value is to be retrieved
Returns
TRUE if attribute is retrieved successfully otherwise FALSE

◆ GetAttributeAsDouble()

double DB.Api.Plane.GetAttributeAsDouble ( string  attributeName)

Returns the double value of the attribute with the supplied name. If the value of the attribute is not a double value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an double value.

Parameters
attributeNameName of attribute from which double value is to be retrieved
Returns
Double value of attribute

◆ GetAttributeAsInt()

int DB.Api.Plane.GetAttributeAsInt ( string  attributeName)

Returns the integer value of the attribute with the supplied name (same as GetIntegerAttribute). If the value of the attribute is not an integer value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an integer value.

Parameters
attributeNameName of attribute from which integer value is to be retrieved
Returns
Integer value of attribute

◆ GetAttributeDataObject()

DataObject DB.Api.Plane.GetAttributeDataObject ( string  attributeName)

Returns a DataObject object associated with the attribute of the supplied name.

Parameters
attributeNameName of attribute from which DataObject object is to be retrieved
Returns
DataObject object

◆ GetIntegerAttribute()

int DB.Api.Plane.GetIntegerAttribute ( string  attributeName)

Returns the integer value of the attribute with the supplied name (same as GetAttributeAsInt). If the value of the attribute is not an integer value, the return value is undefined. To use this method, foreknowledge is required that the value of the attribute is in fact an integer value.

Parameters
attributeNameName of attribute from which integer value is to be retrieved
Returns
Integer value of attribute

◆ IsAttributeTrue()

bool DB.Api.Plane.IsAttributeTrue ( string  attributeName)

Returns boolean value (TRUE/FALSE) of the attribute with the supplied name.

Parameters
attributeNameAttribute name
Returns
TRUE if boolean value of attribute is true otherwise FALSE

◆ SetAttribute()

bool DB.Api.Plane.SetAttribute ( string  attributeName,
string  value 
)

Sets an attribute with the supplied name to the supplied value.

Parameters
attributeNameName of attribute to be set
valueValue to which attribute is to be set
Returns
TRUE if attribute is set successfully otherwise FALSE

The documentation for this class was generated from the following file: