Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

  • nbProps : Number of property values (NP = 2)
  • aFlag : DrawingUnits Flag
  • aUnit : DrawingUnits Name
Handle_TCollection_HAsciiString IGESGraph_DrawingUnits::Unit ( ) const

The documentation for this class was generated from the following file: