fake-bpy-module 20240411__py3-none-any.whl → 20240418__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (145) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. bl_operators/presets/__init__.pyi +7 -0
  9. bl_ui/node_add_menu/__init__.pyi +1 -1
  10. bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
  11. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
  12. bl_ui/properties_physics_fluid/__init__.pyi +3 -0
  13. bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
  14. bl_ui/space_userpref/__init__.pyi +13 -4
  15. bl_ui/space_view3d/__init__.pyi +190 -0
  16. blf/__init__.pyi +63 -13
  17. bmesh/__init__.pyi +13 -0
  18. bmesh/geometry/__init__.pyi +5 -0
  19. bmesh/ops/__init__.pyi +157 -68
  20. bmesh/types/__init__.pyi +109 -62
  21. bmesh/utils/__init__.pyi +11 -2
  22. bpy/__init__.pyi +7 -0
  23. bpy/app/__init__.pyi +13 -0
  24. bpy/app/handlers/__init__.pyi +41 -0
  25. bpy/app/icons/__init__.pyi +4 -2
  26. bpy/app/timers/__init__.pyi +38 -2
  27. bpy/app/translations/__init__.pyi +59 -1
  28. bpy/msgbus/__init__.pyi +46 -0
  29. bpy/ops/__init__.pyi +151 -0
  30. bpy/ops/action/__init__.pyi +76 -76
  31. bpy/ops/anim/__init__.pyi +104 -104
  32. bpy/ops/armature/__init__.pyi +96 -96
  33. bpy/ops/asset/__init__.pyi +32 -32
  34. bpy/ops/boid/__init__.pyi +16 -16
  35. bpy/ops/brush/__init__.pyi +18 -18
  36. bpy/ops/buttons/__init__.pyi +12 -12
  37. bpy/ops/cachefile/__init__.pyi +10 -10
  38. bpy/ops/camera/__init__.pyi +4 -4
  39. bpy/ops/clip/__init__.pyi +184 -184
  40. bpy/ops/cloth/__init__.pyi +2 -2
  41. bpy/ops/collection/__init__.pyi +18 -18
  42. bpy/ops/console/__init__.pyi +42 -42
  43. bpy/ops/constraint/__init__.pyi +36 -36
  44. bpy/ops/curve/__init__.pyi +102 -102
  45. bpy/ops/curves/__init__.pyi +132 -50
  46. bpy/ops/cycles/__init__.pyi +6 -6
  47. bpy/ops/dpaint/__init__.pyi +10 -10
  48. bpy/ops/ed/__init__.pyi +24 -24
  49. bpy/ops/export_anim/__init__.pyi +2 -2
  50. bpy/ops/export_mesh/__init__.pyi +2 -2
  51. bpy/ops/export_scene/__init__.pyi +11 -8
  52. bpy/ops/file/__init__.pyi +80 -80
  53. bpy/ops/fluid/__init__.pyi +28 -28
  54. bpy/ops/font/__init__.pyi +46 -46
  55. bpy/ops/geometry/__init__.pyi +20 -20
  56. bpy/ops/gizmogroup/__init__.pyi +4 -4
  57. bpy/ops/gpencil/__init__.pyi +300 -300
  58. bpy/ops/graph/__init__.pyi +130 -130
  59. bpy/ops/grease_pencil/__init__.pyi +139 -110
  60. bpy/ops/image/__init__.pyi +92 -92
  61. bpy/ops/import_anim/__init__.pyi +2 -2
  62. bpy/ops/import_curve/__init__.pyi +2 -2
  63. bpy/ops/import_mesh/__init__.pyi +2 -2
  64. bpy/ops/import_scene/__init__.pyi +6 -6
  65. bpy/ops/info/__init__.pyi +14 -14
  66. bpy/ops/lattice/__init__.pyi +16 -16
  67. bpy/ops/marker/__init__.pyi +22 -22
  68. bpy/ops/mask/__init__.pyi +78 -78
  69. bpy/ops/material/__init__.pyi +6 -6
  70. bpy/ops/mball/__init__.pyi +16 -16
  71. bpy/ops/mesh/__init__.pyi +327 -327
  72. bpy/ops/nla/__init__.pyi +80 -80
  73. bpy/ops/node/__init__.pyi +203 -203
  74. bpy/ops/object/__init__.pyi +496 -508
  75. bpy/ops/outliner/__init__.pyi +139 -139
  76. bpy/ops/paint/__init__.pyi +104 -104
  77. bpy/ops/paintcurve/__init__.pyi +16 -16
  78. bpy/ops/palette/__init__.pyi +14 -14
  79. bpy/ops/particle/__init__.pyi +72 -72
  80. bpy/ops/pose/__init__.pyi +78 -78
  81. bpy/ops/poselib/__init__.pyi +18 -18
  82. bpy/ops/preferences/__init__.pyi +77 -77
  83. bpy/ops/ptcache/__init__.pyi +14 -14
  84. bpy/ops/render/__init__.pyi +24 -24
  85. bpy/ops/rigidbody/__init__.pyi +26 -26
  86. bpy/ops/scene/__init__.pyi +78 -78
  87. bpy/ops/screen/__init__.pyi +78 -78
  88. bpy/ops/script/__init__.pyi +6 -6
  89. bpy/ops/sculpt/__init__.pyi +68 -62
  90. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  91. bpy/ops/sequencer/__init__.pyi +170 -170
  92. bpy/ops/sound/__init__.pyi +14 -14
  93. bpy/ops/spreadsheet/__init__.pyi +8 -8
  94. bpy/ops/surface/__init__.pyi +12 -12
  95. bpy/ops/text/__init__.pyi +86 -86
  96. bpy/ops/text_editor/__init__.pyi +2 -2
  97. bpy/ops/texture/__init__.pyi +8 -8
  98. bpy/ops/transform/__init__.pyi +54 -54
  99. bpy/ops/ui/__init__.pyi +64 -64
  100. bpy/ops/uilist/__init__.pyi +6 -6
  101. bpy/ops/uv/__init__.pyi +98 -98
  102. bpy/ops/view2d/__init__.pyi +28 -28
  103. bpy/ops/view3d/__init__.pyi +134 -134
  104. bpy/ops/wm/__init__.pyi +225 -225
  105. bpy/ops/workspace/__init__.pyi +14 -14
  106. bpy/ops/world/__init__.pyi +2 -2
  107. bpy/path/__init__.pyi +6 -0
  108. bpy/props/__init__.pyi +141 -29
  109. bpy/types/__init__.pyi +101773 -5222
  110. bpy/utils/__init__.pyi +18 -3
  111. bpy/utils/previews/__init__.pyi +15 -0
  112. bpy/utils/units/__init__.pyi +11 -3
  113. bpy_extras/__init__.pyi +19 -0
  114. bpy_extras/asset_utils/__init__.pyi +5 -0
  115. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
  116. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
  117. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
  118. freestyle/__init__.pyi +18 -0
  119. freestyle/chainingiterators/__init__.pyi +20 -5
  120. freestyle/functions/__init__.pyi +151 -155
  121. freestyle/predicates/__init__.pyi +53 -46
  122. freestyle/shaders/__init__.pyi +91 -32
  123. freestyle/types/__init__.pyi +362 -120
  124. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  125. freestyle/utils/__init__.pyi +13 -1
  126. gpu/__init__.pyi +225 -0
  127. gpu/capabilities/__init__.pyi +37 -15
  128. gpu/matrix/__init__.pyi +7 -1
  129. gpu/platform/__init__.pyi +5 -0
  130. gpu/select/__init__.pyi +5 -0
  131. gpu/shader/__init__.pyi +77 -0
  132. gpu/state/__init__.pyi +15 -4
  133. gpu/texture/__init__.pyi +5 -0
  134. gpu/types/__init__.pyi +91 -33
  135. gpu_extras/__init__.pyi +15 -0
  136. gpu_extras/presets/__init__.pyi +16 -4
  137. imbuf/__init__.pyi +13 -0
  138. imbuf/types/__init__.pyi +20 -5
  139. mathutils/__init__.pyi +349 -227
  140. mathutils/bvhtree/__init__.pyi +21 -8
  141. mathutils/geometry/__init__.pyi +23 -9
  142. mathutils/interpolate/__init__.pyi +5 -0
  143. mathutils/kdtree/__init__.pyi +19 -5
  144. mathutils/noise/__init__.pyi +87 -41
  145. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
