osgEarth 2.1.1
Public Member Functions | Private Attributes

Extent Class Reference

#include <Extent.h>

List of all members.

Public Member Functions

 Extent ()
 Extent (double _xmin, double _ymin, double _xmax, double _ymax, const std::string &_srs)
 Extent (const Extent &rhs)
double xMin () const
double yMin () const
double xMax () const
double yMax () const
const std::string & srs ()
bool isValid () const

Private Attributes

double xmin
double ymin
double xmax
double ymax
std::string srs_str
bool is_valid

Detailed Description

Definition at line 23 of file Extent.h.


Constructor & Destructor Documentation

Extent::Extent ( ) [inline]

Definition at line 26 of file Extent.h.

             :
      is_valid(false) { }
Extent::Extent ( double  _xmin,
double  _ymin,
double  _xmax,
double  _ymax,
const std::string &  _srs 
) [inline]

Definition at line 29 of file Extent.h.

                                                                                              :
      xmin(_xmin), ymin(_ymin), xmax(_xmax), ymax(_ymax), srs_str(_srs), is_valid(true) { }
Extent::Extent ( const Extent rhs) [inline]

Definition at line 32 of file Extent.h.

                                  :
      xmin(rhs.xmin), ymin(rhs.ymin), xmax(rhs.xmax), ymax(rhs.ymax), srs_str(rhs.srs_str), is_valid(rhs.is_valid) { }

Member Function Documentation

bool Extent::isValid ( ) const [inline]

Definition at line 42 of file Extent.h.

{ return is_valid; }
const std::string& Extent::srs ( ) [inline]

Definition at line 40 of file Extent.h.

{ return srs_str; }
double Extent::xMax ( ) const [inline]

Definition at line 37 of file Extent.h.

{ return xmax; }
double Extent::xMin ( ) const [inline]

Definition at line 35 of file Extent.h.

{ return xmin; }
double Extent::yMax ( ) const [inline]

Definition at line 38 of file Extent.h.

{ return ymax; }
double Extent::yMin ( ) const [inline]

Definition at line 36 of file Extent.h.

{ return ymin; }

Member Data Documentation

bool Extent::is_valid [private]

Definition at line 47 of file Extent.h.

std::string Extent::srs_str [private]

Definition at line 46 of file Extent.h.

double Extent::xmax [private]

Definition at line 45 of file Extent.h.

double Extent::xmin [private]

Definition at line 45 of file Extent.h.

double Extent::ymax [private]

Definition at line 45 of file Extent.h.

double Extent::ymin [private]

Definition at line 45 of file Extent.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines