fr.cnes.sirius.patrius.stela.bodies
Class GeodPosition

java.lang.Object
  extended by fr.cnes.sirius.patrius.stela.bodies.GeodPosition

public final class GeodPosition
extends Object

Class representing the geodetic representation of a position.
It is used to compute the spacecraft geodetic latitude when computing the atmospheric drag acceleration.

Since:
1.3
Version:
$Id: GeodPosition.java 17584 2017-05-10 13:26:39Z bignon $
Author:
Vincent Ruch, Tiziana Sabatini
See Also:
StelaAeroModel
Concurrency :
immutable

Constructor Summary
GeodPosition(double rEq, double f)
          Constructor
 
Method Summary
 double getGeodeticAltitude(Vector3D position)
          Compute geodetic altitude.
 double getGeodeticLatitude(Vector3D position)
          Compute geodetic latitude.
 double getGeodeticLongitude(Vector3D position, AbsoluteDate date)
          Compute the geodetic longitude at a given date.
 double getTloc(Vector3D position, Vector3D positionSun, AbsoluteDate date)
          Compute the local solar time at a given date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeodPosition

public GeodPosition(double rEq,
                    double f)
Constructor

Parameters:
rEq - the Earth radius
f - the Earth flattening
Method Detail

getGeodeticAltitude

public double getGeodeticAltitude(Vector3D position)
                           throws OrekitException
Compute geodetic altitude.

Parameters:
position - the spacecraft position
Returns:
the geodetic altitude (m)
Throws:
OrekitException - Exception raised if :
  • geocentric latitude is Infinite or NaN
  • geodetic altitude cannot be compute
  • the algorithm does not converge after the max authorised number of iterations

getGeodeticLatitude

public double getGeodeticLatitude(Vector3D position)
                           throws OrekitException
Compute geodetic latitude.

Parameters:
position - the spacecraft position
Returns:
the geodetic latitude (rad)
Throws:
OrekitException - exception raised if :
  • geocentric latitude is Infinite or NaN
  • geodetic altitude cannot be compute
  • the algorithm does not converge after the max authorised number of iterations

getGeodeticLongitude

public double getGeodeticLongitude(Vector3D position,
                                   AbsoluteDate date)
                            throws OrekitException
Compute the geodetic longitude at a given date.

Parameters:
position - the spacecraft position
date - the date
Returns:
the geodetic longitude (rad)
Throws:
OrekitException - error in the GMST computation

getTloc

public double getTloc(Vector3D position,
                      Vector3D positionSun,
                      AbsoluteDate date)
Compute the local solar time at a given date.

Parameters:
position - the spacecraft position
positionSun - the Sun position
date - the date
Returns:
the local solar time


Copyright © 2017 CNES. All Rights Reserved.