Click or drag to resize

ModelSpring Constructor (Int32, BuilderBeam, IReadOnlyListInt32, ListNode)

Initializes a new instance of the ModelSpring class. construct spring from a raw element.

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
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