blob: fd38b8bd8c07aee21bbaca6f15d3d73017c9c18c (
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
|
// 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 _BOPTools_Curve_HeaderFile
#define _BOPTools_Curve_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _IntTools_Curve_HeaderFile
#include <IntTools_Curve.hxx>
#endif
#ifndef _BOPTools_PaveSet_HeaderFile
#include <BOPTools_PaveSet.hxx>
#endif
#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
#include <BOPTools_ListOfPaveBlock.hxx>
#endif
#ifndef _TColStd_ListOfInteger_HeaderFile
#include <TColStd_ListOfInteger.hxx>
#endif
class IntTools_Curve;
class BOPTools_PaveSet;
class BOPTools_PaveBlock;
class BOPTools_ListOfPaveBlock;
class TColStd_ListOfInteger;
//! Class holds the structure for storing information about <br>
//! intersection curve and set of paves on it <br>
//! <br>
class BOPTools_Curve {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Empty constructor <br>
Standard_EXPORT BOPTools_Curve();
//! Constructor <br>
Standard_EXPORT BOPTools_Curve(const IntTools_Curve& aIC);
//! Modifier <br>
Standard_EXPORT void SetCurve(const IntTools_Curve& aIC) ;
//! Selector <br>
Standard_EXPORT const IntTools_Curve& Curve() const;
//! Selector <br>
//! <br>
Standard_EXPORT BOPTools_PaveSet& Set() ;
//! Adds the PaveBlock <aPB> to the pave set <br>
Standard_EXPORT void AppendNewBlock(const BOPTools_PaveBlock& aPB) ;
//! Returns the PaveBlock-s attached to the curve <br>
Standard_EXPORT const BOPTools_ListOfPaveBlock& NewPaveBlocks() const;
//! Returns indices TechnoVertices attached to the curve <br>
Standard_EXPORT TColStd_ListOfInteger& TechnoVertices() ;
protected:
private:
IntTools_Curve myCurve;
BOPTools_PaveSet myPaveSet;
BOPTools_ListOfPaveBlock myNewPBs;
TColStd_ListOfInteger myTechnoVertices;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|