Class Member2DReactExtensions
- Namespace
 - IdeaRS.OpenModel.Result
 
- Assembly
 - IdeaRS.OpenModel.dll
 
Extensions for accessing values stored in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1
public static class Member2DReactExtensionsInheritance
Inherited Members
Methods
GetPointValueIndex<T>(ValuesInPoint<T>, int)
Calculates the index of a point values based on the specified loading index.
public static int GetPointValueIndex<T>(this ValuesInPoint<T> src, int loadingIdx) where T : structParameters
srcValuesInPoint<T>- 
The source IdeaRS.OpenModel.Result.ValuesInPoint`1 instance containing the values.
 loadingIdxint- 
The loading index used to calculate the point value index. Must be a non-negative integer.
 
Returns
- int
 - 
The calculated index of the point value within the section.
 
Type Parameters
T- 
The type of the values in the point, which must be a value type.
 
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 : structParameters
srcValuesInSegmentSections<T>sectionInxint- 
Index of the requested section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
 loadingInxint- 
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
 
Returns
Type Parameters
T
GetValueInPoint<T>(ValuesInPoint<T>, int, int)
Retrieves a value from the specified point in a collection of values.
public static T GetValueInPoint<T>(this ValuesInPoint<T> src, int loadingIdx, int valueIdx) where T : structParameters
srcValuesInPoint<T>- 
The source collection of values from which to retrieve the value.
 loadingIdxint- 
The index representing the loading case in the collection.
 valueIdxint- 
The index of the specific value within the loading case to retrieve.
 
Returns
- T
 - 
The value of type
Tlocated at the specified indices. 
Type Parameters
T- 
The type of the value to retrieve, which must be a value type.
 
GetValueInSection<T>(ValuesInSegmentSections<T>, int, int, int)
Set value in the section for loading
public static T GetValueInSection<T>(this ValuesInSegmentSections<T> src, int sectionInx, int loadingInx, int valInx) where T : structParameters
srcValuesInSegmentSections<T>sectionInxint- 
Index of the section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
 loadingInxint- 
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
 valInxint- 
the value index (from 0 to IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.ValueCountInSection) - 1)
 
Returns
- T
 
Type Parameters
T
SetValuesInPoint<T>(ValuesInPoint<T>, int, IList<T>)
Sets the values in a specified section of the IdeaRS.OpenModel.Result.ValuesInPoint`1 object.
public static void SetValuesInPoint<T>(this ValuesInPoint<T> src, int loadingIdx, IList<T> values) where T : structParameters
srcValuesInPoint<T>- 
The IdeaRS.OpenModel.Result.ValuesInPoint`1 instance where the values will be set.
 loadingIdxint- 
The index of the loading case that determines the starting position for setting values.
 valuesIList<T>- 
A list of values to set in the specified point.
 
Type Parameters
T- 
The type of the values, which must be a value type.
 
Remarks
This method updates the values in the specified section of the src object,
starting at the position determined by loadingIdx. Ensure that the values
list contains enough elements to fill the section, as defined by the IdeaRS.OpenModel.Result.ValuesInPoint`1.ValueCountInSection property.
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 : structParameters
srcValuesInSegmentSections<T>sectionInxint- 
Index of the section in IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.PositionsOnSegment(0 is the first section (begin of the segment))
 loadingInxint- 
Index of the requested loading in IdeaRS.OpenModel.Result.Member2DReactions`1.Loadings
 valuesIList<T>- 
List of values to set. The length must equal to IdeaRS.OpenModel.Result.ValuesInSegmentSections`1.ValueCountInSection
 
Type Parameters
T