Open CASCADE Technology
6.5.4
|
defines IGESDrawingUnits, Type <406> Form <17>
in package IGESGraph
Specifies the drawing space units as outlined
in the Drawing entity
#include <IGESGraph_DrawingUnits.hxx>
Public Member Functions | |
IGESGraph_DrawingUnits () | |
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 | |
Standard_Integer | NbPropertyValues () const |
returns the number of property values in <me> | |
Standard_Integer | Flag () const |
returns the drawing space units of <me> | |
Handle_TCollection_HAsciiString | Unit () const |
returns the name of the drawing space units of <me> | |
Standard_Real | UnitValue () const |
Computes the value of the unit, in meters, according Flag (same values as for GlobalSection from IGESData) |
Standard_Integer IGESGraph_DrawingUnits::Flag | ( | ) | const |
void IGESGraph_DrawingUnits::Init | ( | const Standard_Integer | nbProps, |
const Standard_Integer | aFlag, | ||
const Handle< TCollection_HAsciiString > & | aUnit | ||
) |
Handle_TCollection_HAsciiString IGESGraph_DrawingUnits::Unit | ( | ) | const |