Version

DataToAngle Method (IProvideMeasurements)

Calculates the value of a data item as a value between Theta Minimum and Theta Maximum with scale in direct proportion to DataMin and DataMax.
Syntax
'Declaration
 
Function DataToAngle( _
   ByVal DataMin As Double, _
   ByVal DataMax As Double, _
   ByVal thetaMin As Double, _
   ByVal thetaMax As Double, _
   ByVal d_i As Double _
) As Double
double DataToAngle( 
   double DataMin,
   double DataMax,
   double thetaMin,
   double thetaMax,
   double d_i
)

Parameters

DataMin
Data Minimum.
DataMax
Data Maximum.
thetaMin
Minimum Angular Deviation.
thetaMax
Maximum Angular Deviation.
d_i
Data Item.

Return Value

The value of a data item as a value between Theta Minimum and Theta Maximum with scale in direct proportion to DataMin and DataMax.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also