# FoundationClasses
TKernel
Units

# Units_Dimensions Class Reference

This class includes all the methods to create and
manipulate the dimensions of the physical
quantities.
.

`#include <Units_Dimensions.hxx>`

Inheritance diagram for Units_Dimensions:

[legend]

## Public Member Functions

Standard_EXPORT | Units_Dimensions (const Standard_Real amass, const Standard_Real alength, const Standard_Real atime, const Standard_Real anelectriccurrent, const Standard_Real athermodynamictemperature, const Standard_Real anamountofsubstance, const Standard_Real aluminousintensity, const Standard_Real aplaneangle, const Standard_Real asolidangle)
| Returns a Dimensions object which represents the dimension of a physical quantity. Each of the <amass>, <alength>, <atime>, <anelectriccurrent>, <athermodynamictemperature>, <anamountofsubstance>, <aluminousintensity>, <aplaneangle>, <asolidangle> are the powers for the 7 fundamental units of physical quantity and the 2 secondary fundamental units of physical quantity. .
Standard_Real | Mass () const
| Returns the power of mass stored in the dimensions. .
Standard_Real | Length () const
| Returns the power of length stored in the dimensions. .
Standard_Real | Time () const
| Returns the power of time stored in the dimensions. .
Standard_Real | ElectricCurrent () const
| Returns the power of electrical intensity (current) stored in the dimensions. .
Standard_Real | ThermodynamicTemperature () const
| Returns the power of temperature stored in the dimensions. .
Standard_Real | AmountOfSubstance () const
| Returns the power of quantity of material (mole) stored in the dimensions. .
Standard_Real | LuminousIntensity () const
| Returns the power of light intensity stored in the dimensions. .
Standard_Real | PlaneAngle () const
| Returns the power of plane angle stored in the dimensions. .
Standard_Real | SolidAngle () const
| Returns the power of solid angle stored in the dimensions. .
Standard_EXPORT Standard_CString | Quantity () const
| Returns the quantity string of the dimension .
Standard_EXPORT Handle_Units_Dimensions | Multiply (const Handle(Units_Dimensions)&adimensions) const
| Creates and returns a new Dimensions object which is the result of the multiplication of <me> and <adimensions>. .
Standard_EXPORT Handle_Units_Dimensions | Divide (const Handle(Units_Dimensions)&adimensions) const
| Creates and returns a new Dimensions object which is the result of the division of <me> by <adimensions>. .
Standard_EXPORT Handle_Units_Dimensions | Power (const Standard_Real anexponent) const
| Creates and returns a new Dimensions object which is the result of the power of <me> and <anexponent>. .
Standard_EXPORT Standard_Boolean | IsEqual (const Handle(Units_Dimensions)&adimensions) const
| Returns true if <me> and <adimensions> have the same dimensions, false otherwise. .
Standard_EXPORT Standard_Boolean | IsNotEqual (const Handle(Units_Dimensions)&adimensions) const
| Returns false if <me> and <adimensions> have the same dimensions, true otherwise. .
Standard_EXPORT void | Dump (const Standard_Integer ashift) const
| Useful for degugging. .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Static Public Member Functions

static Standard_EXPORT Handle_Units_Dimensions | ALess ()
static Standard_EXPORT Handle_Units_Dimensions | AMass ()
static Standard_EXPORT Handle_Units_Dimensions | ALength ()
static Standard_EXPORT Handle_Units_Dimensions | ATime ()
static Standard_EXPORT Handle_Units_Dimensions | AElectricCurrent ()
static Standard_EXPORT Handle_Units_Dimensions | AThermodynamicTemperature ()
static Standard_EXPORT Handle_Units_Dimensions | AAmountOfSubstance ()
static Standard_EXPORT Handle_Units_Dimensions | ALuminousIntensity ()
static Standard_EXPORT Handle_Units_Dimensions | APlaneAngle ()
static Standard_EXPORT Handle_Units_Dimensions | ASolidAngle ()
| Returns the basic dimensions. .

