Click or drag to resize

Element1DStatesCollectionTryGetStateFromPosition Method

Returns, if exists, the Element1DState for a given position on a ModelElementStraightLine.

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public bool TryGetStateFromPosition(
	double position,
	out Element1DState state
)

Parameters

position
Type: SystemDouble
The position on the ModelElementStraightLine. It should be between 0 and 1.
state
Type: Karamba.ElementsElement1DState
When this method returns, the Element1DState associated with the specified position, if the position is found; otherwise .

Return Value

Type: Boolean
if the Element1DStatesCollection contains a Element1DState with the specified position; otherwise, .
See Also