UnitsAPI.hxx File Reference

#include <Standard.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Real.hxx>
#include <Standard_CString.hxx>
#include <Handle_Units_Dimensions.hxx>
#include <UnitsAPI_SystemUnits.hxx>
#include <Standard_PrimitiveTypes.hxx>
#include <Standard_Boolean.hxx>

Data Structures

class  UnitsAPI
 The UnitsAPI global functions are used to
convert a value from any unit into another unit.
Principles
Conversion is executed among three unit systems:

  • the SI System
  • the user's Local System
  • the user's Current System.
    The SI System is the standard international unit
    system. It is indicated by SI in the synopses of
    the UnitsAPI functions.
    The MDTV System corresponds to the SI
    international standard but the length unit and all
    its derivatives use millimeters instead of the meters.
    Both systems are proposed by Open CASCADE;
    the SI System is the standard option. By
    selecting one of these two systems, the user
    defines his Local System through the
    SetLocalSystem function. The Local System is
    indicated by LS in the synopses of the UnitsAPI functions.
    The user's Local System units can be modified in
    the working environment. The user defines his
    Current System by modifying its units through
    the SetCurrentUnit function. The Current
    System is indicated by Current in the synopses
    of the UnitsAPI functions.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:41:25 2011 for Open CASCADE Technology by  doxygen 1.6.3