Ejemplo n.º 1
0
 /// <summary>
 /// Extracts 1-dimensional variable value. <seealso cref="HasVariable1d"/> <seealso cref="GetVariable3d"/>
 /// </summary>
 /// <param name="variable1d">variable to extract</param>
 /// <returns>variable value</returns>
 public double GetVariable1d(Variable1d variable1d)
 {
     return(variable1d.VariableType == VariableType.Standard
         ? NativeElement.Element_GetVariable1d(_nativeInstance, variable1d.NativeVariable)
         : NativeElement.Element_GetVariableComponent(_nativeInstance, variable1d.NativeVariable));
 }