|
PointMasssetNodeInd Method
|
set node index of point mass based on its position.
Namespace:
Karamba.Loads
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic PointMass setNodeInd(
int i,
NKDTree nodes_tree,
List<Node> vertices,
double limit_dist
)
Public Function setNodeInd (
i As Integer,
nodes_tree As NKDTree,
vertices As List(Of Node),
limit_dist As Double
) As PointMass
public:
PointMass^ setNodeInd(
int i,
NKDTree^ nodes_tree,
List<Node^>^ vertices,
double limit_dist
)
member setNodeInd :
i : int *
nodes_tree : NKDTree *
vertices : List<Node> *
limit_dist : float -> PointMass
Parameters
- i
- Type: SystemInt32
index of the point-mass for error message. - nodes_tree
- Type: NKDTree
kd-tree of nodes in the model. - vertices
- Type: System.Collections.GenericListNode
vertices in the model. - limit_dist
- Type: SystemDouble
limit distance for snapping together neighboring nodes.
Return Value
Type:
PointMasspoint-mass with node-index instead of node-position.
See Also