Click or drag to resize

ModelSpring Constructor

construct spring from a raw element

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ModelSpring(
	int ind,
	BuilderBeam builder_beam,
	IReadOnlyList<int> node_inds,
	List<Node> vertices
)

Parameters

ind
Type: SystemInt32
zero based index of the new element in the model
builder_beam
Type: Karamba.ElementsBuilderBeam
grass-beam to turn into a spring
node_inds
Type: System.Collections.GenericIReadOnlyListInt32
indexes of nodes of the spring
vertices
Type: System.Collections.GenericListNode
positions of vertices of the spring
See Also