BoB robotics
The Brains on Board robotics library
units::area Namespace Reference

namespace for unit types and containers representing area values More...

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::area_unitsquare_meters
 
Units (full names singular)
typedef square_meters square_meter
 
Units (abbreviated)
typedef square_meters sq_m
 
Unit Containers
typedef unit_t< square_metersquare_meter_t
 
typedef unit_t< square_foot > square_foot_t
 
typedef unit_t< square_inch > square_inch_t
 
typedef unit_t< square_mile > square_mile_t
 
typedef unit_t< square_kilometer > square_kilometer_t
 
typedef unit_t< hectare > hectare_t
 
typedef unit_t< acre > acre_t
 

Functions

std::ostream & operator<< (std::ostream &os, const square_meter_t &obj)
 
std::string to_string (const square_meter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const square_foot_t &obj)
 
std::string to_string (const square_foot_t &obj)
 
std::ostream & operator<< (std::ostream &os, const square_inch_t &obj)
 
std::string to_string (const square_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const square_mile_t &obj)
 
std::string to_string (const square_mile_t &obj)
 
std::ostream & operator<< (std::ostream &os, const square_kilometer_t &obj)
 
std::string to_string (const square_kilometer_t &obj)
 
std::ostream & operator<< (std::ostream &os, const hectare_t &obj)
 
std::string to_string (const hectare_t &obj)
 
std::ostream & operator<< (std::ostream &os, const acre_t &obj)
 
std::string to_string (const acre_t &obj)
 

Detailed Description

namespace for unit types and containers representing area values

The SI unit for area is square_meters, and the corresponding base_unit category is area_unit.

See also
See unit_t for more information on unit type containers.