File: __init__.pyi

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (318 lines) | stat: -rw-r--r-- 11,707 bytes parent folder | download
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
import OCP.LProp
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.GeomAbs
import OCP.NCollection
__all__  = [
"LProp_AnalyticCurInf",
"LProp_BadContinuity",
"LProp_CIType",
"LProp_CurAndInf",
"LProp_NotDefined",
"LProp_SequenceOfCIType",
"LProp_Status",
"LProp_Computed",
"LProp_Defined",
"LProp_Inflection",
"LProp_MaxCur",
"LProp_MinCur",
"LProp_Undecided",
"LProp_Undefined"
]
class LProp_AnalyticCurInf():
    """
    Computes the locals extremas of curvature of a gp curve Remark : a gp curve has not inflection.
    """
    def Perform(self,T : OCP.GeomAbs.GeomAbs_CurveType,UFirst : float,ULast : float,Result : LProp_CurAndInf) -> None: 
        """
        None
        """
    def __init__(self) -> None: ...
    pass
class LProp_BadContinuity(Exception, BaseException):
    class type():
        pass
    __cause__: getset_descriptor # value = <attribute '__cause__' of 'BaseException' objects>
    __context__: getset_descriptor # value = <attribute '__context__' of 'BaseException' objects>
    __dict__: mappingproxy # value = mappingproxy({'__module__': 'OCP.LProp', '__weakref__': <attribute '__weakref__' of 'LProp_BadContinuity' objects>, '__doc__': None})
    __suppress_context__: member_descriptor # value = <member '__suppress_context__' of 'BaseException' objects>
    __traceback__: getset_descriptor # value = <attribute '__traceback__' of 'BaseException' objects>
    __weakref__: getset_descriptor # value = <attribute '__weakref__' of 'LProp_BadContinuity' objects>
    args: getset_descriptor # value = <attribute 'args' of 'BaseException' objects>
    pass
class LProp_CIType():
    """
    Identifies the type of a particular point on a curve: - LProp_Inflection: a point of inflection - LProp_MinCur: a minimum of curvature - LProp_MaxCur: a maximum of curvature.

    Members:

      LProp_Inflection

      LProp_MinCur

      LProp_MaxCur
    """
    def __eq__(self,other : object) -> bool: ...
    def __getstate__(self) -> int: ...
    def __hash__(self) -> int: ...
    def __index__(self) -> int: ...
    def __init__(self,value : int) -> None: ...
    def __int__(self) -> int: ...
    def __ne__(self,other : object) -> bool: ...
    def __repr__(self) -> str: ...
    def __setstate__(self,state : int) -> None: ...
    def __str__(self) -> str: ...
    @property
    def name(self) -> None:
        """
        :type: None
        """
    @property
    def value(self) -> int:
        """
        :type: int
        """
    LProp_Inflection: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_Inflection: 0>
    LProp_MaxCur: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_MaxCur: 2>
    LProp_MinCur: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_MinCur: 1>
    __entries: dict # value = {'LProp_Inflection': (<LProp_CIType.LProp_Inflection: 0>, None), 'LProp_MinCur': (<LProp_CIType.LProp_MinCur: 1>, None), 'LProp_MaxCur': (<LProp_CIType.LProp_MaxCur: 2>, None)}
    __members__: dict # value = {'LProp_Inflection': <LProp_CIType.LProp_Inflection: 0>, 'LProp_MinCur': <LProp_CIType.LProp_MinCur: 1>, 'LProp_MaxCur': <LProp_CIType.LProp_MaxCur: 2>}
    pass
class LProp_CurAndInf():
    """
    Stores the parameters of a curve 2d or 3d corresponding to the curvature's extremas and the Inflection's Points.
    """
    def AddExtCur(self,Param : float,IsMin : bool) -> None: 
        """
        None
        """
    def AddInflection(self,Param : float) -> None: 
        """
        None
        """
    def Clear(self) -> None: 
        """
        None
        """
    def IsEmpty(self) -> bool: 
        """
        None
        """
    def NbPoints(self) -> int: 
        """
        Returns the number of points. The Points are stored to increasing parameter.
        """
    def Parameter(self,N : int) -> float: 
        """
        Returns the parameter of the Nth point. raises if N not in the range [1,NbPoints()]
        """
    def Type(self,N : int) -> LProp_CIType: 
        """
        Returns - MinCur if the Nth parameter corresponds to a minimum of the radius of curvature. - MaxCur if the Nth parameter corresponds to a maximum of the radius of curvature. - Inflection if the parameter corresponds to a point of inflection. raises if N not in the range [1,NbPoints()]
        """
    def __init__(self) -> None: ...
    pass
class LProp_NotDefined(Exception, BaseException):
    class type():
        pass
    __cause__: getset_descriptor # value = <attribute '__cause__' of 'BaseException' objects>
    __context__: getset_descriptor # value = <attribute '__context__' of 'BaseException' objects>
    __dict__: mappingproxy # value = mappingproxy({'__module__': 'OCP.LProp', '__weakref__': <attribute '__weakref__' of 'LProp_NotDefined' objects>, '__doc__': None})
    __suppress_context__: member_descriptor # value = <member '__suppress_context__' of 'BaseException' objects>
    __traceback__: getset_descriptor # value = <attribute '__traceback__' of 'BaseException' objects>
    __weakref__: getset_descriptor # value = <attribute '__weakref__' of 'LProp_NotDefined' objects>
    args: getset_descriptor # value = <attribute 'args' of 'BaseException' objects>
    pass
class LProp_SequenceOfCIType(OCP.NCollection.NCollection_BaseSequence):
    """
    Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
    """
    def Allocator(self) -> OCP.NCollection.NCollection_BaseAllocator: 
        """
        Returns attached allocator
        """
    @overload
    def Append(self,theItem : LProp_CIType) -> None: 
        """
        Append one item

        Append another sequence (making it empty)
        """
    @overload
    def Append(self,theSeq : LProp_SequenceOfCIType) -> None: ...
    def Assign(self,theOther : LProp_SequenceOfCIType) -> LProp_SequenceOfCIType: 
        """
        Replace this sequence by the items of theOther. This method does not change the internal allocator.
        """
    def ChangeFirst(self) -> LProp_CIType: 
        """
        First item access
        """
    def ChangeLast(self) -> LProp_CIType: 
        """
        Last item access
        """
    def ChangeValue(self,theIndex : int) -> LProp_CIType: 
        """
        Variable item access by theIndex
        """
    def Clear(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator=None) -> None: 
        """
        Clear the items out, take a new allocator if non null
        """
    def Exchange(self,I : int,J : int) -> None: 
        """
        Exchange two members
        """
    def First(self) -> LProp_CIType: 
        """
        First item access
        """
    @overload
    def InsertAfter(self,theIndex : int,theItem : LProp_CIType) -> None: 
        """
        InsertAfter theIndex another sequence (making it empty)

        InsertAfter theIndex theItem
        """
    @overload
    def InsertAfter(self,theIndex : int,theSeq : LProp_SequenceOfCIType) -> None: ...
    @overload
    def InsertBefore(self,theIndex : int,theItem : LProp_CIType) -> None: 
        """
        InsertBefore theIndex theItem

        InsertBefore theIndex another sequence (making it empty)
        """
    @overload
    def InsertBefore(self,theIndex : int,theSeq : LProp_SequenceOfCIType) -> None: ...
    def IsEmpty(self) -> bool: 
        """
        Empty query
        """
    def Last(self) -> LProp_CIType: 
        """
        Last item access
        """
    def Length(self) -> int: 
        """
        Number of items
        """
    def Lower(self) -> int: 
        """
        Method for consistency with other collections.
        """
    @overload
    def Prepend(self,theSeq : LProp_SequenceOfCIType) -> None: 
        """
        Prepend one item

        Prepend another sequence (making it empty)
        """
    @overload
    def Prepend(self,theItem : LProp_CIType) -> None: ...
    @overload
    def Remove(self,theIndex : int) -> None: 
        """
        Remove one item

        Remove range of items
        """
    @overload
    def Remove(self,theFromIndex : int,theToIndex : int) -> None: ...
    def Reverse(self) -> None: 
        """
        Reverse sequence
        """
    def SetValue(self,theIndex : int,theItem : LProp_CIType) -> None: 
        """
        Set item value by theIndex
        """
    def Size(self) -> int: 
        """
        Number of items
        """
    def Split(self,theIndex : int,theSeq : LProp_SequenceOfCIType) -> None: 
        """
        Split in two sequences
        """
    def Upper(self) -> int: 
        """
        Method for consistency with other collections.
        """
    def Value(self,theIndex : int) -> LProp_CIType: 
        """
        Constant item access by theIndex
        """
    def __bool__(self) -> bool: ...
    def __call__(self,theIndex : int) -> LProp_CIType: 
        """
        Constant operator()

        Variable operator()
        """
    @overload
    def __init__(self) -> None: ...
    @overload
    def __init__(self,theOther : LProp_SequenceOfCIType) -> None: ...
    @overload
    def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
    def __iter__(self) -> Iterator[LProp_CIType]: ...
    def __len__(self) -> int: ...
    @staticmethod
    def delNode_s(theNode : NCollection_SeqNode,theAl : OCP.NCollection.NCollection_BaseAllocator) -> None: 
        """
        Static deleter to be passed to BaseSequence
        """
    pass
class LProp_Status():
    """
    None

    Members:

      LProp_Undecided

      LProp_Undefined

      LProp_Defined

      LProp_Computed
    """
    def __eq__(self,other : object) -> bool: ...
    def __getstate__(self) -> int: ...
    def __hash__(self) -> int: ...
    def __index__(self) -> int: ...
    def __init__(self,value : int) -> None: ...
    def __int__(self) -> int: ...
    def __ne__(self,other : object) -> bool: ...
    def __repr__(self) -> str: ...
    def __setstate__(self,state : int) -> None: ...
    def __str__(self) -> str: ...
    @property
    def name(self) -> None:
        """
        :type: None
        """
    @property
    def value(self) -> int:
        """
        :type: int
        """
    LProp_Computed: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Computed: 3>
    LProp_Defined: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Defined: 2>
    LProp_Undecided: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Undecided: 0>
    LProp_Undefined: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Undefined: 1>
    __entries: dict # value = {'LProp_Undecided': (<LProp_Status.LProp_Undecided: 0>, None), 'LProp_Undefined': (<LProp_Status.LProp_Undefined: 1>, None), 'LProp_Defined': (<LProp_Status.LProp_Defined: 2>, None), 'LProp_Computed': (<LProp_Status.LProp_Computed: 3>, None)}
    __members__: dict # value = {'LProp_Undecided': <LProp_Status.LProp_Undecided: 0>, 'LProp_Undefined': <LProp_Status.LProp_Undefined: 1>, 'LProp_Defined': <LProp_Status.LProp_Defined: 2>, 'LProp_Computed': <LProp_Status.LProp_Computed: 3>}
    pass
LProp_Computed: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Computed: 3>
LProp_Defined: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Defined: 2>
LProp_Inflection: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_Inflection: 0>
LProp_MaxCur: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_MaxCur: 2>
LProp_MinCur: OCP.LProp.LProp_CIType # value = <LProp_CIType.LProp_MinCur: 1>
LProp_Undecided: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Undecided: 0>
LProp_Undefined: OCP.LProp.LProp_Status # value = <LProp_Status.LProp_Undefined: 1>