|
Element1DStatesCollectionTryGetStateFromPosition Method
|
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic bool TryGetStateFromPosition(
double position,
out Element1DState state
)
Public Function TryGetStateFromPosition (
position As Double,
<OutAttribute> ByRef state As Element1DState
) As Boolean
public:
bool TryGetStateFromPosition(
double position,
[OutAttribute] Element1DState^% state
)
member TryGetStateFromPosition :
position : float *
state : Element1DState byref -> bool
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