File: Contap_TheIWLineOfTheIWalking.hxx

package info (click to toggle)
oce 0.18.2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 301,460 kB
  • sloc: cpp: 1,190,610; ansic: 67,225; sh: 11,667; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 344; xml: 292; perl: 37
file content (141 lines) | stat: -rw-r--r-- 3,989 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
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
// 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_TheIWLineOfTheIWalking_HeaderFile
#define _Contap_TheIWLineOfTheIWalking_HeaderFile

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

#include <Handle_IntSurf_LineOn2S.hxx>
#include <IntSurf_SequenceOfCouple.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
#include <IntSurf_PathPoint.hxx>
#include <gp_Vec.hxx>
#include <MMgt_TShared.hxx>
#include <IntSurf_Allocator.hxx>
class IntSurf_LineOn2S;
class Standard_OutOfRange;
class Standard_DomainError;
class IntSurf_PathPoint;
class IntSurf_PntOn2S;
class gp_Vec;



class Contap_TheIWLineOfTheIWalking : public MMgt_TShared
{

public:

  
  Standard_EXPORT Contap_TheIWLineOfTheIWalking(const IntSurf_Allocator& theAllocator = 0);
  
  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_TheIWLineOfTheIWalking)

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_TheIWLineOfTheIWalking
#define IntWalk_IWLine_hxx <Contap_TheIWLineOfTheIWalking.hxx>
#define Handle_IntWalk_IWLine Handle_Contap_TheIWLineOfTheIWalking
#define IntWalk_IWLine_Type_() Contap_TheIWLineOfTheIWalking_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_




#endif // _Contap_TheIWLineOfTheIWalking_HeaderFile