|
JointAgentgenerateJoints 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)
Syntaxpublic virtual List<Joint> generateJoints(
List<ModelElement> elems,
List<Node> nodes,
IdMapper elem_id2ind,
Dictionary<int, List<int>> node_ind2elem_ind,
double limit_dist
)
Public Overridable Function generateJoints (
elems As List(Of ModelElement),
nodes As List(Of Node),
elem_id2ind As IdMapper,
node_ind2elem_ind As Dictionary(Of Integer, List(Of Integer)),
limit_dist As Double
) As List(Of Joint)
public:
virtual List<Joint^>^ generateJoints(
List<ModelElement^>^ elems,
List<Node^>^ nodes,
IdMapper^ elem_id2ind,
Dictionary<int, List<int>^>^ node_ind2elem_ind,
double limit_dist
)
abstract generateJoints :
elems : List<ModelElement> *
nodes : List<Node> *
elem_id2ind : IdMapper *
node_ind2elem_ind : Dictionary<int, List<int>> *
limit_dist : float -> List<Joint>
override generateJoints :
elems : List<ModelElement> *
nodes : List<Node> *
elem_id2ind : IdMapper *
node_ind2elem_ind : Dictionary<int, List<int>> *
limit_dist : float -> List<Joint>
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:
ListJointList of created joints.
See Also