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 (Declaration)
Function PerformCalculation ( _
	calculationType As RiskAssessmentCalculationType, _
	baseSystem As SystemData _
) As Double
Visual C++
double PerformCalculation(
	RiskAssessmentCalculationType calculationType, 
	SystemData^ baseSystem
)

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

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