@@ -1,3 +1,33 @@
1
+ """
2
+ This module contains functions operating on vertices (0D elements) and
3
+ polylines (1D elements). The module is also intended to be a
4
+ collection of examples for function definition in Python.
5
+
6
+ User-defined functions inherit one of the following base classes,
7
+ depending on the object type (0D or 1D) to operate on and the return
8
+ value type:
9
+
10
+ * freestyle.types.UnaryFunction0DDouble
11
+ * freestyle.types.UnaryFunction0DEdgeNature
12
+ * freestyle.types.UnaryFunction0DFloat
13
+ * freestyle.types.UnaryFunction0DId
14
+ * freestyle.types.UnaryFunction0DMaterial
15
+ * freestyle.types.UnaryFunction0DUnsigned
16
+ * freestyle.types.UnaryFunction0DVec2f
17
+ * freestyle.types.UnaryFunction0DVec3f
18
+ * freestyle.types.UnaryFunction0DVectorViewShape
19
+ * freestyle.types.UnaryFunction0DViewShape
20
+ * freestyle.types.UnaryFunction1DDouble
21
+ * freestyle.types.UnaryFunction1DEdgeNature
22
+ * freestyle.types.UnaryFunction1DFloat
23
+ * freestyle.types.UnaryFunction1DUnsigned
24
+ * freestyle.types.UnaryFunction1DVec2f
25
+ * freestyle.types.UnaryFunction1DVec3f
26
+ * freestyle.types.UnaryFunction1DVectorViewShape
27
+ * freestyle.types.UnaryFunction1DVoid
28
+
29
+ """
30
+
1
31
  import typing
2
32
  import freestyle.types
3
33
  import mathutils
@@ -26,9 +56,7 @@ class Curvature2DAngleF0D:
26
56
  """Builds a Curvature2DAngleF0D object."""
27
57
  ...
28
58
 
29
- def __call__(
30
- self, it: freestyle.types.Interface0DIterator
31
- ) -> freestyle.types.Interface0DIterator:
59
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
32
60
  """Returns a real value giving the 2D curvature (as an angle) of the 1D
33
61
  element to which the `freestyle.types.Interface0D` pointed by
34
62
  the Interface0DIterator belongs. The 2D curvature is evaluated at the
@@ -38,6 +66,7 @@ class Curvature2DAngleF0D:
38
66
  :type it: freestyle.types.Interface0DIterator
39
67
  :return: The 2D curvature of the 1D element evaluated at the
40
68
  pointed Interface0D.
69
+ :rtype: float
41
70
  """
42
71
  ...
43
72
 
@@ -53,14 +82,13 @@ class Curvature2DAngleF1D:
53
82
  """
54
83
  ...
55
84
 
56
- def __call__(
57
- self, inter: freestyle.types.Interface1D
58
- ) -> freestyle.types.Interface1D:
85
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
59
86
  """Returns the 2D curvature as an angle for an Interface1D.
60
87
 
61
88
  :param inter: An Interface1D object.
62
89
  :type inter: freestyle.types.Interface1D
63
90
  :return: The 2D curvature as an angle.
91
+ :rtype: float
64
92
  """
65
93
  ...
66
94
 
@@ -82,7 +110,7 @@ class CurveNatureF0D:
82
110
 
83
111
  def __call__(
84
112
  self, it: freestyle.types.Interface0DIterator
85
- ) -> freestyle.types.Interface0DIterator:
113
+ ) -> freestyle.types.Nature:
86
114
  """Returns the `freestyle.types.Nature` of the 1D element the
87
115
  Interface0D pointed by the Interface0DIterator belongs to.
88
116
 
@@ -106,9 +134,7 @@ class CurveNatureF1D:
106
134
  """
107
135
  ...
108
136
 
109
- def __call__(
110
- self, inter: freestyle.types.Interface1D
111
- ) -> freestyle.types.Interface1D:
137
+ def __call__(self, inter: freestyle.types.Interface1D) -> freestyle.types.Nature:
112
138
  """Returns the nature of the Interface1D (silhouette, ridge, crease, and
113
139
  so on). Except if the Interface1D is a
114
140
  `freestyle.types.ViewEdge`, this result might be ambiguous.
