public final class TiremTerrainProfile extends Object
Constructor and Description |
---|
TiremTerrainProfile(double transmitterHeight,
double receiverHeight,
double[] heights,
double[] distances)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getDistances()
Gets the array of great circle distances from the beginning of the profile to each profile point in meters.
|
double[] |
getHeights()
Gets the array of profile terrain heights above mean sea level in meters.
|
double |
getReceiverHeight()
Gets the receiver structural antenna height in meters.
|
double |
getTransmitterHeight()
Gets the transmitter structural antenna height in meters.
|
public TiremTerrainProfile(double transmitterHeight, double receiverHeight, @Nonnull double[] heights, @Nonnull double[] distances)
transmitterHeight
- The transmitter structural antenna height in meters.receiverHeight
- The receiver structural antenna height in meters.heights
- An array of profile terrain heights above mean sea level in meters.distances
- An array of great circle distances from the beginning of the profile to each profile point in meters.ArgumentNullException
- Thrown when heights
or distances
is null
.public final double getTransmitterHeight()
public final double getReceiverHeight()
@Nonnull public final double[] getHeights()
@Nonnull public final double[] getDistances()