forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathApproxInt.i
More file actions
137 lines (120 loc) · 3.45 KB
/
ApproxInt.i
File metadata and controls
137 lines (120 loc) · 3.45 KB
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
/*
Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com)
This file is part of pythonOCC.
pythonOCC is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pythonOCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
*/
%define APPROXINTDOCSTRING
""
%enddef
%module (package="OCC.Core", docstring=APPROXINTDOCSTRING) ApproxInt
#pragma SWIG nowarn=504,325,503
%{
#ifdef WNT
#pragma warning(disable : 4716)
#endif
%}
%include ../common/CommonIncludes.i
%include ../common/ExceptionCatcher.i
%include ../common/FunctionTransformers.i
%include ../common/Operators.i
%include ../common/OccHandle.i
%include ApproxInt_headers.i
/* typedefs */
/* end typedefs declaration */
/* public enums */
/* end public enums declaration */
%nodefaultctor ApproxInt_SvSurfaces;
class ApproxInt_SvSurfaces {
public:
%feature("compactdefaultargs") Compute;
%feature("autodoc", " * returns True if Tg,Tguv1 Tguv2 can be computed.
:param u1:
:type u1: float &
:param v1:
:type v1: float &
:param u2:
:type u2: float &
:param v2:
:type v2: float &
:param Pt:
:type Pt: gp_Pnt
:param Tg:
:type Tg: gp_Vec
:param Tguv1:
:type Tguv1: gp_Vec2d
:param Tguv2:
:type Tguv2: gp_Vec2d
:rtype: bool
") Compute;
virtual Standard_Boolean Compute (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,gp_Pnt & Pt,gp_Vec & Tg,gp_Vec2d & Tguv1,gp_Vec2d & Tguv2);
%feature("compactdefaultargs") Pnt;
%feature("autodoc", " :param u1:
:type u1: float
:param v1:
:type v1: float
:param u2:
:type u2: float
:param v2:
:type v2: float
:param P:
:type P: gp_Pnt
:rtype: void
") Pnt;
virtual void Pnt (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Pnt & P);
%feature("compactdefaultargs") Tangency;
%feature("autodoc", " :param u1:
:type u1: float
:param v1:
:type v1: float
:param u2:
:type u2: float
:param v2:
:type v2: float
:param Tg:
:type Tg: gp_Vec
:rtype: bool
") Tangency;
virtual Standard_Boolean Tangency (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec & Tg);
%feature("compactdefaultargs") TangencyOnSurf1;
%feature("autodoc", " :param u1:
:type u1: float
:param v1:
:type v1: float
:param u2:
:type u2: float
:param v2:
:type v2: float
:param Tg:
:type Tg: gp_Vec2d
:rtype: bool
") TangencyOnSurf1;
virtual Standard_Boolean TangencyOnSurf1 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg);
%feature("compactdefaultargs") TangencyOnSurf2;
%feature("autodoc", " :param u1:
:type u1: float
:param v1:
:type v1: float
:param u2:
:type u2: float
:param v2:
:type v2: float
:param Tg:
:type Tg: gp_Vec2d
:rtype: bool
") TangencyOnSurf2;
virtual Standard_Boolean TangencyOnSurf2 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg);
};
%extend ApproxInt_SvSurfaces {
%pythoncode {
__repr__ = _dumps_object
}
};