StructuralSurfaceMemberRegion Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class StructuralSurfaceMemberRegion : StructuralAnalysisObjectBase, IEquatable<StructuralSurfaceMemberRegion>, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasParentId, IHasArea
The StructuralSurfaceMemberRegion type exposes the following members.
Name | Description | |
---|---|---|
StructuralSurfaceMemberRegion |
Create a region on the provided StructuralSurfaceMember, consisting out of the provided StructuralMaterial and defined by the provided CurveTCoordinate's
|
Name | Description | |
---|---|---|
Alignment |
Determines the position of the system-line of the structural surface member
| |
Area |
The area of the member
The application providing the ModelExchanger.AnalysisDataModel should calculate this field.
| |
EccentricityEz |
The eccentricity of the system-line in the Z direction
| |
Edges |
The CurveTCoordinate's which define the shape of the member
| |
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
Material |
The StructuralMaterial out of which the region consists
| |
Member2D |
The StructuralSurfaceMember on which the region is created
| |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
ParentId |
The ID of the parent object of the same type
| |
Thickness |
The thickness of the region
|
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
Equals(StructuralSurfaceMemberRegion) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
ToObjectIdentifier |
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier (Defined by IAnalysisObjectExtensions.) |
using System; using System.Collections.Generic; using System.Linq; using ModelExchanger.AnalysisDataModel.Enums; using ModelExchanger.AnalysisDataModel.Libraries; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using ModelExchanger.AnalysisDataModel.Subtypes; namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements { public sealed class StructuralSurfaceMemberRegionExample : BaseExample<StructuralSurfaceMemberRegion> { protected override IReadOnlyCollection<StructuralSurfaceMemberRegion> CreateAnalysisObjects(AnalysisModel model) { IReadOnlyDictionary<string, StructuralPointConnection> nodes = model.OfType<StructuralPointConnection>().ToDictionary(x => x.Name, x => x); IReadOnlyDictionary<string, StructuralMaterial> materials = model.OfType<StructuralMaterial>().ToDictionary(x => x.Name, x => x); IReadOnlyDictionary<string, StructuralSurfaceMember> surfaces = model.OfType<StructuralSurfaceMember>().ToDictionary(x => x.Name, x => x); return new[] { new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R1", surfaces["S6"], new [] { new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N74"], nodes["N75"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N75"], nodes["N76"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N76"], nodes["N77"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N77"], nodes["N74"]}), }, materials["MAT1"]), new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R2", surfaces["S6"], new [] { new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N78"], nodes["N79"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N79"], nodes["N80"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N80"], nodes["N81"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N81"], nodes["N78"]}), }, materials["MAT1"]), new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R3", surfaces["S6"], new [] { new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N6"], nodes["N7"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N7"], nodes["N82"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N82"], nodes["N83"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N83"], nodes["N6"]}), }, materials["MAT1"]), new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R4", surfaces["S6"], new [] { new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N1"], nodes["N2"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N2"], nodes["N86"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N86"], nodes["N85"]}), new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N85"], nodes["N1"]}), }, materials["MAT1"]) }; } } }