Functions

Viewing Namespace Reference

Functions

void earth_to_sat_from_range (const Geodetic::Point3D &p_v, const double &theta_v, const double &phi_v, const double &slant_range, Carthesian::Point3D &p_s)
 compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the slant range to the observed point Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84
void earth_to_sat_from_range (const Carthesian::Point3D &p_v, const double &theta_v, const double &phi_v, const double &slant_range, Carthesian::Point3D &p_s)
 compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the slant range to the observed point Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84
double alt_to_range (const Carthesian::Point3D &p_v, const double &theta_v, const double &alt_sat)
 computes the earth to satellite slant range, when the altitude of the satellite is given Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84
double alt_to_range (const Geodetic::Point3D &p_v, const double &theta_v, const double &alt_sat)
 computes the earth to satellite slant range, when the altitude of the satellite is given Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84
void earth_to_sat_from_alt (const Carthesian::Point3D &p_v, const double &theta_v, const double &phi_v, const double &alt_sat, Carthesian::Point3D &p_s)
 compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the satellite altitude above mean sea level Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84
void earth_to_sat_from_alt (const Geodetic::Point3D &p_v, const double &theta_v, const double &phi_v, const double &alt_sat, Carthesian::Point3D &p_s)
 compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the satellite altitude above mean sea level Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Detailed Description

view point computations


Function Documentation

double Viewing::alt_to_range ( const Carthesian::Point3D p_v,
const double &  theta_v,
const double &  alt_sat 
)

computes the earth to satellite slant range, when the altitude of the satellite is given Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in carthesian coordinates in ECR system, in meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
alt_sat [IN] altitude of the satellite above sea mean level, in meters
Returns:
earth observer to observed satellite distance, in meters

References Carthesian::Point3D::to_geodetic().

Referenced by earth_to_sat_from_alt().

double Viewing::alt_to_range ( const Geodetic::Point3D p_v,
const double &  theta_v,
const double &  alt_sat 
)

computes the earth to satellite slant range, when the altitude of the satellite is given Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in (lat, lon, alt) coordinates, in degrees/meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
alt_sat [IN] altitude of the satellite above sea mean level, in meters
Returns:
earth observer to observed satellite distance, in meters

References Geodetic::Point3D::alt, and Earth::get_radius().

void Viewing::earth_to_sat_from_alt ( const Carthesian::Point3D p_v,
const double &  theta_v,
const double &  phi_v,
const double &  alt_sat,
Carthesian::Point3D p_s 
)

compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the satellite altitude above mean sea level Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in carthesian coordinates in ECR system, in meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
phi_v [IN] azimutal angle in degrees. If observer at earth surface, from north to line of sight projection on surface
alt_sat [IN] altitude of the satellite above sea mean level, in meters
p_s [OUT] observed point in carthesian Geocentric coordinates, in meters

References alt_to_range(), and earth_to_sat_from_range().

Referenced by earth_to_sat_from_alt().

void Viewing::earth_to_sat_from_alt ( const Geodetic::Point3D p_v,
const double &  theta_v,
const double &  phi_v,
const double &  alt_sat,
Carthesian::Point3D p_s 
)

compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the satellite altitude above mean sea level Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in (lat, lon, alt) coordinates, in meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
phi_v [IN] azimutal angle in degrees. If observer at earth surface, from north to line of sight projection on surface
alt_sat [IN] altitude of the satellite above sea mean level, in meters
p_s [OUT] observed point in carthesian Geocentric coordinates, in meters

References earth_to_sat_from_alt(), and Geodetic::Point3D::to_carthesian().

void Viewing::earth_to_sat_from_range ( const Carthesian::Point3D p_v,
const double &  theta_v,
const double &  phi_v,
const double &  slant_range,
Carthesian::Point3D p_s 
)

compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the slant range to the observed point Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in carthesian coordinates in ECR system, in meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
phi_v [IN] azimutal angle in degrees. If observer at earth surface, from north to line of sight projection on surface
slant_range [IN] earth observer to observed satellite distance, in meters
p_s [OUT] observed point in carthesian Geocentric coordinates, in meters

References earth_to_sat_from_range(), and Carthesian::Point3D::to_geodetic().

void Viewing::earth_to_sat_from_range ( const Geodetic::Point3D p_v,
const double &  theta_v,
const double &  phi_v,
const double &  slant_range,
Carthesian::Point3D p_s 
)

compute the location of a satellite (in Carthesian Geocentric coordinates), using the the observer position (in ECR Geocentric coordinates), the viewing zenith and azimuth angles and the slant range to the observed point Earth is supposed to be a perfect shere having an authalic radius of 6371007.2 m, as specified by the WGS84

Parameters:
p_v [IN] observer's position in (lat, lon, alt) coordinates, in degrees/meters
theta_v [IN] zenithal angle in degrees. If observer at earth surface, from normal to line of sight
phi_v [IN] azimutal angle in degrees. If observer at earth surface, from north to line of sight projection on surface
slant_range [IN] earth observer to observed satellite distance, in meters
p_s [OUT] observed point in carthesian Geocentric coordinates, in meters

References Carthesian::crossproduct(), Geodetic::Point3D::lat, Geodetic::Point3D::lon, Carthesian::rotate(), Geodetic::Point3D::to_carthesian(), and Carthesian::Point3D::translate().

Referenced by earth_to_sat_from_alt(), and earth_to_sat_from_range().