geometry
クラス EarthCenterCoordinate

java.lang.Object
  拡張geometry.Coordinate
      拡張geometry.EarthCenterCoordinate

public class EarthCenterCoordinate
extends Coordinate

    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.


フィールドの概要
static double REarth
          Radius of the earth [cm]
 
コンストラクタの概要
EarthCenterCoordinate()
          Constructor.
 
メソッドの概要
 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.
 boolean IsInsideEarth(J3Vector r)
          Check if the point is inside the earth.
 
クラス geometry.Coordinate から継承したメソッド
getAzimuthInPolar, getEx, getEy, getEz, getLengthInPolar, getOrigin, getPointVectorFromPolarCoordinate, getZenithInPolar, rotate, setOrigin, transformThisCoordinate, transformUnitVectorToThisCoordinate, transformVectorToThisCoordinate
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

REarth

public static final double REarth
Radius of the earth [cm]

関連項目:
定数フィールド値
コンストラクタの詳細

EarthCenterCoordinate

public EarthCenterCoordinate()
Constructor.

メソッドの詳細

getLongitude

public double getLongitude(J3Vector r)
Calculate longitude in degree. West : Positive East : Negative


getLatitude

public double getLatitude(J3Vector r)
Calculate latitude in degree. North : Positive South : Negative


getPointVectorFromLongitudeLatitude

public 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].
        double height :  height [cm] from the earth center
        double longitude : longitude [deg]
        double latitude :  latitude [deg]
        
Returns J3Vector defined in the EarthCenterCoordinate


getSurfacePoint

public J3Vector getSurfacePoint(double longitude,
                                double latitude)
Get the point vector on the earth surface. Longitude [deg] and latitude [deg] are given.


IsInsideEarth

public boolean IsInsideEarth(J3Vector r)
Check if the point is inside the earth. If it's inside, returns true.