JointAgentgenerateJoints Method
Attach joints to elements based on proximity.
Namespace: Karamba.JointsAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public virtual List<Joint> generateJoints(
List<ModelElement> elems,
List<Node> nodes,
IdMapper elemID2Ind,
Dictionary<Guid, List<int>> elemGuid2Ind,
Dictionary<int, List<int>> nodeInd2ElemInd,
double limitDist
)
Public Overridable Function generateJoints (
elems As List(Of ModelElement),
nodes As List(Of Node),
elemID2Ind As IdMapper,
elemGuid2Ind As Dictionary(Of Guid, List(Of Integer)),
nodeInd2ElemInd As Dictionary(Of Integer, List(Of Integer)),
limitDist As Double
) As List(Of Joint)
public:
virtual List<Joint^>^ generateJoints(
List<ModelElement^>^ elems,
List<Node^>^ nodes,
IdMapper^ elemID2Ind,
Dictionary<Guid, List<int>^>^ elemGuid2Ind,
Dictionary<int, List<int>^>^ nodeInd2ElemInd,
double limitDist
)
abstract generateJoints :
elems : List<ModelElement> *
nodes : List<Node> *
elemID2Ind : IdMapper *
elemGuid2Ind : Dictionary<Guid, List<int>> *
nodeInd2ElemInd : Dictionary<int, List<int>> *
limitDist : float -> List<Joint>
override generateJoints :
elems : List<ModelElement> *
nodes : List<Node> *
elemID2Ind : IdMapper *
elemGuid2Ind : Dictionary<Guid, List<int>> *
nodeInd2ElemInd : Dictionary<int, List<int>> *
limitDist : float -> List<Joint>
- elems ListModelElement
- all elements of the model.
- nodes ListNode
- nodes of the model.
- elemID2Ind IdMapper
- Maps element identifiers to indexes.
- elemGuid2Ind DictionaryGuid, ListInt32
- dictionary which maps element guids to element indexes.
- nodeInd2ElemInd DictionaryInt32, ListInt32
- dictionary which maps node indexes to element indexes.
- limitDist Double
- limit distance for attaching joints to elements based on proximity.
ListJointList of created joints.