|
static const unsigned | cmPerMeter_ = 100 |
|
static const unsigned | cmPerKm_ = 100000 |
|
static const unsigned | micronsPerCm_ = 10000 |
|
static const double | metersPerMile_ = 1609.344 |
|
static const double | cmPerMile_ = 160934.4 |
|
|
void | setFinite (bool finite) |
|
Constructor.
....................................................................... Constructor.
Length::Length |
( |
const Length & |
length | ) |
|
Copy constructor
....................................................................... Copy constructor.
Destructor.
....................................................................... Destructor.
double gcp::util::Length::centimeters |
( |
| ) |
const |
|
inline |
Get the length of this object
Length Length::operator* |
( |
double |
multFac | ) |
|
Multiply a length by a constant
....................................................................... Multiply a length by a constant
Add two Lengths
....................................................................... Add two Lengths
Subtract two Lengths
....................................................................... Subtract two Lengths
double Length::operator/ |
( |
Length & |
length | ) |
|
Divide two Lengths
....................................................................... Divide two Lengths
void gcp::util::Length::setCentimeters |
( |
double |
cm | ) |
|
|
inline |
Set the length of this object
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
Length & |
length |
|
) |
| |
|
friend |
Allows cout << Length
....................................................................... Allows cout << Length
The documentation for this class was generated from the following files:
- gcpCbass/util/common/Length.h
- gcpCbass/util/common/Length.cc