File: IGESDimen_SectionedArea.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 (114 lines) | stat: -rw-r--r-- 3,636 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// 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_SectionedArea_HeaderFile
#define _IGESDimen_SectionedArea_HeaderFile

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

#include <Handle_IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
#include <gp_XYZ.hxx>
#include <Standard_Real.hxx>
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Boolean.hxx>
class IGESData_IGESEntity;
class IGESData_HArray1OfIGESEntity;
class Standard_OutOfRange;
class gp_XYZ;
class gp_Pnt;


//! defines IGES Sectioned Area, Type <230> Form <0>,
//! in package IGESDimen
//! A sectioned area is a portion of a design which is to be
//! filled with a pattern of lines. Ordinarily, this entity
//! is used to reveal or expose shape or material characteri-
//! stics defined by other entities. It consists of a pointer
//! to an exterior definition curve, a specification of the
//! pattern of lines, the coordinates of a point on a pattern
//! line, the distance between the pattern lines, the angle
//! between the pattern lines and the X-axis of definition
//! space, and the specification of any enclosed definition
//! curves (commonly known as islands).
class IGESDimen_SectionedArea : public IGESData_IGESEntity
{

public:

  
  Standard_EXPORT IGESDimen_SectionedArea();
  
  Standard_EXPORT   void Init (const Handle(IGESData_IGESEntity)& aCurve, const Standard_Integer aPattern, const gp_XYZ& aPoint, const Standard_Real aDistance, const Standard_Real anAngle, const Handle(IGESData_HArray1OfIGESEntity)& someIslands) ;
  
  //! Sets the cross hatches to be inverted or not,
  //! according value of <mode> (corresponds to FormNumber)
  Standard_EXPORT   void SetInverted (const Standard_Boolean mode) ;
  
  //! Returns True if cross hatches as Inverted, else they are
  //! Standard (Inverted : Form=1, Standard : Form=0)
  Standard_EXPORT   Standard_Boolean IsInverted()  const;
  
  //! returns the exterior definition curve
  Standard_EXPORT   Handle(IGESData_IGESEntity) ExteriorCurve()  const;
  
  //! returns fill pattern code
  Standard_EXPORT   Standard_Integer Pattern()  const;
  
  //! returns point thru which line should pass
  Standard_EXPORT   gp_Pnt PassingPoint()  const;
  
  //! returns point thru which line should pass after Transformation
  Standard_EXPORT   gp_Pnt TransformedPassingPoint()  const;
  
  //! returns the Z depth
  Standard_EXPORT   Standard_Real ZDepth()  const;
  
  //! returns the normal distance between lines
  Standard_EXPORT   Standard_Real Distance()  const;
  
  //! returns the angle of lines with XT axis
  Standard_EXPORT   Standard_Real Angle()  const;
  
  //! returns the number of island curves
  Standard_EXPORT   Standard_Integer NbIslands()  const;
  
  //! returns the interior definition curves, returns Null Handle
  //! exception raised if Index <= 0 or Index > NbIslands()
  Standard_EXPORT   Handle(IGESData_IGESEntity) IslandCurve (const Standard_Integer Index)  const;




  DEFINE_STANDARD_RTTI(IGESDimen_SectionedArea)

protected:




private: 


  Handle(IGESData_IGESEntity) theExteriorCurve;
  Standard_Integer thePattern;
  gp_XYZ thePassingPoint;
  Standard_Real theDistance;
  Standard_Real theAngle;
  Handle(IGESData_HArray1OfIGESEntity) theIslandCurves;


};







#endif // _IGESDimen_SectionedArea_HeaderFile