summaryrefslogtreecommitdiff
path: root/inc/IGESGeom_TrimmedSurface.hxx
blob: b9d910c2883647f1cdee4bf82ffe4bf9554b7e79 (plain)
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
115
// 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 _IGESGeom_TrimmedSurface_HeaderFile
#define _IGESGeom_TrimmedSurface_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESGeom_TrimmedSurface_HeaderFile
#include <Handle_IGESGeom_TrimmedSurface.hxx>
#endif

#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESGeom_CurveOnSurface_HeaderFile
#include <Handle_IGESGeom_CurveOnSurface.hxx>
#endif
#ifndef _Handle_IGESGeom_HArray1OfCurveOnSurface_HeaderFile
#include <Handle_IGESGeom_HArray1OfCurveOnSurface.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class IGESData_IGESEntity;
class IGESGeom_CurveOnSurface;
class IGESGeom_HArray1OfCurveOnSurface;
class Standard_OutOfRange;


//! defines IGESTrimmedSurface, Type <144> Form <0> <br>
//!          in package IGESGeom <br>
//!          A simple closed curve  in Euclidean plane  divides the <br>
//!          plane in to two disjoint, open connected components; one <br>
//!          bounded, one unbounded. The bounded one is called the <br>
//!          interior region to the curve. Unbounded component is called <br>
//!          exterior region to the curve. The domain of the trimmed <br>
//!          surface is defined as the interior of the outer boundaries <br>
//!          and exterior of the inner boundaries and includes the <br>
//!          boundary curves. <br>
class IGESGeom_TrimmedSurface : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESGeom_TrimmedSurface();
  //! This method is used to set the fields of the class <br>
//!           TrimmedSurface <br>
//!       - aSurface  : Surface to be trimmed <br>
//!       - aFlag     : Outer boundary type <br>
//!                     False = The outer boundary is the boundary of <br>
//!                             rectangle D which is the domain of the <br>
//!                             surface to be trimmed <br>
//!                     True  = otherwise <br>
//!       - anOuter   : Closed curve which constitutes outer boundary <br>
//!       - allInners : Array of closed curves which constitute the <br>
//!                     inner boundary <br>
  Standard_EXPORT     void Init(const Handle(IGESData_IGESEntity)& aSurface,const Standard_Integer aFlag,const Handle(IGESGeom_CurveOnSurface)& anOuter,const Handle(IGESGeom_HArray1OfCurveOnSurface)& allInners) ;
  //! returns the surface to be trimmed <br>
  Standard_EXPORT     Handle_IGESData_IGESEntity Surface() const;
  //! returns True if outer contour exists <br>
  Standard_EXPORT     Standard_Boolean HasOuterContour() const;
  //! returns the outer contour of the trimmed surface <br>
  Standard_EXPORT     Handle_IGESGeom_CurveOnSurface OuterContour() const;
  //! returns the outer contour type of the trimmed surface <br>
//! 0  : The outer boundary is the boundary of D <br>
//! 1  : otherwise <br>
  Standard_EXPORT     Standard_Integer OuterBoundaryType() const;
  //! returns the number of inner boundaries <br>
  Standard_EXPORT     Standard_Integer NbInnerContours() const;
  //! returns the Index'th inner contour <br>
//! raises exception if Index <= 0 or Index > NbInnerContours() <br>
  Standard_EXPORT     Handle_IGESGeom_CurveOnSurface InnerContour(const Standard_Integer Index) const;




  DEFINE_STANDARD_RTTI(IGESGeom_TrimmedSurface)

protected:




private: 


Handle_IGESData_IGESEntity theSurface;
Standard_Integer theFlag;
Handle_IGESGeom_CurveOnSurface theOuterCurve;
Handle_IGESGeom_HArray1OfCurveOnSurface theInnerCurves;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif