Position.cpp File Reference


Detailed Description

class gpstk::Position encapsulates 3-D positions, both geographic positions, expressed as geodetic (with respect to any geoid), geocentric or Earth-centered, Earth-fixed (cartesian) coordinates, as well as ordinary positions defined by spherical or cartesian coordinates.

Position inherits from class Triple.

Definition in file Position.cpp.

#include "Position.hpp"
#include "WGS84Geoid.hpp"
#include "icd_200_constants.hpp"
#include "geometry.hpp"
#include "MiscMath.hpp"

Include dependency graph for Position.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  gpstk

Functions

Position operator- (const Position &left, const Position &right) throw ()
Position operator+ (const Position &left, const Position &right) throw ()
ostream & operator<< (ostream &s, const Position &p)
double range (const Position &A, const Position &B) throw (GeometryException)


Function Documentation

Position operator+ const Position &  left,
const Position &  right
throw ()
 

Parameters:
right Position to add to this one.
Returns:
The new Position.

Definition at line 200 of file Position.cpp.

References Position::transformTo().

Position operator- const Position &  left,
const Position &  right
throw ()
 

Parameters:
right Position to subtract from this one.
Returns:
difference as Position.

Definition at line 186 of file Position.cpp.

References Position::transformTo().

ostream& operator<< ostream &  s,
const Position &  p
 

Definition at line 1241 of file Position.cpp.

References Position::printf(), and Position::system.


Generated on Thu Mar 11 03:31:00 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1