public class

DestAreaEllipse

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.DestAreaEllipse

Class Overview

Represents a destination area ellipse object.

Summary

Nested Classes
class DestAreaEllipse.Builder Builder for destination area ellipse objects  
Public Constructors
DestAreaEllipse(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 ellipse.
long getLatitude()
Returns the current latitude value of the center point of the destination area ellipse.
long getLongitude()
Returns the longitude value of the center point of the destination area ellipse.
double getSemiAxisA(LengthUnit unit)
Returns the long semi axis of the destination area ellipse.
double getSemiAxisB(LengthUnit unit)
Returns the short semi axis of the destination area ellipse.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DestAreaEllipse (long latitude, long longitude, double semiAxisA, LengthUnit semiAxisAUnit, double semiAxisB, LengthUnit semiAxisBUnit, double angle, DegreeUnit angleUnit)

Creates a new instance.

Parameters
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

Public Methods

public boolean equals (Object o)

public double getAngle (DegreeUnit unit)

Returns the azimuth angle of the long semi axis of the destination area ellipse.

Parameters
unit target unit
Returns
  • the azimuth angle of the long semi axis (semiAxisA) in the specified units

public long getLatitude ()

Returns the current latitude value of the center point of the destination area ellipse.

Returns
  • the latitude of the center point of the ellipse in 0.1 microdegrees.

public long getLongitude ()

Returns the longitude value of the center point of the destination area ellipse.

Returns
  • the longitude of the center point of the ellipse in 0.1 microdegrees.

public double getSemiAxisA (LengthUnit unit)

Returns the long semi axis of the destination area ellipse.

Parameters
unit target unit
Returns
  • semiAxisA of the ellipse in the specified units

public double getSemiAxisB (LengthUnit unit)

Returns the short semi axis of the destination area ellipse.

Parameters
unit target unit
Returns
  • semiAxisB of the ellipse in the specified units

public int hashCode ()

public String toString ()