DEIMOS
Earth Observation Mission CFI Software
Pointing Software User Manual
ESA

EECFI::DemId Class Reference

Class for the DEM parameters. More...

Inheritance diagram for EECFI::DemId:
EECFI::CfiId EECFI::CfiClass

List of all members.

Public Member Functions

 DemId ()
 Empty Class constructor.
 ~DemId () throw (CfiError)
 Class destructor.
void init (long mode, long model, const string demFile) throw (CfiError)
 Initialise the DEM parameters.
double compute (const ModelId &modelId, double lon, double lat) const throw (CfiError)
 Compute altitude over the sea level for a point in the Earth.
SatId satId () const
 Get satellite id.
DemConfFile getData () const throw (CfiError)
 Get DEM parameters.

Protected Member Functions

GenericIdgetId ()
 Get the id.

Detailed Description

Class for the DEM parameters.


Constructor & Destructor Documentation

EECFI::DemId::DemId (  ) 

Empty Class constructor.

EECFI::DemId::~DemId (  )  throw (CfiError)

Member Function Documentation

double EECFI::DemId::compute ( const ModelId modelId,
double  lon,
double  lat 
) const throw (CfiError)

Compute altitude over the sea level for a point in the Earth.

Parameters:
modelId Model id.
lon Longitude.
lat Latitude.
Returns:
Altitude corresponding to lon and lat.
GenericId * EECFI::DemId::getId (  )  [protected]

Get the id.

Returns:
Pointer to xp_dem_id.
void EECFI::DemId::init ( long  mode,
long  model,
const string  demFile 
) throw (CfiError)

Initialise the DEM parameters.

The altitude is calculated from the altitudes read from a digital elevation model (DEM).

Parameters:
mode Digital elevation model initialisation mode (DemModelPointingEnum).
model Digital elevation model initialisation model (dummy in current implementation).
demFile File used for DEM initialisation.
SatId EECFI::DemId::satId (  )  const

Get satellite id.

Returns:
Satellite id.

Generated on Thu Jul 15 2010 10:11:14 for by doxygen 1.7.1