|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgeometry.Coordinate
geometry.EarthCenterCoordinate
public class EarthCenterCoordinate
This class defines the coordinate with its origin located at
center of the earth. The z axis points to the North Pole
and the y axis points to longitude 0 degree latitude 0 degree.
| Field Summary | |
|---|---|
static double |
REarth
Radius of the earth [cm] |
| Constructor Summary | |
|---|---|
EarthCenterCoordinate()
Constructor. |
|
| Method Summary | |
|---|---|
double |
getLatitude(J3Vector r)
Calculate latitude in degree. |
double |
getLongitude(J3Vector r)
Calculate longitude in degree. |
J3Vector |
getPointVectorFromLongitudeLatitude(double height,
double longitude,
double latitude)
Get the point vector in this earth-center coordinate for a given longitude [deg] and latitude [deg]. |
J3Vector |
getSurfacePoint(double longitude,
double latitude)
Get the point vector on the earth surface. |
static boolean |
IsInsideEarth(J3Vector r)
Check if the point is inside the earth. |
| Methods inherited from class geometry.Coordinate |
|---|
getAzimuthInPolar, getEx, getEy, getEz, getLengthInPolar, getOrigin, getPointVectorFromPolarCoordinate, getZenithInPolar, rotate, setOrigin, transformThisCoordinate, transformUnitVectorToThisCoordinate, transformVectorToThisCoordinate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double REarth
| Constructor Detail |
|---|
public EarthCenterCoordinate()
| Method Detail |
|---|
public double getLongitude(J3Vector r)
public double getLatitude(J3Vector r)
public J3Vector getPointVectorFromLongitudeLatitude(double height,
double longitude,
double latitude)
double height : height [cm] from the earth center
double longitude : longitude [deg]
double latitude : latitude [deg]
Returns J3Vector defined in the EarthCenterCoordinate
public J3Vector getSurfacePoint(double longitude,
double latitude)
public static boolean IsInsideEarth(J3Vector r)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||