|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Distance | |
---|---|
net.degreedays.api.data | For specifying and receiving degree-day data from the API. |
net.degreedays.geo | Provides some basic classes for handling geographic information like longitude/latitude positions and distances. |
Uses of Distance in net.degreedays.api.data |
---|
Methods in net.degreedays.api.data that return Distance | |
---|---|
Distance |
Source.distanceFromTarget()
Returns the non-null distance of the Source.station() from the target
location that was specified in the original request for data. |
Distance |
Station.elevation()
Returns the non-null elevation of the weather station. |
Methods in net.degreedays.api.data with parameters of type Distance | |
---|---|
Source.Builder |
Source.Builder.setDistanceFromTarget(Distance distanceFromTarget)
|
Station.Builder |
Station.Builder.setElevation(Distance elevation)
|
Uses of Distance in net.degreedays.geo |
---|
Methods in net.degreedays.geo that return Distance | |
---|---|
Distance |
LongLat.distanceTo(LongLat longLat)
Returns a Distance object that represents the shortest
distance along the surface of the Earth from this to the
specified longLat . |
static Distance |
Distance.feet(double value)
Returns a Distance object with the specified
value and DistanceUnit.FEET as the unit of
measurement. |
Distance |
Distance.in(DistanceUnit unit)
Returns a Distance object that represents this
Distance converted into the specified unit of measurement. |
Distance |
Distance.inFeet()
Returns a Distance object that represents this
Distance converted into feet. |
Distance |
Distance.inKilometres()
Returns a Distance object that represents this
Distance converted into kilometres. |
Distance |
Distance.inMetres()
Returns a Distance object that represents this
Distance converted into metres. |
Distance |
Distance.inMiles()
Returns a Distance object that represents this
Distance converted into miles. |
static Distance |
Distance.kilometres(double value)
Returns a Distance object with the specified
value and DistanceUnit.KILOMETRES as the unit of
measurement. |
static Distance |
Distance.metres(double value)
Returns a Distance object with the specified
value and DistanceUnit.METRES as the unit of
measurement. |
static Distance |
Distance.miles(double value)
Returns a Distance object with the specified
value and DistanceUnit.MILES as the unit of
measurement. |
Methods in net.degreedays.geo with parameters of type Distance | |
---|---|
LongLat |
LongLat.east(Distance distance)
Returns a LongLat object that represents a position the
specified distance East of this . |
LongLat |
LongLat.north(Distance distance)
Returns a LongLat object that represents a position the
specified distance North of this . |
LongLat |
LongLat.south(Distance distance)
Returns a LongLat object that represents a position the
specified distance South of this . |
LongLat |
LongLat.west(Distance distance)
Returns a LongLat object that represents a position the
specified distance West of this . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |