ModelElementStraightLineGetState1D Method

Gets the StateElement1D from a given position on this ModelElementStraightLine.
The position's value has to be in between [0.0; L], where L is the element's length. If you want the position to be in between [0.0; 1.0], please set isCurveReparametrized == .

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public IStateElement1D GetState1D(
	double position,
	Model model,
	IStateElement1DSelector stateSelector,
	bool isCurveReparametrized,
	out LoadCase loadCase,
	out int loadCaseInd
)

Parameters

position  Double
The position on the element.
model  Model
The model to which the element belongs.
stateSelector  IStateElement1DSelector
Selects the state in case of load-case-combinations.
isCurveReparametrized  Boolean
if position is expressed in relative length, otherwise.
loadCase  LoadCase
Selected load case or null in case the state derives from multiple load cases.
loadCaseInd  Int32
Index of the selected load case within the load case combination or -1 in case the state derives from multiple load cases.

Return Value

IStateElement1D
The StateElement1D.

See Also