1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESDimen_OrdinateDimension_HeaderFile
#define _IGESDimen_OrdinateDimension_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESDimen_OrdinateDimension.hxx>
#include <Handle_IGESDimen_GeneralNote.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_IGESDimen_WitnessLine.hxx>
#include <Handle_IGESDimen_LeaderArrow.hxx>
#include <IGESData_IGESEntity.hxx>
class IGESDimen_GeneralNote;
class IGESDimen_WitnessLine;
class IGESDimen_LeaderArrow;
//! defines IGES Ordinate Dimension, Type <218> Form <0, 1>,
//! in package IGESDimen
//! Note : The ordinate dimension entity is used to
//! indicate dimensions from a common base line.
//! Dimensioning is only permitted along the XT
//! or YT axis.
class IGESDimen_OrdinateDimension : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESDimen_OrdinateDimension();
Standard_EXPORT void Init (const Handle(IGESDimen_GeneralNote)& aNote, const Standard_Boolean aType, const Handle(IGESDimen_WitnessLine)& aLine, const Handle(IGESDimen_LeaderArrow)& anArrow) ;
//! returns True if Witness Line and False if Leader (only for Form 0)
Standard_EXPORT Standard_Boolean IsLine() const;
//! returns True if Leader and False if Witness Line (only for Form 0)
Standard_EXPORT Standard_Boolean IsLeader() const;
//! returns the General Note entity associated.
Standard_EXPORT Handle(IGESDimen_GeneralNote) Note() const;
//! returns the Witness Line associated or Null handle
Standard_EXPORT Handle(IGESDimen_WitnessLine) WitnessLine() const;
//! returns the Leader associated or Null handle
Standard_EXPORT Handle(IGESDimen_LeaderArrow) Leader() const;
DEFINE_STANDARD_RTTI(IGESDimen_OrdinateDimension)
protected:
private:
Handle(IGESDimen_GeneralNote) theNote;
Standard_Boolean isItLine;
Handle(IGESDimen_WitnessLine) theWitnessLine;
Handle(IGESDimen_LeaderArrow) theLeader;
};
#endif // _IGESDimen_OrdinateDimension_HeaderFile
|