@@ -127,18 +153,17 @@ class CurveNatureF1D:
127
153
  class DensityF0D:
128
154
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `DensityF0D`"""
129
155
 
130
- def __init__(self, sigma=2.0):
156
+ def __init__(self, sigma: float = 2.0):
131
157
  """Builds a DensityF0D object.
132
158
 
133
159
  :param sigma: The gaussian sigma value indicating the X value for
134
160
  which the gaussian function is 0.5. It leads to the window size
135
161
  value (the larger, the smoother).
162
+ :type sigma: float
136
163
  """
137
164
  ...
138
165
 
139
- def __call__(
140
- self, it: freestyle.types.Interface0DIterator
141
- ) -> freestyle.types.Interface0DIterator:
166
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
142
167
  """Returns the density of the (result) image evaluated at the
143
168
  `freestyle.types.Interface0D` pointed by the
144
169
  Interface0DIterator. This density is evaluated using a pixels square
@@ -149,6 +174,7 @@ class DensityF0D:
149
174
  :type it: freestyle.types.Interface0DIterator
150
175
  :return: The density of the image evaluated at the pointed
151
176
  Interface0D.
177
+ :rtype: float
152
178
  """
153
179
  ...
154
180
 
@@ -157,14 +183,15 @@ class DensityF1D:
157
183
 
158
184
  def __init__(
159
185
  self,
160
- sigma=2.0,
186
+ sigma: float = 2.0,
161
187
  integration_type: freestyle.types.IntegrationType = None,
162
- sampling=2.0,
188
+ sampling: float = 2.0,
163
189
  ):
164
190
  """Builds a DensityF1D object.
165
191
 
166
192
  :param sigma: The sigma used in DensityF0D and determining the window size
167
193
  used in each density query.
194
+ :type sigma: float
168
195
  :param integration_type: The integration method used to compute a single value
169
196
  from a set of values.
170
197
  :type integration_type: freestyle.types.IntegrationType
@@ -172,12 +199,11 @@ class DensityF1D:
172
199
  corresponding 0D function is evaluated at each sample point and
173
200
  the result is obtained by combining the resulting values into a
174
201
  single one, following the method specified by integration_type.
202
+ :type sampling: float
175
203
  """
176
204
  ...
177
205
 
178
- def __call__(
179
- self, inter: freestyle.types.Interface1D
180
- ) -> freestyle.types.Interface1D:
206
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
181
207
  """Returns the density evaluated for an Interface1D. The density is
182
208
  evaluated for a set of points along the Interface1D (using the
183
209
  `freestyle.functions.DensityF0D` functor) with a user-defined
@@ -187,6 +213,7 @@ class DensityF1D:
187
213
  :param inter: An Interface1D object.
188
214
  :type inter: freestyle.types.Interface1D
189
215
  :return: The density evaluated for an Interface1D.
216
+ :rtype: float
190
217
  """
191
218
  ...
192
219
 
@@ -195,14 +222,15 @@ class GetCompleteViewMapDensityF1D:
195
222
 
196
223
  def __init__(
197
224
  self,
198
- level,
225
+ level: int,
199
226
  integration_type: freestyle.types.IntegrationType = None,
200
- sampling=2.0,
227
+ sampling: float = 2.0,
201
228
  ):
202
229
  """Builds a GetCompleteViewMapDensityF1D object.
203
230
 
204
231
  :param level: The level of the pyramid from which the pixel must be
205
232
  read.
233
+ :type level: int
206
234
  :param integration_type: The integration method used to compute a single value
207
235
  from a set of values.
208
236
  :type integration_type: freestyle.types.IntegrationType
@@ -210,12 +238,11 @@ class GetCompleteViewMapDensityF1D:
210
238
  corresponding 0D function is evaluated at each sample point and
211
239
  the result is obtained by combining the resulting values into a
212
240
  single one, following the method specified by integration_type.
241
+ :type sampling: float
213
242
  """
214
243
  ...
215
244
 
216
- def __call__(
217
- self, inter: freestyle.types.Interface1D
218
- ) -> freestyle.types.Interface1D:
245
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
219
246
  """Returns the density evaluated for an Interface1D in the complete
220
247
  viewmap image. The density is evaluated for a set of points along the
221
248
  Interface1D (using the
@@ -227,6 +254,7 @@ class GetCompleteViewMapDensityF1D:
227
254
  :type inter: freestyle.types.Interface1D
228
255
  :return: The density evaluated for the Interface1D in the complete
229
256
  viewmap image.
257
+ :rtype: float
230
258
  """
231
259
  ...
232
260
 
@@ -237,9 +265,7 @@ class GetCurvilinearAbscissaF0D:
237
265
  """Builds a GetCurvilinearAbscissaF0D object."""
238
266
  ...
239
267
 
240
- def __call__(
241
- self, it: freestyle.types.Interface0DIterator
242
- ) -> freestyle.types.Interface0DIterator:
268
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
243
269
  """Returns the curvilinear abscissa of the
244
270
  `freestyle.types.Interface0D` pointed by the
245
271
  Interface0DIterator in the context of its 1D element.
@@ -247,6 +273,7 @@ class GetCurvilinearAbscissaF0D:
247
273
  :param it: An Interface0DIterator object.
248
274
  :type it: freestyle.types.Interface0DIterator
249
275
  :return: The curvilinear abscissa of the pointed Interface0D.
276
+ :rtype: float
250
277
  """
251
278
  ...
252
279
 
@@ -255,17 +282,19 @@ class GetDirectionalViewMapDensityF1D:
255
282
 
256
283
  def __init__(
257
284
  self,
258
- orientation,
259
- level,
285
+ orientation: int,
286
+ level: int,
260
287
  integration_type: freestyle.types.IntegrationType = None,
261
- sampling=2.0,
288
+ sampling: float = 2.0,
262
289
  ):
263
290
  """Builds a GetDirectionalViewMapDensityF1D object.
264
291
 
265
292
  :param orientation: The number of the directional map we must work
266
293
  with.
294
+ :type orientation: int
267
295
  :param level: The level of the pyramid from which the pixel must be
268
296
  read.
297
+ :type level: int
269
298
  :param integration_type: The integration method used to compute a single value
270
299
  from a set of values.
271
300
  :type integration_type: freestyle.types.IntegrationType
@@ -273,12 +302,11 @@ class GetDirectionalViewMapDensityF1D:
273
302
  corresponding 0D function is evaluated at each sample point and
274
303
  the result is obtained by combining the resulting values into a
275
304
  single one, following the method specified by integration_type.
305
+ :type sampling: float
276
306
  """
277
307
  ...
278
308
 
279
- def __call__(
280
- self, inter: freestyle.types.Interface1D
281
- ) -> freestyle.types.Interface1D:
309
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
282
310
  """Returns the density evaluated for an Interface1D in of the steerable
283
311
  viewmaps image. The direction telling which Directional map to choose
284
312
  is explicitly specified by the user. The density is evaluated for a
@@ -291,6 +319,7 @@ class GetDirectionalViewMapDensityF1D:
291
319
  :type inter: freestyle.types.Interface1D
292
320
  :return: the density evaluated for an Interface1D in of the
293
321
  steerable viewmaps image.
322
+ :rtype: float
294
323
  """
295
324
  ...
296
325
 
@@ -303,7 +332,7 @@ class GetOccludeeF0D:
303
332
 
304
333
  def __call__(
305
334
  self, it: freestyle.types.Interface0DIterator
306
- ) -> freestyle.types.Interface0DIterator:
335
+ ) -> freestyle.types.ViewShape:
307
336
  """Returns the `freestyle.types.ViewShape` that the Interface0D
308
337
  pointed by the Interface0DIterator occludes.
309
338
 
@@ -321,9 +350,7 @@ class GetOccludeeF1D:
321
350
  """Builds a GetOccludeeF1D object."""
322
351
  ...
323
352
 
324
- def __call__(
325
- self, inter: freestyle.types.Interface1D
326
- ) -> freestyle.types.Interface1D:
353
+ def __call__(self, inter: freestyle.types.Interface1D):
327
354
  """Returns a list of occluded shapes covered by this Interface1D.
328
355
 
329
356
  :param inter: An Interface1D object.
@@ -339,9 +366,7 @@ class GetOccludersF0D:
339
366
  """Builds a GetOccludersF0D object."""
340
367
  ...
341
368
 
342
- def __call__(
343
- self, it: freestyle.types.Interface0DIterator
344
- ) -> freestyle.types.Interface0DIterator:
369
+ def __call__(self, it: freestyle.types.Interface0DIterator):
345
370
  """Returns a list of `freestyle.types.ViewShape` objects occluding the
346
371
  `freestyle.types.Interface0D` pointed by the Interface0DIterator.
347
372
 
@@ -359,9 +384,7 @@ class GetOccludersF1D:
359
384
  """Builds a GetOccludersF1D object."""
360
385
  ...
361
386
 
362
- def __call__(
363
- self, inter: freestyle.types.Interface1D
364
- ) -> freestyle.types.Interface1D:
387
+ def __call__(self, inter: freestyle.types.Interface1D):
365
388
  """Returns a list of occluding shapes that cover this Interface1D.
366
389
 
367
390
  :param inter: An Interface1D object.
@@ -377,15 +400,14 @@ class GetParameterF0D:
377
400
  """Builds a GetParameterF0D object."""
378
401
  ...
379
402
 
380
- def __call__(
381
- self, it: freestyle.types.Interface0DIterator
382
- ) -> freestyle.types.Interface0DIterator:
403
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
383
404
  """Returns the parameter of the `freestyle.types.Interface0D`
384
405
  pointed by the Interface0DIterator in the context of its 1D element.
385
406
 
386
407
  :param it: An Interface0DIterator object.
387
408
  :type it: freestyle.types.Interface0DIterator
388
409
  :return: The parameter of an Interface0D.
410
+ :rtype: float
389
411
  """
390
412
  ...
391
413
 
@@ -396,15 +418,14 @@ class GetProjectedXF0D:
396
418
  """Builds a GetProjectedXF0D object."""
397
419
  ...
398
420
 
399
- def __call__(
400
- self, it: freestyle.types.Interface0DIterator
401
- ) -> freestyle.types.Interface0DIterator:
421
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
402
422
  """Returns the X 3D projected coordinate of the `freestyle.types.Interface0D`
403
423
  pointed by the Interface0DIterator.
404
424
 
405
425
  :param it: An Interface0DIterator object.
406
426
  :type it: freestyle.types.Interface0DIterator
407
427
  :return: The X 3D projected coordinate of the pointed Interface0D.
428
+ :rtype: float
408
429
  """
409
430
  ...
410
431
 
@@ -420,14 +441,13 @@ class GetProjectedXF1D:
420
441
  """
421
442
  ...
422
443
 
423
- def __call__(
424
- self, inter: freestyle.types.Interface1D
425
- ) -> freestyle.types.Interface1D:
444
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
426
445
  """Returns the projected X 3D coordinate of an Interface1D.
427
446
 
428
447
  :param inter: An Interface1D object.
429
448
  :type inter: freestyle.types.Interface1D
430
449
  :return: The projected X 3D coordinate of an Interface1D.
450
+ :rtype: float
431
451
  """
432
452
  ...
433
453
 
@@ -438,15 +458,14 @@ class GetProjectedYF0D:
438
458
  """Builds a GetProjectedYF0D object."""
439
459
  ...
440
460
 
441
- def __call__(
442
- self, it: freestyle.types.Interface0DIterator
443
- ) -> freestyle.types.Interface0DIterator:
461
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
444
462
  """Returns the Y 3D projected coordinate of the `freestyle.types.Interface0D`
445
463
  pointed by the Interface0DIterator.
446
464
 
447
465
  :param it: An Interface0DIterator object.
448
466
  :type it: freestyle.types.Interface0DIterator
449
467
  :return: The Y 3D projected coordinate of the pointed Interface0D.
468
+ :rtype: float
450
469
  """
451
470
  ...
452
471
 
@@ -462,14 +481,13 @@ class GetProjectedYF1D:
462
481
  """
463
482
  ...
464
483
 
465
- def __call__(
466
- self, inter: freestyle.types.Interface1D
467
- ) -> freestyle.types.Interface1D:
484
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
468
485
  """Returns the projected Y 3D coordinate of an Interface1D.
469
486
 
470
487
  :param inter: An Interface1D object.
471
488
  :type inter: freestyle.types.Interface1D
472
489
  :return: The projected Y 3D coordinate of an Interface1D.
490
+ :rtype: float
473
491
  """
474
492
  ...
475
493
 
@@ -480,15 +498,14 @@ class GetProjectedZF0D:
480
498
  """Builds a GetProjectedZF0D object."""
481
499
  ...
482
500
 
483
- def __call__(
484
- self, it: freestyle.types.Interface0DIterator
485
- ) -> freestyle.types.Interface0DIterator:
501
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
486
502
  """Returns the Z 3D projected coordinate of the `freestyle.types.Interface0D`
487
503
  pointed by the Interface0DIterator.
488
504
 
489
505
  :param it: An Interface0DIterator object.
490
506
  :type it: freestyle.types.Interface0DIterator
491
507
  :return: The Z 3D projected coordinate of the pointed Interface0D.
508
+ :rtype: float
492
509
  """
493
510
  ...
494
511
 
@@ -504,14 +521,13 @@ class GetProjectedZF1D:
504
521
  """
505
522
  ...
506
523
 
507
- def __call__(
508
- self, inter: freestyle.types.Interface1D
509
- ) -> freestyle.types.Interface1D:
524
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
510
525
  """Returns the projected Z 3D coordinate of an Interface1D.
511
526
 
512
527
  :param inter: An Interface1D object.
513
528
  :type inter: freestyle.types.Interface1D
514
529
  :return: The projected Z 3D coordinate of an Interface1D.
530
+ :rtype: float
515
531
  """
516
532
  ...
517
533
 
@@ -524,7 +540,7 @@ class GetShapeF0D:
524
540
 
525
541
  def __call__(
526
542
  self, it: freestyle.types.Interface0DIterator
527
- ) -> freestyle.types.Interface0DIterator:
543
+ ) -> freestyle.types.ViewShape:
528
544
  """Returns the `freestyle.types.ViewShape` containing the
529
545
  Interface0D pointed by the Interface0DIterator.
530
546
 
@@ -542,9 +558,7 @@ class GetShapeF1D:
542
558
  """Builds a GetShapeF1D object."""
543
559
  ...
544
560
 
545
- def __call__(
546
- self, inter: freestyle.types.Interface1D
547
- ) -> freestyle.types.Interface1D:
561
+ def __call__(self, inter: freestyle.types.Interface1D):
548
562
  """Returns a list of shapes covered by this Interface1D.
