Joint Class

Represents the hinge conditions at the start- and end-point of a line element.

Definition

Namespace: Karamba.Joints
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class Joint : CommonObject, ICloneable, 
	ISerializable, IEquatable<Joint>
Inheritance
Object    CommonObject    Joint
Derived
Implements
ICloneable, IEquatableJoint, ISerializable

Constructors

Joint Initializes a new instance of the Joint class. create joint without default properties.
Joint(NullableDouble) Initializes a new instance of the Joint class. create joint with properties given in array c.
Joint(SerializationInfo, StreamingContext) Initializes a new instance of the Joint class. de-serialization constructor.
Joint(NullableDouble, ListString, ListGuid) Initializes a new instance of the Joint class. create joint with properties given in array c.

Properties

c Gets or sets the joints DOF-stiffness.
ElementGuids Gets or sets the list of element-guids of elements the joint is attached to.
ElementIds Gets or sets the list of element-identifiers of elements the joint is attached to.
guid Gets the GUID of the joint.
name Gets or sets the name of the cross section.
props Gets or sets the joint properties which are the twelve stiffnesses at the end-nodes of the line element. These conditions are tx, ty, tz (translational DOFs) and rx, ry, rz (rotational DOFs) at the two nodes. A value of null means fixation, values of t are in kN/m, values of r in kNm/rad.
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)

Methods

AddElemId Adds an element id to the list of element ids.
Obsolete.
addTo(ModelElement) Attaches this joint to an elements.
addTo(ListModelElement, IdMapper, DictionaryGuid, ListInt32) attach this joint to elements.
c_condition returns list of six doubles for each node which are the spring stiffnesses corresponding to the DOFs. If null there is no joint for the corresponding DOF.
clearElemIds empty the list of identifiers to which the cross section shall be attached.
Clone shallow clone.
condition returns list of six booleans for each node. If true a joint is in effect for the corresponding DOF. nodes indexes start from 0 (starting node); 1 signifies the end-node.
defaultGuid Get the Guid of the joint.
ElementIndexes Retrieve the element indexes to which the joint attaches to.
Equals(Joint) True if item is equal to this.
Equals(Object) Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Overrides ObjectGetHashCode)
GetObjectData Serialize FemMaterial_Isotrop.
(Overrides CommonObjectGetObjectData(SerializationInfo, StreamingContext))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
jointDofs return the spring stiffnesses of the joint associated with the node of the specified index in the element.
matchId test whether the cross-section matches one of the identifiers given in the list of indexes.
MatchIds Returns true if the joint matches one of the identifiers given in ids.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
merge merge two joints. If there are conflicting stiffness properties for DOFs the smaller stiffness results.
setDefaults Set the stiffness to zero.
ToString Returns a string that represents the current object.
(Overrides CommonObjectToString)

Fields

c_ list of stiffness for the joint DOFs.
dofs number of dofs of the joint.
guid_ GUID of the joint.
name_ unique identifier of a joint family.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also