roo_quantity
API Documentation for roo_quantity
Loading...
Searching...
No Matches
area.h File Reference
#include <cmath>
#include "roo_flags.h"
#include "roo_logging.h"
#include "roo_quantity/length.h"
Include dependency graph for area.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_quantity::Area
 Representation of area, internally stored as floating-point square meters. More...
 

Namespaces

namespace  roo_quantity
 For convenience conversion from roo_time::Duration.
 

Functions

Area roo_quantity::AreaInSquareMeters (float area)
 Returns a area object equivalent to the specified area expressed in square meters.
 
Area roo_quantity::UnknownArea ()
 Returns a area object representing an unknown area.
 
Area roo_quantity::AreaInSquareKilometers (float area)
 Returns a area object equivalent to the specified area expressed in square kilometers.
 
Area roo_quantity::AreaInHectares (float area)
 Returns a area object equivalent to the specified area expressed in hectares.
 
Area roo_quantity::AreaInAres (float area)
 Returns a area object equivalent to the specified area expressed in ares.
 
Area roo_quantity::AreaInSquareDecimeters (float area)
 Returns a area object equivalent to the specified area expressed in square decimeters.
 
Area roo_quantity::AreaInSquareCentimeters (float area)
 Returns a area object equivalent to the specified area expressed in square centimeters.
 
Area roo_quantity::AreaInSquareMillimeters (float area)
 Returns a area object equivalent to the specified area expressed in square millimeters.
 
Area roo_quantity::AreaInSquareMicrometers (float area)
 Returns a area object equivalent to the specified area expressed in square micrometers.
 
Area roo_quantity::AreaInAcres (float area)
 Returns a area object equivalent to the specified area expressed in acres.
 
Area roo_quantity::AreaInSquareInches (float area)
 Returns a area object equivalent to the specified area expressed in acres.
 
Area roo_quantity::operator+ (Area a, Area b)
 
Area roo_quantity::operator- (Area a, Area b)
 
Area roo_quantity::operator- (Area a)
 
Area roo_quantity::operator* (Area a, float b)
 
Area roo_quantity::operator* (float a, Area b)
 
Area roo_quantity::operator/ (Area a, float b)
 
float roo_quantity::operator/ (Area a, Area b)
 
Area roo_quantity::operator* (Length a, Length b)
 
Length roo_quantity::operator/ (Area a, Length b)
 
roo_logging::Stream & roo_quantity::operator<< (roo_logging::Stream &os, const Area &val)