549
563
 
550
564
  :param inter: An Interface1D object.
@@ -558,14 +572,15 @@ class GetSteerableViewMapDensityF1D:
558
572
 
559
573
  def __init__(
560
574
  self,
561
- level,
575
+ level: int,
562
576
  integration_type: freestyle.types.IntegrationType = None,
563
- sampling=2.0,
577
+ sampling: float = 2.0,
564
578
  ):
565
579
  """Builds a GetSteerableViewMapDensityF1D object.
566
580
 
567
581
  :param level: The level of the pyramid from which the pixel must be
568
582
  read.
583
+ :type level: int
569
584
  :param integration_type: The integration method used to compute a single value
570
585
  from a set of values.
571
586
  :type integration_type: freestyle.types.IntegrationType
@@ -573,12 +588,11 @@ class GetSteerableViewMapDensityF1D:
573
588
  corresponding 0D function is evaluated at each sample point and
574
589
  the result is obtained by combining the resulting values into a
575
590
  single one, following the method specified by integration_type.
591
+ :type sampling: float
576
592
  """
577
593
  ...
578
594
 
579
- def __call__(
580
- self, inter: freestyle.types.Interface1D
581
- ) -> freestyle.types.Interface1D:
595
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
582
596
  """Returns the density of the ViewMap for a given Interface1D. The
583
597
  density of each `freestyle.types.FEdge` is evaluated in the
584
598
  proper steerable `freestyle.types.ViewMap` depending on its
@@ -587,23 +601,23 @@ class GetSteerableViewMapDensityF1D:
587
601
  :param inter: An Interface1D object.
588
602
  :type inter: freestyle.types.Interface1D
589
603
  :return: The density of the ViewMap for a given Interface1D.
604
+ :rtype: float
590
605
  """
591
606
  ...
592
607
 
593
608
  class GetViewMapGradientNormF0D:
594
609
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `GetViewMapGradientNormF0D`"""
595
610
 
596
- def __init__(self, level):
611
+ def __init__(self, level: int):
597
612
  """Builds a GetViewMapGradientNormF0D object.
598
613
 
599
614
  :param level: The level of the pyramid from which the pixel must be
600
615
  read.
616
+ :type level: int
601
617
  """
602
618
  ...
603
619
 
604
- def __call__(
605
- self, it: freestyle.types.Interface0DIterator
606
- ) -> freestyle.types.Interface0DIterator:
620
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
607
621
  """Returns the norm of the gradient of the global viewmap density
608
622
  image.
609
623
 
@@ -611,6 +625,7 @@ class GetViewMapGradientNormF0D:
611
625
  :type it: freestyle.types.Interface0DIterator
612
626
  :return: The norm of the gradient of the global viewmap density
613
627
  image.
628
+ :rtype: float
614
629
  """
615
630
  ...
616
631
 
@@ -619,14 +634,15 @@ class GetViewMapGradientNormF1D:
619
634
 
620
635
  def __init__(
621
636
  self,
622
- level,
637
+ level: int,
623
638
  integration_type: freestyle.types.IntegrationType = None,
624
- sampling=2.0,
639
+ sampling: float = 2.0,
625
640
  ):
626
641
  """Builds a GetViewMapGradientNormF1D object.
627
642
 
628
643
  :param level: The level of the pyramid from which the pixel must be
629
644
  read.
645
+ :type level: int
630
646
  :param integration_type: The integration method used to compute a single value
631
647
  from a set of values.
632
648
  :type integration_type: freestyle.types.IntegrationType
@@ -634,12 +650,11 @@ class GetViewMapGradientNormF1D:
634
650
  corresponding 0D function is evaluated at each sample point and
635
651
  the result is obtained by combining the resulting values into a
636
652
  single one, following the method specified by integration_type.
653
+ :type sampling: float
637
654
  """
638
655
  ...
639
656
 
640
- def __call__(
641
- self, inter: freestyle.types.Interface1D
642
- ) -> freestyle.types.Interface1D:
657
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
643
658
  """Returns the density of the ViewMap for a given Interface1D. The
644
659
  density of each `freestyle.types.FEdge` is evaluated in the
645
660
  proper steerable `freestyle.types.ViewMap` depending on its
@@ -648,6 +663,7 @@ class GetViewMapGradientNormF1D:
648
663
  :param inter: An Interface1D object.
649
664
  :type inter: freestyle.types.Interface1D
650
665
  :return: The density of the ViewMap for a given Interface1D.
666
+ :rtype: float
651
667
  """
652
668
  ...
653
669
 
@@ -658,15 +674,14 @@ class GetXF0D:
658
674
  """Builds a GetXF0D object."""
659
675
  ...
660
676
 
661
- def __call__(
662
- self, it: freestyle.types.Interface0DIterator
663
- ) -> freestyle.types.Interface0DIterator:
677
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
664
678
  """Returns the X 3D coordinate of the `freestyle.types.Interface0D` pointed by
665
679
  the Interface0DIterator.
666
680
 
667
681
  :param it: An Interface0DIterator object.
668
682
  :type it: freestyle.types.Interface0DIterator
669
683
  :return: The X 3D coordinate of the pointed Interface0D.
684
+ :rtype: float
670
685
  """
671
686
  ...
672
687
 
@@ -682,14 +697,13 @@ class GetXF1D:
682
697
  """
683
698
  ...
684
699
 
685
- def __call__(
686
- self, inter: freestyle.types.Interface1D
687
- ) -> freestyle.types.Interface1D:
700
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
688
701
  """Returns the X 3D coordinate of an Interface1D.
689
702
 
690
703
  :param inter: An Interface1D object.
691
704
  :type inter: freestyle.types.Interface1D
692
705
  :return: The X 3D coordinate of the Interface1D.
706
+ :rtype: float
693
707
  """
694
708
  ...
695
709
 
@@ -700,15 +714,14 @@ class GetYF0D:
700
714
  """Builds a GetYF0D object."""
701
715
  ...
702
716
 
703
- def __call__(
704
- self, it: freestyle.types.Interface0DIterator
705
- ) -> freestyle.types.Interface0DIterator:
717
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
706
718
  """Returns the Y 3D coordinate of the `freestyle.types.Interface0D` pointed by
707
719
  the Interface0DIterator.
708
720
 
709
721
  :param it: An Interface0DIterator object.
710
722
  :type it: freestyle.types.Interface0DIterator
711
723
  :return: The Y 3D coordinate of the pointed Interface0D.
724
+ :rtype: float
712
725
  """
713
726
  ...
714
727
 
@@ -724,14 +737,13 @@ class GetYF1D:
724
737
  """
725
738
  ...
726
739
 
727
- def __call__(
728
- self, inter: freestyle.types.Interface1D
729
- ) -> freestyle.types.Interface1D:
740
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
730
741
  """Returns the Y 3D coordinate of an Interface1D.
731
742
 
732
743
  :param inter: An Interface1D object.
733
744
  :type inter: freestyle.types.Interface1D
734
745
  :return: The Y 3D coordinate of the Interface1D.
746
+ :rtype: float
735
747
  """
736
748
  ...
737
749
 
@@ -742,15 +754,14 @@ class GetZF0D:
742
754
  """Builds a GetZF0D object."""
743
755
  ...
744
756
 
745
- def __call__(
746
- self, it: freestyle.types.Interface0DIterator
747
- ) -> freestyle.types.Interface0DIterator:
757
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
748
758
  """Returns the Z 3D coordinate of the `freestyle.types.Interface0D` pointed by
749
759
  the Interface0DIterator.
750
760
 
751
761
  :param it: An Interface0DIterator object.
752
762
  :type it: freestyle.types.Interface0DIterator
753
763
  :return: The Z 3D coordinate of the pointed Interface0D.
764
+ :rtype: float
754
765
  """
755
766
  ...
756
767
 
@@ -766,14 +777,13 @@ class GetZF1D:
766
777
  """
767
778
  ...
768
779
 
769
- def __call__(
770
- self, inter: freestyle.types.Interface1D
771
- ) -> freestyle.types.Interface1D:
780
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
772
781
  """Returns the Z 3D coordinate of an Interface1D.
773
782
 
774
783
  :param inter: An Interface1D object.
775
784
  :type inter: freestyle.types.Interface1D
776
785
  :return: The Z 3D coordinate of the Interface1D.
786
+ :rtype: float
777
787
  """
778
788
  ...
779
789
 
@@ -795,16 +805,15 @@ class IncrementChainingTimeStampF1D:
795
805
  class LocalAverageDepthF0D:
796
806
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `LocalAverageDepthF0D`"""
797
807
 
798
- def __init__(self, mask_size=5.0):
808
+ def __init__(self, mask_size: float = 5.0):
799
809
  """Builds a LocalAverageDepthF0D object.
800
810
 
801
811
  :param mask_size: The size of the mask.
812
+ :type mask_size: float
802
813
  """
803
814
  ...
804
815
 
805
- def __call__(
806
- self, it: freestyle.types.Interface0DIterator
807
- ) -> freestyle.types.Interface0DIterator:
816
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
808
817
  """Returns the average depth around the
809
818
  `freestyle.types.Interface0D` pointed by the
810
819
  Interface0DIterator. The result is obtained by querying the depth
@@ -813,26 +822,28 @@ class LocalAverageDepthF0D:
813
822
  :param it: An Interface0DIterator object.
814
823
  :type it: freestyle.types.Interface0DIterator
815
824
  :return: The average depth around the pointed Interface0D.
825
+ :rtype: float
816
826
  """
817
827
  ...
818
828
 
819
829
  class LocalAverageDepthF1D:
820
830
  """Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `LocalAverageDepthF1D`"""
821
831
 
822
- def __init__(self, sigma, integration_type: freestyle.types.IntegrationType = None):
832
+ def __init__(
833
+ self, sigma: float, integration_type: freestyle.types.IntegrationType = None
834
+ ):
823
835
  """Builds a LocalAverageDepthF1D object.
824
836
 
825
837
  :param sigma: The sigma used in DensityF0D and determining the window
826
838
  size used in each density query.
839
+ :type sigma: float
827
840
  :param integration_type: The integration method used to compute a single value
