UNCLASSIFIED

GeographicTranslator
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
MSP::CCS::Spherical Class Reference

#include <Spherical.h>

Inheritance diagram for MSP::CCS::Spherical:
MSP::CCS::Geocentric MSP::CCS::CoordinateSystem

Public Member Functions

 Spherical (double ellipsoidSemiMajorAxis, double ellipsoidFlattening)
 
 Spherical (const Spherical &g)
 
 ~Spherical (void)
 
MSP::CCS::SphericalCoordinatesconvertFromGeodetic (const MSP::CCS::GeodeticCoordinates *geodeticCoordinate)
 
MSP::CCS::GeodeticCoordinatesconvertToGeodetic (MSP::CCS::SphericalCoordinates *sphericalCoordinate)
 
- Public Member Functions inherited from MSP::CCS::Geocentric
 Geocentric (double ellipsoidSemiMajorAxis, double ellipsoidFlattening)
 
 Geocentric (const Geocentric &g)
 
 ~Geocentric (void)
 
Geocentricoperator= (const Geocentric &g)
 
MSP::CCS::CartesianCoordinatesconvertFromGeodetic (const MSP::CCS::GeodeticCoordinates *geodeticCoordinates)
 
MSP::CCS::GeodeticCoordinatesconvertToGeodetic (MSP::CCS::CartesianCoordinates *cartesianCoordinates)
 
- Public Member Functions inherited from MSP::CCS::CoordinateSystem
 CoordinateSystem ()
 
 CoordinateSystem (double _semiMajorAxis, double _flattening)
 
 ~CoordinateSystem ()
 
void getEllipsoidParameters (double *_semiMajorAxis, double *_flattening)
 

Protected Member Functions

void sphericalToGeocentric (const double longitude, const double latitude, const double radius, double &x, double &y, double &z) const
 
void geocentricToSpherical (const double x, const double y, const double z, double &longitude, double &latitude, double &radius) const
 

Additional Inherited Members

- Protected Attributes inherited from MSP::CCS::CoordinateSystem
double semiMajorAxis
 
double flattening
 

Detailed Description

Definition at line 41 of file Spherical.h.

Constructor & Destructor Documentation

Spherical::Spherical ( double  ellipsoidSemiMajorAxis,
double  ellipsoidFlattening 
)

Definition at line 30 of file Spherical.cpp.

Spherical::Spherical ( const Spherical g)

Definition at line 37 of file Spherical.cpp.

Spherical::~Spherical ( void  )

Definition at line 42 of file Spherical.cpp.

Member Function Documentation

MSP::CCS::SphericalCoordinates * Spherical::convertFromGeodetic ( const MSP::CCS::GeodeticCoordinates geodeticCoordinate)

Definition at line 46 of file Spherical.cpp.

MSP::CCS::GeodeticCoordinates * Spherical::convertToGeodetic ( MSP::CCS::SphericalCoordinates sphericalCoordinate)

Definition at line 63 of file Spherical.cpp.

void Spherical::geocentricToSpherical ( const double  x,
const double  y,
const double  z,
double &  longitude,
double &  latitude,
double &  radius 
) const
protected

Definition at line 95 of file Spherical.cpp.

void Spherical::sphericalToGeocentric ( const double  longitude,
const double  latitude,
const double  radius,
double &  x,
double &  y,
double &  z 
) const
protected

Definition at line 77 of file Spherical.cpp.