DEIMOS
Earth Observation Mission CFI Software
Visibility Software User Manual
ESA

EECFI::VisibilityList Class Reference

Inheritance diagram for EECFI::VisibilityList:
EECFI::CfiClass

List of all members.

Public Member Functions

 VisibilityList ()
 Default constructor.
 ~VisibilityList () NOEXCEPT
 Class destructor.
EECFI::VisibilityList computeNot (OrbitId &orbitId, long orderSwitch) const
 Get the list of complementary list of time segments.
EECFI::VisibilityList computeOr (OrbitId &orbitId, long orderSwitch, const EECFI::VisibilityList &list2) const
 Get the union of two lists.
EECFI::VisibilityList computeAnd (OrbitId &orbitId, long orderSwitch, const EECFI::VisibilityList &list2) const
 Get the intersection of two lists.
void sort (OrbitId &orbitId)
 Sort the list by the start time of the visibility segments.
void merge (OrbitId &orbitId, long orderSwitch)
 Merge the list. The overlapping VisibilitySegments are merged.
void delta (OrbitId &orbitId, double entryOffset, double exitOffset)
 Add the input margins to every visibility segment.

Constructor & Destructor Documentation

EECFI::VisibilityList::VisibilityList (  ) 

Default constructor.

EECFI::VisibilityList::~VisibilityList (  ) 

Class destructor.


Member Function Documentation

EECFI::VisibilityList EECFI::VisibilityList::computeAnd ( OrbitId orbitId,
long  orderSwitch,
const EECFI::VisibilityList list2 
) const

Get the intersection of two lists.

VisibilityList operation operAnd
Parameters:
orbitId Orbit Id.
orderSwitch Indicates if the input list is sorted by start times. If input segments are already sorted, the flag should be set to XVCFI_TIME_ORDER to save computation time. (XV_time_segments_order_enum in VisibilityData.h)
list2 Second list to be intersected with the input list.
Returns:
The list with the visibility segments resulting from the intersection of the two lists

References EECFI::CfiClass::throwWarn.

EECFI::VisibilityList EECFI::VisibilityList::computeNot ( OrbitId orbitId,
long  orderSwitch 
) const

Get the list of complementary list of time segments.

Parameters:
orbitId Orbit Id.
orderSwitch Indicates if the input list is sorted by start times. If input segments are already sorted, the flag should be set to XVCFI_TIME_ORDER to save computation time. (XV_time_segments_order_enum in VisibilityData.h)
Returns:
The list with the compliment segments

References EECFI::CfiClass::throwWarn.

EECFI::VisibilityList EECFI::VisibilityList::computeOr ( OrbitId orbitId,
long  orderSwitch,
const EECFI::VisibilityList list2 
) const

Get the union of two lists.

VisibilityList operation operOr
Parameters:
orbitId Orbit Id.
orderSwitch Indicates if the input list is sorted by start times. If input segments are already sorted, the flag should be set to XVCFI_TIME_ORDER to save computation time. (XV_time_segments_order_enum in VisibilityData.h)
list2 Second list to be joined to the input list.
Returns:
The list with the visibility segments resulting from the union the the two lists

References EECFI::CfiClass::throwWarn.

void EECFI::VisibilityList::delta ( OrbitId orbitId,
double  entryOffset,
double  exitOffset 
)

Add the input margins to every visibility segment.

Parameters:
orbitId Orbit Id.
entryOffset Number of seconds to add/subtract at the beginning of every segment. If entry_offset > 0, the entry_offset is added at the beginning of the segments making them shorter.
exitOffset Number of seconds to add/subtract at the end of every segment. If exit_offset > 0 the exit_offset is added at the end of the segments making them longer.

References EECFI::CfiClass::throwWarn.

void EECFI::VisibilityList::merge ( OrbitId orbitId,
long  orderSwitch 
)

Merge the list. The overlapping VisibilitySegments are merged.

VisibilityList operation merge
Parameters:
orbitId Orbit Id.
orderSwitch Indicates if the input list is sorted by start times. If input segments are already sorted, the flag should be set to XVCFI_TIME_ORDER to save computation time. (XV_time_segments_order_enum in VisibilityData.h)

References EECFI::CfiClass::throwWarn.

void VisibilityList::sort ( OrbitId orbitId  ) 

Sort the list by the start time of the visibility segments.

Parameters:
orbitId Orbit Id.

References EECFI::CfiClass::throwWarn.


Generated on Thu Jun 6 2024 12:47:19 for by doxygen 1.7.1