Use using namespace G3D::units;
to include all units into your program. The units system is specifically designed not to be general but to support commonly used units efficiently and clearly. See http://en.wikipedia.org/wiki/SI_prefix for interesting facts about SI/metric units and full definitions.
float G3D::units::centimeters |
( |
| ) |
|
|
inline |
float G3D::units::days |
( |
| ) |
|
|
inline |
float G3D::units::degrees |
( |
| ) |
|
|
inline |
float G3D::units::feet |
( |
| ) |
|
|
inline |
float G3D::units::hours |
( |
| ) |
|
|
inline |
float G3D::units::inches |
( |
| ) |
|
|
inline |
float G3D::units::joules |
( |
| ) |
|
|
inline |
SI unit of energy: J = N*m
float G3D::units::kilograms |
( |
| ) |
|
|
inline |
float G3D::units::kilometers |
( |
| ) |
|
|
inline |
float G3D::units::meters |
( |
| ) |
|
|
inline |
SI base unit of distance measure.
float G3D::units::micrometers |
( |
| ) |
|
|
inline |
float G3D::units::miles |
( |
| ) |
|
|
inline |
float G3D::units::millimeters |
( |
| ) |
|
|
inline |
float G3D::units::milliseconds |
( |
| ) |
|
|
inline |
float G3D::units::minutes |
( |
| ) |
|
|
inline |
float G3D::units::nanometers |
( |
| ) |
|
|
inline |
float G3D::units::nanoseconds |
( |
| ) |
|
|
inline |
float G3D::units::newtons |
( |
| ) |
|
|
inline |
float G3D::units::radians |
( |
| ) |
|
|
inline |
SI base unit of angular measure.
float G3D::units::seconds |
( |
| ) |
|
|
inline |
float G3D::units::steradians |
( |
| ) |
|
|
inline |
Unit of solid angle measure. A sphere subtends 4 * pi sr.
float G3D::units::watts |
( |
| ) |
|
|
inline |
SI unit of power: W = J/s
float G3D::units::yards |
( |
| ) |
|
|
inline |
float G3D::units::years |
( |
| ) |
|
|
inline |