|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Position | |
---|---|
org.hermit.astro | A library of astronomical calculations, providing positions, rise and set times, magnitudes, and other information for the Sun, Moon and planets. |
org.hermit.geo | A library of various geodetic utilities for handling positions, directions and distances over the surface of the Earth, with a choice of algorithms from the fast and simple Haversine formula, to the super-accurate Vincenty formula. |
Uses of Position in org.hermit.astro |
---|
Methods in org.hermit.astro that return Position | |
---|---|
Position |
Observation.getObserverPosition()
Get the observer's geographical position. |
Methods in org.hermit.astro with parameters of type Position | |
---|---|
void |
Observation.setObserverPosition(Position pos)
Set the observer's position for this observation. |
Constructors in org.hermit.astro with parameters of type Position | |
---|---|
Observation(Instant i,
Position pos)
Create an observation for a given Julian day. |
|
Observation(long time,
Position pos)
Create an observation for a given Java time. |
Uses of Position in org.hermit.geo |
---|
Fields in org.hermit.geo declared as Position | |
---|---|
static Position |
Position.UNKNOWN
Constant representing an unknown position. |
Methods in org.hermit.geo that return Position | |
---|---|
static Position |
Position.fromDegrees(double latDegrees,
double lonDegrees)
Create a Position from a geographic latitude and longitude given in degrees. |
Position |
Position.offset(Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from this one, using the current geodetic calculator -- see GeoCalculator . |
Position |
AndoyerCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
abstract Position |
GeoCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
Position |
VincentyCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
Position |
HaversineCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
Position |
Position.offset(Vector vector)
Calculate a second position given its offset from this one, using the current geodetic calculator -- see GeoCalculator . |
Methods in org.hermit.geo with parameters of type Position | |
---|---|
Azimuth |
Position.azimuth(Position pos)
Calculate the azimuth (bearing) from this position to another, using the haversine formula, which is based on a spherical approximation of the Earth. |
Azimuth |
AndoyerCalculator.azimuth(Position p1,
Position p2)
Calculate the azimuth (bearing) from a position to another. |
abstract Azimuth |
GeoCalculator.azimuth(Position p1,
Position p2)
Calculate the azimuth (bearing) from a position to another. |
Azimuth |
VincentyCalculator.azimuth(Position p1,
Position p2)
Calculate the azimuth (bearing) from a position to another. |
Azimuth |
HaversineCalculator.azimuth(Position p1,
Position p2)
Calculate the azimuth (bearing) from a position to another. |
static java.lang.String |
PointOfInterest.describePoint(Position pos)
Describe the status of the given position relative to global points of interest. |
static java.lang.String |
PointOfInterest.describePosition(Position pos)
Describe the status of the given position relative to global points of interest. |
static java.lang.String |
PointOfInterest.describeRegion(Position pos)
Describe the status of the given position in terms of any region of interest it lies within. |
Distance |
Position.distance(Position pos)
Calculate the distance between this position and another, using the haversine formula, which is based on a spherical approximation of the Earth. |
abstract Distance |
PointOfInterest.distance(Position pos)
Calculate the distance from the given position to this point of interest. |
Distance |
PointOfInterest.POS.distance(Position pos)
Get the distance of a given point from this point of interest. |
Distance |
PointOfInterest.LAT.distance(Position pos)
Get the distance of a given point from this point of interest. |
Distance |
PointOfInterest.LON.distance(Position pos)
Get the distance of a given point from this point of interest. |
Distance |
PointOfInterest.BAND.distance(Position pos)
Get the distance of a given point from this point of interest. |
Distance |
AndoyerCalculator.distance(Position p1,
Position p2)
Calculate the distance between two positions. |
abstract Distance |
GeoCalculator.distance(Position p1,
Position p2)
Calculate the distance between two positions. |
Distance |
VincentyCalculator.distance(Position p1,
Position p2)
Calculate the distance between two positions. |
Distance |
HaversineCalculator.distance(Position p1,
Position p2)
Calculate the distance between two positions. |
Distance |
AndoyerCalculator.latDistance(Position p1,
double lat)
Calculate the distance between a position and a given latitude. |
abstract Distance |
GeoCalculator.latDistance(Position p1,
double lat)
Calculate the distance between a position and a given latitude. |
Distance |
VincentyCalculator.latDistance(Position p1,
double lat)
Calculate the distance between a position and a given latitude. |
Distance |
HaversineCalculator.latDistance(Position p1,
double lat)
Calculate the distance between a position and a given latitude. |
Position |
AndoyerCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
abstract Position |
GeoCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
Position |
VincentyCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
Position |
HaversineCalculator.offset(Position p1,
Distance distance,
Azimuth azimuth)
Calculate a second position given its offset from a given position. |
java.lang.String |
PointOfInterest.status(Position pos)
Describe the status of the given position relative to this point of interest. |
java.lang.String |
PointOfInterest.LAT.status(Position pos)
Describe the status of the given position relative to this point of interest. |
java.lang.String |
PointOfInterest.LON.status(Position pos)
Describe the status of the given position relative to this point of interest. |
Vector |
Position.vector(Position pos)
Calculate the distance and azimuth from this position to another, using the haversine formula, which is based on a spherical approximation of the Earth. |
Vector |
AndoyerCalculator.vector(Position p1,
Position p2)
Calculate the azimuth and distance from a position to another. |
abstract Vector |
GeoCalculator.vector(Position p1,
Position p2)
Calculate the azimuth and distance from a position to another. |
Vector |
VincentyCalculator.vector(Position p1,
Position p2)
Calculate the azimuth and distance from a position to another. |
Vector |
HaversineCalculator.vector(Position p1,
Position p2)
Calculate the azimuth and distance from a position to another. |
Constructors in org.hermit.geo with parameters of type Position | |
---|---|
Position(Position pos)
Create a Position from a Position. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |