ModelSpring(Int32, BuilderBeam, IReadOnlyListInt32, ListNode) Constructor

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

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public ModelSpring(
	int ind,
	BuilderBeam builder_beam,
	IReadOnlyList<int> node_inds,
	List<Node> vertices
)

Parameters

ind  Int32
zero based index of the new element in the model.
builder_beam  BuilderBeam
grass-beam to turn into a spring.
node_inds  IReadOnlyListInt32
indexes of nodes of the spring.
vertices  ListNode
positions of vertices of the spring.

See Also