StructuralCurveConnection Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class StructuralCurveConnection : StructuralAnalysisObjectBase, IEquatable<StructuralCurveConnection>, IHasBoundaryNodeCondition<Pressure?, RotationalStiffnessPerLength?>, IHasBoundaryNodeConditionBase, IHasTranslationConstraints<Pressure?>, IHasTranslationConstraintsBase<Constraint<Pressure?>>, IHasRotationalConstraints<RotationalStiffnessPerLength?>, IHasRotationalConstraintsBase<Constraint<RotationalStiffnessPerLength?>>, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasCoordinateDefinition, IHasParentId
The StructuralCurveConnection type exposes the following members.
Name | Description | |
---|---|---|
StructuralCurveConnection(Guid, String, StructuralCurveMember) |
Create a line support which is connected to a StructuralCurveMember | |
StructuralCurveConnection(Guid, String, StructuralCurveMemberRib) |
Create a line support which is connected to a StructuralCurveMemberRib |
Name | Description | |
---|---|---|
CoordinateDefinition |
Specifies the coordinate system that is used to define the length.
| |
CoordinateSystem |
Defines the coordinate system of the member in which the support is applied
| |
EndPointAbsolute |
Defines the position of the end point in absolute coordinates
| |
EndPointRelative |
Defines the position of the end point in relative coordinates
| |
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
Member |
The StructuralCurveMember to which the support is connected
| |
MemberRib |
The StructuralCurveMemberRib to which the support is connected
| |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
Origin |
Specifies the origin of the coordinate system used for the definition of the length
| |
ParentId |
The ID of the parent object of the same type
| |
RotationX |
Rotational stiffness & the flexibility in rotation of the connection around local X axis
| |
RotationY |
Rotational stiffness & the flexibility in rotation of the connection around local Y axis
| |
RotationZ |
Rotational stiffness & the flexibility in rotation of the connection around local Z axis
| |
StartPointAbsolute |
Defines the position of the start point in absolute coordinates
| |
StartPointRelative |
Defines the position of the start point in relative coordinates
| |
TranslationX |
Translation & flexibility of the connection in the X direction;
| |
TranslationY |
Translation & flexibility of the connection in the Y direction;
| |
TranslationZ |
Translation & flexibility of the connection in the Z direction;
| |
Type |
The way the support acts in individual directions
The value is determined by looking at the constraints.
|
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(StructuralCurveConnection) | 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 | |
---|---|---|
GetRotationConstraintsNullableRotationalStiffnessPerLength |
Retrieve the rotational constraints from an object which implements IHasRotationalConstraintsT (Defined by ConstraintExtensions.) | |
GetTranslationConstraintsNullablePressure |
Retrieve the translational constraints from an object which implements IHasTranslationConstraintsTStiffness (Defined by ConstraintExtensions.) | |
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.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using ModelExchanger.AnalysisDataModel.Subtypes; using UnitsNet; namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements { public sealed class StructuralCurveConnectionExample : BaseExample<StructuralCurveConnection> { protected override IReadOnlyCollection<StructuralCurveConnection> CreateAnalysisObjects(AnalysisModel model) { IReadOnlyDictionary<string, StructuralCurveMember> beams = model.OfType<StructuralCurveMember>().ToDictionary(x => x.Name, x => x); IReadOnlyDictionary<string, StructuralCurveMemberRib> ribs = model.OfType<StructuralCurveMemberRib>().ToDictionary(x => x.Name, x => x); return new[] { new StructuralCurveConnection(Guid.NewGuid(), "Slb1", beams["B4"]) { TranslationX = new Constraint<Pressure?>(ConstraintType.Flexible, Pressure.Zero), TranslationY = new Constraint<Pressure?>(ConstraintType.Flexible, Pressure.Zero), TranslationZ = new Constraint<Pressure?>(ConstraintType.Flexible, Pressure.Zero), RotationX = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Flexible, RotationalStiffnessPerLength.Zero), RotationY = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Flexible, RotationalStiffnessPerLength.Zero), RotationZ = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Flexible, RotationalStiffnessPerLength.Zero), Origin = Origin.FromEnd, CoordinateDefinition = CoordinateDefinition.Absolute, StartPointRelative = null, StartPointAbsolute = Length.FromCentimeters(20), EndPointRelative = null, EndPointAbsolute = Length.FromCentimeters(150) }, new StructuralCurveConnection(Guid.NewGuid(), "Slb2", ribs["B37"]) { RotationX = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null), RotationY = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null), RotationZ = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null), } }; } } }