Description
Compute options for navigation accuracy.
Public Methods
Public Properties
Interfaces
CoClasses that Implement IAgFmDefCompute
Example
Configure access duration figure of merit
| [C#] | 
|---|
// Set figure of merit definition to eFmAccessDuration
fom.SetDefinitionType(AgEFmDefinitionType.eFmAccessDuration);
// Get IAgFmDefCompute interface
IAgFmDefCompute defComp = fom.Definition as IAgFmDefCompute;
if (defComp.IsComputeTypeSupported(AgEFmCompute.ePercentAbove))
{
    // Set Compute type to supported compute option
    defComp.SetComputeType(AgEFmCompute.ePercentAbove);
    // Get compute option compute interface
    IAgFmDefDataPercentLevel fomData = defComp.Compute as IAgFmDefDataPercentLevel;
    fomData.PercentLevel = .25;
}
 |  
  | 
Configure coverage time figure of merit
| [C#] | 
|---|
// Set figure of merit definition to eFmCoverageTime
fom.SetDefinitionType(AgEFmDefinitionType.eFmCoverageTime);
// Get IAgFmDefCompute interface
IAgFmDefCompute defComp = fom.Definition as IAgFmDefCompute;
if (defComp.IsComputeTypeSupported(AgEFmCompute.eTotalTimeAbove))
{
    // Set Compute type to supported compute option
    defComp.SetComputeType(AgEFmCompute.eTotalTimeAbove);
    // Get compute option compute interface
    IAgFmDefDataMinAssets fomData = defComp.Compute as IAgFmDefDataMinAssets;
    fomData.MinAssets = 15;
}
 |  
  | 
Configure access duration figure of merit
| [Visual Basic .NET] | 
|---|
' Set figure of merit definition to eFmAccessDuration
fom.SetDefinitionType(AgEFmDefinitionType.eFmAccessDuration)
' Get IAgFmDefCompute interface
Dim defComp As IAgFmDefCompute = TryCast(fom.Definition, IAgFmDefCompute)
If defComp.IsComputeTypeSupported(AgEFmCompute.ePercentAbove) Then
	' Set Compute type to supported compute option
	defComp.SetComputeType(AgEFmCompute.ePercentAbove)
	' Get compute option compute interface
	Dim fomData As IAgFmDefDataPercentLevel = TryCast(defComp.Compute, IAgFmDefDataPercentLevel)
	fomData.PercentLevel = 0.25
End If
  |  
  | 
Configure coverage time figure of merit
| [Visual Basic .NET] | 
|---|
' Set figure of merit definition to eFmCoverageTime
fom.SetDefinitionType(AgEFmDefinitionType.eFmCoverageTime)
' Get IAgFmDefCompute interface
Dim defComp As IAgFmDefCompute = TryCast(fom.Definition, IAgFmDefCompute)
If defComp.IsComputeTypeSupported(AgEFmCompute.eTotalTimeAbove) Then
	' Set Compute type to supported compute option
	defComp.SetComputeType(AgEFmCompute.eTotalTimeAbove)
	' Get compute option compute interface
	Dim fomData As IAgFmDefDataMinAssets = TryCast(defComp.Compute, IAgFmDefDataMinAssets)
	fomData.MinAssets = 15
End If
  |  
  |