Rose
Public Member Functions | Public Attributes | List of all members
rose::SatellitePassData Struct Reference
Collaboration diagram for rose::SatellitePassData:
Collaboration graph
[legend]

Public Member Functions

std::string passTimeString (time_t relative=0) const
 Create a std::string that describes the pass. More...
 
bool search (DateTime &now) const noexcept
 Return true if pass not found and search time not exceeded.
 
bool goodPass (double minAltitude) const noexcept
 
void setTopo (const Observer &observer)
 
void setGeo ()
 

Public Attributes

Satellite satellite {}
 
bool riseOk {false}
 
bool setOk {false}
 
bool everUp {false}
 
bool everDown {false}
 
long deltaTime {COARSE_DT}
 
double altitude {}
 
double azimuth {}
 
double range {}
 
double rangeRate {}
 
double latRad {}
 
double lonRad {}
 
double periodDays {}
 
double maxAltitude {}
 
double prevAltitude {0}
 
double setAz {0}
 
double riseAz {0}
 
DateTime srchTime {}
 
DateTime riseTime {}
 
DateTime setTime {}
 

Member Function Documentation

◆ passTimeString()

std::string rose::SatellitePassData::passTimeString ( time_t  relative = 0) const

Create a std::string that describes the pass.

If relative == 0 then times that are converted are converted to absolute dates and times in GMT. If the rise time is valid and in the future it is entered into the string first followed by " - " and the set time. If relative is not 0 the set time is converted relative to the rise time. This provides the rise time followed by the pass duration.

If the rise time is not valid only the set time is converted providing the set time if relative is 0 or the duration if relative is not 0.

Parameters
relativeA time_t to make the strings relative to.
Returns
a std::string with the formatted pass timing data.

The documentation for this struct was generated from the following files: