Class Member2DReactExtensions
- Namespace
- IdeaRS.OpenModel.Result
- Assembly
- IdeaRS.OpenModel.dll
Extensions for accessing values stored in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1
public static class Member2DReactExtensions
Inheritance
Inherited Members
Methods
GetSectionValueIndex<T>(ValuesInSegmentSections<T>, int, int)
Get index of the value in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.Values for given section and loading
public static int GetSectionValueIndex<T>(this ValuesInSegmentSections<T> src, int sectionInx, int loadingInx) where T : struct
Parameters
src
ValuesInSegmentSections<T>sectionInx
int-
Index of the requested section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
loadingInx
int-
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
Returns
Type Parameters
T
GetValue<T>(ValuesInSegmentSections<T>, int, int, int)
Set value in the section for loading
public static T GetValue<T>(this ValuesInSegmentSections<T> src, int sectionInx, int loadingInx, int valInx) where T : struct
Parameters
src
ValuesInSegmentSections<T>sectionInx
int-
Index of the section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
loadingInx
int-
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
valInx
int-
the value index (from 0 to IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.ValueCountInSection) - 1)
Returns
- T
Type Parameters
T
SetValuesInSection<T>(ValuesInSegmentSections<T>, int, int, IList<T>)
Set values in the section for loading
public static void SetValuesInSection<T>(this ValuesInSegmentSections<T> src, int sectionInx, int loadingInx, IList<T> values) where T : struct
Parameters
src
ValuesInSegmentSections<T>sectionInx
int-
Index of the section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
loadingInx
int-
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
values
IList<T>-
List of values to set. The length must equal to IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.ValueCountInSection
Type Parameters
T