![]() |
Earth Observation Mission CFI Software Visibility Software User Manual |
![]() |
Class that stores the Swath data. More...
Public Member Functions | |
SwathId (AtmosId &atmosId, SwathInfo &swathInfo) throw (CfiError) | |
Copy constructor. | |
SwathId (SwathId &swathIdIn) | |
Copy constructor. | |
~SwathId () throw (CfiError) | |
Class destructor. | |
SwathIdData | getData () |
Get swath data. | |
void | setData (SwathIdData &swathInfo) |
Set swath data. | |
void | operator= (const SwathId &swathIdIn) |
Copy operator. | |
ZoneCoverageOut | zoneVisTimeCoverage (ZoneCoverageIn &input) throw (CfiError) |
The zoneVisTimeCoverage method computes the portion of the input zone that is covered by the input satellite in input time visibility segments. | |
void | computeAoi (OrbitId &orbitId, VisTimeInterval timeInterval, double min_lon, double max_lon, double min_lat, double max_lat, double lon[4], double lat[4]) throw (CfiError) |
Compute the area of interest (aoi) based on SDF file and time interval. The function provides the pre-calculation of an area of interest (aoi), which is defined by min/max lon/lat that includes the projection of all segments from the satellite to the intersection with the ellipsoid. | |
Protected Member Functions | |
GenericId * | getId () |
Get the id. | |
void | eraseObject () throw (CfiError) |
Close swath id of object. |
Class that stores the Swath data.
Copy constructor.
atmosIdIn | Atmos id. | |
swathInfo | Swath data. |
EECFI::SwathId::SwathId | ( | SwathId & | swathIdIn | ) |
Copy constructor.
EECFI::SwathId::~SwathId | ( | ) | throw (CfiError) |
Class destructor.
References eraseObject().
void EECFI::SwathId::computeAoi | ( | OrbitId & | orbitId, | |
VisTimeInterval | timeInterval, | |||
double | min_lon, | |||
double | max_lon, | |||
double | min_lat, | |||
double | max_lat, | |||
double | lon[4], | |||
double | lat[4] | |||
) | throw (CfiError) |
Compute the area of interest (aoi) based on SDF file and time interval.
The function provides the pre-calculation of an area of interest (aoi), which is defined by min/max lon/lat that includes the projection of all segments from the satellite to the intersection with the ellipsoid.
swathId | Swath Id. | |
time_interval | Time interval. | |
min_lon | Minimum input longitude. | |
max_lon | Maximum input longitude. | |
min_lat | Minimum input latitude. | |
max_lat | Maximum input latitude. |
References EECFI::CfiError::addMsg().
void EECFI::SwathId::eraseObject | ( | ) | throw (CfiError) [protected] |
Close swath id of object.
References EECFI::CfiId::status(), EECFI::CfiId::subtractInstance(), and EECFI::CfiClass::throwWarn.
Referenced by operator=(), and ~SwathId().
SwathIdData EECFI::SwathId::getData | ( | ) |
Get swath data.
GenericId * SwathId::getId | ( | ) | [protected] |
Get the id.
void EECFI::SwathId::operator= | ( | const SwathId & | swathIdIn | ) |
Copy operator.
swathIdIn | SwathId we want to copy. |
References EECFI::CfiId::addInstance(), and eraseObject().
void EECFI::SwathId::setData | ( | SwathIdData & | swathInfo | ) |
Set swath data.
swathInfo | Swath id data. |
References EECFI::SwathIdData::filename, EECFI::SwathIdData::nofRegenOrbits, EECFI::SwathIdData::orbitRef, EECFI::SwathIdData::sdfFile, EECFI::SwathIdData::stfFile, EECFI::SwathIdData::type, EECFI::SwathIdData::valOrbitStart, and EECFI::SwathIdData::valOrbitStop.
ZoneCoverageOut EECFI::SwathId::zoneVisTimeCoverage | ( | ZoneCoverageIn & | input | ) | throw (CfiError) |
The zoneVisTimeCoverage method computes the portion of the input zone that is covered by the input satellite in input time visibility segments.
input | Inputs for zone coverage computation. |
References EECFI::ZoneCoverageOut::coverageByNIntervals, EECFI::ZoneCoverageOut::coveragePerInterval, EECFI::ZoneCoverageOut::cumulativeCoverage, EECFI::ZoneCoverageOut::totalCoverage, and EECFI::ZoneCoverageOut::zoneArea.