Support Forum G3D Web Page |
Use using namespace G3D::units;
to include all units into your program.
More...
Functions | |
float | centimeters () |
0.01 m More... | |
float | days () |
86400 s More... | |
float | degrees () |
pi/180 More... | |
float | feet () |
0.3048 m More... | |
float | hours () |
3600 s More... | |
float | inches () |
0.0254 m More... | |
float | joules () |
SI unit of energy: J = N*m. More... | |
float | kilograms () |
SI unit of mass. More... | |
float | kilometers () |
1000 m More... | |
float | meters () |
SI base unit of distance measure. More... | |
float | micrometers () |
1e-6 m More... | |
float | miles () |
1609.344 m More... | |
float | millimeters () |
0.001 m More... | |
float | milliseconds () |
1e-3 s More... | |
float | minutes () |
60 s More... | |
float | nanometers () |
1e-9 m More... | |
float | nanoseconds () |
1e-9 s More... | |
float | newtons () |
1 kg m / s^2 More... | |
float | radians () |
SI base unit of angular measure. More... | |
float | seconds () |
Base unit of time. More... | |
float | steradians () |
Unit of solid angle measure. More... | |
float | watts () |
SI unit of power: W = J/s. More... | |
float | yards () |
0.9144 m More... | |
float | years () |
31556926 s More... | |
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.
|
inline |
0.01 m
|
inline |
86400 s
|
inline |
pi/180
|
inline |
0.3048 m
|
inline |
3600 s
|
inline |
0.0254 m
|
inline |
SI unit of energy: J = N*m.
|
inline |
SI unit of mass.
|
inline |
1000 m
|
inline |
SI base unit of distance measure.
|
inline |
1e-6 m
|
inline |
1609.344 m
|
inline |
0.001 m
|
inline |
1e-3 s
|
inline |
60 s
|
inline |
1e-9 m
|
inline |
1e-9 s
|
inline |
1 kg m / s^2
|
inline |
SI base unit of angular measure.
|
inline |
Base unit of time.
|
inline |
Unit of solid angle measure.
A sphere subtends 4 * pi sr.
|
inline |
SI unit of power: W = J/s.
|
inline |
0.9144 m
|
inline |
31556926 s