StructuralPointSupport Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class StructuralPointSupport : StructuralAnalysisObjectBase, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasBoundaryNodeCondition<ForcePerLength?, RotationalStiffness?>, IHasBoundaryNodeConditionBase, IHasTranslationConstraints<ForcePerLength?>, IHasTranslationConstraintsBase<Constraint<ForcePerLength?>>, IHasRotationalConstraints<RotationalStiffness?>, IHasRotationalConstraintsBase<Constraint<RotationalStiffness?>>, IEquatable<StructuralPointSupport>
The StructuralPointSupport type exposes the following members.
Name | Description | |
---|---|---|
StructuralPointSupport |
Create a support in a node.
By default, all constraints are Rigid |
Name | Description | |
---|---|---|
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
Node |
The node to which the support is connected
| |
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
| |
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(StructuralPointSupport) | 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 | |
---|---|---|
GetRotationConstraintsNullableRotationalStiffness |
Retrieve the rotational constraints from an object which implements IHasRotationalConstraintsT (Defined by ConstraintExtensions.) | |
GetTranslationConstraintsNullableForcePerLength |
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 StructuralPointSupportExample : BaseExample<StructuralPointSupport> { protected override IReadOnlyCollection<StructuralPointSupport> CreateAnalysisObjects(AnalysisModel model) { return new[] { new StructuralPointSupport(Guid.NewGuid(), "Sn1", model.OfType<StructuralPointConnection>().Single(x => x.Name == "N65")) { TranslationX = new Constraint<ForcePerLength?>(ConstraintType.Rigid, null), TranslationY = new Constraint<ForcePerLength?>(ConstraintType.Rigid, null), TranslationZ = new Constraint<ForcePerLength?>(ConstraintType.Rigid, null), RotationX = new Constraint<RotationalStiffness?>(ConstraintType.Rigid, null), RotationY = new Constraint<RotationalStiffness?>(ConstraintType.Rigid, null), RotationZ = new Constraint<RotationalStiffness?>(ConstraintType.Rigid, null) } }; } } }