Example #1
0
 /// <summary>
 /// Get the maximum and minimum result interval for the specified case, linear element, type and position
 /// along the element.
 /// </summary>
 /// <param name="rCase"></param>
 /// <param name="element"></param>
 /// <param name="type"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public Interval this[ResultsCase rCase, LinearElement element, LinearElementResultTypes type, double position]
 {
     get
     {
         var graph = this[rCase, element, type];
         if (graph != null)
         {
             return(graph.ValueAt(position));
         }
         else
         {
             return(Interval.Unset);
         }
     }
 }
Example #2
0
 /// <summary>
 /// Get the results interval graph along the specified linear element for the given
 /// case and result type
 /// </summary>
 /// <param name="rCase"></param>
 /// <param name="element"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public LinearIntervalDataSet this[ResultsCase rCase, LinearElement element, LinearElementResultTypes type]
 {
     get { return(this[rCase, element]?[type]); }
 }