828
841
  from a set of values.
829
842
  :type integration_type: freestyle.types.IntegrationType
830
843
  """
831
844
  ...
832
845
 
833
- def __call__(
834
- self, inter: freestyle.types.Interface1D
835
- ) -> freestyle.types.Interface1D:
846
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
836
847
  """Returns the average depth evaluated for an Interface1D. The average
837
848
  depth is evaluated for a set of points along the Interface1D (using
838
849
  the `freestyle.functions.LocalAverageDepthF0D` functor) with a
@@ -842,6 +853,7 @@ class LocalAverageDepthF1D:
842
853
  :param inter: An Interface1D object.
843
854
  :type inter: freestyle.types.Interface1D
844
855
  :return: The average depth evaluated for the Interface1D.
856
+ :rtype: float
845
857
  """
846
858
  ...
847
859
 
@@ -854,7 +866,7 @@ class MaterialF0D:
854
866
 
855
867
  def __call__(
856
868
  self, it: freestyle.types.Interface0DIterator
857
- ) -> freestyle.types.Interface0DIterator:
869
+ ) -> freestyle.types.Material:
858
870
  """Returns the material of the object evaluated at the
859
871
  `freestyle.types.Interface0D` pointed by the
860
872
  Interface0DIterator. This evaluation can be ambiguous (in the case of
@@ -882,9 +894,7 @@ class Normal2DF0D:
882
894
  """Builds a Normal2DF0D object."""
883
895
  ...
884
896
 
885
- def __call__(
886
- self, it: freestyle.types.Interface0DIterator
887
- ) -> freestyle.types.Interface0DIterator:
897
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
888
898
  """Returns a two-dimensional vector giving the normalized 2D normal to
889
899
  the 1D element to which the `freestyle.types.Interface0D`
890
900
  pointed by the Interface0DIterator belongs. The normal is evaluated
@@ -910,9 +920,7 @@ class Normal2DF1D:
910
920
  """
911
921
  ...
912
922
 
913
- def __call__(
914
- self, inter: freestyle.types.Interface1D
915
- ) -> freestyle.types.Interface1D:
923
+ def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
916
924
  """Returns the 2D normal for the Interface1D.
917
925
 
918
926
  :param inter: An Interface1D object.
@@ -934,9 +942,7 @@ class Orientation2DF1D:
934
942
  """
935
943
  ...
936
944
 
937
- def __call__(
938
- self, inter: freestyle.types.Interface1D
939
- ) -> freestyle.types.Interface1D:
945
+ def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
940
946
  """Returns the 2D orientation of the Interface1D.
941
947
 
942
948
  :param inter: An Interface1D object.
@@ -958,9 +964,7 @@ class Orientation3DF1D:
958
964
  """
959
965
  ...
960
966
 
961
- def __call__(
962
- self, inter: freestyle.types.Interface1D
963
- ) -> freestyle.types.Interface1D:
967
+ def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
964
968
  """Returns the 3D orientation of the Interface1D.
965
969
 
966
970
  :param inter: An Interface1D object.
@@ -977,9 +981,7 @@ class QuantitativeInvisibilityF0D:
977
981
  """Builds a QuantitativeInvisibilityF0D object."""
978
982
  ...
979
983
 
980
- def __call__(
981
- self, it: freestyle.types.Interface0DIterator
982
- ) -> freestyle.types.Interface0DIterator:
984
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> int:
983
985
  """Returns the quantitative invisibility of the
984
986
  `freestyle.types.Interface0D` pointed by the
985
987
  Interface0DIterator. This evaluation can be ambiguous (in the case of
@@ -992,6 +994,7 @@ class QuantitativeInvisibilityF0D:
992
994
  :param it: An Interface0DIterator object.
993
995
  :type it: freestyle.types.Interface0DIterator
994
996
  :return: The quantitative invisibility of the pointed Interface0D.
997
+ :rtype: int
995
998
  """
996
999
  ...
997
1000
 
@@ -1007,9 +1010,7 @@ class QuantitativeInvisibilityF1D:
1007
1010
  """
1008
1011
  ...
1009
1012
 
1010
- def __call__(
1011
- self, inter: freestyle.types.Interface1D
1012
- ) -> freestyle.types.Interface1D:
1013
+ def __call__(self, inter: freestyle.types.Interface1D) -> int:
1013
1014
  """Returns the Quantitative Invisibility of an Interface1D element. If
1014
1015
  the Interface1D is a `freestyle.types.ViewEdge`, then there is
1015
1016
  no ambiguity concerning the result. But, if the Interface1D results
@@ -1019,76 +1020,78 @@ class QuantitativeInvisibilityF1D:
1019
1020
  :param inter: An Interface1D object.
1020
1021
  :type inter: freestyle.types.Interface1D
1021
1022
  :return: The Quantitative Invisibility of the Interface1D.
1023
+ :rtype: int
1022
1024
  """
1023
1025
  ...
1024
1026
 
1025
1027
  class ReadCompleteViewMapPixelF0D:
1026
1028
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadCompleteViewMapPixelF0D`"""
1027
1029
 
1028
- def __init__(self, level):
1030
+ def __init__(self, level: int):
1029
1031
  """Builds a ReadCompleteViewMapPixelF0D object.
1030
1032
 
1031
1033
  :param level: The level of the pyramid from which the pixel must be
1032
1034
  read.
1035
+ :type level: int
1033
1036
  """
1034
1037
  ...
1035
1038
 
1036
- def __call__(
1037
- self, it: freestyle.types.Interface0DIterator
1038
- ) -> freestyle.types.Interface0DIterator:
1039
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
1039
1040
  """Reads a pixel in one of the level of the complete viewmap.
1040
1041
 
1041
1042
  :param it: An Interface0DIterator object.
1042
1043
  :type it: freestyle.types.Interface0DIterator
1043
1044
  :return: A pixel in one of the level of the complete viewmap.
1045
+ :rtype: float
1044
1046
  """
1045
1047
  ...
1046
1048
 
1047
1049
  class ReadMapPixelF0D:
1048
1050
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadMapPixelF0D`"""
1049
1051
 
1050
- def __init__(self, map_name: str, level):
1052
+ def __init__(self, map_name: str, level: int):
1051
1053
  """Builds a ReadMapPixelF0D object.
1052
1054
 
1053
1055
  :param map_name: The name of the map to be read.
1054
1056
  :type map_name: str
1055
1057
  :param level: The level of the pyramid from which the pixel must be
1056
1058
  read.
1059
+ :type level: int
1057
1060
  """
1058
1061
  ...
1059
1062
 
1060
- def __call__(
1061
- self, it: freestyle.types.Interface0DIterator
1062
- ) -> freestyle.types.Interface0DIterator:
1063
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
1063
1064
  """Reads a pixel in a map.
1064
1065
 
1065
1066
  :param it: An Interface0DIterator object.
1066
1067
  :type it: freestyle.types.Interface0DIterator
1067
1068
  :return: A pixel in a map.
1069
+ :rtype: float
1068
1070
  """
1069
1071
  ...
1070
1072
 
1071
1073
  class ReadSteerableViewMapPixelF0D:
1072
1074
  """Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadSteerableViewMapPixelF0D`"""
1073
1075
 
1074
- def __init__(self, orientation, level):
1076
+ def __init__(self, orientation: int, level: int):
1075
1077
  """Builds a ReadSteerableViewMapPixelF0D object.
1076
1078
 
1077
1079
  :param orientation: The integer belonging to [0, 4] indicating the
1078
1080
  orientation (E, NE, N, NW) we are interested in.
1081
+ :type orientation: int
1079
1082
  :param level: The level of the pyramid from which the pixel must be
1080
1083
  read.
1084
+ :type level: int
1081
1085
  """
1082
1086
  ...
1083
1087
 
1084
- def __call__(
1085
- self, it: freestyle.types.Interface0DIterator
1086
- ) -> freestyle.types.Interface0DIterator:
1088
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
1087
1089
  """Reads a pixel in one of the level of one of the steerable viewmaps.
1088
1090
 
1089
1091
  :param it: An Interface0DIterator object.
1090
1092
  :type it: freestyle.types.Interface0DIterator
1091
1093
  :return: A pixel in one of the level of one of the steerable viewmaps.
1094
+ :rtype: float
1092
1095
  """
1093
1096
  ...
1094
1097
 
@@ -1099,9 +1102,7 @@ class ShapeIdF0D:
1099
1102
  """Builds a ShapeIdF0D object."""
1100
1103
  ...
1101
1104
 
1102
- def __call__(
1103
- self, it: freestyle.types.Interface0DIterator
1104
- ) -> freestyle.types.Interface0DIterator:
1105
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> freestyle.types.Id:
1105
1106
  """Returns the `freestyle.types.Id` of the Shape the
1106
1107
  `freestyle.types.Interface0D` pointed by the
1107
1108
  Interface0DIterator belongs to. This evaluation can be ambiguous (in
@@ -1141,9 +1142,7 @@ class VertexOrientation2DF0D:
1141
1142
  """Builds a VertexOrientation2DF0D object."""
1142
1143
  ...
1143
1144
 
1144
- def __call__(
1145
- self, it: freestyle.types.Interface0DIterator
1146
- ) -> freestyle.types.Interface0DIterator:
1145
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
1147
1146
  """Returns a two-dimensional vector giving the 2D oriented tangent to the
1148
1147
  1D element to which the `freestyle.types.Interface0D` pointed
1149
1148
  by the Interface0DIterator belongs. The 2D oriented tangent is
@@ -1164,9 +1163,7 @@ class VertexOrientation3DF0D:
1164
1163
  """Builds a VertexOrientation3DF0D object."""
1165
1164
  ...
1166
1165
 
1167
- def __call__(
1168
- self, it: freestyle.types.Interface0DIterator
1169
- ) -> freestyle.types.Interface0DIterator:
1166
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
1170
1167
  """Returns a three-dimensional vector giving the 3D oriented tangent to
1171
1168
  the 1D element to which the `freestyle.types.Interface0D`
1172
1169
  pointed by the Interface0DIterator belongs. The 3D oriented tangent
@@ -1187,9 +1184,7 @@ class ZDiscontinuityF0D:
1187
1184
  """Builds a ZDiscontinuityF0D object."""
1188
1185
  ...
1189
1186
 
1190
- def __call__(
1191
- self, it: freestyle.types.Interface0DIterator
1192
- ) -> freestyle.types.Interface0DIterator:
1187
+ def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
1193
1188
  """Returns a real value giving the distance between the
1194
1189
  `freestyle.types.Interface0D` pointed by the
1195
1190
  Interface0DIterator and the shape that lies behind (occludee). This
@@ -1201,6 +1196,7 @@ class ZDiscontinuityF0D:
1201
1196
  :type it: freestyle.types.Interface0DIterator
1202
1197
  :return: The normalized distance between the pointed Interface0D
1203
1198
  and the occludee.
1199
+ :rtype: float
1204
1200
  """
1205
1201
  ...
1206
1202
 
@@ -1216,9 +1212,7 @@ class ZDiscontinuityF1D:
1216
1212
  """
1217
1213
  ...
1218
1214
 
1219
- def __call__(
1220
- self, inter: freestyle.types.Interface1D
1221
- ) -> freestyle.types.Interface1D:
1215
+ def __call__(self, inter: freestyle.types.Interface1D) -> float:
1222
1216
  """Returns a real value giving the distance between an Interface1D
1223
1217
  and the shape that lies behind (occludee). This distance is
1224
1218
  evaluated in the camera space and normalized between 0 and 1.
@@ -1228,6 +1222,7 @@ class ZDiscontinuityF1D:
1228
1222
  :param inter: An Interface1D object.
1229
1223
  :type inter: freestyle.types.Interface1D
1230
1224
  :return: The normalized distance between the Interface1D and the occludee.
1225
+ :rtype: float
1231
1226
  """
1232
1227
  ...
1233
1228
 
@@ -1274,9 +1269,10 @@ class pyViewMapGradientNormF1D:
1274
1269
  class pyViewMapGradientVectorF0D:
1275
1270
  """Returns the gradient vector for a pixel."""
1276
1271
 
1277
- def __init__(self, level):
1272
+ def __init__(self, level: int):
1278
1273
  """Builds a pyViewMapGradientVectorF0D object.
1279
1274
 
1280
1275
  :param level: the level at which to compute the gradient
1276
+ :type level: int
1281
1277
  """
1282
1278
  ...