Skip to content

BH.oM.Base.IObject

Interface structure

Interfaces implementing this interface

The following interfaces are implementing this interface:

Classes implementing this interface

The following classes are implementing this interface:

Properties

Derived properties

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

Name Type Description Quantity Engine
Hash string Computes a Hash code for the iObject. The hash uniquely represents an object's state, based on its properties and their values. It can be used for comparisons.
You can change how the hash is computed by changing the settings in the ComparisonConfig.
- BHoM_Engine
IGeometry3D IGeometry Queries a three-dimensional geometry out of an IObject, if available. This geometry may be used for downstream tasks such as graphical representation, volume determination, or others. - BHoM_Engine
RenderMesh RenderMesh Returns a RenderMesh of the object, that is a mesh usable for graphical display. - Graphics_Engine

Code and Schema

C# implementation

C#
public interface IObject

Assembly: BHoM.dll

The C# interface 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/BHoM/IObject.json"
}

The JSON Schema is available on github here: