summaryrefslogtreecommitdiff
path: root/inc/Contap_TheIWLineOfTheIWalkingOfContour.hxx
blob: 32e233f09d98acd29a1900c43f57548ca483483b (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// 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 _Contap_TheIWLineOfTheIWalkingOfContour_HeaderFile
#define _Contap_TheIWLineOfTheIWalkingOfContour_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Contap_TheIWLineOfTheIWalkingOfContour_HeaderFile
#include <Handle_Contap_TheIWLineOfTheIWalkingOfContour.hxx>
#endif

#ifndef _Handle_IntSurf_LineOn2S_HeaderFile
#include <Handle_IntSurf_LineOn2S.hxx>
#endif
#ifndef _IntSurf_SequenceOfCouple_HeaderFile
#include <IntSurf_SequenceOfCouple.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _IntSurf_PathPoint_HeaderFile
#include <IntSurf_PathPoint.hxx>
#endif
#ifndef _gp_Vec_HeaderFile
#include <gp_Vec.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
class IntSurf_LineOn2S;
class Standard_OutOfRange;
class Standard_DomainError;
class IntSurf_PathPoint;
class IntSurf_PntOn2S;
class gp_Vec;



class Contap_TheIWLineOfTheIWalkingOfContour : public MMgt_TShared {

public:

  
  Standard_EXPORT   Contap_TheIWLineOfTheIWalkingOfContour();
  
  Standard_EXPORT     void Reverse() ;
  
        void Cut(const Standard_Integer Index) ;
  
        void AddPoint(const IntSurf_PntOn2S& P) ;
  
        void AddStatusFirst(const Standard_Boolean Closed,const Standard_Boolean HasFirst) ;
  
        void AddStatusFirst(const Standard_Boolean Closed,const Standard_Boolean HasLast,const Standard_Integer Index,const IntSurf_PathPoint& P) ;
  
        void AddStatusFirstLast(const Standard_Boolean Closed,const Standard_Boolean HasFirst,const Standard_Boolean HasLast) ;
  
        void AddStatusLast(const Standard_Boolean HasLast) ;
  
        void AddStatusLast(const Standard_Boolean HasLast,const Standard_Integer Index,const IntSurf_PathPoint& P) ;
  
        void AddIndexPassing(const Standard_Integer Index) ;
  
        void SetTangentVector(const gp_Vec& V,const Standard_Integer Index) ;
  
        void SetTangencyAtBegining(const Standard_Boolean IsTangent) ;
  
        void SetTangencyAtEnd(const Standard_Boolean IsTangent) ;
  
        Standard_Integer NbPoints() const;
  
       const IntSurf_PntOn2S& Value(const Standard_Integer Index) const;
  
       const Handle_IntSurf_LineOn2S& Line() const;
  
        Standard_Boolean IsClosed() const;
  
        Standard_Boolean HasFirstPoint() const;
  
        Standard_Boolean HasLastPoint() const;
  
       const IntSurf_PathPoint& FirstPoint() const;
  
        Standard_Integer FirstPointIndex() const;
  
       const IntSurf_PathPoint& LastPoint() const;
  
        Standard_Integer LastPointIndex() const;
  
        Standard_Integer NbPassingPoint() const;
  
        void PassingPoint(const Standard_Integer Index,Standard_Integer& IndexLine,Standard_Integer& IndexPnts) const;
  
       const gp_Vec& TangentVector(Standard_Integer& Index) const;
  
        Standard_Boolean IsTangentAtBegining() const;
  
        Standard_Boolean IsTangentAtEnd() const;




  DEFINE_STANDARD_RTTI(Contap_TheIWLineOfTheIWalkingOfContour)

protected:




private: 


Handle_IntSurf_LineOn2S line;
IntSurf_SequenceOfCouple couple;
Standard_Boolean closed;
Standard_Boolean hasFirst;
Standard_Boolean hasLast;
Standard_Integer firstIndex;
Standard_Integer lastIndex;
IntSurf_PathPoint theFirstPoint;
IntSurf_PathPoint theLastPoint;
Standard_Integer indextg;
gp_Vec vcttg;
Standard_Boolean istgtbeg;
Standard_Boolean istgtend;


};

#define TheStartPoint IntSurf_PathPoint
#define TheStartPoint_hxx <IntSurf_PathPoint.hxx>
#define IntWalk_IWLine Contap_TheIWLineOfTheIWalkingOfContour
#define IntWalk_IWLine_hxx <Contap_TheIWLineOfTheIWalkingOfContour.hxx>
#define Handle_IntWalk_IWLine Handle_Contap_TheIWLineOfTheIWalkingOfContour
#define IntWalk_IWLine_Type_() Contap_TheIWLineOfTheIWalkingOfContour_Type_()

#include <IntWalk_IWLine.lxx>

#undef TheStartPoint
#undef TheStartPoint_hxx
#undef IntWalk_IWLine
#undef IntWalk_IWLine_hxx
#undef Handle_IntWalk_IWLine
#undef IntWalk_IWLine_Type_


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


#endif