|
| 1 | +--- |
| 2 | +title: Joint |
| 3 | +--- |
| 4 | + |
| 5 | +# <small>BH.oM.Adapters.GSA.Elements.</small>**Joint** |
| 6 | + |
| 7 | +A joint describing linked degrees of freedom between nodes. Relates the displacement or force at the constrained degree of freedom to the primary degree of freedom without considering eccentricities. |
| 8 | + |
| 9 | +## Class structure |
| 10 | + |
| 11 | +### Implemented interfaces and base types |
| 12 | + |
| 13 | +???+ bhom "The Joint is inheriting from the following base type(s) and implements the following interfaces:" |
| 14 | + |
| 15 | + - BH.oM.Base.[BHoMObject](/api/oM/Framework/Base/BHoMObject) |
| 16 | + - BH.oM.Base.[IBHoMObject](/api/oM/Framework/Base/Interface/IBHoMObject) |
| 17 | + - BH.oM.Base.[IObject](/api/oM/Framework/Base/Interface/IObject) |
| 18 | + |
| 19 | + |
| 20 | +## Properties |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +### Defining properties |
| 25 | + |
| 26 | +The following properties are defined on the class |
| 27 | + |
| 28 | +| Name | Type | Description | Quantity | |
| 29 | +|------------------|------------------|------------------|------------------| |
| 30 | +| PrimaryNode | [Node](/api/oM/Analytical/Structure/Elements/Node) | Defines the primary node of the joint. | - | |
| 31 | +| ConstrainedNode | [Node](/api/oM/Analytical/Structure/Elements/Node) | Defines the constrained node of the joint. | - | |
| 32 | +| X | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the X-axis, i.e. true prohibits relative translation along the X-axis between primary and constrained node. | - | |
| 33 | +| Y | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the Y-axis, i.e. true prohibits relative translation along the Y-axis between primary and constrained node. | - | |
| 34 | +| Z | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for translations along the Z-axis, i.e. true prohibits relative translation along the Z-axis between primary and constrained node. | - | |
| 35 | +| XX | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the X-axis, i.e. true prohibits relative rotation about the X-axis between primary and constrained node. | - | |
| 36 | +| YY | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the Y-axis, i.e. true prohibits relative rotation about the Y-axis between primary and constrained node. | - | |
| 37 | +| ZZ | [bool](https://learn.microsoft.com/en-us/dotnet/api/System.Boolean?view=netstandard-2.0) | True defines a rigid connectivity between primary and constrained node for rotations about the Z-axis, i.e. true prohibits relative rotation about the Z-axis between primary and constrained node. | - | |
| 38 | +| StageList | [List](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.List-1?view=netstandard-2.0)<[int](https://learn.microsoft.com/en-us/dotnet/api/System.Int32?view=netstandard-2.0)> | List of analysis stages where the joint should be active as a list of integers. If none specified 'all' will be applied. | - | |
| 39 | + |
| 40 | + |
| 41 | +### Inherited properties |
| 42 | +The following properties are inherited from the base class of the object |
| 43 | + |
| 44 | +| Name | Type | Description | Quantity | |
| 45 | +|------------------|------------------|------------------|------------------| |
| 46 | +| BHoM_Guid | [Guid](https://learn.microsoft.com/en-us/dotnet/api/System.Guid?view=netstandard-2.0) | - | - | |
| 47 | +| Name | [string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0) | - | - | |
| 48 | +| Fragments | [FragmentSet](/api/oM/Framework/Base/FragmentSet) | - | - | |
| 49 | +| Tags | [HashSet](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.HashSet-1?view=netstandard-2.0)<[string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0)> | - | - | |
| 50 | +| CustomData | [Dictionary](https://learn.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2?view=netstandard-2.0)<[string](https://learn.microsoft.com/en-us/dotnet/api/System.String?view=netstandard-2.0), [object](https://learn.microsoft.com/en-us/dotnet/api/System.Object?view=netstandard-2.0)> | - | - | |
| 51 | + |
| 52 | + |
| 53 | +## Code and Schema |
| 54 | + |
| 55 | +### C# implementation |
| 56 | + |
| 57 | +``` C# title="C#" |
| 58 | +public class Joint : BH.oM.Base.BHoMObject, BH.oM.Base.IBHoMObject, BH.oM.Base.IObject |
| 59 | +``` |
| 60 | + |
| 61 | +Assembly: GSA_oM.dll |
| 62 | + |
| 63 | +The C# class definition is available on github: |
| 64 | + |
| 65 | +- [Joint.cs](https://github.com/BHoM/GSA_Toolkit/blob/develop/GSA_oM/Elements\Joint.cs) |
| 66 | + |
| 67 | +All history and changes of the class can be found by inspection the history. |
0 commit comments