#include <IGESDefs_UnitsData.hxx>
Inheritance diagram for IGESDefs_UnitsData:
Public Member Functions | |
Standard_EXPORT | IGESDefs_UnitsData () |
Standard_EXPORT void | Init (const Handle(Interface_HArray1OfHAsciiString)&unitTypes, const Handle(Interface_HArray1OfHAsciiString)&unitValues, const Handle(TColStd_HArray1OfReal)&unitScales) |
This method is used to set the fields of the class UnitsData - unitTypes : Types of the units being defined - unitValues : Unit Values of the units - unitScales : Multiplicative Scale Factors raises exception if lengths of unitTypes, unitValues and unitScale are not same . | |
Standard_EXPORT Standard_Integer | NbUnits () const |
returns the Number of units defined by this entity | |
Standard_EXPORT Handle_TCollection_HAsciiString | UnitType (const Standard_Integer UnitNum) const |
returns the Type of the UnitNum'th unit being defined raises exception if UnitNum <= 0 or UnitNum > NbUnits() | |
Standard_EXPORT Handle_TCollection_HAsciiString | UnitValue (const Standard_Integer UnitNum) const |
returns the Units of the UnitNum'th unit being defined raises exception if UnitNum <= 0 or UnitNum > NbUnits() | |
Standard_EXPORT Standard_Real | ScaleFactor (const Standard_Integer UnitNum) const |
returns the multiplicative scale factor to be apllied to the UnitNum'th unit being defined raises exception if UnitNum <= 0 or UnitNum > NbUnits() | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_Interface_HArray1OfHAsciiString | theUnitTypes |
Handle_Interface_HArray1OfHAsciiString | theUnitValues |
Handle_TColStd_HArray1OfReal | theUnitScales |
|
|
|
Reimplemented from IGESData_IGESEntity. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|