## Private Attributes

Standard_Real | themass
Standard_Real | thelength
Standard_Real | thetime
Standard_Real | theelectriccurrent
Standard_Real | thethermodynamictemperature
Standard_Real | theamountofsubstance
Standard_Real | theluminousintensity
Standard_Real | theplaneangle
Standard_Real | thesolidangle

## Constructor & Destructor Documentation

Standard_EXPORT Units_Dimensions::Units_Dimensions | ( | const Standard_Real | amass,
|  | const Standard_Real | alength,
|  | const Standard_Real | atime,
|  | const Standard_Real | anelectriccurrent,
|  | const Standard_Real | athermodynamictemperature,
|  | const Standard_Real | anamountofsubstance,
|  | const Standard_Real | aluminousintensity,
|  | const Standard_Real | aplaneangle,
|  | const Standard_Real | asolidangle
| ) |

## Member Function Documentation

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::AAmountOfSubstance | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::AElectricCurrent | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::ALength | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::ALess | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::ALuminousIntensity | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::AMass | ( |  | ) | `[static]`

Standard_Real Units_Dimensions::AmountOfSubstance | ( |  | ) | const`[inline]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::APlaneAngle | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::ASolidAngle | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::AThermodynamicTemperature | ( |  | ) | `[static]`

static Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::ATime | ( |  | ) | `[static]`

Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::Divide | ( | const Handle(Units_Dimensions)& | adimensions | ) | const

Standard_EXPORT void Units_Dimensions::Dump | ( | const Standard_Integer | ashift | ) | const

Standard_Real Units_Dimensions::ElectricCurrent | ( |  | ) | const`[inline]`

Standard_EXPORT const Units_Dimensions::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from MMgt_TShared.

Standard_EXPORT Standard_Boolean Units_Dimensions::IsEqual | ( | const Handle(Units_Dimensions)& | adimensions | ) | const

Standard_EXPORT Standard_Boolean Units_Dimensions::IsNotEqual | ( | const Handle(Units_Dimensions)& | adimensions | ) | const

Standard_Real Units_Dimensions::Length | ( |  | ) | const`[inline]`

Standard_Real Units_Dimensions::LuminousIntensity | ( |  | ) | const`[inline]`

Standard_Real Units_Dimensions::Mass | ( |  | ) | const`[inline]`

Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::Multiply | ( | const Handle(Units_Dimensions)& | adimensions | ) | const

Standard_Real Units_Dimensions::PlaneAngle | ( |  | ) | const`[inline]`

Standard_EXPORT Handle_Units_Dimensions Units_Dimensions::Power | ( | const Standard_Real | anexponent | ) | const

Standard_EXPORT Standard_CString Units_Dimensions::Quantity | ( |  | ) | const

Standard_Real Units_Dimensions::SolidAngle | ( |  | ) | const`[inline]`

Standard_Real Units_Dimensions::ThermodynamicTemperature | ( |  | ) | const`[inline]`

Standard_Real Units_Dimensions::Time | ( |  | ) | const`[inline]`

## Field Documentation

Standard_Real Units_Dimensions::theamountofsubstance `[private]`

Standard_Real Units_Dimensions::theelectriccurrent `[private]`

Standard_Real Units_Dimensions::thelength `[private]`

Standard_Real Units_Dimensions::theluminousintensity `[private]`

Standard_Real Units_Dimensions::themass `[private]`

Standard_Real Units_Dimensions::theplaneangle `[private]`

Standard_Real Units_Dimensions::thesolidangle `[private]`

Standard_Real Units_Dimensions::thethermodynamictemperature `[private]`

Standard_Real Units_Dimensions::thetime `[private]`

The documentation for this class was generated from the following files:

- Units_Dimensions.hxx
- Units_Dimensions.lxx