public class DilutionOfPrecisionFigureOfMerit extends Object implements IFigureOfMeritDefinition
DilutionOfPrecision
at any given point over time.Constructor and Description |
---|
DilutionOfPrecisionFigureOfMerit()
Initializes a new instance.
|
DilutionOfPrecisionFigureOfMerit(DilutionOfPrecisionType type)
Constructs a new instance based on the given type of dilution of precision.
|
Modifier and Type | Method and Description |
---|---|
Scalar |
getScalarFigureOfMerit(ValueDefinition<CoverageData> coverageResult,
IServiceProvider coverageObject)
Get a scalar representing the figure of merit for the given data.
|
DilutionOfPrecisionType |
getType()
Gets the type of dilution of precision to calculate.
|
void |
setType(DilutionOfPrecisionType value)
Sets the type of dilution of precision to calculate.
|
public DilutionOfPrecisionFigureOfMerit()
By default, this computes the Position type
.
public DilutionOfPrecisionFigureOfMerit(@Nonnull DilutionOfPrecisionType type)
type
- The type of DOP.@Nonnull public final DilutionOfPrecisionType getType()
public final void setType(@Nonnull DilutionOfPrecisionType value)
public final Scalar getScalarFigureOfMerit(ValueDefinition<CoverageData> coverageResult, IServiceProvider coverageObject)
getScalarFigureOfMerit
in interface IFigureOfMeritDefinition
coverageResult
- The coverage results for which to compute a figure of merit.coverageObject
- The object of interest in the figure of merit calculation which implements
the IGpsReceiverService
.ServiceNotAvailableException
- Thrown when coverageObject
does not provide IGpsReceiverService
.