CurveStructuralReferenceOnOpeningEdge Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralReferences.Curves
public sealed class CurveStructuralReferenceOnOpeningEdge : ICurveStructuralReference, IHasEdgeIndex, IEquatable<CurveStructuralReferenceOnOpeningEdge>
The CurveStructuralReferenceOnOpeningEdge type exposes the following members.
Name | Description | |
---|---|---|
CurveStructuralReferenceOnOpeningEdge |
Create information about a line force on the provided StructuralSurfaceMemberOpening |
Name | Description | |
---|---|---|
Edge |
The index of edge on the opening on which the line force is applied
| |
Opening |
The StructuralSurfaceMemberOpening on which the line force is applied
|
Name | Description | |
---|---|---|
Equals(CurveStructuralReferenceOnOpeningEdge) | Indicates whether the current object is equal to another object of the same type. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) |
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ModelExchanger.AnalysisDataModel.Enums; using ModelExchanger.AnalysisDataModel.Loads; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using ModelExchanger.AnalysisDataModel.StructuralReferences.Curves; using UnitsNet; namespace ModelExchanger.AnalysisDataModel.Example.Loads { public sealed class StructuralCurveActionOnOpeningEdgeExample : BaseExample<StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>> { protected override IReadOnlyCollection<StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>> CreateAnalysisObjects(AnalysisModel model) { var loadCase = model.OfType<StructuralLoadCase>().Single(analysisObject => analysisObject.Name == "LC2"); var opening = model.OfType<StructuralSurfaceMemberOpening>().Single(analysisObject => analysisObject.Name == "O7"); var curveActionOne = new StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>( Guid.NewGuid(), "LFS9", CurveForceAction.OnOpeningEdge, ForcePerLength.FromKilonewtonsPerMeter(2), loadCase, new CurveStructuralReferenceOnOpeningEdge(opening, 3)) { Type = ActionLoadType.Standard, Distribution = CurveDistribution.Uniform, Direction = ActionDirection.Z, CoordinateSystem = CoordinateSystem.Global, Location = Location.Length, CoordinateDefinition = CoordinateDefinition.Relative, Origin = Origin.FromStart, Extent = ExtentOfForceOnBeam.Full, StartPointRelative = 0.5, EndPointRelative = 1, StartPointAbsolute = null, EndPointAbsolute = null, EccentricityEy = Length.FromMeters(0), EccentricityEz = Length.FromMeters(0) }; var curveActionTwo = new StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>( Guid.NewGuid(), "LFS10", CurveForceAction.OnOpeningEdge, ForcePerLength.FromKilogramsForcePerMeter(-4), loadCase, new CurveStructuralReferenceOnOpeningEdge(opening, 3)) { Type = ActionLoadType.Standard, Distribution = CurveDistribution.Trapezoidal, Direction = ActionDirection.Z, CoordinateSystem = CoordinateSystem.Local, Location = Location.Length, CoordinateDefinition = CoordinateDefinition.Relative, Origin = Origin.FromStart, Extent = ExtentOfForceOnBeam.Full, StartPointRelative = 0, EndPointRelative = 1, StartPointAbsolute = null, EndPointAbsolute = null, EccentricityEy = Length.FromMeters(0), EccentricityEz = Length.FromMeters(0), Value2 = ForcePerLength.FromKilogramsForcePerMeter(2) }; return new[] { curveActionOne , curveActionTwo }; } } }