WXP::EarthPoint Class Reference
[Utility objects]

This structure defines earth point values (lat, lon). More...

#include "../include/EarthPoint.h"

List of all members.

Public Member Functions

int init ()
 EarthPoint ()
 EarthPoint (float rlat, float rlon)
int set (float rlat, float rlon)
int setElev (float relev)
int set (EarthPoint ept)
float getLat ()
float getLon ()
float getElev ()
int print ()

Public Attributes

float lat
float lon
float elev

Detailed Description

This structure defines earth point values (lat, lon).

Author:
Dan Vietor

Constructor & Destructor Documentation

EarthPoint::EarthPoint (  ) 

Constructor. Initializes the values.

References init().

EarthPoint::EarthPoint ( float  rlat,
float  rlon 
)

Constructor. Sets values.

Parameters:
rlat Specified latitude
rlon Specified longitude

References lat, and lon.


Member Function Documentation

int EarthPoint::init (  ) 

Initializes the values.

References elev, lat, lon, and WXP::Const::MISS.

Referenced by EarthPoint(), and WXP::CityTool::locate().

int EarthPoint::print (  ) 

Prints the values to standard output.

References lat, and lon.

int EarthPoint::set ( float  rlat,
float  rlon 
)

Member Data Documentation

Elevation

Referenced by init().


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1