StructuralStorey Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class StructuralStorey : StructuralAnalysisObjectBase, IEquatable<StructuralStorey>
The StructuralStorey type exposes the following members.
| Name | Description | |
|---|---|---|
| StructuralStorey |
Create a new storey with a given height
|
| Name | Description | |
|---|---|---|
| HeightLevel |
The height of the storey, from the horizontal plane of the Global Coordinate System.
A value of zero indicates that the height level is the horizontal plane of the Global Coordinate System
| |
| Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
| Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) |
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
| Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
| Equals(StructuralStorey) | ||
| GetHashCode | (Overrides StructuralAnalysisObjectBaseGetHashCode.) |
| Name | Description | |
|---|---|---|
| PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
using System; using System.Collections.Generic; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using UnitsNet; namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements { public sealed class StructuralStoreyExample : BaseExample<StructuralStorey> { protected override IReadOnlyCollection<StructuralStorey> CreateAnalysisObjects(AnalysisModel model) { return new[] { new StructuralStorey(Guid.NewGuid(), "Ground floor", Length.Zero), new StructuralStorey(Guid.NewGuid(), "First floor", Length.FromMeters(3.6D)) }; } } }