CurveStructuralReferenceOnRib Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralReferences.Curves
public sealed class CurveStructuralReferenceOnRib : ICurveStructuralReference, IEquatable<CurveStructuralReferenceOnRib>
The CurveStructuralReferenceOnRib type exposes the following members.
Name | Description | |
---|---|---|
CurveStructuralReferenceOnRib |
Create information about a line force on the provided StructuralCurveMemberRib |
Name | Description | |
---|---|---|
ReferenceMember |
The StructuralCurveMemberRib on which the line force is applied
|
Name | Description | |
---|---|---|
Equals(CurveStructuralReferenceOnRib) | 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 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 StructuralCurveActionOnRibExample : BaseExample<StructuralCurveAction<CurveStructuralReferenceOnRib>> { protected override IReadOnlyCollection<StructuralCurveAction<CurveStructuralReferenceOnRib>> CreateAnalysisObjects(AnalysisModel model) { StructuralCurveMemberRib rib = model.OfType<StructuralCurveMemberRib>().Single(x => x.Name == "B37"); StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().Single(x => x.Name == "LC2"); return new[] { new StructuralCurveAction<CurveStructuralReferenceOnRib>(Guid.NewGuid(), "LFS6", CurveForceAction.OnRib, ForcePerLength.FromKilonewtonsPerMeter(-3), loadCase, new CurveStructuralReferenceOnRib(rib)) { Direction = ActionDirection.Z, CoordinateSystem = CoordinateSystem.Global, CoordinateDefinition = CoordinateDefinition.Relative, StartPointRelative = 0.2D, EndPointRelative = 0.8D }, }; } } }