ModelSpring(Int32, BuilderBeam, IReadOnlyListInt32, ListNode) Constructor
Initializes a new instance of the
ModelSpring class.
construct spring from a raw element.
Namespace: Karamba.ElementsAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public ModelSpring(
int ind,
BuilderBeam builder_beam,
IReadOnlyList<int> node_inds,
List<Node> vertices
)
Public Sub New (
ind As Integer,
builder_beam As BuilderBeam,
node_inds As IReadOnlyList(Of Integer),
vertices As List(Of Node)
)
public:
ModelSpring(
int ind,
BuilderBeam^ builder_beam,
IReadOnlyList<int>^ node_inds,
List<Node^>^ vertices
)
new :
ind : int *
builder_beam : BuilderBeam *
node_inds : IReadOnlyList<int> *
vertices : List<Node> -> ModelSpring
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.