Skip to content

BH.oM.Lighting.Results.Mesh.MeshElementResult

Base class for all discrete mesh element results, that is a result for an individual node. Stores all identifier information and how to sort the results in a collection

Class structure

Implemented interfaces and base types

The MeshElementResult is inheriting from the following base type(s) and implements the following interfaces:

Classes inheriting from this class

The following classes are inheriting from this class:
  • BH.oM.Lighting.Results.Illuminance.Lux

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
ObjectId IComparable ID of the AnalysisGrid that this result belongs to -
NodeId IComparable Id of the Node in the mesh that this result belongs to. Will be empty for face-based results. When extracted from an analysis package, the Node id will correspond to the node id in the software and match the format and value used in that particular package. -
MeshFaceId IComparable Id of the FEFace that this result belongs to. Will be empty for node-based results. When extracted from an analysis package, the face id will correspond to the face id in the software and match the format and value used in that particular package. -
ResultCase IComparable Identifier for the Analysis Case that the result belongs to. Is generally name or number of the analysis -

Derived properties

The following properties are defined as extension methods in one of the BHoM_Engines

Name Type Description Quantity Engine
AllIdentifierProperties List<string> Gets the name of all properties of the result that are of identifier types. This is all properties tagged with any IdentifierAttribute. - Results_Engine
ObjectIdentifierProperties List<string> Gets the name of all properties of the result that are of ObjectIdentifier types. This is all properties tagged with the ObjectIdentifierAttribute. - Results_Engine
ResultPropertyKeys List<string> Returns the result value carrying properties available for the result type provided. Currently only supported for IResultItem and IResultCollection<IResultItem> type results. - Results_Engine
ScenarioIdentifierProperties List<string> Gets the name of all properties of the result that are of Scenario types. This is all properties tagged with the ScenarioIdentifierAttribute. - Results_Engine

Code and Schema

C# implementation

C#
public abstract class MeshElementResult : BH.oM.Analytical.Results.IMeshElementResult,
BH.oM.Analytical.Results.IResult,
BH.oM.Base.IObject,
System.IComparable<BH.oM.Analytical.Results.IResult>,
BH.oM.Base.IImmutable,
BH.oM.Analytical.Results.IObjectIdResult,
BH.oM.Analytical.Results.ICasedResult,
BH.oM.Analytical.Results.IResultSeries

Assembly: Lighting_oM.dll

The C# abstract 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/Lighting_oM/Results/Mesh/MeshElementResult.json"
}

The JSON Schema is available on github here: