26 #ifndef __TERRALIB_COMMON_INTERNAL_DISTANCE_H    27 #define __TERRALIB_COMMON_INTERNAL_DISTANCE_H    59         Distance(
const double& value, std::size_t uomIdx);
    71         void setDistance(
const double& value);
    73         const double& getDistance() 
const;
    75         void setUom(std::size_t uom);
    77         std::size_t getUom() 
const;
    90 #endif  // __TERRALIB_COMMON_INTERNAL_DISTANCE_H Configuration flags for the TerraLib Common Runtime module. 
 
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
TEMNTEXPORT double Distance(const te::gm::Coord2D &pt1, const te::gm::Coord2D &pt2)
 
A given distance has a measurement and a unit-of-measure.