#include <IGESDimen_DimensionUnits.hxx>
Inheritance diagram for IGESDimen_DimensionUnits:

Public Member Functions | |
| Standard_EXPORT | IGESDimen_DimensionUnits () |
| Standard_EXPORT void | Init (const Standard_Integer nbPropVal, const Standard_Integer aSecondPos, const Standard_Integer aUnitsInd, const Standard_Integer aCharSet, const Handle(TCollection_HAsciiString)&aFormat, const Standard_Integer aFracFlag, const Standard_Integer aPrecision) |
| This method is used to set the fields of the class DimensionUnits - nbPropVal : Number of property values, always = 6 - aSecondPos : Secondary Dimension Position 0 = This is the main text 1 = Before primary dimension 2 = After primary dimension 3 = Above primary dimension 4 = Below primary dimension - aUnitsInd : Units Indicator - aCharSet : Character Set used - aFormat : Format HAsciiString 1 = Standard ASCII 1001 = Symbol Font 1 1002 = Symbol Font 2 1003 = Drafting Font - aFracFlag : Fraction Flag 0 = Display values as decimal numbers 1 = Display values as fractions - aPrecision : Precision Value . | |
| Standard_EXPORT Standard_Integer | NbPropertyValues () const |
| returns the number of property values | |
| Standard_EXPORT Standard_Integer | SecondaryDimenPosition () const |
| returns position of secondary dimension w.r.t. primary dimension | |
| Standard_EXPORT Standard_Integer | UnitsIndicator () const |
| returns the units indicator | |
| Standard_EXPORT Standard_Integer | CharacterSet () const |
| returns the character set interpretation | |
| Standard_EXPORT Handle_TCollection_HAsciiString | FormatString () const |
| returns the string used in formatting value | |
| Standard_EXPORT Standard_Integer | FractionFlag () const |
| returns the fraction flag | |
| Standard_EXPORT Standard_Integer | PrecisionOrDenominator () const |
| returns the precision/denominator number of decimal places when FractionFlag() = 0 denominator of fraction when FractionFlag() = 1 | |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
| Standard_Integer | theNbPropertyValues |
| Standard_Integer | theSecondaryDimenPosition |
| Standard_Integer | theUnitsIndicator |
| Standard_Integer | theCharacterSet |
| Handle_TCollection_HAsciiString | theFormatString |
| Standard_Integer | theFractionFlag |
| Standard_Integer | thePrecision |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from IGESData_IGESEntity. |
|
||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1