fake-bpy-module 20250603__py3-none-any.whl → 20250606__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.
- _bpy_internal/addons/cli/__init__.pyi +1 -1
- _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
- _bpy_internal/freedesktop/__init__.pyi +16 -16
- _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +12 -12
- animsys_refactor/__init__.pyi +6 -6
- aud/__init__.pyi +11 -11
- bgl/__init__.pyi +272 -252
- bl_app_override/__init__.pyi +3 -3
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +4 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
- bl_i18n_utils/merge_po/__init__.pyi +1 -1
- bl_i18n_utils/settings/__init__.pyi +6 -6
- bl_i18n_utils/utils/__init__.pyi +48 -46
- bl_i18n_utils/utils_cli/__init__.pyi +6 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +9 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_keymap_utils/versioning/__init__.pyi +1 -1
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +6 -6
- bl_operators/anim/__init__.pyi +24 -24
- bl_operators/assets/__init__.pyi +9 -9
- bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
- bl_operators/bone_selection_sets/__init__.pyi +18 -18
- bl_operators/clip/__init__.pyi +26 -26
- bl_operators/connect_to_output/__init__.pyi +17 -15
- bl_operators/console/__init__.pyi +10 -10
- bl_operators/constraint/__init__.pyi +8 -8
- bl_operators/file/__init__.pyi +6 -6
- bl_operators/freestyle/__init__.pyi +9 -9
- bl_operators/geometry_nodes/__init__.pyi +24 -24
- bl_operators/grease_pencil/__init__.pyi +2 -2
- bl_operators/image/__init__.pyi +7 -7
- bl_operators/image_as_planes/__init__.pyi +32 -32
- bl_operators/mesh/__init__.pyi +7 -7
- bl_operators/node/__init__.pyi +31 -31
- bl_operators/node_editor/node_functions/__init__.pyi +9 -9
- bl_operators/object/__init__.pyi +31 -31
- bl_operators/object_align/__init__.pyi +5 -5
- bl_operators/object_quick_effects/__init__.pyi +9 -9
- bl_operators/object_randomize_transform/__init__.pyi +3 -3
- bl_operators/presets/__init__.pyi +18 -18
- bl_operators/rigidbody/__init__.pyi +7 -7
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
- bl_operators/sequencer/__init__.pyi +19 -19
- bl_operators/spreadsheet/__init__.pyi +4 -4
- bl_operators/userpref/__init__.pyi +42 -42
- bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
- bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
- bl_operators/uvcalc_transform/__init__.pyi +20 -20
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
- bl_operators/view3d/__init__.pyi +21 -19
- bl_operators/wm/__init__.pyi +88 -88
- bl_operators/world/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +1 -1
- bl_ui/__init__.pyi +10 -10
- bl_ui/anim/__init__.pyi +2 -2
- bl_ui/asset_shelf/__init__.pyi +2 -2
- bl_ui/generic_ui_list/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +15 -13
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
- bl_ui/node_add_menu_shader/__init__.pyi +16 -16
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +10 -8
- bl_ui/properties_constraint/__init__.pyi +125 -125
- bl_ui/properties_data_armature/__init__.pyi +22 -22
- bl_ui/properties_data_bone/__init__.pyi +20 -20
- bl_ui/properties_data_camera/__init__.pyi +19 -19
- bl_ui/properties_data_curve/__init__.pyi +23 -23
- bl_ui/properties_data_curves/__init__.pyi +9 -9
- bl_ui/properties_data_empty/__init__.pyi +4 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
- bl_ui/properties_data_lattice/__init__.pyi +4 -4
- bl_ui/properties_data_light/__init__.pyi +14 -14
- bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +26 -26
- bl_ui/properties_data_metaball/__init__.pyi +6 -6
- bl_ui/properties_data_modifier/__init__.pyi +12 -12
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
- bl_ui/properties_data_speaker/__init__.pyi +5 -5
- bl_ui/properties_data_volume/__init__.pyi +9 -9
- bl_ui/properties_freestyle/__init__.pyi +51 -51
- bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
- bl_ui/properties_mask_common/__init__.pyi +24 -24
- bl_ui/properties_material/__init__.pyi +27 -27
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +29 -29
- bl_ui/properties_output/__init__.pyi +29 -29
- bl_ui/properties_paint_common/__init__.pyi +59 -49
- bl_ui/properties_particle/__init__.pyi +101 -101
- bl_ui/properties_physics_cloth/__init__.pyi +20 -20
- bl_ui/properties_physics_common/__init__.pyi +8 -8
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
- bl_ui/properties_physics_field/__init__.pyi +23 -23
- bl_ui/properties_physics_fluid/__init__.pyi +76 -76
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
- bl_ui/properties_physics_softbody/__init__.pyi +21 -21
- bl_ui/properties_render/__init__.pyi +81 -81
- bl_ui/properties_scene/__init__.pyi +22 -22
- bl_ui/properties_texture/__init__.pyi +39 -39
- bl_ui/properties_view_layer/__init__.pyi +12 -12
- bl_ui/properties_workspace/__init__.pyi +5 -5
- bl_ui/properties_world/__init__.pyi +18 -18
- bl_ui/space_clip/__init__.pyi +81 -81
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +32 -32
- bl_ui/space_filebrowser/__init__.pyi +45 -45
- bl_ui/space_graph/__init__.pyi +21 -21
- bl_ui/space_image/__init__.pyi +73 -73
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +18 -18
- bl_ui/space_node/__init__.pyi +42 -42
- bl_ui/space_outliner/__init__.pyi +21 -21
- bl_ui/space_properties/__init__.pyi +6 -6
- bl_ui/space_sequencer/__init__.pyi +133 -133
- bl_ui/space_spreadsheet/__init__.pyi +4 -4
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +17 -17
- bl_ui/space_time/__init__.pyi +12 -12
- bl_ui/space_toolsystem_common/__init__.pyi +28 -26
- bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
- bl_ui/space_topbar/__init__.pyi +32 -32
- bl_ui/space_userpref/__init__.pyi +132 -132
- bl_ui/space_view3d/__init__.pyi +297 -297
- bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
- bl_ui/utils/__init__.pyi +5 -5
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +2 -2
- blf/__init__.pyi +15 -15
- bmesh/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +366 -357
- bmesh/types/__init__.pyi +59 -57
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +5 -5
- bpy/app/icons/__init__.pyi +1 -1
- bpy/app/timers/__init__.pyi +2 -2
- bpy/app/translations/__init__.pyi +9 -9
- bpy/msgbus/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +62 -38
- bpy/ops/anim/__init__.pyi +63 -61
- bpy/ops/armature/__init__.pyi +58 -48
- bpy/ops/asset/__init__.pyi +31 -17
- bpy/ops/boid/__init__.pyi +18 -8
- bpy/ops/brush/__init__.pyi +19 -13
- bpy/ops/buttons/__init__.pyi +14 -6
- bpy/ops/cachefile/__init__.pyi +9 -5
- bpy/ops/camera/__init__.pyi +2 -2
- bpy/ops/clip/__init__.pyi +112 -92
- bpy/ops/cloth/__init__.pyi +1 -1
- bpy/ops/collection/__init__.pyi +11 -9
- bpy/ops/console/__init__.pyi +37 -21
- bpy/ops/constraint/__init__.pyi +20 -18
- bpy/ops/curve/__init__.pyi +81 -51
- bpy/ops/curves/__init__.pyi +50 -30
- bpy/ops/cycles/__init__.pyi +3 -3
- bpy/ops/dpaint/__init__.pyi +5 -5
- bpy/ops/ed/__init__.pyi +19 -13
- bpy/ops/export_anim/__init__.pyi +1 -1
- bpy/ops/export_scene/__init__.pyi +2 -2
- bpy/ops/extensions/__init__.pyi +38 -32
- bpy/ops/file/__init__.pyi +72 -40
- bpy/ops/fluid/__init__.pyi +36 -14
- bpy/ops/font/__init__.pyi +41 -23
- bpy/ops/geometry/__init__.pyi +10 -10
- bpy/ops/gizmogroup/__init__.pyi +4 -2
- bpy/ops/gpencil/__init__.pyi +12 -8
- bpy/ops/graph/__init__.pyi +81 -65
- bpy/ops/grease_pencil/__init__.pyi +159 -115
- bpy/ops/image/__init__.pyi +63 -49
- bpy/ops/import_anim/__init__.pyi +1 -1
- bpy/ops/import_curve/__init__.pyi +1 -1
- bpy/ops/import_scene/__init__.pyi +2 -2
- bpy/ops/info/__init__.pyi +13 -7
- bpy/ops/lattice/__init__.pyi +14 -8
- bpy/ops/marker/__init__.pyi +13 -11
- bpy/ops/mask/__init__.pyi +59 -39
- bpy/ops/material/__init__.pyi +3 -3
- bpy/ops/mball/__init__.pyi +8 -8
- bpy/ops/mesh/__init__.pyi +182 -164
- bpy/ops/nla/__init__.pyi +65 -39
- bpy/ops/node/__init__.pyi +181 -147
- bpy/ops/object/__init__.pyi +262 -242
- bpy/ops/outliner/__init__.pyi +98 -72
- bpy/ops/paint/__init__.pyi +58 -54
- bpy/ops/paintcurve/__init__.pyi +12 -8
- bpy/ops/palette/__init__.pyi +11 -7
- bpy/ops/particle/__init__.pyi +58 -36
- bpy/ops/pointcloud/__init__.pyi +13 -7
- bpy/ops/pose/__init__.pyi +65 -51
- bpy/ops/poselib/__init__.pyi +17 -11
- bpy/ops/preferences/__init__.pyi +41 -35
- bpy/ops/ptcache/__init__.pyi +13 -7
- bpy/ops/render/__init__.pyi +17 -13
- bpy/ops/rigidbody/__init__.pyi +19 -13
- bpy/ops/scene/__init__.pyi +39 -37
- bpy/ops/screen/__init__.pyi +59 -39
- bpy/ops/script/__init__.pyi +5 -3
- bpy/ops/sculpt/__init__.pyi +44 -40
- bpy/ops/sculpt_curves/__init__.pyi +4 -4
- bpy/ops/sequencer/__init__.pyi +142 -100
- bpy/ops/sound/__init__.pyi +7 -7
- bpy/ops/spreadsheet/__init__.pyi +13 -7
- bpy/ops/surface/__init__.pyi +6 -6
- bpy/ops/text/__init__.pyi +73 -43
- bpy/ops/text_editor/__init__.pyi +1 -1
- bpy/ops/texture/__init__.pyi +8 -4
- bpy/ops/transform/__init__.pyi +29 -27
- bpy/ops/ui/__init__.pyi +42 -34
- bpy/ops/uilist/__init__.pyi +3 -3
- bpy/ops/uv/__init__.pyi +59 -49
- bpy/ops/view2d/__init__.pyi +14 -14
- bpy/ops/view3d/__init__.pyi +87 -67
- bpy/ops/wm/__init__.pyi +138 -116
- bpy/ops/workspace/__init__.pyi +11 -7
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +16 -13
- bpy/types/__init__.pyi +1220 -1157
- bpy/utils/__init__.pyi +23 -23
- bpy/utils/previews/__init__.pyi +3 -3
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/bmesh_utils/__init__.pyi +1 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/io_utils/__init__.pyi +14 -12
- bpy_extras/keyconfig_utils/__init__.pyi +3 -3
- bpy_extras/mesh_utils/__init__.pyi +2 -2
- bpy_extras/node_shader_utils/__init__.pyi +63 -63
- bpy_extras/node_utils/__init__.pyi +3 -3
- bpy_extras/object_utils/__init__.pyi +4 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
- bpy_types/__init__.pyi +4 -4
- console_python/__init__.pyi +7 -7
- console_shell/__init__.pyi +5 -5
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
- fake_bpy_module-20250606.dist-info/RECORD +367 -0
- freestyle/chainingiterators/__init__.pyi +35 -33
- freestyle/functions/__init__.pyi +55 -55
- freestyle/predicates/__init__.pyi +8 -8
- freestyle/shaders/__init__.pyi +79 -75
- freestyle/types/__init__.pyi +146 -142
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +25 -25
- gpu/matrix/__init__.pyi +14 -14
- gpu/select/__init__.pyi +1 -1
- gpu/shader/__init__.pyi +1 -1
- gpu/state/__init__.pyi +19 -19
- gpu/types/__init__.pyi +50 -44
- gpu_extras/presets/__init__.pyi +2 -2
- graphviz_export/__init__.pyi +2 -2
- idprop/types/__init__.pyi +9 -9
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -3
- keyingsets_builtins/__init__.pyi +26 -26
- keyingsets_utils/__init__.pyi +14 -14
- mathutils/__init__.pyi +61 -53
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/kdtree/__init__.pyi +3 -3
- mathutils/noise/__init__.pyi +1 -1
- nodeitems_builtins/__init__.pyi +4 -4
- nodeitems_utils/__init__.pyi +9 -9
- rna_info/__init__.pyi +25 -25
- rna_keymap_ui/__init__.pyi +6 -6
- rna_prop_ui/__init__.pyi +12 -12
- rna_xml/__init__.pyi +6 -6
- fake_bpy_module-20250603.dist-info/RECORD +0 -367
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
freestyle/types/__init__.pyi
CHANGED
|
@@ -96,13 +96,13 @@ False otherwise.
|
|
|
96
96
|
:type: ViewEdge
|
|
97
97
|
"""
|
|
98
98
|
|
|
99
|
-
def __init__(self):
|
|
99
|
+
def __init__(self) -> None:
|
|
100
100
|
"""Builds an `AdjacencyIterator` using the default constructor,
|
|
101
101
|
copy constructor or the overloaded constructor.
|
|
102
102
|
|
|
103
103
|
"""
|
|
104
104
|
|
|
105
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
105
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
106
106
|
"""Builds an `AdjacencyIterator` using the default constructor,
|
|
107
107
|
copy constructor or the overloaded constructor.
|
|
108
108
|
|
|
@@ -115,7 +115,7 @@ False otherwise.
|
|
|
115
115
|
vertex: ViewVertex,
|
|
116
116
|
restrict_to_selection: bool = True,
|
|
117
117
|
restrict_to_unvisited: bool = True,
|
|
118
|
-
):
|
|
118
|
+
) -> None:
|
|
119
119
|
"""Builds an `AdjacencyIterator` using the default constructor,
|
|
120
120
|
copy constructor or the overloaded constructor.
|
|
121
121
|
|
|
@@ -132,7 +132,7 @@ False otherwise.
|
|
|
132
132
|
class BBox:
|
|
133
133
|
"""Class for representing a bounding box."""
|
|
134
134
|
|
|
135
|
-
def __init__(self):
|
|
135
|
+
def __init__(self) -> None:
|
|
136
136
|
"""Default constructor."""
|
|
137
137
|
|
|
138
138
|
class BinaryPredicate0D:
|
|
@@ -149,7 +149,7 @@ class BinaryPredicate0D:
|
|
|
149
149
|
:type: str
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
|
-
def __init__(self):
|
|
152
|
+
def __init__(self) -> None:
|
|
153
153
|
"""Default constructor."""
|
|
154
154
|
|
|
155
155
|
def __call__(self, inter1: Interface0D, inter2: Interface0D) -> bool:
|
|
@@ -178,7 +178,7 @@ class BinaryPredicate1D:
|
|
|
178
178
|
:type: str
|
|
179
179
|
"""
|
|
180
180
|
|
|
181
|
-
def __init__(self):
|
|
181
|
+
def __init__(self) -> None:
|
|
182
182
|
"""Default constructor."""
|
|
183
183
|
|
|
184
184
|
def __call__(self, inter1: Interface1D, inter2: Interface1D) -> bool:
|
|
@@ -199,13 +199,13 @@ class Chain:
|
|
|
199
199
|
Splitting and Creation processes.
|
|
200
200
|
"""
|
|
201
201
|
|
|
202
|
-
def __init__(self):
|
|
202
|
+
def __init__(self) -> None:
|
|
203
203
|
"""Builds a `Chain` using the default constructor,
|
|
204
204
|
copy constructor or from an `Id`.
|
|
205
205
|
|
|
206
206
|
"""
|
|
207
207
|
|
|
208
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
208
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
209
209
|
"""Builds a `Chain` using the default constructor,
|
|
210
210
|
copy constructor or from an `Id`.
|
|
211
211
|
|
|
@@ -213,7 +213,7 @@ class Chain:
|
|
|
213
213
|
:type brother: typing_extensions.Self
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
|
-
def __init__(self, id: Id):
|
|
216
|
+
def __init__(self, id: Id) -> None:
|
|
217
217
|
"""Builds a `Chain` using the default constructor,
|
|
218
218
|
copy constructor or from an `Id`.
|
|
219
219
|
|
|
@@ -221,7 +221,7 @@ class Chain:
|
|
|
221
221
|
:type id: Id
|
|
222
222
|
"""
|
|
223
223
|
|
|
224
|
-
def push_viewedge_back(self, viewedge: ViewEdge, orientation: bool):
|
|
224
|
+
def push_viewedge_back(self, viewedge: ViewEdge, orientation: bool) -> None:
|
|
225
225
|
"""Adds a ViewEdge at the end of the Chain.
|
|
226
226
|
|
|
227
227
|
:param viewedge: The ViewEdge that must be added.
|
|
@@ -231,7 +231,7 @@ class Chain:
|
|
|
231
231
|
:type orientation: bool
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
|
-
def push_viewedge_front(self, viewedge: ViewEdge, orientation: bool):
|
|
234
|
+
def push_viewedge_front(self, viewedge: ViewEdge, orientation: bool) -> None:
|
|
235
235
|
"""Adds a ViewEdge at the beginning of the Chain.
|
|
236
236
|
|
|
237
237
|
:param viewedge: The ViewEdge that must be added.
|
|
@@ -276,7 +276,7 @@ class ChainingIterator:
|
|
|
276
276
|
restrict_to_unvisited: bool = True,
|
|
277
277
|
begin: None | ViewEdge | None = None,
|
|
278
278
|
orientation: bool = True,
|
|
279
|
-
):
|
|
279
|
+
) -> None:
|
|
280
280
|
"""Builds a Chaining Iterator from the first ViewEdge used for
|
|
281
281
|
iteration and its orientation or by using the copy constructor.
|
|
282
282
|
|
|
@@ -293,7 +293,7 @@ class ChainingIterator:
|
|
|
293
293
|
:type orientation: bool
|
|
294
294
|
"""
|
|
295
295
|
|
|
296
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
296
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
297
297
|
"""Builds a Chaining Iterator from the first ViewEdge used for
|
|
298
298
|
iteration and its orientation or by using the copy constructor.
|
|
299
299
|
|
|
@@ -301,7 +301,7 @@ class ChainingIterator:
|
|
|
301
301
|
:type brother: typing_extensions.Self
|
|
302
302
|
"""
|
|
303
303
|
|
|
304
|
-
def init(self):
|
|
304
|
+
def init(self) -> None:
|
|
305
305
|
"""Initializes the iterator context. This method is called each
|
|
306
306
|
time a new chain is started. It can be used to reset some
|
|
307
307
|
history information that you might want to keep.
|
|
@@ -339,13 +339,13 @@ class Curve:
|
|
|
339
339
|
:type: int
|
|
340
340
|
"""
|
|
341
341
|
|
|
342
|
-
def __init__(self):
|
|
342
|
+
def __init__(self) -> None:
|
|
343
343
|
"""Builds a `FrsCurve` using a default constructor,
|
|
344
344
|
copy constructor or from an `Id`.
|
|
345
345
|
|
|
346
346
|
"""
|
|
347
347
|
|
|
348
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
348
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
349
349
|
"""Builds a `FrsCurve` using a default constructor,
|
|
350
350
|
copy constructor or from an `Id`.
|
|
351
351
|
|
|
@@ -353,7 +353,7 @@ class Curve:
|
|
|
353
353
|
:type brother: typing_extensions.Self
|
|
354
354
|
"""
|
|
355
355
|
|
|
356
|
-
def __init__(self, id: Id):
|
|
356
|
+
def __init__(self, id: Id) -> None:
|
|
357
357
|
"""Builds a `FrsCurve` using a default constructor,
|
|
358
358
|
copy constructor or from an `Id`.
|
|
359
359
|
|
|
@@ -361,14 +361,14 @@ class Curve:
|
|
|
361
361
|
:type id: Id
|
|
362
362
|
"""
|
|
363
363
|
|
|
364
|
-
def push_vertex_back(self, vertex: CurvePoint | SVertex):
|
|
364
|
+
def push_vertex_back(self, vertex: CurvePoint | SVertex) -> None:
|
|
365
365
|
"""Adds a single vertex at the end of the Curve.
|
|
366
366
|
|
|
367
367
|
:param vertex: A vertex object.
|
|
368
368
|
:type vertex: CurvePoint | SVertex
|
|
369
369
|
"""
|
|
370
370
|
|
|
371
|
-
def push_vertex_front(self, vertex: CurvePoint | SVertex):
|
|
371
|
+
def push_vertex_front(self, vertex: CurvePoint | SVertex) -> None:
|
|
372
372
|
"""Adds a single vertex at the front of the Curve.
|
|
373
373
|
|
|
374
374
|
:param vertex: A vertex object.
|
|
@@ -411,7 +411,7 @@ A shortcut for CurvePoint.first_svertex.get_fedge(CurvePoint.second_svertex).
|
|
|
411
411
|
:type: float
|
|
412
412
|
"""
|
|
413
413
|
|
|
414
|
-
def __init__(self):
|
|
414
|
+
def __init__(self) -> None:
|
|
415
415
|
"""Builds a CurvePoint using the default constructor, copy constructor,
|
|
416
416
|
or one of the overloaded constructors. The over loaded constructors
|
|
417
417
|
can either take two `SVertex` or two `CurvePoint`
|
|
@@ -419,7 +419,7 @@ A shortcut for CurvePoint.first_svertex.get_fedge(CurvePoint.second_svertex).
|
|
|
419
419
|
|
|
420
420
|
"""
|
|
421
421
|
|
|
422
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
422
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
423
423
|
"""Builds a CurvePoint using the default constructor, copy constructor,
|
|
424
424
|
or one of the overloaded constructors. The over loaded constructors
|
|
425
425
|
can either take two `SVertex` or two `CurvePoint`
|
|
@@ -429,7 +429,9 @@ A shortcut for CurvePoint.first_svertex.get_fedge(CurvePoint.second_svertex).
|
|
|
429
429
|
:type brother: typing_extensions.Self
|
|
430
430
|
"""
|
|
431
431
|
|
|
432
|
-
def __init__(
|
|
432
|
+
def __init__(
|
|
433
|
+
self, first_vertex: SVertex, second_vertex: SVertex, t2d: float
|
|
434
|
+
) -> None:
|
|
433
435
|
"""Builds a CurvePoint using the default constructor, copy constructor,
|
|
434
436
|
or one of the overloaded constructors. The over loaded constructors
|
|
435
437
|
can either take two `SVertex` or two `CurvePoint`
|
|
@@ -449,7 +451,7 @@ A shortcut for CurvePoint.first_svertex.get_fedge(CurvePoint.second_svertex).
|
|
|
449
451
|
first_point: typing_extensions.Self,
|
|
450
452
|
second_point: typing_extensions.Self,
|
|
451
453
|
t2d: float,
|
|
452
|
-
):
|
|
454
|
+
) -> None:
|
|
453
455
|
"""Builds a CurvePoint using the default constructor, copy constructor,
|
|
454
456
|
or one of the overloaded constructors. The over loaded constructors
|
|
455
457
|
can either take two `SVertex` or two `CurvePoint`
|
|
@@ -488,13 +490,13 @@ class CurvePointIterator:
|
|
|
488
490
|
:type: float
|
|
489
491
|
"""
|
|
490
492
|
|
|
491
|
-
def __init__(self):
|
|
493
|
+
def __init__(self) -> None:
|
|
492
494
|
"""Builds a CurvePointIterator object using either the default constructor,
|
|
493
495
|
copy constructor, or the overloaded constructor.
|
|
494
496
|
|
|
495
497
|
"""
|
|
496
498
|
|
|
497
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
499
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
498
500
|
"""Builds a CurvePointIterator object using either the default constructor,
|
|
499
501
|
copy constructor, or the overloaded constructor.
|
|
500
502
|
|
|
@@ -502,7 +504,7 @@ class CurvePointIterator:
|
|
|
502
504
|
:type brother: typing_extensions.Self
|
|
503
505
|
"""
|
|
504
506
|
|
|
505
|
-
def __init__(self, step: float = 0.0):
|
|
507
|
+
def __init__(self, step: float = 0.0) -> None:
|
|
506
508
|
"""Builds a CurvePointIterator object using either the default constructor,
|
|
507
509
|
copy constructor, or the overloaded constructor.
|
|
508
510
|
|
|
@@ -574,13 +576,13 @@ this FEdge is the first one of the ViewEdge.
|
|
|
574
576
|
:type: ViewEdge
|
|
575
577
|
"""
|
|
576
578
|
|
|
577
|
-
def FEdge(self):
|
|
579
|
+
def FEdge(self) -> None:
|
|
578
580
|
"""Builds an `FEdge` using the default constructor,
|
|
579
581
|
copy constructor, or between two `SVertex` objects.
|
|
580
582
|
|
|
581
583
|
"""
|
|
582
584
|
|
|
583
|
-
def FEdge(self, brother: typing_extensions.Self):
|
|
585
|
+
def FEdge(self, brother: typing_extensions.Self) -> None:
|
|
584
586
|
"""Builds an `FEdge` using the default constructor,
|
|
585
587
|
copy constructor, or between two `SVertex` objects.
|
|
586
588
|
|
|
@@ -651,13 +653,13 @@ is a border, it has no Face on its right and therefore no normal.
|
|
|
651
653
|
:type: mathutils.Vector
|
|
652
654
|
"""
|
|
653
655
|
|
|
654
|
-
def __init__(self):
|
|
656
|
+
def __init__(self) -> None:
|
|
655
657
|
"""Builds an `FEdgeSharp` using the default constructor,
|
|
656
658
|
copy constructor, or between two `SVertex` objects.
|
|
657
659
|
|
|
658
660
|
"""
|
|
659
661
|
|
|
660
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
662
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
661
663
|
"""Builds an `FEdgeSharp` using the default constructor,
|
|
662
664
|
copy constructor, or between two `SVertex` objects.
|
|
663
665
|
|
|
@@ -665,7 +667,7 @@ is a border, it has no Face on its right and therefore no normal.
|
|
|
665
667
|
:type brother: typing_extensions.Self
|
|
666
668
|
"""
|
|
667
669
|
|
|
668
|
-
def __init__(self, first_vertex: SVertex, second_vertex: SVertex):
|
|
670
|
+
def __init__(self, first_vertex: SVertex, second_vertex: SVertex) -> None:
|
|
669
671
|
"""Builds an `FEdgeSharp` using the default constructor,
|
|
670
672
|
copy constructor, or between two `SVertex` objects.
|
|
671
673
|
|
|
@@ -705,13 +707,13 @@ class FEdgeSmooth:
|
|
|
705
707
|
:type: mathutils.Vector
|
|
706
708
|
"""
|
|
707
709
|
|
|
708
|
-
def __init__(self):
|
|
710
|
+
def __init__(self) -> None:
|
|
709
711
|
"""Builds an `FEdgeSmooth` using the default constructor,
|
|
710
712
|
copy constructor, or between two `SVertex`.
|
|
711
713
|
|
|
712
714
|
"""
|
|
713
715
|
|
|
714
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
716
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
715
717
|
"""Builds an `FEdgeSmooth` using the default constructor,
|
|
716
718
|
copy constructor, or between two `SVertex`.
|
|
717
719
|
|
|
@@ -719,7 +721,7 @@ class FEdgeSmooth:
|
|
|
719
721
|
:type brother: typing_extensions.Self
|
|
720
722
|
"""
|
|
721
723
|
|
|
722
|
-
def __init__(self, first_vertex: SVertex, second_vertex: SVertex):
|
|
724
|
+
def __init__(self, first_vertex: SVertex, second_vertex: SVertex) -> None:
|
|
723
725
|
"""Builds an `FEdgeSmooth` using the default constructor,
|
|
724
726
|
copy constructor, or between two `SVertex`.
|
|
725
727
|
|
|
@@ -744,13 +746,13 @@ class Id:
|
|
|
744
746
|
:type: int
|
|
745
747
|
"""
|
|
746
748
|
|
|
747
|
-
def __init__(self, brother):
|
|
749
|
+
def __init__(self, brother) -> None:
|
|
748
750
|
"""Build the Id from two numbers or another `Id` using the copy constructor.
|
|
749
751
|
|
|
750
752
|
:param brother: An Id object.
|
|
751
753
|
"""
|
|
752
754
|
|
|
753
|
-
def __init__(self, first: int = 0, second: int = 0):
|
|
755
|
+
def __init__(self, first: int = 0, second: int = 0) -> None:
|
|
754
756
|
"""Build the Id from two numbers or another `Id` using the copy constructor.
|
|
755
757
|
|
|
756
758
|
:param first:
|
|
@@ -816,7 +818,7 @@ class Interface0D:
|
|
|
816
818
|
:type: float
|
|
817
819
|
"""
|
|
818
820
|
|
|
819
|
-
def __init__(self):
|
|
821
|
+
def __init__(self) -> None:
|
|
820
822
|
"""Default constructor."""
|
|
821
823
|
|
|
822
824
|
def get_fedge(self, inter: typing_extensions.Self) -> FEdge:
|
|
@@ -862,7 +864,7 @@ class, the .object property refers to a `StrokeVertex` object.
|
|
|
862
864
|
:type: float
|
|
863
865
|
"""
|
|
864
866
|
|
|
865
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
867
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
866
868
|
"""Construct a nested Interface0DIterator using either the copy constructor
|
|
867
869
|
or the constructor that takes an he argument of a Function0D.
|
|
868
870
|
|
|
@@ -873,7 +875,7 @@ class, the .object property refers to a `StrokeVertex` object.
|
|
|
873
875
|
def __init__(
|
|
874
876
|
self,
|
|
875
877
|
it: CurvePointIterator | SVertexIterator | StrokeVertexIterator | typing.Any,
|
|
876
|
-
):
|
|
878
|
+
) -> None:
|
|
877
879
|
"""Construct a nested Interface0DIterator using either the copy constructor
|
|
878
880
|
or the constructor that takes an he argument of a Function0D.
|
|
879
881
|
|
|
@@ -914,7 +916,7 @@ class Interface1D:
|
|
|
914
916
|
:type: int
|
|
915
917
|
"""
|
|
916
918
|
|
|
917
|
-
def __init__(self):
|
|
919
|
+
def __init__(self) -> None:
|
|
918
920
|
"""Default constructor."""
|
|
919
921
|
|
|
920
922
|
def points_begin(self, t: float = 0.0) -> Interface0DIterator:
|
|
@@ -980,13 +982,13 @@ class Iterator:
|
|
|
980
982
|
:type: str
|
|
981
983
|
"""
|
|
982
984
|
|
|
983
|
-
def __init__(self):
|
|
985
|
+
def __init__(self) -> None:
|
|
984
986
|
"""Default constructor."""
|
|
985
987
|
|
|
986
|
-
def decrement(self):
|
|
988
|
+
def decrement(self) -> None:
|
|
987
989
|
"""Makes the iterator point the previous element."""
|
|
988
990
|
|
|
989
|
-
def increment(self):
|
|
991
|
+
def increment(self) -> None:
|
|
990
992
|
"""Makes the iterator point the next element."""
|
|
991
993
|
|
|
992
994
|
class Material:
|
|
@@ -1034,13 +1036,13 @@ class Material:
|
|
|
1034
1036
|
:type: mathutils.Vector
|
|
1035
1037
|
"""
|
|
1036
1038
|
|
|
1037
|
-
def __init__(self):
|
|
1039
|
+
def __init__(self) -> None:
|
|
1038
1040
|
"""Creates a `FrsMaterial` using either default constructor,
|
|
1039
1041
|
copy constructor, or an overloaded constructor
|
|
1040
1042
|
|
|
1041
1043
|
"""
|
|
1042
1044
|
|
|
1043
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
1045
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
1044
1046
|
"""Creates a `FrsMaterial` using either default constructor,
|
|
1045
1047
|
copy constructor, or an overloaded constructor
|
|
1046
1048
|
|
|
@@ -1069,7 +1071,7 @@ class Material:
|
|
|
1069
1071
|
| tuple[float, float, float, float],
|
|
1070
1072
|
shininess: float,
|
|
1071
1073
|
priority: int,
|
|
1072
|
-
):
|
|
1074
|
+
) -> None:
|
|
1073
1075
|
"""Creates a `FrsMaterial` using either default constructor,
|
|
1074
1076
|
copy constructor, or an overloaded constructor
|
|
1075
1077
|
|
|
@@ -1100,7 +1102,7 @@ class Nature:
|
|
|
1100
1102
|
class Noise:
|
|
1101
1103
|
"""Class to provide Perlin noise functionalities.Undocumented, consider contributing.Undocumented, consider contributing."""
|
|
1102
1104
|
|
|
1103
|
-
def __init__(self, seed: int = -1):
|
|
1105
|
+
def __init__(self, seed: int = -1) -> None:
|
|
1104
1106
|
"""Builds a Noise object. Seed is an optional argument. The seed value is used
|
|
1105
1107
|
as a seed for random number generation if it is equal to or greater than zero;
|
|
1106
1108
|
otherwise, time is used as a seed.
|
|
@@ -1222,10 +1224,10 @@ class NonTVertex:
|
|
|
1222
1224
|
:type: SVertex
|
|
1223
1225
|
"""
|
|
1224
1226
|
|
|
1225
|
-
def __init__(self):
|
|
1227
|
+
def __init__(self) -> None:
|
|
1226
1228
|
"""Builds a `NonTVertex` using the default constructor or a `SVertex`."""
|
|
1227
1229
|
|
|
1228
|
-
def __init__(self, svertex: SVertex):
|
|
1230
|
+
def __init__(self, svertex: SVertex) -> None:
|
|
1229
1231
|
"""Builds a `NonTVertex` using the default constructor or a `SVertex`.
|
|
1230
1232
|
|
|
1231
1233
|
:param svertex: An SVertex object.
|
|
@@ -1240,7 +1242,7 @@ class Operators:
|
|
|
1240
1242
|
"""
|
|
1241
1243
|
|
|
1242
1244
|
@staticmethod
|
|
1243
|
-
def bidirectional_chain(it: ChainingIterator, pred: UnaryPredicate1D):
|
|
1245
|
+
def bidirectional_chain(it: ChainingIterator, pred: UnaryPredicate1D) -> None:
|
|
1244
1246
|
"""Builds a set of chains from the current set of ViewEdges. Each
|
|
1245
1247
|
ViewEdge of the current list potentially starts a new chain. The
|
|
1246
1248
|
chaining operator then iterates over the ViewEdges of the ViewMap
|
|
@@ -1263,7 +1265,7 @@ class Operators:
|
|
|
1263
1265
|
"""
|
|
1264
1266
|
|
|
1265
1267
|
@staticmethod
|
|
1266
|
-
def bidirectional_chain(it: ChainingIterator):
|
|
1268
|
+
def bidirectional_chain(it: ChainingIterator) -> None:
|
|
1267
1269
|
"""Builds a set of chains from the current set of ViewEdges. Each
|
|
1268
1270
|
ViewEdge of the current list potentially starts a new chain. The
|
|
1269
1271
|
chaining operator then iterates over the ViewEdges of the ViewMap
|
|
@@ -1284,7 +1286,7 @@ class Operators:
|
|
|
1284
1286
|
@staticmethod
|
|
1285
1287
|
def chain(
|
|
1286
1288
|
it: ViewEdgeIterator, pred: UnaryPredicate1D, modifier: UnaryFunction1DVoid
|
|
1287
|
-
):
|
|
1289
|
+
) -> None:
|
|
1288
1290
|
"""Builds a set of chains from the current set of ViewEdges. Each
|
|
1289
1291
|
ViewEdge of the current list starts a new chain. The chaining
|
|
1290
1292
|
operator then iterates over the ViewEdges of the ViewMap using the
|
|
@@ -1305,7 +1307,7 @@ class Operators:
|
|
|
1305
1307
|
"""
|
|
1306
1308
|
|
|
1307
1309
|
@staticmethod
|
|
1308
|
-
def chain(it: ViewEdgeIterator, pred: UnaryPredicate1D):
|
|
1310
|
+
def chain(it: ViewEdgeIterator, pred: UnaryPredicate1D) -> None:
|
|
1309
1311
|
"""Builds a set of chains from the current set of ViewEdges. Each
|
|
1310
1312
|
ViewEdge of the current list starts a new chain. The chaining
|
|
1311
1313
|
operator then iterates over the ViewEdges of the ViewMap using the
|
|
@@ -1321,7 +1323,7 @@ class Operators:
|
|
|
1321
1323
|
"""
|
|
1322
1324
|
|
|
1323
1325
|
@staticmethod
|
|
1324
|
-
def create(pred: UnaryPredicate1D, shaders: list[StrokeShader]):
|
|
1326
|
+
def create(pred: UnaryPredicate1D, shaders: list[StrokeShader]) -> None:
|
|
1325
1327
|
"""Creates and shades the strokes from the current set of chains. A
|
|
1326
1328
|
predicate can be specified to make a selection pass on the chains.
|
|
1327
1329
|
|
|
@@ -1389,7 +1391,7 @@ class Operators:
|
|
|
1389
1391
|
@staticmethod
|
|
1390
1392
|
def recursive_split(
|
|
1391
1393
|
func: UnaryFunction0DDouble, pred_1d: UnaryPredicate1D, sampling: float = 0.0
|
|
1392
|
-
):
|
|
1394
|
+
) -> None:
|
|
1393
1395
|
"""Splits the current set of chains in a recursive way. We process the
|
|
1394
1396
|
points of each chain (with a specified sampling) to find the point
|
|
1395
1397
|
minimizing a specified function. The chain is split in two at this
|
|
@@ -1420,7 +1422,7 @@ class Operators:
|
|
|
1420
1422
|
pred_0d: UnaryPredicate0D,
|
|
1421
1423
|
pred_1d: UnaryPredicate1D,
|
|
1422
1424
|
sampling: float = 0.0,
|
|
1423
|
-
):
|
|
1425
|
+
) -> None:
|
|
1424
1426
|
"""Splits the current set of chains in a recursive way. We process the
|
|
1425
1427
|
points of each chain (with a specified sampling) to find the point
|
|
1426
1428
|
minimizing a specified function. The chain is split in two at this
|
|
@@ -1452,7 +1454,7 @@ class Operators:
|
|
|
1452
1454
|
"""
|
|
1453
1455
|
|
|
1454
1456
|
@staticmethod
|
|
1455
|
-
def reset(delete_strokes: bool = True):
|
|
1457
|
+
def reset(delete_strokes: bool = True) -> None:
|
|
1456
1458
|
"""Resets the line stylization process to the initial state. The results of
|
|
1457
1459
|
stroke creation are accumulated if delete_strokes is set to False.
|
|
1458
1460
|
|
|
@@ -1461,7 +1463,7 @@ class Operators:
|
|
|
1461
1463
|
"""
|
|
1462
1464
|
|
|
1463
1465
|
@staticmethod
|
|
1464
|
-
def select(pred: UnaryPredicate1D):
|
|
1466
|
+
def select(pred: UnaryPredicate1D) -> None:
|
|
1465
1467
|
"""Selects the ViewEdges of the ViewMap verifying a specified
|
|
1466
1468
|
condition.
|
|
1467
1469
|
|
|
@@ -1474,7 +1476,7 @@ class Operators:
|
|
|
1474
1476
|
starting_pred: UnaryPredicate0D,
|
|
1475
1477
|
stopping_pred: UnaryPredicate0D,
|
|
1476
1478
|
sampling: float = 0.0,
|
|
1477
|
-
):
|
|
1479
|
+
) -> None:
|
|
1478
1480
|
"""Splits each chain of the current set of chains in a sequential way.
|
|
1479
1481
|
The points of each chain are processed (with a specified sampling)
|
|
1480
1482
|
sequentially. The first point of the initial chain is the
|
|
@@ -1495,7 +1497,7 @@ class Operators:
|
|
|
1495
1497
|
"""
|
|
1496
1498
|
|
|
1497
1499
|
@staticmethod
|
|
1498
|
-
def sequential_split(pred: UnaryPredicate0D, sampling: float = 0.0):
|
|
1500
|
+
def sequential_split(pred: UnaryPredicate0D, sampling: float = 0.0) -> None:
|
|
1499
1501
|
"""Splits each chain of the current set of chains in a sequential way.
|
|
1500
1502
|
The points of each chain are processed (with a specified sampling)
|
|
1501
1503
|
sequentially. The first point of the initial chain is the
|
|
@@ -1514,7 +1516,7 @@ class Operators:
|
|
|
1514
1516
|
"""
|
|
1515
1517
|
|
|
1516
1518
|
@staticmethod
|
|
1517
|
-
def sort(pred: BinaryPredicate1D):
|
|
1519
|
+
def sort(pred: BinaryPredicate1D) -> None:
|
|
1518
1520
|
"""Sorts the current set of chains (or viewedges) according to the
|
|
1519
1521
|
comparison predicate given as argument.
|
|
1520
1522
|
|
|
@@ -1557,24 +1559,24 @@ class SShape:
|
|
|
1557
1559
|
:type: list[SVertex]
|
|
1558
1560
|
"""
|
|
1559
1561
|
|
|
1560
|
-
def __init__(self):
|
|
1562
|
+
def __init__(self) -> None:
|
|
1561
1563
|
"""Creates a `SShape` class using either a default constructor or copy constructor."""
|
|
1562
1564
|
|
|
1563
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
1565
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
1564
1566
|
"""Creates a `SShape` class using either a default constructor or copy constructor.
|
|
1565
1567
|
|
|
1566
1568
|
:param brother: An SShape object.
|
|
1567
1569
|
:type brother: typing_extensions.Self
|
|
1568
1570
|
"""
|
|
1569
1571
|
|
|
1570
|
-
def add_edge(self, edge: FEdge):
|
|
1572
|
+
def add_edge(self, edge: FEdge) -> None:
|
|
1571
1573
|
"""Adds an FEdge to the list of FEdges.
|
|
1572
1574
|
|
|
1573
1575
|
:param edge: An FEdge object.
|
|
1574
1576
|
:type edge: FEdge
|
|
1575
1577
|
"""
|
|
1576
1578
|
|
|
1577
|
-
def add_vertex(self, vertex: SVertex):
|
|
1579
|
+
def add_vertex(self, vertex: SVertex) -> None:
|
|
1578
1580
|
"""Adds an SVertex to the list of SVertex of this Shape. The SShape
|
|
1579
1581
|
attribute of the SVertex is also set to this SShape.
|
|
1580
1582
|
|
|
@@ -1582,7 +1584,7 @@ class SShape:
|
|
|
1582
1584
|
:type vertex: SVertex
|
|
1583
1585
|
"""
|
|
1584
1586
|
|
|
1585
|
-
def compute_bbox(self):
|
|
1587
|
+
def compute_bbox(self) -> None:
|
|
1586
1588
|
"""Compute the bbox of the SShape."""
|
|
1587
1589
|
|
|
1588
1590
|
class SVertex:
|
|
@@ -1641,13 +1643,13 @@ ViewVertex, and None otherwise.
|
|
|
1641
1643
|
:type: ViewVertex
|
|
1642
1644
|
"""
|
|
1643
1645
|
|
|
1644
|
-
def __init__(self):
|
|
1646
|
+
def __init__(self) -> None:
|
|
1645
1647
|
"""Builds a `SVertex` using the default constructor,
|
|
1646
1648
|
copy constructor or the overloaded constructor which builds a `SVertex` from 3D coordinates and an Id.
|
|
1647
1649
|
|
|
1648
1650
|
"""
|
|
1649
1651
|
|
|
1650
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
1652
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
1651
1653
|
"""Builds a `SVertex` using the default constructor,
|
|
1652
1654
|
copy constructor or the overloaded constructor which builds a `SVertex` from 3D coordinates and an Id.
|
|
1653
1655
|
|
|
@@ -1657,7 +1659,7 @@ ViewVertex, and None otherwise.
|
|
|
1657
1659
|
|
|
1658
1660
|
def __init__(
|
|
1659
1661
|
self, point_3d: collections.abc.Sequence[float] | mathutils.Vector, id: Id
|
|
1660
|
-
):
|
|
1662
|
+
) -> None:
|
|
1661
1663
|
"""Builds a `SVertex` using the default constructor,
|
|
1662
1664
|
copy constructor or the overloaded constructor which builds a `SVertex` from 3D coordinates and an Id.
|
|
1663
1665
|
|
|
@@ -1667,7 +1669,7 @@ ViewVertex, and None otherwise.
|
|
|
1667
1669
|
:type id: Id
|
|
1668
1670
|
"""
|
|
1669
1671
|
|
|
1670
|
-
def add_fedge(self, fedge: FEdge):
|
|
1672
|
+
def add_fedge(self, fedge: FEdge) -> None:
|
|
1671
1673
|
"""Add an FEdge to the list of edges emanating from this SVertex.
|
|
1672
1674
|
|
|
1673
1675
|
:param fedge: An FEdge.
|
|
@@ -1680,7 +1682,7 @@ ViewVertex, and None otherwise.
|
|
|
1680
1682
|
| list[float]
|
|
1681
1683
|
| mathutils.Vector
|
|
1682
1684
|
| tuple[float, float, float],
|
|
1683
|
-
):
|
|
1685
|
+
) -> None:
|
|
1684
1686
|
"""Adds a normal to the SVertex's set of normals. If the same normal
|
|
1685
1687
|
is already in the set, nothing changes.
|
|
1686
1688
|
|
|
@@ -1712,10 +1714,10 @@ class SVertexIterator:
|
|
|
1712
1714
|
:type: float
|
|
1713
1715
|
"""
|
|
1714
1716
|
|
|
1715
|
-
def __init__(self):
|
|
1717
|
+
def __init__(self) -> None:
|
|
1716
1718
|
"""Build an SVertexIterator using either the default constructor, copy constructor,or the overloaded constructor that starts iteration from an SVertex object vertex."""
|
|
1717
1719
|
|
|
1718
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
1720
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
1719
1721
|
"""Build an SVertexIterator using either the default constructor, copy constructor,or the overloaded constructor that starts iteration from an SVertex object vertex.
|
|
1720
1722
|
|
|
1721
1723
|
:param brother: An SVertexIterator object.
|
|
@@ -1729,7 +1731,7 @@ class SVertexIterator:
|
|
|
1729
1731
|
previous_edge: FEdge,
|
|
1730
1732
|
next_edge: FEdge,
|
|
1731
1733
|
t: float,
|
|
1732
|
-
):
|
|
1734
|
+
) -> None:
|
|
1733
1735
|
"""Build an SVertexIterator using either the default constructor, copy constructor,or the overloaded constructor that starts iteration from an SVertex object vertex.
|
|
1734
1736
|
|
|
1735
1737
|
:param vertex: The SVertex from which the iterator starts iteration.
|
|
@@ -1781,10 +1783,10 @@ class Stroke:
|
|
|
1781
1783
|
:type: bool
|
|
1782
1784
|
"""
|
|
1783
1785
|
|
|
1784
|
-
def Stroke(self):
|
|
1786
|
+
def Stroke(self) -> None:
|
|
1785
1787
|
"""Creates a `Stroke` using the default constructor or copy constructor"""
|
|
1786
1788
|
|
|
1787
|
-
def Stroke(self, brother):
|
|
1789
|
+
def Stroke(self, brother) -> None:
|
|
1788
1790
|
"""Creates a `Stroke` using the default constructor or copy constructor
|
|
1789
1791
|
|
|
1790
1792
|
:param brother:
|
|
@@ -1804,7 +1806,7 @@ class Stroke:
|
|
|
1804
1806
|
:rtype: float
|
|
1805
1807
|
"""
|
|
1806
1808
|
|
|
1807
|
-
def insert_vertex(self, vertex: StrokeVertex, next: StrokeVertexIterator):
|
|
1809
|
+
def insert_vertex(self, vertex: StrokeVertex, next: StrokeVertexIterator) -> None:
|
|
1808
1810
|
"""Inserts the StrokeVertex given as argument into the Stroke before the
|
|
1809
1811
|
point specified by next. The length and curvilinear abscissa are
|
|
1810
1812
|
updated consequently.
|
|
@@ -1816,10 +1818,10 @@ class Stroke:
|
|
|
1816
1818
|
:type next: StrokeVertexIterator
|
|
1817
1819
|
"""
|
|
1818
1820
|
|
|
1819
|
-
def remove_all_vertices(self):
|
|
1821
|
+
def remove_all_vertices(self) -> None:
|
|
1820
1822
|
"""Removes all vertices from the Stroke."""
|
|
1821
1823
|
|
|
1822
|
-
def remove_vertex(self, vertex: StrokeVertex):
|
|
1824
|
+
def remove_vertex(self, vertex: StrokeVertex) -> None:
|
|
1823
1825
|
"""Removes the StrokeVertex given as argument from the Stroke. The length
|
|
1824
1826
|
and curvilinear abscissa are updated consequently.
|
|
1825
1827
|
|
|
@@ -1827,7 +1829,7 @@ class Stroke:
|
|
|
1827
1829
|
:type vertex: StrokeVertex
|
|
1828
1830
|
"""
|
|
1829
1831
|
|
|
1830
|
-
def resample(self, n: int):
|
|
1832
|
+
def resample(self, n: int) -> None:
|
|
1831
1833
|
"""Resamples the stroke so using one of two methods with the goal
|
|
1832
1834
|
of creating a stroke with fewer points and the same shape.
|
|
1833
1835
|
|
|
@@ -1838,7 +1840,7 @@ class Stroke:
|
|
|
1838
1840
|
:type n: int
|
|
1839
1841
|
"""
|
|
1840
1842
|
|
|
1841
|
-
def resample(self, sampling: float):
|
|
1843
|
+
def resample(self, sampling: float) -> None:
|
|
1842
1844
|
"""Resamples the stroke so using one of two methods with the goal
|
|
1843
1845
|
of creating a stroke with fewer points and the same shape.
|
|
1844
1846
|
|
|
@@ -1874,7 +1876,7 @@ class Stroke:
|
|
|
1874
1876
|
:rtype: int
|
|
1875
1877
|
"""
|
|
1876
1878
|
|
|
1877
|
-
def update_length(self):
|
|
1879
|
+
def update_length(self) -> None:
|
|
1878
1880
|
"""Updates the 2D length of the Stroke."""
|
|
1879
1881
|
|
|
1880
1882
|
class StrokeAttribute:
|
|
@@ -1909,14 +1911,14 @@ when following the stroke.
|
|
|
1909
1911
|
:type: bool
|
|
1910
1912
|
"""
|
|
1911
1913
|
|
|
1912
|
-
def __init__(self):
|
|
1914
|
+
def __init__(self) -> None:
|
|
1913
1915
|
"""Creates a `StrokeAttribute` object using either a default constructor,
|
|
1914
1916
|
copy constructor, overloaded constructor, or and interpolation constructor
|
|
1915
1917
|
to interpolate between two `StrokeAttribute` objects.
|
|
1916
1918
|
|
|
1917
1919
|
"""
|
|
1918
1920
|
|
|
1919
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
1921
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
1920
1922
|
"""Creates a `StrokeAttribute` object using either a default constructor,
|
|
1921
1923
|
copy constructor, overloaded constructor, or and interpolation constructor
|
|
1922
1924
|
to interpolate between two `StrokeAttribute` objects.
|
|
@@ -1933,7 +1935,7 @@ when following the stroke.
|
|
|
1933
1935
|
alpha: float,
|
|
1934
1936
|
thickness_right: float,
|
|
1935
1937
|
thickness_left: float,
|
|
1936
|
-
):
|
|
1938
|
+
) -> None:
|
|
1937
1939
|
"""Creates a `StrokeAttribute` object using either a default constructor,
|
|
1938
1940
|
copy constructor, overloaded constructor, or and interpolation constructor
|
|
1939
1941
|
to interpolate between two `StrokeAttribute` objects.
|
|
@@ -1957,7 +1959,7 @@ when following the stroke.
|
|
|
1957
1959
|
attribute1: typing_extensions.Self,
|
|
1958
1960
|
attribute2: typing_extensions.Self,
|
|
1959
1961
|
t: float,
|
|
1960
|
-
):
|
|
1962
|
+
) -> None:
|
|
1961
1963
|
"""Creates a `StrokeAttribute` object using either a default constructor,
|
|
1962
1964
|
copy constructor, overloaded constructor, or and interpolation constructor
|
|
1963
1965
|
to interpolate between two `StrokeAttribute` objects.
|
|
@@ -2026,7 +2028,7 @@ when following the stroke.
|
|
|
2026
2028
|
:rtype: bool
|
|
2027
2029
|
"""
|
|
2028
2030
|
|
|
2029
|
-
def set_attribute_real(self, name: str, value: float):
|
|
2031
|
+
def set_attribute_real(self, name: str, value: float) -> None:
|
|
2030
2032
|
"""Adds a user-defined attribute of float type. If there is no
|
|
2031
2033
|
attribute of the given name, it is added. Otherwise, the new value
|
|
2032
2034
|
replaces the old one.
|
|
@@ -2044,7 +2046,7 @@ when following the stroke.
|
|
|
2044
2046
|
| list[float]
|
|
2045
2047
|
| mathutils.Vector
|
|
2046
2048
|
| tuple[float, float, float],
|
|
2047
|
-
):
|
|
2049
|
+
) -> None:
|
|
2048
2050
|
"""Adds a user-defined attribute of two-dimensional vector type. If
|
|
2049
2051
|
there is no attribute of the given name, it is added. Otherwise,
|
|
2050
2052
|
the new value replaces the old one.
|
|
@@ -2062,7 +2064,7 @@ when following the stroke.
|
|
|
2062
2064
|
| list[float]
|
|
2063
2065
|
| mathutils.Vector
|
|
2064
2066
|
| tuple[float, float, float],
|
|
2065
|
-
):
|
|
2067
|
+
) -> None:
|
|
2066
2068
|
"""Adds a user-defined attribute of three-dimensional vector type.
|
|
2067
2069
|
If there is no attribute of the given name, it is added.
|
|
2068
2070
|
Otherwise, the new value replaces the old one.
|
|
@@ -2089,10 +2091,10 @@ class StrokeShader:
|
|
|
2089
2091
|
:type: str
|
|
2090
2092
|
"""
|
|
2091
2093
|
|
|
2092
|
-
def __init__(self):
|
|
2094
|
+
def __init__(self) -> None:
|
|
2093
2095
|
"""Default constructor."""
|
|
2094
2096
|
|
|
2095
|
-
def shade(self, stroke: Stroke):
|
|
2097
|
+
def shade(self, stroke: Stroke) -> None:
|
|
2096
2098
|
"""The shading method. Must be overloaded by inherited classes.
|
|
2097
2099
|
|
|
2098
2100
|
:param stroke: A Stroke object.
|
|
@@ -2133,14 +2135,14 @@ and it won't change the real stroke length).
|
|
|
2133
2135
|
:type: float
|
|
2134
2136
|
"""
|
|
2135
2137
|
|
|
2136
|
-
def __init__(self):
|
|
2138
|
+
def __init__(self) -> None:
|
|
2137
2139
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2138
2140
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2139
2141
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
2140
2142
|
|
|
2141
2143
|
"""
|
|
2142
2144
|
|
|
2143
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
2145
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
2144
2146
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2145
2147
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2146
2148
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
@@ -2154,7 +2156,7 @@ and it won't change the real stroke length).
|
|
|
2154
2156
|
first_vertex: typing_extensions.Self,
|
|
2155
2157
|
second_vertex: typing_extensions.Self,
|
|
2156
2158
|
t3d: float,
|
|
2157
|
-
):
|
|
2159
|
+
) -> None:
|
|
2158
2160
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2159
2161
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2160
2162
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
@@ -2167,7 +2169,7 @@ and it won't change the real stroke length).
|
|
|
2167
2169
|
:type t3d: float
|
|
2168
2170
|
"""
|
|
2169
2171
|
|
|
2170
|
-
def __init__(self, point: CurvePoint):
|
|
2172
|
+
def __init__(self, point: CurvePoint) -> None:
|
|
2171
2173
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2172
2174
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2173
2175
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
@@ -2176,7 +2178,7 @@ and it won't change the real stroke length).
|
|
|
2176
2178
|
:type point: CurvePoint
|
|
2177
2179
|
"""
|
|
2178
2180
|
|
|
2179
|
-
def __init__(self, svertex: SVertex):
|
|
2181
|
+
def __init__(self, svertex: SVertex) -> None:
|
|
2180
2182
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2181
2183
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2182
2184
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
@@ -2185,7 +2187,7 @@ and it won't change the real stroke length).
|
|
|
2185
2187
|
:type svertex: SVertex
|
|
2186
2188
|
"""
|
|
2187
2189
|
|
|
2188
|
-
def __init__(self, svertex: SVertex, attribute: StrokeAttribute):
|
|
2190
|
+
def __init__(self, svertex: SVertex, attribute: StrokeAttribute) -> None:
|
|
2189
2191
|
"""Builds a `StrokeVertex` using the default constructor,
|
|
2190
2192
|
copy constructor, from 2 `StrokeVertex` and an interpolation parameter,
|
|
2191
2193
|
from a CurvePoint, from a SVertex, or a `SVertex` and a `StrokeAttribute` object.
|
|
@@ -2235,13 +2237,13 @@ For its counterpart (pointing to the first valid element), use it.is_begin.
|
|
|
2235
2237
|
:type: float
|
|
2236
2238
|
"""
|
|
2237
2239
|
|
|
2238
|
-
def __init__(self):
|
|
2240
|
+
def __init__(self) -> None:
|
|
2239
2241
|
"""Creates a `StrokeVertexIterator` using either the
|
|
2240
2242
|
default constructor or the copy constructor.
|
|
2241
2243
|
|
|
2242
2244
|
"""
|
|
2243
2245
|
|
|
2244
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
2246
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
2245
2247
|
"""Creates a `StrokeVertexIterator` using either the
|
|
2246
2248
|
default constructor or the copy constructor.
|
|
2247
2249
|
|
|
@@ -2297,7 +2299,7 @@ class TVertex:
|
|
|
2297
2299
|
:type: Id
|
|
2298
2300
|
"""
|
|
2299
2301
|
|
|
2300
|
-
def __init__(self):
|
|
2302
|
+
def __init__(self) -> None:
|
|
2301
2303
|
"""Default constructor."""
|
|
2302
2304
|
|
|
2303
2305
|
def get_mate(self, viewedge: ViewEdge) -> ViewEdge:
|
|
@@ -2341,7 +2343,7 @@ class UnaryFunction0DDouble:
|
|
|
2341
2343
|
`Interface0DIterator` and return a float value.
|
|
2342
2344
|
"""
|
|
2343
2345
|
|
|
2344
|
-
def __init__(self):
|
|
2346
|
+
def __init__(self) -> None:
|
|
2345
2347
|
"""Default constructor."""
|
|
2346
2348
|
|
|
2347
2349
|
class UnaryFunction0DEdgeNature:
|
|
@@ -2349,7 +2351,7 @@ class UnaryFunction0DEdgeNature:
|
|
|
2349
2351
|
`Interface0DIterator` and return a `Nature` object.
|
|
2350
2352
|
"""
|
|
2351
2353
|
|
|
2352
|
-
def __init__(self):
|
|
2354
|
+
def __init__(self) -> None:
|
|
2353
2355
|
"""Default constructor."""
|
|
2354
2356
|
|
|
2355
2357
|
class UnaryFunction0DFloat:
|
|
@@ -2357,7 +2359,7 @@ class UnaryFunction0DFloat:
|
|
|
2357
2359
|
`Interface0DIterator` and return a float value.
|
|
2358
2360
|
"""
|
|
2359
2361
|
|
|
2360
|
-
def __init__(self):
|
|
2362
|
+
def __init__(self) -> None:
|
|
2361
2363
|
"""Default constructor."""
|
|
2362
2364
|
|
|
2363
2365
|
class UnaryFunction0DId:
|
|
@@ -2365,7 +2367,7 @@ class UnaryFunction0DId:
|
|
|
2365
2367
|
`Interface0DIterator` and return an `Id` object.
|
|
2366
2368
|
"""
|
|
2367
2369
|
|
|
2368
|
-
def __init__(self):
|
|
2370
|
+
def __init__(self) -> None:
|
|
2369
2371
|
"""Default constructor."""
|
|
2370
2372
|
|
|
2371
2373
|
class UnaryFunction0DMaterial:
|
|
@@ -2373,7 +2375,7 @@ class UnaryFunction0DMaterial:
|
|
|
2373
2375
|
`Interface0DIterator` and return a `Material` object.
|
|
2374
2376
|
"""
|
|
2375
2377
|
|
|
2376
|
-
def __init__(self):
|
|
2378
|
+
def __init__(self) -> None:
|
|
2377
2379
|
"""Default constructor."""
|
|
2378
2380
|
|
|
2379
2381
|
class UnaryFunction0DUnsigned:
|
|
@@ -2381,7 +2383,7 @@ class UnaryFunction0DUnsigned:
|
|
|
2381
2383
|
`Interface0DIterator` and return an int value.
|
|
2382
2384
|
"""
|
|
2383
2385
|
|
|
2384
|
-
def __init__(self):
|
|
2386
|
+
def __init__(self) -> None:
|
|
2385
2387
|
"""Default constructor."""
|
|
2386
2388
|
|
|
2387
2389
|
class UnaryFunction0DVec2f:
|
|
@@ -2389,7 +2391,7 @@ class UnaryFunction0DVec2f:
|
|
|
2389
2391
|
`Interface0DIterator` and return a 2D vector.
|
|
2390
2392
|
"""
|
|
2391
2393
|
|
|
2392
|
-
def __init__(self):
|
|
2394
|
+
def __init__(self) -> None:
|
|
2393
2395
|
"""Default constructor."""
|
|
2394
2396
|
|
|
2395
2397
|
class UnaryFunction0DVec3f:
|
|
@@ -2397,7 +2399,7 @@ class UnaryFunction0DVec3f:
|
|
|
2397
2399
|
`Interface0DIterator` and return a 3D vector.
|
|
2398
2400
|
"""
|
|
2399
2401
|
|
|
2400
|
-
def __init__(self):
|
|
2402
|
+
def __init__(self) -> None:
|
|
2401
2403
|
"""Default constructor."""
|
|
2402
2404
|
|
|
2403
2405
|
class UnaryFunction0DVectorViewShape:
|
|
@@ -2406,7 +2408,7 @@ class UnaryFunction0DVectorViewShape:
|
|
|
2406
2408
|
objects.
|
|
2407
2409
|
"""
|
|
2408
2410
|
|
|
2409
|
-
def __init__(self):
|
|
2411
|
+
def __init__(self) -> None:
|
|
2410
2412
|
"""Default constructor."""
|
|
2411
2413
|
|
|
2412
2414
|
class UnaryFunction0DViewShape:
|
|
@@ -2414,7 +2416,7 @@ class UnaryFunction0DViewShape:
|
|
|
2414
2416
|
`Interface0DIterator` and return a `ViewShape` object.
|
|
2415
2417
|
"""
|
|
2416
2418
|
|
|
2417
|
-
def __init__(self):
|
|
2419
|
+
def __init__(self) -> None:
|
|
2418
2420
|
"""Default constructor."""
|
|
2419
2421
|
|
|
2420
2422
|
class UnaryFunction1D:
|
|
@@ -2444,13 +2446,13 @@ class UnaryFunction1DDouble:
|
|
|
2444
2446
|
:type: IntegrationType
|
|
2445
2447
|
"""
|
|
2446
2448
|
|
|
2447
|
-
def __init__(self):
|
|
2449
|
+
def __init__(self) -> None:
|
|
2448
2450
|
"""Builds a unary 1D function using the default constructor
|
|
2449
2451
|
or the integration method given as an argument.
|
|
2450
2452
|
|
|
2451
2453
|
"""
|
|
2452
2454
|
|
|
2453
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2455
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2454
2456
|
"""Builds a unary 1D function using the default constructor
|
|
2455
2457
|
or the integration method given as an argument.
|
|
2456
2458
|
|
|
@@ -2469,13 +2471,13 @@ class UnaryFunction1DEdgeNature:
|
|
|
2469
2471
|
:type: IntegrationType
|
|
2470
2472
|
"""
|
|
2471
2473
|
|
|
2472
|
-
def __init__(self):
|
|
2474
|
+
def __init__(self) -> None:
|
|
2473
2475
|
"""Builds a unary 1D function using the default constructor
|
|
2474
2476
|
or the integration method given as an argument.
|
|
2475
2477
|
|
|
2476
2478
|
"""
|
|
2477
2479
|
|
|
2478
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2480
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2479
2481
|
"""Builds a unary 1D function using the default constructor
|
|
2480
2482
|
or the integration method given as an argument.
|
|
2481
2483
|
|
|
@@ -2494,13 +2496,13 @@ class UnaryFunction1DFloat:
|
|
|
2494
2496
|
:type: IntegrationType
|
|
2495
2497
|
"""
|
|
2496
2498
|
|
|
2497
|
-
def __init__(self):
|
|
2499
|
+
def __init__(self) -> None:
|
|
2498
2500
|
"""Builds a unary 1D function using the default constructor
|
|
2499
2501
|
or the integration method given as an argument.
|
|
2500
2502
|
|
|
2501
2503
|
"""
|
|
2502
2504
|
|
|
2503
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2505
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2504
2506
|
"""Builds a unary 1D function using the default constructor
|
|
2505
2507
|
or the integration method given as an argument.
|
|
2506
2508
|
|
|
@@ -2519,13 +2521,13 @@ class UnaryFunction1DUnsigned:
|
|
|
2519
2521
|
:type: IntegrationType
|
|
2520
2522
|
"""
|
|
2521
2523
|
|
|
2522
|
-
def __init__(self):
|
|
2524
|
+
def __init__(self) -> None:
|
|
2523
2525
|
"""Builds a unary 1D function using the default constructor
|
|
2524
2526
|
or the integration method given as an argument.
|
|
2525
2527
|
|
|
2526
2528
|
"""
|
|
2527
2529
|
|
|
2528
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2530
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2529
2531
|
"""Builds a unary 1D function using the default constructor
|
|
2530
2532
|
or the integration method given as an argument.
|
|
2531
2533
|
|
|
@@ -2544,13 +2546,13 @@ class UnaryFunction1DVec2f:
|
|
|
2544
2546
|
:type: IntegrationType
|
|
2545
2547
|
"""
|
|
2546
2548
|
|
|
2547
|
-
def __init__(self):
|
|
2549
|
+
def __init__(self) -> None:
|
|
2548
2550
|
"""Builds a unary 1D function using the default constructor
|
|
2549
2551
|
or the integration method given as an argument.
|
|
2550
2552
|
|
|
2551
2553
|
"""
|
|
2552
2554
|
|
|
2553
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2555
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2554
2556
|
"""Builds a unary 1D function using the default constructor
|
|
2555
2557
|
or the integration method given as an argument.
|
|
2556
2558
|
|
|
@@ -2569,13 +2571,13 @@ class UnaryFunction1DVec3f:
|
|
|
2569
2571
|
:type: IntegrationType
|
|
2570
2572
|
"""
|
|
2571
2573
|
|
|
2572
|
-
def __init__(self):
|
|
2574
|
+
def __init__(self) -> None:
|
|
2573
2575
|
"""Builds a unary 1D function using the default constructor
|
|
2574
2576
|
or the integration method given as an argument.
|
|
2575
2577
|
|
|
2576
2578
|
"""
|
|
2577
2579
|
|
|
2578
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2580
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2579
2581
|
"""Builds a unary 1D function using the default constructor
|
|
2580
2582
|
or the integration method given as an argument.
|
|
2581
2583
|
|
|
@@ -2595,13 +2597,13 @@ class UnaryFunction1DVectorViewShape:
|
|
|
2595
2597
|
:type: IntegrationType
|
|
2596
2598
|
"""
|
|
2597
2599
|
|
|
2598
|
-
def __init__(self):
|
|
2600
|
+
def __init__(self) -> None:
|
|
2599
2601
|
"""Builds a unary 1D function using the default constructor
|
|
2600
2602
|
or the integration method given as an argument.
|
|
2601
2603
|
|
|
2602
2604
|
"""
|
|
2603
2605
|
|
|
2604
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2606
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2605
2607
|
"""Builds a unary 1D function using the default constructor
|
|
2606
2608
|
or the integration method given as an argument.
|
|
2607
2609
|
|
|
@@ -2620,13 +2622,13 @@ class UnaryFunction1DVoid:
|
|
|
2620
2622
|
:type: IntegrationType
|
|
2621
2623
|
"""
|
|
2622
2624
|
|
|
2623
|
-
def __init__(self):
|
|
2625
|
+
def __init__(self) -> None:
|
|
2624
2626
|
"""Builds a unary 1D function using either a default constructor
|
|
2625
2627
|
or the integration method given as an argument.
|
|
2626
2628
|
|
|
2627
2629
|
"""
|
|
2628
2630
|
|
|
2629
|
-
def __init__(self, integration_type: IntegrationType):
|
|
2631
|
+
def __init__(self, integration_type: IntegrationType) -> None:
|
|
2630
2632
|
"""Builds a unary 1D function using either a default constructor
|
|
2631
2633
|
or the integration method given as an argument.
|
|
2632
2634
|
|
|
@@ -2649,7 +2651,7 @@ class UnaryPredicate0D:
|
|
|
2649
2651
|
:type: str
|
|
2650
2652
|
"""
|
|
2651
2653
|
|
|
2652
|
-
def __init__(self):
|
|
2654
|
+
def __init__(self) -> None:
|
|
2653
2655
|
"""Default constructor."""
|
|
2654
2656
|
|
|
2655
2657
|
def __call__(self, it: Interface0DIterator) -> bool:
|
|
@@ -2677,7 +2679,7 @@ class UnaryPredicate1D:
|
|
|
2677
2679
|
:type: str
|
|
2678
2680
|
"""
|
|
2679
2681
|
|
|
2680
|
-
def __init__(self):
|
|
2682
|
+
def __init__(self) -> None:
|
|
2681
2683
|
"""Default constructor."""
|
|
2682
2684
|
|
|
2683
2685
|
def __call__(self, inter: Interface1D) -> bool:
|
|
@@ -2762,17 +2764,17 @@ belongs to. If no object is occluded, this property is set to None.
|
|
|
2762
2764
|
:type: ViewShape
|
|
2763
2765
|
"""
|
|
2764
2766
|
|
|
2765
|
-
def __init__(self):
|
|
2767
|
+
def __init__(self) -> None:
|
|
2766
2768
|
"""Builds a `ViewEdge` using the default constructor or the copy constructor."""
|
|
2767
2769
|
|
|
2768
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
2770
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
2769
2771
|
"""Builds a `ViewEdge` using the default constructor or the copy constructor.
|
|
2770
2772
|
|
|
2771
2773
|
:param brother: A ViewEdge object.
|
|
2772
2774
|
:type brother: typing_extensions.Self
|
|
2773
2775
|
"""
|
|
2774
2776
|
|
|
2775
|
-
def update_fedges(self):
|
|
2777
|
+
def update_fedges(self) -> None:
|
|
2776
2778
|
"""Sets Viewedge to this for all embedded fedges."""
|
|
2777
2779
|
|
|
2778
2780
|
class ViewEdgeIterator:
|
|
@@ -2810,7 +2812,9 @@ of the "begin" ViewEdge.
|
|
|
2810
2812
|
:type: bool
|
|
2811
2813
|
"""
|
|
2812
2814
|
|
|
2813
|
-
def __init__(
|
|
2815
|
+
def __init__(
|
|
2816
|
+
self, begin: None | ViewEdge | None = None, orientation: bool = True
|
|
2817
|
+
) -> None:
|
|
2814
2818
|
"""Builds a ViewEdgeIterator from a starting ViewEdge and its
|
|
2815
2819
|
orientation or the copy constructor.
|
|
2816
2820
|
|
|
@@ -2823,7 +2827,7 @@ of the "begin" ViewEdge.
|
|
|
2823
2827
|
:type orientation: bool
|
|
2824
2828
|
"""
|
|
2825
2829
|
|
|
2826
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
2830
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
2827
2831
|
"""Builds a ViewEdgeIterator from a starting ViewEdge and its
|
|
2828
2832
|
orientation or the copy constructor.
|
|
2829
2833
|
|
|
@@ -2831,7 +2835,7 @@ of the "begin" ViewEdge.
|
|
|
2831
2835
|
:type brother: typing_extensions.Self
|
|
2832
2836
|
"""
|
|
2833
2837
|
|
|
2834
|
-
def change_orientation(self):
|
|
2838
|
+
def change_orientation(self) -> None:
|
|
2835
2839
|
"""Changes the current orientation."""
|
|
2836
2840
|
|
|
2837
2841
|
class ViewMap:
|
|
@@ -2843,7 +2847,7 @@ class ViewMap:
|
|
|
2843
2847
|
:type: BBox
|
|
2844
2848
|
"""
|
|
2845
2849
|
|
|
2846
|
-
def __init__(self):
|
|
2850
|
+
def __init__(self) -> None:
|
|
2847
2851
|
"""Default constructor."""
|
|
2848
2852
|
|
|
2849
2853
|
def get_closest_fedge(self, x: float, y: float) -> FEdge:
|
|
@@ -2909,13 +2913,13 @@ class ViewShape:
|
|
|
2909
2913
|
:type: list[ViewVertex]
|
|
2910
2914
|
"""
|
|
2911
2915
|
|
|
2912
|
-
def __init__(self):
|
|
2916
|
+
def __init__(self) -> None:
|
|
2913
2917
|
"""Builds a `ViewShape` using the default constructor,
|
|
2914
2918
|
copy constructor, or from a `SShape`.
|
|
2915
2919
|
|
|
2916
2920
|
"""
|
|
2917
2921
|
|
|
2918
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
2922
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
2919
2923
|
"""Builds a `ViewShape` using the default constructor,
|
|
2920
2924
|
copy constructor, or from a `SShape`.
|
|
2921
2925
|
|
|
@@ -2923,7 +2927,7 @@ class ViewShape:
|
|
|
2923
2927
|
:type brother: typing_extensions.Self
|
|
2924
2928
|
"""
|
|
2925
2929
|
|
|
2926
|
-
def __init__(self, sshape: SShape):
|
|
2930
|
+
def __init__(self, sshape: SShape) -> None:
|
|
2927
2931
|
"""Builds a `ViewShape` using the default constructor,
|
|
2928
2932
|
copy constructor, or from a `SShape`.
|
|
2929
2933
|
|
|
@@ -2931,14 +2935,14 @@ class ViewShape:
|
|
|
2931
2935
|
:type sshape: SShape
|
|
2932
2936
|
"""
|
|
2933
2937
|
|
|
2934
|
-
def add_edge(self, edge: ViewEdge):
|
|
2938
|
+
def add_edge(self, edge: ViewEdge) -> None:
|
|
2935
2939
|
"""Adds a ViewEdge to the list of ViewEdge objects.
|
|
2936
2940
|
|
|
2937
2941
|
:param edge: A ViewEdge object.
|
|
2938
2942
|
:type edge: ViewEdge
|
|
2939
2943
|
"""
|
|
2940
2944
|
|
|
2941
|
-
def add_vertex(self, vertex: ViewVertex):
|
|
2945
|
+
def add_vertex(self, vertex: ViewVertex) -> None:
|
|
2942
2946
|
"""Adds a ViewVertex to the list of the ViewVertex objects.
|
|
2943
2947
|
|
|
2944
2948
|
:param vertex: A ViewVertex object.
|
|
@@ -3007,13 +3011,13 @@ the ViewEdge is incoming.
|
|
|
3007
3011
|
:type: tuple[ViewEdge, bool]
|
|
3008
3012
|
"""
|
|
3009
3013
|
|
|
3010
|
-
def __init__(self):
|
|
3014
|
+
def __init__(self) -> None:
|
|
3011
3015
|
"""Creates an `orientedViewEdgeIterator` using either the
|
|
3012
3016
|
default constructor or the copy constructor.
|
|
3013
3017
|
|
|
3014
3018
|
"""
|
|
3015
3019
|
|
|
3016
|
-
def __init__(self, iBrother: typing_extensions.Self):
|
|
3020
|
+
def __init__(self, iBrother: typing_extensions.Self) -> None:
|
|
3017
3021
|
"""Creates an `orientedViewEdgeIterator` using either the
|
|
3018
3022
|
default constructor or the copy constructor.
|
|
3019
3023
|
|