Open CASCADE Technology 6.6.0
Public Member Functions
IGESGraph_DrawingUnits Class Reference

defines IGESDrawingUnits, Type <406> Form <17>
in package IGESGraph

Specifies the drawing space units as outlined
in the Drawing entity

#include <IGESGraph_DrawingUnits.hxx>

Inheritance diagram for IGESGraph_DrawingUnits:
Inheritance graph
[legend]

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)


Constructor & Destructor Documentation

IGESGraph_DrawingUnits::IGESGraph_DrawingUnits ( )

Member Function Documentation

Standard_Integer IGESGraph_DrawingUnits::Flag ( ) const
void IGESGraph_DrawingUnits::Init ( const Standard_Integer  nbProps,
const Standard_Integer  aFlag,
const Handle< TCollection_HAsciiString > &  aUnit 
)
  • nbProps : Number of property values (NP = 2)
  • aFlag : DrawingUnits Flag
  • aUnit : DrawingUnits Name
Standard_Integer IGESGraph_DrawingUnits::NbPropertyValues ( ) const
Handle_TCollection_HAsciiString IGESGraph_DrawingUnits::Unit ( ) const
Standard_Real IGESGraph_DrawingUnits::UnitValue ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines