|
double | GetMaximumRange (double aPower, double bPower) |
| Returns the maximum range between the two antenna powers More...
|
|
double | GetNormalizedRange (double aPower, double bPower, double distance) |
| Given two antenna powers, return the 1 - distance / (their range) More...
|
|
bool | InRange (double aPower, double bPower, double sqrDistance) |
| Return true iff the connection a<->b is in range, given the square of the distance between them sqrDistance More...
|
|
double CommNet.CommRangeModel.GetMaximumRange |
( |
double |
aPower, |
|
|
double |
bPower |
|
) |
| |
|
inline |
Returns the maximum range between the two antenna powers
- Parameters
-
- Returns
Implements CommNet.IRangeModel.
double CommNet.CommRangeModel.GetNormalizedRange |
( |
double |
aPower, |
|
|
double |
bPower, |
|
|
double |
distance |
|
) |
| |
|
inline |
Given two antenna powers, return the 1 - distance / (their range)
- Parameters
-
- Returns
Implements CommNet.IRangeModel.
bool CommNet.CommRangeModel.InRange |
( |
double |
aPower, |
|
|
double |
bPower, |
|
|
double |
sqrDistance |
|
) |
| |
|
inline |
Return true iff the connection a<->b is in range, given the square of the distance between them sqrDistance
- Parameters
-
aPower | |
bPower | |
sqrDistance | |
- Returns
Implements CommNet.IRangeModel.
The documentation for this class was generated from the following file: