RelConnectsSurfaceEdge Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class RelConnectsSurfaceEdge : StructuralAnalysisObjectBase, IEquatable<RelConnectsSurfaceEdge>, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasTranslationConstraints<Pressure?>, IHasTranslationConstraintsBase<Constraint<Pressure?>>, IHasRotationalConstraints<RotationalStiffnessPerLength?>, IHasRotationalConstraintsBase<Constraint<RotationalStiffnessPerLength?>>, IHasEdgeIndexOfStructuralSurfaceMember, IHasEdgeIndex, IHasCoordinateDefinition, IHasParentId
The RelConnectsSurfaceEdge type exposes the following members.
Name | Description | |
---|---|---|
RelConnectsSurfaceEdge |
Create a hinge on the provide StructuralSurfaceMember and the provided edge index
|
Name | Description | |
---|---|---|
CoordinateDefinition |
Specifies the coordinate system that is used to define the length.
| |
Edge |
The 0-based index of the edge of the Edges on which the hinge is connected
| |
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.) | |
Member2D |
The StructuralSurfaceMember on which the hinge 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;
|
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
Equals(RelConnectsSurfaceEdge) | Indicates whether the current object is equal to another object of the same type. | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
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 RelConnectsSurfaceEdgeExample : BaseExample<RelConnectsSurfaceEdge> { protected override IReadOnlyCollection<RelConnectsSurfaceEdge> CreateAnalysisObjects(AnalysisModel model) { IReadOnlyDictionary<string, StructuralSurfaceMember> surfaces = model.OfType<StructuralSurfaceMember>().ToDictionary(x => x.Name, x => x); return new[] { new RelConnectsSurfaceEdge(Guid.NewGuid(), "L1", surfaces["S8"], 3) { RotationX = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null) }, new RelConnectsSurfaceEdge(Guid.NewGuid(), "L2", surfaces["S8"], 0) { CoordinateDefinition = CoordinateDefinition.Absolute, StartPointRelative = null, StartPointAbsolute = Length.Zero, EndPointRelative = null, EndPointAbsolute = Length.FromCentimeters(20D), RotationX = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null) }, new RelConnectsSurfaceEdge(Guid.NewGuid(), "L3", surfaces["S8"], 2) { RotationX = new Constraint<RotationalStiffnessPerLength?>(ConstraintType.Free, null) }, }; } } }