46 virtual DtReal powerAtRange(DtReal range)
const;
63 parentRegistry = NULL);
65 parentRegistry = NULL);
88 virtual double detonationPower(
double rangeFromShooter,
double rangeFromImpact)
const;
106 virtual double solveForMaximum()
const;
118 virtual double rangeFromPower(
double power)
const;
DtPowerCoefficients()
default constructor
Definition: powerRangeCoefficientsDeterminant.h:24
virtual double maximumRangeFromShooter() const =0
Gets the maximum effective range from shooter of this detonation.
DtPowerCoefficients myCoefficients
Parameter Name: range-coefficients Parameter Description: Defines the coefficients of a standard poly...
Definition: powerRangeCoefficientsDeterminant.h:137
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtPowerCoefficients(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Constructor with parameters to set up read/writability correctly.
Definition: powerRangeCoefficientsDeterminant.h:27
virtual void validateRangeFrom()=0
Validates the configured range-from setting and restores to a valid default if configuration is unsup...
virtual double maximumRangeFromImpact() const =0
Gets the maximum effective range from impact of this detonation.
DtPowerCoefficients(const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Definition: powerRangeCoefficientsDeterminant.h:30
Definition: readerWriterRegistry.h:39
A readable/writable object that indicates the power of a detonation of a given type as a function of ...
Definition: powerRangeCoefficientsDeterminant.h:53
A readable/writable object that indicates the power of a detonation of a given type, potentially at different ranges from the point of impact.
Definition: powerRangeDeterminant.h:17
virtual double rangeFromShooterForPower(double power) const =0
Gets the maximum range from the shooter where the impact point would experience the specified power...
Definition: prbProbabilityCoefficients.h:20
DtPrbProbabilityCoefficients is essentially the same structure as our power coefficients: a series of...
Definition: powerRangeCoefficientsDeterminant.h:20
static DtPowerRangeDeterminant * creator()
Creator function.
Definition: powerRangeCoefficientsDeterminant.h:103
DtPowerCoefficients(const DtSymbolString &name, const DtPrbProbabilityCoefficients &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Definition: powerRangeCoefficientsDeterminant.h:38
DtPowerCoefficients(const DtString &name, const DtPrbProbabilityCoefficients &orig, DtReaderWriterRegistry *parentRegistry=NULL)
copy constructor
Definition: powerRangeCoefficientsDeterminant.h:34
virtual bool operator==(const DtPowerRangeDeterminant &rhs) const
virtual DtPowerRangeDeterminant * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const =0
const DtPowerRangeDeterminant & operator=(const DtPowerRangeDeterminant &orig)
virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const =0
Gets the detonation's power the given range from the shooter and range from the point of impact...
virtual double rangeFromImpactForPower(double power) const =0
Gets the maximum range from the impact point where one would experience the specified power...
virtual ~DtPowerCoefficients()
destructor
Definition: powerRangeCoefficientsDeterminant.h:43