File: IGESDimen_RadiusDimension.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (92 lines) | stat: -rw-r--r-- 2,529 bytes parent folder | download | duplicates (5)
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
82
83
84
85
86
87
88
89
90
91
92
// 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_RadiusDimension_HeaderFile
#define _IGESDimen_RadiusDimension_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESDimen_RadiusDimension.hxx>

#include <Handle_IGESDimen_GeneralNote.hxx>
#include <Handle_IGESDimen_LeaderArrow.hxx>
#include <gp_XY.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
class IGESDimen_GeneralNote;
class IGESDimen_LeaderArrow;
class gp_XY;
class gp_Pnt2d;
class gp_Pnt;


//! Defines IGES Radius Dimension, type <222> Form <0, 1>,
//! in package IGESDimen.
//! A Radius Dimension Entity consists of a General Note, a
//! leader, and an arc center point. A second form of this
//! entity accounts for the occasional need to have two
//! leader entities referenced.
class IGESDimen_RadiusDimension : public IGESData_IGESEntity
{

public:

  
  Standard_EXPORT IGESDimen_RadiusDimension();
  
  Standard_EXPORT   void Init (const Handle(IGESDimen_GeneralNote)& aNote, const Handle(IGESDimen_LeaderArrow)& anArrow, const gp_XY& arcCenter, const Handle(IGESDimen_LeaderArrow)& anotherArrow) ;
  
  //! Allows to change Form Number
  //! (1 admits null arrow)
  Standard_EXPORT   void InitForm (const Standard_Integer form) ;
  
  //! returns the General Note entity
  Standard_EXPORT   Handle(IGESDimen_GeneralNote) Note()  const;
  
  //! returns the Leader Arrow entity
  Standard_EXPORT   Handle(IGESDimen_LeaderArrow) Leader()  const;
  
  //! returns the coordinates of the Arc Center
  Standard_EXPORT   gp_Pnt2d Center()  const;
  
  //! returns the coordinates of the Arc Center after Transformation
  //! (Z coord taken from ZDepth of Leader Entity)
  Standard_EXPORT   gp_Pnt TransformedCenter()  const;
  
  //! returns True if form is 1, False if 0
  Standard_EXPORT   Standard_Boolean HasLeader2()  const;
  
  //! returns Null handle if Form is 0
  Standard_EXPORT   Handle(IGESDimen_LeaderArrow) Leader2()  const;




  DEFINE_STANDARD_RTTI(IGESDimen_RadiusDimension)

protected:




private: 


  Handle(IGESDimen_GeneralNote) theNote;
  Handle(IGESDimen_LeaderArrow) theLeaderArrow;
  gp_XY theCenter;
  Handle(IGESDimen_LeaderArrow) theLeader2;


};







#endif // _IGESDimen_RadiusDimension_HeaderFile