blob: cba093f05a24d7f26a578c967c45fd78b65b5edb (
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
|
// 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 _Draft_HeaderFile
#define _Draft_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class TopoDS_Face;
class gp_Dir;
class Draft_Modification;
class Draft_FaceInfo;
class Draft_EdgeInfo;
class Draft_VertexInfo;
class Draft_DataMapOfFaceFaceInfo;
class Draft_DataMapOfEdgeEdgeInfo;
class Draft_DataMapOfVertexVertexInfo;
class Draft_DataMapNodeOfDataMapOfFaceFaceInfo;
class Draft_DataMapIteratorOfDataMapOfFaceFaceInfo;
class Draft_DataMapNodeOfDataMapOfEdgeEdgeInfo;
class Draft_DataMapIteratorOfDataMapOfEdgeEdgeInfo;
class Draft_DataMapNodeOfDataMapOfVertexVertexInfo;
class Draft_DataMapIteratorOfDataMapOfVertexVertexInfo;
class Draft {
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);
}
//! Returns the draft angle of the face <F> using the <br>
//! direction <Direction>. The method is valid for : <br>
//! - Plane faces, <br>
//! - Cylindrical or conical faces, when the direction <br>
//! of the axis of the surface is colinear with the <br>
//! direction. <br>
//! Otherwise, the exception DomainError is raised. <br>
Standard_EXPORT static Standard_Real Angle(const TopoDS_Face& F,const gp_Dir& Direction) ;
protected:
private:
friend class Draft_Modification;
friend class Draft_FaceInfo;
friend class Draft_EdgeInfo;
friend class Draft_VertexInfo;
friend class Draft_DataMapOfFaceFaceInfo;
friend class Draft_DataMapOfEdgeEdgeInfo;
friend class Draft_DataMapOfVertexVertexInfo;
friend class Draft_DataMapNodeOfDataMapOfFaceFaceInfo;
friend class Draft_DataMapIteratorOfDataMapOfFaceFaceInfo;
friend class Draft_DataMapNodeOfDataMapOfEdgeEdgeInfo;
friend class Draft_DataMapIteratorOfDataMapOfEdgeEdgeInfo;
friend class Draft_DataMapNodeOfDataMapOfVertexVertexInfo;
friend class Draft_DataMapIteratorOfDataMapOfVertexVertexInfo;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|