|
Public Member Functions |
Standard_EXPORT | IGESGraph_DrawingUnits () |
Standard_EXPORT void | Init (const Standard_Integer nbProps, const Standard_Integer aFlag, const Handle(TCollection_HAsciiString)&aUnit) |
| This method is used to set the fields of the class
DrawingUnits
- nbProps : Number of property values (NP = 2)
- aFlag : DrawingUnits Flag
- aUnit : DrawingUnits Name
.
|
Standard_EXPORT Standard_Integer | NbPropertyValues () const |
| returns the number of property values in <me>
|
Standard_EXPORT Standard_Integer | Flag () const |
| returns the drawing space units of <me>
|
Standard_EXPORT Handle_TCollection_HAsciiString | Unit () const |
| returns the name of the drawing space units of <me>
|
Standard_EXPORT Standard_Real | UnitValue () const |
| Computes the value of the unit, in meters, according Flag
(same values as for GlobalSection from IGESData)
.
|
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes |
Standard_Integer | theNbPropertyValues |
Standard_Integer | theFlag |
Handle_TCollection_HAsciiString | theUnit |