| Package | Description |
|---|---|
| org.osgi.util.measurement |
Measurement Package Version 1.0.
|
| org.osgi.util.position |
Position Package Version 1.0.
|
| Modifier and Type | Method | Description |
|---|---|---|
Measurement |
Measurement.add(double d) |
Returns a new
Measurement object that is the sum of this object
added to the specified value. |
Measurement |
Measurement.add(double d,
Unit u) |
Returns a new
Measurement object that is the sum of this object
added to the specified value. |
Measurement |
Measurement.add(Measurement m) |
Returns a new
Measurement object that is the sum of this object
added to the specified object. |
Measurement |
Measurement.div(double d) |
Returns a new
Measurement object that is the quotient of this
object divided by the specified value. |
Measurement |
Measurement.div(double d,
Unit u) |
Returns a new
Measurement object that is the quotient of this
object divided by the specified value. |
Measurement |
Measurement.div(Measurement m) |
Returns a new
Measurement object that is the quotient of this
object divided by the specified object. |
Measurement |
Measurement.mul(double d) |
Returns a new
Measurement object that is the product of this
object multiplied by the specified value. |
Measurement |
Measurement.mul(double d,
Unit u) |
Returns a new
Measurement object that is the product of this
object multiplied by the specified value. |
Measurement |
Measurement.mul(Measurement m) |
Returns a new
Measurement object that is the product of this
object multiplied by the specified object. |
Measurement |
Measurement.sub(double d) |
Returns a new
Measurement object that is the subtraction of the
specified value from this object. |
Measurement |
Measurement.sub(double d,
Unit u) |
Returns a new
Measurement object that is the subtraction of the
specified value from this object. |
Measurement |
Measurement.sub(Measurement m) |
Returns a new
Measurement object that is the subtraction of the
specified object from this object. |
| Modifier and Type | Method | Description |
|---|---|---|
Measurement |
Measurement.add(Measurement m) |
Returns a new
Measurement object that is the sum of this object
added to the specified object. |
Measurement |
Measurement.div(Measurement m) |
Returns a new
Measurement object that is the quotient of this
object divided by the specified object. |
Measurement |
Measurement.mul(Measurement m) |
Returns a new
Measurement object that is the product of this
object multiplied by the specified object. |
Measurement |
Measurement.sub(Measurement m) |
Returns a new
Measurement object that is the subtraction of the
specified object from this object. |
| Modifier and Type | Method | Description |
|---|---|---|
Measurement |
Position.getAltitude() |
Returns the altitude of this position in meters.
|
Measurement |
Position.getLatitude() |
Returns the latitude of this position in radians.
|
Measurement |
Position.getLongitude() |
Returns the longitude of this position in radians.
|
Measurement |
Position.getSpeed() |
Returns the ground speed of this position in meters per second.
|
Measurement |
Position.getTrack() |
Returns the track of this position in radians as a compass heading.
|
| Constructor | Description |
|---|---|
Position(Measurement lat,
Measurement lon,
Measurement alt,
Measurement speed,
Measurement track) |
Constructs a
Position object with the given values. |