Click or drag to resize

JointAgent_0_deprgenerateJoints Method

Attach joints to elements based on proximity.

Namespace:  Karamba.Joints
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public override List<Joint> generateJoints(
	List<ModelElement> elems,
	List<Node> nodes,
	IdMapper elem_id2ind,
	Dictionary<int, List<int>> node_ind2elem_ind,
	double limit_dist
)

Parameters

elems
Type: System.Collections.GenericListModelElement
all elements of the model.
nodes
Type: System.Collections.GenericListNode
nodes of the model.
elem_id2ind
Type: Karamba.UtilitiesIdMapper
dictionary which maps element identifiers to element indexes.
node_ind2elem_ind
Type: System.Collections.GenericDictionaryInt32, ListInt32
dictionary which maps node indexes to element indexes.
limit_dist
Type: SystemDouble
limit distance for attaching joints to elements based on proximity.

Return Value

Type: ListJoint
List of created joints.
See Also