public class PolarLocation extends LocationVector
A location vector in a polar coordinate system. Angle coordinates are in radians.
This class and all it subclasses are mutable, therefore it should only be used to hold intermediate results, and never shared among threads.Constructor and Description |
---|
PolarLocation() |
PolarLocation(double range,
double azimuth,
double elevation) |
Modifier and Type | Method and Description |
---|---|
double |
getAzimuth()
Azimuth from the X axis, in radians
|
double |
getElevation() |
double |
getRange() |
void |
setAzimuth(double azimuth) |
void |
setElevation(double elevation) |
void |
setRange(double range) |
toVector4
add, add, cross, dot, equals, get, hashCode, norm, normSqr, readExternal, scale, scale, set, set, set, sub, sub, toString, writeExternal
public PolarLocation()
public PolarLocation(double range, double azimuth, double elevation)
public double getRange()
public double getAzimuth()
Azimuth from the X axis, in radians
public double getElevation()
public void setRange(double range)
public void setAzimuth(double azimuth)
public void setElevation(double elevation)