|
JointAgentgenerateJoints Method
|
attach joints to elements based on proximity
Namespace:
Karamba.Joints
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public List<Joint> generateJoints(
List<ModelElement> elems,
List<Node> nodes,
ItemSelector elem_id2ind,
Dictionary<int, List<int>> node_ind2elem_ind,
double limit_dist
)
Public Function generateJoints (
elems As List(Of ModelElement),
nodes As List(Of Node),
elem_id2ind As ItemSelector,
node_ind2elem_ind As Dictionary(Of Integer, List(Of Integer)),
limit_dist As Double
) As List(Of Joint)
public:
List<Joint^>^ generateJoints(
List<ModelElement^>^ elems,
List<Node^>^ nodes,
ItemSelector^ elem_id2ind,
Dictionary<int, List<int>^>^ node_ind2elem_ind,
double limit_dist
)
member generateJoints :
elems : List<ModelElement> *
nodes : List<Node> *
elem_id2ind : ItemSelector *
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.ElementsItemSelector
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[Missing <returns> documentation for "M:Karamba.Joints.JointAgent.generateJoints(System.Collections.Generic.List{Karamba.Elements.ModelElement},System.Collections.Generic.List{Karamba.Nodes.Node},Karamba.Elements.ItemSelector,System.Collections.Generic.Dictionary{System.Int32,System.Collections.Generic.List{System.Int32}},System.Double)"]
See Also