code::LatLon Class Reference

List of all members.

Detailed Description

Container for latitude and longitude.

Author:
Lulin Song
Version:
Id
code_LatLon.h,v 1.11 2009/06/02 20:17:38 lakshman Exp


Public Member Functions

 LatLon (const Angle &, const Angle &)
 Build a LatLon from a pair of Angles.
const AnglegetLatitude () const
 Return the latitude angle.
const AnglegetLongitude () const
 Return the longitude angle.
bool isValid () const
 Determine whether this LatLon contains reasonable values.

Friends

std::ostream & operator<< (std::ostream &, const LatLon &)
 Print a nicely formatted string for this LatLon.


Constructor & Destructor Documentation

code::LatLon::LatLon ( const Angle ,
const Angle  
)

Build a LatLon from a pair of Angles.

Parameters:
const_Angle& latitude
const_Angle& longitude


Member Function Documentation

const Angle& code::LatLon::getLatitude (  )  const [inline]

Return the latitude angle.

const Angle& code::LatLon::getLongitude (  )  const [inline]

Return the longitude angle.

bool code::LatLon::isValid (  )  const

Determine whether this LatLon contains reasonable values.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const LatLon  
) [friend]

Print a nicely formatted string for this LatLon.


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7