java.lang.Object | |
↳ | com.commsignia.v2x.client.model.DestAreaRectangle |
Represents a destination area rectangle.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | DestAreaRectangle.Builder | Builder for destination area rectangle objects |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DestAreaRectangle(long latitude, long longitude, double semiAxisA, LengthUnit semiAxisAUnit, double semiAxisB, LengthUnit semiAxisBUnit, double angle, DegreeUnit angleUnit)
Creates a new instance
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
double |
getAngle(DegreeUnit unit)
Returns the azimuth angle of the long semi axis of the destination area rectangle.
| ||||||||||
long |
getLatitude()
Returns the current latitude value of the center point of the destination area rectangle.
| ||||||||||
long |
getLongitude()
Returns the longitude value of the center point of the destination area rectangle.
| ||||||||||
double |
getSemiAxisA(LengthUnit unit)
Returns the distance between the center point and the short side of the destination area rectangle.
| ||||||||||
double |
getSemiAxisB(LengthUnit unit)
Returns the distance between the center point and the long side of the destination area rectangle.
| ||||||||||
int | hashCode() | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance
latitude | latitude in 0.1 microdegrees |
---|---|
longitude | longitude in 0.1 microdegrees |
semiAxisA | semi axis A value |
semiAxisAUnit | semi axis A unit |
semiAxisB | semi axis B value |
semiAxisBUnit | semi axis B unit |
angle | angle value |
angleUnit | angle unit |
Returns the azimuth angle of the long semi axis of the destination area rectangle.
unit | target unit |
---|
Returns the current latitude value of the center point of the destination area rectangle.
Returns the longitude value of the center point of the destination area rectangle.
Returns the distance between the center point and the short side of the destination area rectangle.
unit | target unit |
---|
Returns the distance between the center point and the long side of the destination area rectangle.
unit | target unit |
---|