JointAgentgenerateJoints Method

Attach joints to elements based on proximity.

Definition

Namespace: Karamba.Joints
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
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
)

Parameters

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.

Return Value

ListJoint
List of created joints.

See Also