Click or drag to resize

CurveStructuralReferenceOnRib Class

[This is preliminary documentation and is subject to change.]

Defines information about a line force on a StructuralCurveMemberRib.
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.StructuralReferences.CurvesCurveStructuralReferenceOnRib

Namespace:  ModelExchanger.AnalysisDataModel.StructuralReferences.Curves
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class CurveStructuralReferenceOnRib : ICurveStructuralReference, 
	IEquatable<CurveStructuralReferenceOnRib>

The CurveStructuralReferenceOnRib type exposes the following members.

Constructors
  NameDescription
Public methodCurveStructuralReferenceOnRib
Create information about a line force on the provided StructuralCurveMemberRib
Top
Properties
  NameDescription
Public propertyReferenceMember
The StructuralCurveMemberRib on which the line force is applied
Top
Methods
  NameDescription
Public methodEquals(CurveStructuralReferenceOnRib)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Top
Examples
Creating an instance acting on a rib
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
                },
            };
        }
    }
}
See Also