Functions | |
| GEOMLIBEXPORT double | ConvertUnit (double val, const UNITCONV *c) |
| GEOMLIBEXPORT double | ConvertUnitInv (double val, const UNITCONV *conv) |
| GEOMLIBEXPORT char * | ConvertUnitStr (char *str, int len, double val, const UNITCONV *conv) |
| GEOMLIBEXPORT double | ConvertUnitStrInv (char *str, const UNITCONV *conv) |
| GEOMLIBEXPORT UNITCONV * | GetUnitConversion (int type, int fromcode, int tocode, UNITCONV *conv) |
| GEOMLIBEXPORT UNITCONV * | GetUnitConversionIdentity (int type, UNITCONV *conv) |
| GEOMLIBEXPORT const MISTRING & | GetUnitName (int type, int num) |
| GEOMLIBEXPORT const MISTRING & | GetUnitSymbol (int type, int num) |
| MENUITEM * | MxCreateUnitMenuItems (int type, int dft, XtCallbackProc cbfunc, UINT32 flags=0) |
| Widget | MxCreateUnitOptionMenu (Widget pwidget, const char *label, int type, int dft, XtCallbackProc cbfunc, void *udata, UINT32 flags=0, const Arg *arglist=0, int argcount=0) |
| Widget | MxCreateUnitOptionMenuExt (Widget pwidget, const char *label, int type, int dft, XtCallbackProc cbfunc, void *udata, UINT32 flags, const Arg *arglist, int argcount) |
| Widget | MxCreateUnitOptionMenuF (Widget pwidget, const char *label, int type, int dft, XtCallbackProc cbfunc, void *udata, UINT32 flags) |
|
||||||||||||
|
Perform unit conversion on numeric value.
|
|
||||||||||||
|
Perform inverse unit conversion on numeric value.
|
|
||||||||||||||||||||
|
Special unit conversion for string data types (number to string).
|
|
||||||||||||
|
Special unit conversion for string data types (string to number).
|
|
||||||||||||||||||||
|
Setup unit conversion structure between units of given type.
|
|
||||||||||||
|
Setup "identity" unit conversion for given type.
|
|
||||||||||||
|
Get name for given unit type/number.
|
|
||||||||||||
|
Get "symbol" for given unit type/number.
|
|
||||||||||||||||||||
|
Create MENUITEM array for all defined units of a specified type.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Create OptionMenu for specifying units (feet, meters, etc...).
|
|
||||||||||||||||||||||||||||||||||||||||
|
Create OptionMenu for specifying units (feet, meters, etc...).
Definition at line 126 of file unitmenu.h. |
|
||||||||||||||||||||||||||||||||
|
Create OptionMenu for specifying units (feet, meters, etc...).
Definition at line 142 of file unitmenu.h. |
1.3.8-20040913