Called by RightEdge to perform the specified risk assessment calculation.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
double PerformCalculation(
	RiskAssessmentCalculationType calculationType,
	SystemData baseSystem
)
Visual Basic
Function PerformCalculation ( 
	calculationType As RiskAssessmentCalculationType,
	baseSystem As SystemData
) As Double
Visual C++
double PerformCalculation(
	RiskAssessmentCalculationType calculationType, 
	SystemData^ baseSystem
)
F#
abstract PerformCalculation : 
        calculationType : RiskAssessmentCalculationType * 
        baseSystem : SystemData -> float 

Parameters

calculationType
Type: RightEdge.Common..::..RiskAssessmentCalculationType
Refers to the requested calculation type.
baseSystem
Type: RightEdge.Common..::..SystemData
Passes in the system that this risk assesment calculation is perfomed on.

Return Value

Type: Double
value of the calculation.

Remarks

Use the position data within the SystemData instance to perform the calculations for the specified calculation types. Return NaN (not a number) if the calculation cannot be performed because of lack of data or due to the fact that the risk assessment does not support the calculation type.

See Also