BH.oM.Adapters.XML.GBXML.RoundingSettings¶
Class structure¶
Implemented interfaces and base types¶
The RoundingSettings is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Base.BHoMObject
- BH.oM.Base.IBHoMObject
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
| Name | Type | Description | Quantity |
|---|---|---|---|
| GeometricPoints | int | Define the number of decimal points to round the geometry coordinates to. Defaults is 4 | - |
| BuildingLocation | int | Define the number of decimal points to round the Building Location data to. Default is 5 | - |
| LayerThickness | int | Define the number of decimal points to round the Layer Thickness to. Default is 4 | - |
| MaterialConductivity | int | Define the number of decimal points to round the Material Conductivity to. Default is 3 | - |
| MaterialDensity | int | Define the number of decimal points to round the Material Density to. Default is 3 | - |
| MaterialReflectance | int | Define the number of decimal points to round the Material Reflectance to. This is both Solar and Light Reflectance. Default is 3 | - |
| MaterialTransmittance | int | Define the number of decimal points to round the Material Transmittance to. This is both Solar and Light Transmittance. Default is 3 | - |
| MaterialEmittance | int | Define the number of decimal points to round the Material Emittance to. Default is 3 | - |
| GeometryWidth | int | Define the number of decimal points to round the Width of geometry to. Default is 3 | - |
| GeometryHeight | int | Define the number of decimal points to round the Height of geometry to. Default is 3 | - |
| GeometryAzimuth | int | Define the number of decimal places to round the Azimuth of geometry to. Default is 3 | - |
| GeometryTilt | int | Define the number of decimal points to round the Tilt of geometry to. Default is 3 | - |
Inherited properties¶
The following properties are inherited from the base class of the object
| Name | Type | Description | Quantity |
|---|---|---|---|
| BHoM_Guid | Guid | - | - |
| Name | string | - | - |
| Fragments | FragmentSet | - | - |
| Tags | HashSet<string> | - | - |
| CustomData | Dictionary<string, object> | - | - |
Code and Schema¶
C# implementation¶
Assembly: XML_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/XML_oM/GBXML/RoundingSettings.json"
}
The JSON Schema is available on github here: