BH.oM.Spatial.Layouts.ILayout2D¶
Base interface for all 2D layouts
Interface structure¶
Implemented interfaces and base types¶
The ILayout2D is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Base.IBHoMObject
- BH.oM.Base.IObject
Classes implementing this interface¶
The following classes are implementing this interface:
- BH.oM.Spatial.Layouts.ExplicitLayout
- BH.oM.Spatial.Layouts.LinearLayout
- BH.oM.Spatial.Layouts.MultiLinearLayout
- BH.oM.Spatial.Layouts.PerimeterLayout
Properties¶
Derived properties¶
The following properties are defined as extension methods in one of the BHoM_Engines
Name | Type | Description | Quantity | Engine |
---|---|---|---|---|
IsNull | bool | Checks if an Layout2D is null and outputs relevant error message. | - | Spatial_Engine |
Code and Schema¶
C# implementation¶
Assembly: Spatial_oM.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/Spatial_oM/Layouts/ILayout2D.json"
}
The JSON Schema is available on github here: