BRange Class Reference

#include <BRange.h>

List of all members.


Detailed Description

A numerical range, defined by a maximum and a minimum value.

Public Member Functions

 BRange (const BRange &r)
 Copy constructor.
 BRange (double min, double max)
 Constructor.
 BRange ()
 Default constructor.
double GetMaximum (void) const
 Getd the maximum value.
double GetMinimum (void) const
 Gets the minimum value.
bool IsValid (void) const
 Indicates whether the range is valid.
void SetMaximum (double max)
 Sets the maximum value.
void SetMinimum (double min)
 Sets the minimum value.

Constructor & Destructor Documentation

BRange (  )  [inline]

Default constructor.

BRange ( double  min,
double  max 
) [inline]

Constructor.

Parameters:
min The minimum value.
max The maximum value.

BRange ( const BRange r  )  [inline]

Copy constructor.

Parameters:
r The BRange to copy.


Member Function Documentation

double GetMaximum ( void   )  const [inline]

Getd the maximum value.

Returns:
The maximum value.

double GetMinimum ( void   )  const [inline]

Gets the minimum value.

Returns:
The minimum value.

bool IsValid ( void   )  const [inline]

Indicates whether the range is valid.

A range is said to be valid if the minimum value is strictly less than the maximum value.

Returns:
True if this BRange is valid and false otherwise.

void SetMaximum ( double  max  )  [inline]

Sets the maximum value.

Parameters:
max The maximum value.

void SetMinimum ( double  min  )  [inline]

Sets the minimum value.

Parameters:
min The minimum value.


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

GeoTranslate 5.0 From Blue Marble Geographics