Open CASCADE Technology
7.2.0
|
#include <NCollection_Array1.hxx>
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <Quantity_PhysicalQuantity.hxx>
Macros | |
#define | __Quantity_API |
Functions | |
class | Standard_DEPRECATED ("This class is deprecated - UnitsAPI should be used instead") Quantity_Convert |
Services to manage units conversion between Front-ends and Engines. This conversion is managed by a table of correspondance between the quantities and their "conversion coefficient". This table is implemented like an external array (TCollection_Array1) regarding to the quantities enumeration. More... | |
Variables | |
__Quantity_API NCollection_Array1< Standard_Real > | ConvertTable |
#define __Quantity_API |
class Standard_DEPRECATED | ( | "This class is deprecated - UnitsAPI should be used instead" | ) |
Services to manage units conversion between Front-ends and Engines. This conversion is managed by a table of correspondance between the quantities and their "conversion coefficient". This table is implemented like an external array (TCollection_Array1) regarding to the quantities enumeration.
Creates an object;
Updates the conversion table (correspondances between Quantities and conversion coefficients).
Converts, from the conversion table, the value theVal from the user system to the SI system.
Converts, from the conversion table, the value theVal from the SI system to the user system.
if (aType is a physical quantity) returns True and the name of the associated PhysicalQuantity . else returns False.
__Quantity_API NCollection_Array1<Standard_Real> ConvertTable |