WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WXP::EarthRange Struct Reference

This struct defines a range of latitudes and longitudes. More...

#include "../include/EarthRange.h"

Public Member Functions

 EarthRange ()
 
 EarthRange (float nlat, float xlat, float nlon, float xlon)
 
int init ()
 
int set (float nlat, float xlat, float nlon, float xlon)
 
float getMinLat ()
 
float getMaxLat ()
 
float getMinLon ()
 
float getMaxLon ()
 
int print ()
 

Public Attributes

float min_lat
 
float max_lat
 
float min_lon
 
float max_lon
 

Detailed Description

This struct defines a range of latitudes and longitudes.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ EarthRange() [1/2]

EarthRange::EarthRange ( )

Constructor

References init().

◆ EarthRange() [2/2]

EarthRange::EarthRange ( float  nlat,
float  xlat,
float  nlon,
float  xlon 
)

Constructor. Sets the values

Parameters
nlatMinimum latitude
xlatMaximum latitude
nlonMinimum longitude
xlonMaximum longitude

References set().

Member Function Documentation

◆ getMaxLat()

float WXP::EarthRange::getMaxLat ( )
inline

Returns the maximum

◆ getMaxLon()

float WXP::EarthRange::getMaxLon ( )
inline

Returns the maximum

◆ getMinLat()

float WXP::EarthRange::getMinLat ( )
inline

Returns the minimum

◆ getMinLon()

float WXP::EarthRange::getMinLon ( )
inline

Returns the minimum

◆ init()

int EarthRange::init ( )

Initializes the object

References WXP::Const::MISS.

Referenced by EarthRange().

◆ print()

int EarthRange::print ( )

Prints the object data

Referenced by WXP::ShapeData::print().

◆ set()

int EarthRange::set ( float  nlat,
float  xlat,
float  nlon,
float  xlon 
)

Sets the values

Parameters
nlatMinimum latitude
xlatMaximum latitude
nlonMinimum longitude
xlonMaximum longitude

Referenced by EarthRange().


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