Public Member Functions |
| 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_CString | Quantity () const |
| Returns the quantity string of the dimension
|
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>.
|
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>.
|
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_Boolean | IsEqual (const Handle< Units_Dimensions > &adimensions) const |
| Returns true if <me> and <adimensions> have the same
dimensions, false otherwise.
|
Standard_Boolean | IsNotEqual (const Handle< Units_Dimensions > &adimensions) const |
| Returns false if <me> and <adimensions> have the same
dimensions, true otherwise.
|
void | Dump (const Standard_Integer ashift) const |
| Useful for degugging.
|
Static Public Member Functions |
static Handle_Units_Dimensions | ALess () |
static Handle_Units_Dimensions | AMass () |
static Handle_Units_Dimensions | ALength () |
static Handle_Units_Dimensions | ATime () |
static Handle_Units_Dimensions | AElectricCurrent () |
static Handle_Units_Dimensions | AThermodynamicTemperature () |
static Handle_Units_Dimensions | AAmountOfSubstance () |
static Handle_Units_Dimensions | ALuminousIntensity () |
static Handle_Units_Dimensions | APlaneAngle () |
static Handle_Units_Dimensions | ASolidAngle () |
| Returns the basic dimensions.
|