A given distance has a measurement and a unit-of-measure.
More...
#include <Distance.h>
A given distance has a measurement and a unit-of-measure.
Definition at line 44 of file Distance.h.
te::common::Distance::Distance |
( |
const double & |
value, |
|
|
std::size_t |
uomIdx |
|
) |
| |
It initializes a new Distance.
- Parameters
-
value | The value associated to the measure. |
uomIdx | An index to a valid unit-of-measure. See the Unit-of-measure manager class for more information on it. |
te::common::Distance::~Distance |
( |
| ) |
|
const double& te::common::Distance::getDistance |
( |
| ) |
const |
std::size_t te::common::Distance::getUom |
( |
| ) |
const |
void te::common::Distance::setDistance |
( |
const double & |
value | ) |
|
void te::common::Distance::setUom |
( |
std::size_t |
uom | ) |
|
std::size_t te::common::Distance::m_uom |
|
private |
double te::common::Distance::m_value |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/common/Distance.h