|
roo_quantity
API Documentation for roo_quantity
|
Representation of area, internally stored as floating-point square meters. More...
#include <area.h>
Public Member Functions | |
| Area () | |
| Creates a area object representing an 'unknown' area. | |
| float | inSquareKilometers () const |
| Returns the area in square kilometers. | |
| float | inHectares () const |
| Returns the area in hectares. | |
| float | inAres () const |
| Returns the area in ares. | |
| float | inSquareMeters () const |
| Returns the area in square meters. | |
| float | inSquareDecimeters () const |
| Returns the area in square decimeters. | |
| float | inSquareCentimeters () const |
| Returns the area in square centimeters. | |
| float | inSquareMillimeters () const |
| Returns the area in square millimeters. | |
| float | inSquareMicrometers () const |
| Returns the area in square micrometers. | |
| float | inAcres () const |
| Returns the area in acres. | |
| float | inSquareInches () const |
| Returns the area in square inches. | |
| bool | isUnknown () const |
| Returns whether the object represents an unknown area. | |
| bool | operator< (const Area &other) const |
| bool | operator== (const Area &other) const |
| bool | operator> (const Area &other) const |
| bool | operator<= (const Area &other) const |
| bool | operator>= (const Area &other) const |
| bool | operator!= (const Area &other) const |
| Area & | operator+= (const Area &other) |
| Area & | operator-= (const Area &other) |
| Area & | operator*= (float multi) |
| Area & | operator/= (float div) |
Friends | |
| Area | UnknownArea () |
| Returns a area object representing an unknown area. | |
| Area | AreaInSquareMeters (float) |
| Returns a area object equivalent to the specified area expressed in square meters. | |
Representation of area, internally stored as floating-point square meters.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the area in square meters.
Definition at line 35 of file area.h.
Referenced by roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator+(), operator+=(), roo_quantity::operator-(), roo_quantity::operator-(), operator-=(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), and roo_quantity::operator/().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 70 of file area.h.
References inSquareMeters().
Definition at line 75 of file area.h.
References inSquareMeters().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |