fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
- {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
- {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
- _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
- _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
- _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
- _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
- {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
- _bl_text_utils/external_editor/__init__.pyi +6 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +5 -1
- _bpy_internal/addons/__init__.pyi +1 -0
- _bpy_internal/addons/cli/__init__.pyi +2 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
- {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/__init__.pyi +1 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
- _bpy_internal/system_info/__init__.pyi +1 -0
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
- _bpy_types/__init__.pyi +1635 -0
- {console_python → _console_python}/__init__.pyi +8 -7
- _console_shell/__init__.pyi +10 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
- _keyingsets_utils/__init__.pyi +21 -0
- {rna_info → _rna_info}/__init__.pyi +32 -27
- {rna_xml → _rna_xml}/__init__.pyi +7 -6
- addon_utils/__init__.pyi +13 -25
- aud/__init__.pyi +133 -155
- bge/__init__.pyi +1 -0
- bge/app/__init__.pyi +1 -0
- bge/constraints/__init__.pyi +22 -51
- bge/types/__init__.pyi +618 -1913
- bge_extras/__init__.pyi +1 -0
- bge_extras/logger/__init__.pyi +4 -3
- bgui/__init__.pyi +1 -0
- bgui/frame/__init__.pyi +1 -0
- bgui/frame_button/__init__.pyi +1 -0
- bgui/image/__init__.pyi +1 -1
- bgui/image_button/__init__.pyi +1 -0
- bgui/label/__init__.pyi +1 -0
- bgui/list_box/__init__.pyi +1 -1
- bgui/progress_bar/__init__.pyi +2 -1
- bgui/system/__init__.pyi +3 -5
- bgui/text_block/__init__.pyi +1 -0
- bgui/text_input/__init__.pyi +9 -8
- bgui/theme/__init__.pyi +4 -3
- bgui/widget/__init__.pyi +5 -4
- bl_app_override/__init__.pyi +4 -3
- bl_app_override/helpers/__init__.pyi +3 -2
- bl_app_template_utils/__init__.pyi +5 -4
- bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +2 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +10 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +4 -13
- bl_operators/__init__.pyi +4 -2
- bl_operators/add_mesh_torus/__init__.pyi +9 -9
- bl_operators/anim/__init__.pyi +90 -62
- bl_operators/assets/__init__.pyi +14 -18
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
- bl_operators/bone_selection_sets/__init__.pyi +34 -60
- bl_operators/clip/__init__.pyi +39 -57
- bl_operators/connect_to_output/__init__.pyi +20 -18
- bl_operators/console/__init__.pyi +17 -25
- bl_operators/constraint/__init__.pyi +15 -21
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +13 -17
- bl_operators/freestyle/__init__.pyi +15 -21
- bl_operators/geometry_nodes/__init__.pyi +30 -36
- bl_operators/grease_pencil/__init__.pyi +5 -5
- bl_operators/image/__init__.pyi +14 -22
- bl_operators/image_as_planes/__init__.pyi +36 -42
- bl_operators/mesh/__init__.pyi +8 -53
- bl_operators/node/__init__.pyi +375 -92
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +10 -9
- bl_operators/object/__init__.pyi +57 -98
- bl_operators/object_align/__init__.pyi +8 -8
- bl_operators/object_quick_effects/__init__.pyi +15 -21
- bl_operators/object_randomize_transform/__init__.pyi +6 -6
- bl_operators/presets/__init__.pyi +46 -94
- bl_operators/rigidbody/__init__.pyi +12 -16
- bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
- bl_operators/sequencer/__init__.pyi +40 -54
- bl_operators/spreadsheet/__init__.pyi +7 -7
- bl_operators/userpref/__init__.pyi +69 -117
- bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
- bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
- bl_operators/uvcalc_transform/__init__.pyi +39 -28
- bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
- bl_operators/view3d/__init__.pyi +31 -43
- bl_operators/wm/__init__.pyi +139 -231
- bl_operators/world/__init__.pyi +6 -6
- bl_ui/__init__.pyi +18 -17
- bl_ui/anim/__init__.pyi +5 -5
- bl_ui/asset_shelf/__init__.pyi +5 -5
- bl_ui/generic_ui_list/__init__.pyi +11 -25
- bl_ui/node_add_menu/__init__.pyi +281 -12
- bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
- bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
- bl_ui/node_add_menu_shader/__init__.pyi +67 -67
- bl_ui/node_add_menu_texture/__init__.pyi +25 -69
- bl_ui/properties_animviz/__init__.pyi +3 -2
- bl_ui/properties_collection/__init__.pyi +20 -30
- bl_ui/properties_constraint/__init__.pyi +228 -450
- bl_ui/properties_data_armature/__init__.pyi +45 -79
- bl_ui/properties_data_bone/__init__.pyi +33 -51
- bl_ui/properties_data_camera/__init__.pyi +43 -75
- bl_ui/properties_data_curve/__init__.pyi +42 -101
- bl_ui/properties_data_curves/__init__.pyi +21 -35
- bl_ui/properties_data_empty/__init__.pyi +8 -10
- bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
- bl_ui/properties_data_lattice/__init__.pyi +12 -18
- bl_ui/properties_data_light/__init__.pyi +28 -46
- bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
- bl_ui/properties_data_mesh/__init__.pyi +73 -120
- bl_ui/properties_data_metaball/__init__.pyi +16 -26
- bl_ui/properties_data_modifier/__init__.pyi +34 -39
- bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
- bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
- bl_ui/properties_data_speaker/__init__.pyi +15 -25
- bl_ui/properties_data_volume/__init__.pyi +22 -38
- bl_ui/properties_freestyle/__init__.pyi +79 -127
- bl_ui/properties_game/__init__.pyi +88 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
- bl_ui/properties_mask_common/__init__.pyi +33 -45
- bl_ui/properties_material/__init__.pyi +52 -111
- bl_ui/properties_material_gpencil/__init__.pyi +48 -68
- bl_ui/properties_object/__init__.pyi +123 -93
- bl_ui/properties_output/__init__.pyi +103 -81
- bl_ui/properties_paint_common/__init__.pyi +78 -59
- bl_ui/properties_particle/__init__.pyi +160 -262
- bl_ui/properties_physics_cloth/__init__.pyi +36 -62
- bl_ui/properties_physics_common/__init__.pyi +11 -11
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
- bl_ui/properties_physics_field/__init__.pyi +35 -53
- bl_ui/properties_physics_fluid/__init__.pyi +106 -160
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
- bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
- bl_ui/properties_physics_softbody/__init__.pyi +38 -66
- bl_ui/properties_render/__init__.pyi +267 -259
- bl_ui/properties_scene/__init__.pyi +69 -72
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +69 -122
- bl_ui/properties_view_layer/__init__.pyi +97 -51
- bl_ui/properties_workspace/__init__.pyi +12 -18
- bl_ui/properties_world/__init__.pyi +33 -53
- bl_ui/space_clip/__init__.pyi +231 -311
- bl_ui/space_console/__init__.pyi +14 -24
- bl_ui/space_dopesheet/__init__.pyi +193 -125
- bl_ui/space_filebrowser/__init__.pyi +107 -131
- bl_ui/space_graph/__init__.pyi +93 -80
- bl_ui/space_image/__init__.pyi +207 -291
- bl_ui/space_info/__init__.pyi +14 -24
- bl_ui/space_logic/__init__.pyi +14 -22
- bl_ui/space_nla/__init__.pyi +63 -69
- bl_ui/space_node/__init__.pyi +215 -154
- bl_ui/space_outliner/__init__.pyi +65 -61
- bl_ui/space_properties/__init__.pyi +41 -16
- bl_ui/space_sequencer/__init__.pyi +276 -980
- bl_ui/space_spreadsheet/__init__.pyi +27 -23
- bl_ui/space_statusbar/__init__.pyi +4 -4
- bl_ui/space_text/__init__.pyi +39 -73
- bl_ui/space_time/__init__.pyi +33 -78
- bl_ui/space_toolsystem_common/__init__.pyi +31 -28
- bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
- bl_ui/space_topbar/__init__.pyi +68 -111
- bl_ui/space_userpref/__init__.pyi +310 -445
- bl_ui/space_view3d/__init__.pyi +667 -1122
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
- bl_ui/utils/__init__.pyi +4 -3
- blend_render_info/__init__.pyi +4 -2
- blf/__init__.pyi +92 -59
- bmesh/__init__.pyi +4 -10
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +442 -815
- bmesh/types/__init__.pyi +377 -720
- bmesh/utils/__init__.pyi +20 -45
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +96 -90
- bpy/app/handlers/__init__.pyi +24 -19
- bpy/app/icons/__init__.pyi +2 -7
- bpy/app/timers/__init__.pyi +5 -18
- bpy/app/translations/__init__.pyi +21 -35
- bpy/msgbus/__init__.pyi +20 -9
- bpy/ops/__init__.pyi +21 -3
- bpy/ops/action/__init__.pyi +121 -226
- bpy/ops/anim/__init__.pyi +204 -358
- bpy/ops/armature/__init__.pyi +129 -249
- bpy/ops/asset/__init__.pyi +82 -111
- bpy/ops/bge_bricknodes/__init__.pyi +61 -0
- bpy/ops/boid/__init__.pyi +44 -50
- bpy/ops/bricknodes/__init__.pyi +37 -0
- bpy/ops/brush/__init__.pyi +33 -120
- bpy/ops/buttons/__init__.pyi +27 -83
- bpy/ops/cachefile/__init__.pyi +16 -74
- bpy/ops/camera/__init__.pyi +3 -13
- bpy/ops/clip/__init__.pyi +278 -558
- bpy/ops/cloth/__init__.pyi +2 -6
- bpy/ops/collection/__init__.pyi +34 -44
- bpy/ops/console/__init__.pyi +70 -111
- bpy/ops/constraint/__init__.pyi +34 -102
- bpy/ops/curve/__init__.pyi +163 -315
- bpy/ops/curves/__init__.pyi +163 -189
- bpy/ops/cycles/__init__.pyi +8 -18
- bpy/ops/dpaint/__init__.pyi +21 -30
- bpy/ops/ed/__init__.pyi +59 -103
- bpy/ops/export_anim/__init__.pyi +4 -11
- bpy/ops/export_scene/__init__.pyi +29 -174
- bpy/ops/extensions/__init__.pyi +102 -194
- bpy/ops/file/__init__.pyi +166 -272
- bpy/ops/fluid/__init__.pyi +78 -86
- bpy/ops/font/__init__.pyi +73 -164
- bpy/ops/geometry/__init__.pyi +33 -144
- bpy/ops/gizmogroup/__init__.pyi +8 -14
- bpy/ops/gpencil/__init__.pyi +31 -58
- bpy/ops/graph/__init__.pyi +176 -411
- bpy/ops/grease_pencil/__init__.pyi +416 -639
- bpy/ops/image/__init__.pyi +148 -492
- bpy/ops/import_anim/__init__.pyi +5 -18
- bpy/ops/import_curve/__init__.pyi +4 -6
- bpy/ops/import_scene/__init__.pyi +22 -49
- bpy/ops/info/__init__.pyi +27 -43
- bpy/ops/lattice/__init__.pyi +26 -43
- bpy/ops/logic/__init__.pyi +49 -122
- bpy/ops/logic_nodes/__init__.pyi +461 -0
- bpy/ops/marker/__init__.pyi +24 -60
- bpy/ops/mask/__init__.pyi +118 -222
- bpy/ops/material/__init__.pyi +19 -18
- bpy/ops/mball/__init__.pyi +13 -39
- bpy/ops/mesh/__init__.pyi +409 -1264
- bpy/ops/nla/__init__.pyi +140 -232
- bpy/ops/node/__init__.pyi +1189 -807
- bpy/ops/object/__init__.pyi +806 -1659
- bpy/ops/outliner/__init__.pyi +284 -432
- bpy/ops/paint/__init__.pyi +189 -381
- bpy/ops/paintcurve/__init__.pyi +29 -44
- bpy/ops/palette/__init__.pyi +23 -34
- bpy/ops/particle/__init__.pyi +135 -201
- bpy/ops/pointcloud/__init__.pyi +23 -42
- bpy/ops/pose/__init__.pyi +195 -310
- bpy/ops/poselib/__init__.pyi +45 -73
- bpy/ops/preferences/__init__.pyi +89 -221
- bpy/ops/ptcache/__init__.pyi +32 -39
- bpy/ops/render/__init__.pyi +36 -83
- bpy/ops/rigidbody/__init__.pyi +47 -78
- bpy/ops/scene/__init__.pyi +169 -222
- bpy/ops/screen/__init__.pyi +146 -259
- bpy/ops/script/__init__.pyi +9 -15
- bpy/ops/sculpt/__init__.pyi +194 -354
- bpy/ops/sculpt_curves/__init__.pyi +21 -29
- bpy/ops/sequencer/__init__.pyi +586 -836
- bpy/ops/sound/__init__.pyi +25 -131
- bpy/ops/spreadsheet/__init__.pyi +34 -21
- bpy/ops/surface/__init__.pyi +7 -54
- bpy/ops/text/__init__.pyi +166 -281
- bpy/ops/text_editor/__init__.pyi +2 -6
- bpy/ops/texture/__init__.pyi +20 -22
- bpy/ops/transform/__init__.pyi +108 -445
- bpy/ops/ui/__init__.pyi +157 -219
- bpy/ops/uilist/__init__.pyi +4 -16
- bpy/ops/uv/__init__.pyi +291 -347
- bpy/ops/view2d/__init__.pyi +29 -88
- bpy/ops/view3d/__init__.pyi +238 -438
- bpy/ops/wm/__init__.pyi +651 -1510
- bpy/ops/workspace/__init__.pyi +42 -44
- bpy/ops/world/__init__.pyi +12 -13
- bpy/path/__init__.pyi +5 -36
- bpy/props/__init__.pyi +395 -259
- bpy/{_typing → stub_internal}/__init__.pyi +1 -0
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
- bpy/types/__init__.pyi +93285 -103831
- bpy/utils/__init__.pyi +46 -104
- bpy/utils/previews/__init__.pyi +7 -15
- bpy/utils/units/__init__.pyi +6 -15
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +32 -23
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +2 -2
- bpy_extras/id_map_utils/__init__.pyi +15 -6
- bpy_extras/image_utils/__init__.pyi +3 -11
- bpy_extras/io_utils/__init__.pyi +22 -38
- bpy_extras/keyconfig_utils/__init__.pyi +5 -4
- bpy_extras/mesh_utils/__init__.pyi +3 -14
- bpy_extras/node_shader_utils/__init__.pyi +63 -70
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +6 -19
- bpy_extras/view3d_utils/__init__.pyi +1 -18
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
- fake_bge_module-20260201.dist-info/RECORD +414 -0
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +41 -60
- freestyle/functions/__init__.pyi +56 -194
- freestyle/predicates/__init__.pyi +11 -61
- freestyle/shaders/__init__.pyi +95 -156
- freestyle/types/__init__.pyi +306 -941
- freestyle/utils/ContextFunctions/__init__.pyi +4 -24
- freestyle/utils/__init__.pyi +46 -36
- gpu/__init__.pyi +84 -5
- gpu/capabilities/__init__.pyi +1 -21
- gpu/matrix/__init__.pyi +16 -24
- gpu/platform/__init__.pyi +3 -7
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +43 -9
- gpu/state/__init__.pyi +66 -44
- gpu/texture/__init__.pyi +4 -5
- gpu/types/__init__.pyi +216 -216
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +2 -5
- gpu_extras/presets/__init__.pyi +9 -10
- idprop/__init__.pyi +17 -0
- idprop/types/__init__.pyi +18 -17
- imbuf/__init__.pyi +13 -9
- imbuf/types/__init__.pyi +10 -23
- keyingsets_builtins/__init__.pyi +51 -93
- mathutils/__init__.pyi +296 -2255
- mathutils/bvhtree/__init__.pyi +22 -29
- mathutils/geometry/__init__.pyi +83 -132
- mathutils/interpolate/__init__.pyi +7 -5
- mathutils/kdtree/__init__.pyi +5 -14
- mathutils/noise/__init__.pyi +62 -106
- nodeitems_builtins/__init__.pyi +5 -4
- nodeitems_utils/__init__.pyi +10 -9
- rna_keymap_ui/__init__.pyi +7 -6
- rna_prop_ui/__init__.pyi +14 -13
- _bpy_internal/freedesktop/__init__.pyi +0 -20
- bgl/__init__.pyi +0 -4235
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
- bl_i18n_utils/utils_cli/__init__.pyi +0 -10
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
- bl_text_utils/external_editor/__init__.pyi +0 -5
- bpy_types/__init__.pyi +0 -29
- console_shell/__init__.pyi +0 -9
- fake_bge_module-20250317.dist-info/RECORD +0 -395
- keyingsets_utils/__init__.pyi +0 -18
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
mathutils/__init__.pyi
CHANGED
|
@@ -29,6 +29,7 @@ mathutils.noise.rst
|
|
|
29
29
|
import typing
|
|
30
30
|
import collections.abc
|
|
31
31
|
import typing_extensions
|
|
32
|
+
import numpy.typing as npt
|
|
32
33
|
from . import bvhtree as bvhtree
|
|
33
34
|
from . import geometry as geometry
|
|
34
35
|
from . import interpolate as interpolate
|
|
@@ -39,143 +40,126 @@ class Color:
|
|
|
39
40
|
"""This object gives access to Colors in Blender.Most colors returned by Blender APIs are in scene linear color space, as defined by the OpenColorIO configuration. The notable exception is user interface theming colors, which are in sRGB color space."""
|
|
40
41
|
|
|
41
42
|
b: float
|
|
42
|
-
""" Blue color channel.
|
|
43
|
-
|
|
44
|
-
:type: float
|
|
45
|
-
"""
|
|
43
|
+
""" Blue color channel."""
|
|
46
44
|
|
|
47
45
|
g: float
|
|
48
|
-
""" Green color channel.
|
|
49
|
-
|
|
50
|
-
:type: float
|
|
51
|
-
"""
|
|
46
|
+
""" Green color channel."""
|
|
52
47
|
|
|
53
48
|
h: float
|
|
54
|
-
""" HSV Hue component in [0, 1].
|
|
49
|
+
""" HSV Hue component in [0, 1]."""
|
|
55
50
|
|
|
56
|
-
:
|
|
57
|
-
"""
|
|
58
|
-
|
|
59
|
-
hsv: Vector | collections.abc.Sequence[float]
|
|
60
|
-
""" HSV Values in [0, 1].
|
|
61
|
-
|
|
62
|
-
:type: Vector | collections.abc.Sequence[float]
|
|
63
|
-
"""
|
|
51
|
+
hsv: tuple[float, float, float]
|
|
52
|
+
""" HSV Values in [0, 1]."""
|
|
64
53
|
|
|
65
54
|
is_frozen: bool
|
|
66
|
-
""" True when this object has been frozen (read-only).
|
|
67
|
-
|
|
68
|
-
:type: bool
|
|
69
|
-
"""
|
|
55
|
+
""" True when this object has been frozen (read-only)."""
|
|
70
56
|
|
|
71
57
|
is_valid: bool
|
|
72
|
-
""" True when the owner of this data is valid.
|
|
73
|
-
|
|
74
|
-
:type: bool
|
|
75
|
-
"""
|
|
58
|
+
""" True when the owner of this data is valid."""
|
|
76
59
|
|
|
77
60
|
is_wrapped: bool
|
|
78
|
-
""" True when this object wraps external data (read-only).
|
|
79
|
-
|
|
80
|
-
:type: bool
|
|
81
|
-
"""
|
|
61
|
+
""" True when this object wraps external data (read-only)."""
|
|
82
62
|
|
|
83
63
|
owner: typing.Any
|
|
84
64
|
""" The item this is wrapping or None (read-only)."""
|
|
85
65
|
|
|
86
66
|
r: float
|
|
87
|
-
""" Red color channel.
|
|
88
|
-
|
|
89
|
-
:type: float
|
|
90
|
-
"""
|
|
67
|
+
""" Red color channel."""
|
|
91
68
|
|
|
92
69
|
s: float
|
|
93
|
-
""" HSV Saturation component in [0, 1].
|
|
94
|
-
|
|
95
|
-
:type: float
|
|
96
|
-
"""
|
|
70
|
+
""" HSV Saturation component in [0, 1]."""
|
|
97
71
|
|
|
98
72
|
v: float
|
|
99
|
-
""" HSV Value component in [0, 1].
|
|
100
|
-
|
|
101
|
-
:type: float
|
|
102
|
-
"""
|
|
73
|
+
""" HSV Value component in [0, 1]."""
|
|
103
74
|
|
|
104
75
|
def copy(self) -> typing_extensions.Self:
|
|
105
76
|
"""Returns a copy of this color.
|
|
106
77
|
|
|
107
78
|
:return: A copy of the color.
|
|
108
|
-
:rtype: typing_extensions.Self
|
|
109
79
|
"""
|
|
110
80
|
|
|
111
81
|
def freeze(self) -> typing_extensions.Self:
|
|
112
82
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
113
83
|
|
|
114
84
|
:return: An instance of this object.
|
|
115
|
-
:rtype: typing_extensions.Self
|
|
116
85
|
"""
|
|
117
86
|
|
|
118
87
|
def from_aces_to_scene_linear(self) -> typing_extensions.Self:
|
|
119
88
|
"""Convert from ACES2065-1 linear to scene linear color space.
|
|
120
89
|
|
|
121
90
|
:return: A color in scene linear color space.
|
|
122
|
-
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
def from_acescg_to_scene_linear(self) -> typing_extensions.Self:
|
|
94
|
+
"""Convert from ACEScg linear to scene linear color space.
|
|
95
|
+
|
|
96
|
+
:return: A color in scene linear color space.
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
def from_rec2020_linear_to_scene_linear(self) -> typing_extensions.Self:
|
|
100
|
+
"""Convert from Rec.2020 linear color space to scene linear color space.
|
|
101
|
+
|
|
102
|
+
:return: A color in scene linear color space.
|
|
123
103
|
"""
|
|
124
104
|
|
|
125
105
|
def from_rec709_linear_to_scene_linear(self) -> typing_extensions.Self:
|
|
126
106
|
"""Convert from Rec.709 linear color space to scene linear color space.
|
|
127
107
|
|
|
128
108
|
:return: A color in scene linear color space.
|
|
129
|
-
:rtype: typing_extensions.Self
|
|
130
109
|
"""
|
|
131
110
|
|
|
132
111
|
def from_scene_linear_to_aces(self) -> typing_extensions.Self:
|
|
133
112
|
"""Convert from scene linear to ACES2065-1 linear color space.
|
|
134
113
|
|
|
135
114
|
:return: A color in ACES2065-1 linear color space.
|
|
136
|
-
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
def from_scene_linear_to_acescg(self) -> typing_extensions.Self:
|
|
118
|
+
"""Convert from scene linear to ACEScg linear color space.
|
|
119
|
+
|
|
120
|
+
:return: A color in ACEScg linear color space.
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
def from_scene_linear_to_rec2020_linear(self) -> typing_extensions.Self:
|
|
124
|
+
"""Convert from scene linear to Rec.2020 linear color space.
|
|
125
|
+
|
|
126
|
+
:return: A color in Rec.2020 linear color space.
|
|
137
127
|
"""
|
|
138
128
|
|
|
139
129
|
def from_scene_linear_to_rec709_linear(self) -> typing_extensions.Self:
|
|
140
130
|
"""Convert from scene linear to Rec.709 linear color space.
|
|
141
131
|
|
|
142
132
|
:return: A color in Rec.709 linear color space.
|
|
143
|
-
:rtype: typing_extensions.Self
|
|
144
133
|
"""
|
|
145
134
|
|
|
146
135
|
def from_scene_linear_to_srgb(self) -> typing_extensions.Self:
|
|
147
136
|
"""Convert from scene linear to sRGB color space.
|
|
148
137
|
|
|
149
138
|
:return: A color in sRGB color space.
|
|
150
|
-
:rtype: typing_extensions.Self
|
|
151
139
|
"""
|
|
152
140
|
|
|
153
141
|
def from_scene_linear_to_xyz_d65(self) -> typing_extensions.Self:
|
|
154
142
|
"""Convert from scene linear to CIE XYZ (Illuminant D65) color space.
|
|
155
143
|
|
|
156
144
|
:return: A color in XYZ color space.
|
|
157
|
-
:rtype: typing_extensions.Self
|
|
158
145
|
"""
|
|
159
146
|
|
|
160
147
|
def from_srgb_to_scene_linear(self) -> typing_extensions.Self:
|
|
161
148
|
"""Convert from sRGB to scene linear color space.
|
|
162
149
|
|
|
163
150
|
:return: A color in scene linear color space.
|
|
164
|
-
:rtype: typing_extensions.Self
|
|
165
151
|
"""
|
|
166
152
|
|
|
167
153
|
def from_xyz_d65_to_scene_linear(self) -> typing_extensions.Self:
|
|
168
154
|
"""Convert from CIE XYZ (Illuminant D65) to scene linear color space.
|
|
169
155
|
|
|
170
156
|
:return: A color in scene linear color space.
|
|
171
|
-
:rtype: typing_extensions.Self
|
|
172
157
|
"""
|
|
173
158
|
|
|
174
|
-
def __init__(self, rgb: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)):
|
|
159
|
+
def __init__(self, rgb: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)) -> None:
|
|
175
160
|
"""
|
|
176
161
|
|
|
177
162
|
:param rgb:
|
|
178
|
-
:type rgb: collections.abc.Sequence[float]
|
|
179
163
|
"""
|
|
180
164
|
|
|
181
165
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -184,17 +168,15 @@ class Color:
|
|
|
184
168
|
:param instance:
|
|
185
169
|
:param owner:
|
|
186
170
|
:return:
|
|
187
|
-
:rtype: typing_extensions.Self
|
|
188
171
|
"""
|
|
189
172
|
|
|
190
173
|
def __set__(
|
|
191
174
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
192
|
-
):
|
|
175
|
+
) -> None:
|
|
193
176
|
"""
|
|
194
177
|
|
|
195
178
|
:param instance:
|
|
196
179
|
:param value:
|
|
197
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
198
180
|
"""
|
|
199
181
|
|
|
200
182
|
def __add__(
|
|
@@ -203,9 +185,7 @@ class Color:
|
|
|
203
185
|
"""
|
|
204
186
|
|
|
205
187
|
:param other:
|
|
206
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
207
188
|
:return:
|
|
208
|
-
:rtype: typing_extensions.Self
|
|
209
189
|
"""
|
|
210
190
|
|
|
211
191
|
def __sub__(
|
|
@@ -214,27 +194,21 @@ class Color:
|
|
|
214
194
|
"""
|
|
215
195
|
|
|
216
196
|
:param other:
|
|
217
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
218
197
|
:return:
|
|
219
|
-
:rtype: typing_extensions.Self
|
|
220
198
|
"""
|
|
221
199
|
|
|
222
200
|
def __mul__(self, other: float) -> typing_extensions.Self:
|
|
223
201
|
"""
|
|
224
202
|
|
|
225
203
|
:param other:
|
|
226
|
-
:type other: float
|
|
227
204
|
:return:
|
|
228
|
-
:rtype: typing_extensions.Self
|
|
229
205
|
"""
|
|
230
206
|
|
|
231
207
|
def __truediv__(self, other: float) -> typing_extensions.Self:
|
|
232
208
|
"""
|
|
233
209
|
|
|
234
210
|
:param other:
|
|
235
|
-
:type other: float
|
|
236
211
|
:return:
|
|
237
|
-
:rtype: typing_extensions.Self
|
|
238
212
|
"""
|
|
239
213
|
|
|
240
214
|
def __radd__(
|
|
@@ -243,9 +217,7 @@ class Color:
|
|
|
243
217
|
"""
|
|
244
218
|
|
|
245
219
|
:param other:
|
|
246
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
247
220
|
:return:
|
|
248
|
-
:rtype: typing_extensions.Self
|
|
249
221
|
"""
|
|
250
222
|
|
|
251
223
|
def __rsub__(
|
|
@@ -254,27 +226,21 @@ class Color:
|
|
|
254
226
|
"""
|
|
255
227
|
|
|
256
228
|
:param other:
|
|
257
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
258
229
|
:return:
|
|
259
|
-
:rtype: typing_extensions.Self
|
|
260
230
|
"""
|
|
261
231
|
|
|
262
232
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
263
233
|
"""
|
|
264
234
|
|
|
265
235
|
:param other:
|
|
266
|
-
:type other: float
|
|
267
236
|
:return:
|
|
268
|
-
:rtype: typing_extensions.Self
|
|
269
237
|
"""
|
|
270
238
|
|
|
271
239
|
def __rtruediv__(self, other: float) -> typing_extensions.Self:
|
|
272
240
|
"""
|
|
273
241
|
|
|
274
242
|
:param other:
|
|
275
|
-
:type other: float
|
|
276
243
|
:return:
|
|
277
|
-
:rtype: typing_extensions.Self
|
|
278
244
|
"""
|
|
279
245
|
|
|
280
246
|
def __iadd__(
|
|
@@ -283,9 +249,7 @@ class Color:
|
|
|
283
249
|
"""
|
|
284
250
|
|
|
285
251
|
:param other:
|
|
286
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
287
252
|
:return:
|
|
288
|
-
:rtype: typing_extensions.Self
|
|
289
253
|
"""
|
|
290
254
|
|
|
291
255
|
def __isub__(
|
|
@@ -294,27 +258,21 @@ class Color:
|
|
|
294
258
|
"""
|
|
295
259
|
|
|
296
260
|
:param other:
|
|
297
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
298
261
|
:return:
|
|
299
|
-
:rtype: typing_extensions.Self
|
|
300
262
|
"""
|
|
301
263
|
|
|
302
264
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
303
265
|
"""
|
|
304
266
|
|
|
305
267
|
:param other:
|
|
306
|
-
:type other: float
|
|
307
268
|
:return:
|
|
308
|
-
:rtype: typing_extensions.Self
|
|
309
269
|
"""
|
|
310
270
|
|
|
311
271
|
def __itruediv__(self, other: float) -> typing_extensions.Self:
|
|
312
272
|
"""
|
|
313
273
|
|
|
314
274
|
:param other:
|
|
315
|
-
:type other: float
|
|
316
275
|
:return:
|
|
317
|
-
:rtype: typing_extensions.Self
|
|
318
276
|
"""
|
|
319
277
|
|
|
320
278
|
@typing.overload
|
|
@@ -322,9 +280,7 @@ class Color:
|
|
|
322
280
|
"""
|
|
323
281
|
|
|
324
282
|
:param key:
|
|
325
|
-
:type key: int
|
|
326
283
|
:return:
|
|
327
|
-
:rtype: float
|
|
328
284
|
"""
|
|
329
285
|
|
|
330
286
|
@typing.overload
|
|
@@ -332,95 +288,75 @@ class Color:
|
|
|
332
288
|
"""
|
|
333
289
|
|
|
334
290
|
:param key:
|
|
335
|
-
:type key: slice
|
|
336
291
|
:return:
|
|
337
|
-
:rtype: tuple[float, ...]
|
|
338
292
|
"""
|
|
339
293
|
|
|
340
294
|
@typing.overload
|
|
341
|
-
def __setitem__(self, key: int, value: float):
|
|
295
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
342
296
|
"""
|
|
343
297
|
|
|
344
298
|
:param key:
|
|
345
|
-
:type key: int
|
|
346
299
|
:param value:
|
|
347
|
-
:type value: float
|
|
348
300
|
"""
|
|
349
301
|
|
|
350
302
|
@typing.overload
|
|
351
|
-
def __setitem__(
|
|
303
|
+
def __setitem__(
|
|
304
|
+
self, key: slice, value: collections.abc.Iterable[float] | Color
|
|
305
|
+
) -> None:
|
|
352
306
|
"""
|
|
353
307
|
|
|
354
308
|
:param key:
|
|
355
|
-
:type key: slice
|
|
356
309
|
:param value:
|
|
357
|
-
:type value: collections.abc.Iterable[float] | Color
|
|
358
310
|
"""
|
|
359
311
|
|
|
360
312
|
class Euler:
|
|
361
313
|
"""This object gives access to Eulers in Blender.`Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia."""
|
|
362
314
|
|
|
363
315
|
is_frozen: bool
|
|
364
|
-
""" True when this object has been frozen (read-only).
|
|
365
|
-
|
|
366
|
-
:type: bool
|
|
367
|
-
"""
|
|
316
|
+
""" True when this object has been frozen (read-only)."""
|
|
368
317
|
|
|
369
318
|
is_valid: bool
|
|
370
|
-
""" True when the owner of this data is valid.
|
|
371
|
-
|
|
372
|
-
:type: bool
|
|
373
|
-
"""
|
|
319
|
+
""" True when the owner of this data is valid."""
|
|
374
320
|
|
|
375
321
|
is_wrapped: bool
|
|
376
|
-
""" True when this object wraps external data (read-only).
|
|
377
|
-
|
|
378
|
-
:type: bool
|
|
379
|
-
"""
|
|
322
|
+
""" True when this object wraps external data (read-only)."""
|
|
380
323
|
|
|
381
|
-
order: typing.
|
|
324
|
+
order: typing.Literal["XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX"]
|
|
382
325
|
""" Euler rotation order."""
|
|
383
326
|
|
|
384
327
|
owner: typing.Any
|
|
385
328
|
""" The item this is wrapping or None (read-only)."""
|
|
386
329
|
|
|
387
330
|
x: float
|
|
388
|
-
""" Euler axis angle in radians.
|
|
389
|
-
|
|
390
|
-
:type: float
|
|
391
|
-
"""
|
|
331
|
+
""" Euler axis angle in radians."""
|
|
392
332
|
|
|
393
333
|
y: float
|
|
394
|
-
""" Euler axis angle in radians.
|
|
395
|
-
|
|
396
|
-
:type: float
|
|
397
|
-
"""
|
|
334
|
+
""" Euler axis angle in radians."""
|
|
398
335
|
|
|
399
336
|
z: float
|
|
400
|
-
""" Euler axis angle in radians.
|
|
401
|
-
|
|
402
|
-
:type: float
|
|
403
|
-
"""
|
|
337
|
+
""" Euler axis angle in radians."""
|
|
404
338
|
|
|
405
339
|
def copy(self) -> typing_extensions.Self:
|
|
406
340
|
"""Returns a copy of this euler.
|
|
407
341
|
|
|
408
342
|
:return: A copy of the euler.
|
|
409
|
-
:rtype: typing_extensions.Self
|
|
410
343
|
"""
|
|
411
344
|
|
|
412
345
|
def freeze(self) -> typing_extensions.Self:
|
|
413
346
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
414
347
|
|
|
415
348
|
:return: An instance of this object.
|
|
416
|
-
:rtype: typing_extensions.Self
|
|
417
349
|
"""
|
|
418
350
|
|
|
419
|
-
def make_compatible(
|
|
351
|
+
def make_compatible(
|
|
352
|
+
self,
|
|
353
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
354
|
+
/,
|
|
355
|
+
) -> None:
|
|
420
356
|
"""Make this euler compatible with another,
|
|
421
357
|
so interpolating between them works as intended.
|
|
422
358
|
|
|
423
|
-
:param other:
|
|
359
|
+
:param other: Other euler rotation.
|
|
424
360
|
"""
|
|
425
361
|
|
|
426
362
|
def rotate(
|
|
@@ -430,51 +366,50 @@ class Euler:
|
|
|
430
366
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
431
367
|
| collections.abc.Sequence[float]
|
|
432
368
|
| typing_extensions.Self,
|
|
433
|
-
|
|
369
|
+
/,
|
|
370
|
+
) -> None:
|
|
434
371
|
"""Rotates the euler by another mathutils value.
|
|
435
372
|
|
|
436
373
|
:param other: rotation component of mathutils value
|
|
437
|
-
:type other: Matrix | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
438
374
|
"""
|
|
439
375
|
|
|
440
|
-
def rotate_axis(
|
|
376
|
+
def rotate_axis(
|
|
377
|
+
self,
|
|
378
|
+
axis: typing.Literal["X", "Y", "Z"],
|
|
379
|
+
angle: float,
|
|
380
|
+
/,
|
|
381
|
+
) -> None:
|
|
441
382
|
"""Rotates the euler a certain amount and returning a unique euler rotation
|
|
442
383
|
(no 720 degree pitches).
|
|
443
384
|
|
|
444
|
-
:param axis:
|
|
445
|
-
:type axis: str
|
|
385
|
+
:param axis: An axis string.
|
|
446
386
|
:param angle: angle in radians.
|
|
447
|
-
:type angle: float
|
|
448
387
|
"""
|
|
449
388
|
|
|
450
389
|
def to_matrix(self) -> Matrix:
|
|
451
390
|
"""Return a matrix representation of the euler.
|
|
452
391
|
|
|
453
392
|
:return: A 3x3 rotation matrix representation of the euler.
|
|
454
|
-
:rtype: Matrix
|
|
455
393
|
"""
|
|
456
394
|
|
|
457
395
|
def to_quaternion(self) -> Quaternion:
|
|
458
396
|
"""Return a quaternion representation of the euler.
|
|
459
397
|
|
|
460
398
|
:return: Quaternion representation of the euler.
|
|
461
|
-
:rtype: Quaternion
|
|
462
399
|
"""
|
|
463
400
|
|
|
464
|
-
def zero(self):
|
|
401
|
+
def zero(self) -> None:
|
|
465
402
|
"""Set all values to zero."""
|
|
466
403
|
|
|
467
404
|
def __init__(
|
|
468
405
|
self,
|
|
469
406
|
angles: collections.abc.Sequence[float] = (0.0, 0.0, 0.0),
|
|
470
407
|
order: str = "XYZ",
|
|
471
|
-
):
|
|
408
|
+
) -> None:
|
|
472
409
|
"""
|
|
473
410
|
|
|
474
411
|
:param angles:
|
|
475
|
-
:type angles: collections.abc.Sequence[float]
|
|
476
412
|
:param order:
|
|
477
|
-
:type order: str
|
|
478
413
|
"""
|
|
479
414
|
|
|
480
415
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -483,17 +418,15 @@ class Euler:
|
|
|
483
418
|
:param instance:
|
|
484
419
|
:param owner:
|
|
485
420
|
:return:
|
|
486
|
-
:rtype: typing_extensions.Self
|
|
487
421
|
"""
|
|
488
422
|
|
|
489
423
|
def __set__(
|
|
490
424
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
491
|
-
):
|
|
425
|
+
) -> None:
|
|
492
426
|
"""
|
|
493
427
|
|
|
494
428
|
:param instance:
|
|
495
429
|
:param value:
|
|
496
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
497
430
|
"""
|
|
498
431
|
|
|
499
432
|
@typing.overload
|
|
@@ -501,9 +434,7 @@ class Euler:
|
|
|
501
434
|
"""
|
|
502
435
|
|
|
503
436
|
:param key:
|
|
504
|
-
:type key: int
|
|
505
437
|
:return:
|
|
506
|
-
:rtype: float
|
|
507
438
|
"""
|
|
508
439
|
|
|
509
440
|
@typing.overload
|
|
@@ -511,29 +442,25 @@ class Euler:
|
|
|
511
442
|
"""
|
|
512
443
|
|
|
513
444
|
:param key:
|
|
514
|
-
:type key: slice
|
|
515
445
|
:return:
|
|
516
|
-
:rtype: tuple[float, ...]
|
|
517
446
|
"""
|
|
518
447
|
|
|
519
448
|
@typing.overload
|
|
520
|
-
def __setitem__(self, key: int, value: float):
|
|
449
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
521
450
|
"""
|
|
522
451
|
|
|
523
452
|
:param key:
|
|
524
|
-
:type key: int
|
|
525
453
|
:param value:
|
|
526
|
-
:type value: float
|
|
527
454
|
"""
|
|
528
455
|
|
|
529
456
|
@typing.overload
|
|
530
|
-
def __setitem__(
|
|
457
|
+
def __setitem__(
|
|
458
|
+
self, key: slice, value: collections.abc.Iterable[float] | Euler
|
|
459
|
+
) -> None:
|
|
531
460
|
"""
|
|
532
461
|
|
|
533
462
|
:param key:
|
|
534
|
-
:type key: slice
|
|
535
463
|
:param value:
|
|
536
|
-
:type value: collections.abc.Iterable[float] | Euler
|
|
537
464
|
"""
|
|
538
465
|
|
|
539
466
|
class Matrix:
|
|
@@ -545,52 +472,28 @@ class Matrix:
|
|
|
545
472
|
""" Access the matrix by columns, 3x3 and 4x4 only, (read-only)."""
|
|
546
473
|
|
|
547
474
|
is_frozen: bool
|
|
548
|
-
""" True when this object has been frozen (read-only).
|
|
549
|
-
|
|
550
|
-
:type: bool
|
|
551
|
-
"""
|
|
475
|
+
""" True when this object has been frozen (read-only)."""
|
|
552
476
|
|
|
553
477
|
is_identity: bool
|
|
554
|
-
""" True if this is an identity matrix (read-only).
|
|
555
|
-
|
|
556
|
-
:type: bool
|
|
557
|
-
"""
|
|
478
|
+
""" True if this is an identity matrix (read-only)."""
|
|
558
479
|
|
|
559
480
|
is_negative: bool
|
|
560
|
-
""" True if this matrix results in a negative scale, 3x3 and 4x4 only, (read-only).
|
|
561
|
-
|
|
562
|
-
:type: bool
|
|
563
|
-
"""
|
|
481
|
+
""" True if this matrix results in a negative scale, 3x3 and 4x4 only, (read-only)."""
|
|
564
482
|
|
|
565
483
|
is_orthogonal: bool
|
|
566
|
-
""" True if this matrix is orthogonal, 3x3 and 4x4 only, (read-only).
|
|
567
|
-
|
|
568
|
-
:type: bool
|
|
569
|
-
"""
|
|
484
|
+
""" True if this matrix is orthogonal, 3x3 and 4x4 only, (read-only)."""
|
|
570
485
|
|
|
571
486
|
is_orthogonal_axis_vectors: bool
|
|
572
|
-
""" True if this matrix has got orthogonal axis vectors, 3x3 and 4x4 only, (read-only).
|
|
573
|
-
|
|
574
|
-
:type: bool
|
|
575
|
-
"""
|
|
487
|
+
""" True if this matrix has got orthogonal axis vectors, 3x3 and 4x4 only, (read-only)."""
|
|
576
488
|
|
|
577
489
|
is_valid: bool
|
|
578
|
-
""" True when the owner of this data is valid.
|
|
579
|
-
|
|
580
|
-
:type: bool
|
|
581
|
-
"""
|
|
490
|
+
""" True when the owner of this data is valid."""
|
|
582
491
|
|
|
583
492
|
is_wrapped: bool
|
|
584
|
-
""" True when this object wraps external data (read-only).
|
|
585
|
-
|
|
586
|
-
:type: bool
|
|
587
|
-
"""
|
|
493
|
+
""" True when this object wraps external data (read-only)."""
|
|
588
494
|
|
|
589
495
|
median_scale: float
|
|
590
|
-
""" The average scale applied to each axis (read-only).
|
|
591
|
-
|
|
592
|
-
:type: float
|
|
593
|
-
"""
|
|
496
|
+
""" The average scale applied to each axis (read-only)."""
|
|
594
497
|
|
|
595
498
|
owner: typing.Any
|
|
596
499
|
""" The item this is wrapping or None (read-only)."""
|
|
@@ -599,31 +502,30 @@ class Matrix:
|
|
|
599
502
|
""" Access the matrix by rows (default), (read-only)."""
|
|
600
503
|
|
|
601
504
|
translation: Vector
|
|
602
|
-
""" The translation component of the matrix.
|
|
603
|
-
|
|
604
|
-
:type: Vector
|
|
605
|
-
"""
|
|
505
|
+
""" The translation component of the matrix."""
|
|
606
506
|
|
|
607
507
|
@classmethod
|
|
608
508
|
def Diagonal(
|
|
609
|
-
cls,
|
|
509
|
+
cls,
|
|
510
|
+
vector: Vector | collections.abc.Sequence[float],
|
|
511
|
+
/,
|
|
610
512
|
) -> typing_extensions.Self:
|
|
611
513
|
"""Create a diagonal (scaling) matrix using the values from the vector.
|
|
612
514
|
|
|
613
515
|
:param vector: The vector of values for the diagonal.
|
|
614
|
-
:type vector: Vector | collections.abc.Sequence[float]
|
|
615
516
|
:return: A diagonal matrix.
|
|
616
|
-
:rtype: typing_extensions.Self
|
|
617
517
|
"""
|
|
618
518
|
|
|
619
519
|
@classmethod
|
|
620
|
-
def Identity(
|
|
520
|
+
def Identity(
|
|
521
|
+
cls,
|
|
522
|
+
size: int,
|
|
523
|
+
/,
|
|
524
|
+
) -> typing_extensions.Self:
|
|
621
525
|
"""Create an identity matrix.
|
|
622
526
|
|
|
623
527
|
:param size: The size of the identity matrix to construct [2, 4].
|
|
624
|
-
:type size: int
|
|
625
528
|
:return: A new identity matrix.
|
|
626
|
-
:rtype: typing_extensions.Self
|
|
627
529
|
"""
|
|
628
530
|
|
|
629
531
|
@classmethod
|
|
@@ -637,34 +539,33 @@ class Matrix:
|
|
|
637
539
|
| collections.abc.Sequence[float]
|
|
638
540
|
| typing_extensions.Self,
|
|
639
541
|
scale: None | Vector | collections.abc.Sequence[float],
|
|
542
|
+
/,
|
|
640
543
|
) -> typing_extensions.Self:
|
|
641
544
|
"""Create a matrix combining translation, rotation and scale,
|
|
642
545
|
acting as the inverse of the decompose() method.Any of the inputs may be replaced with None if not needed.
|
|
643
546
|
|
|
644
547
|
:param location: The translation component.
|
|
645
|
-
:type location: None | Vector | collections.abc.Sequence[float]
|
|
646
548
|
:param rotation: The rotation component as a 3x3 matrix, quaternion, euler or None for no rotation.
|
|
647
|
-
:type rotation: Euler | None | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
648
549
|
:param scale: The scale component.
|
|
649
|
-
:type scale: None | Vector | collections.abc.Sequence[float]
|
|
650
550
|
:return: Combined transformation as a 4x4 matrix.
|
|
651
|
-
:rtype: typing_extensions.Self
|
|
652
551
|
"""
|
|
653
552
|
|
|
654
553
|
@classmethod
|
|
655
554
|
def OrthoProjection(
|
|
656
|
-
cls,
|
|
555
|
+
cls,
|
|
556
|
+
axis: Vector
|
|
557
|
+
| collections.abc.Sequence[float]
|
|
558
|
+
| typing.Literal["X", "Y", "XY", "XZ", "YZ"],
|
|
559
|
+
size: int,
|
|
560
|
+
/,
|
|
657
561
|
) -> typing_extensions.Self:
|
|
658
562
|
"""Create a matrix to represent an orthographic projection.
|
|
659
563
|
|
|
660
|
-
:param axis:
|
|
564
|
+
:param axis: An axis string,
|
|
661
565
|
where a single axis is for a 2D matrix.
|
|
662
566
|
Or a vector for an arbitrary axis
|
|
663
|
-
:type axis: Vector | collections.abc.Sequence[float] | str
|
|
664
567
|
:param size: The size of the projection matrix to construct [2, 4].
|
|
665
|
-
:type size: int
|
|
666
568
|
:return: A new projection matrix.
|
|
667
|
-
:rtype: typing_extensions.Self
|
|
668
569
|
"""
|
|
669
570
|
|
|
670
571
|
@classmethod
|
|
@@ -672,19 +573,19 @@ class Matrix:
|
|
|
672
573
|
cls,
|
|
673
574
|
angle: float,
|
|
674
575
|
size: int,
|
|
675
|
-
axis: Vector
|
|
576
|
+
axis: Vector
|
|
577
|
+
| collections.abc.Sequence[float]
|
|
578
|
+
| typing.Literal["X", "Y", "Z"]
|
|
579
|
+
| None = [],
|
|
580
|
+
/,
|
|
676
581
|
) -> typing_extensions.Self:
|
|
677
582
|
"""Create a matrix representing a rotation.
|
|
678
583
|
|
|
679
584
|
:param angle: The angle of rotation desired, in radians.
|
|
680
|
-
:type angle: float
|
|
681
585
|
:param size: The size of the rotation matrix to construct [2, 4].
|
|
682
|
-
:
|
|
683
|
-
:param axis: a string in ['X', 'Y', 'Z'] or a 3D Vector Object
|
|
586
|
+
:param axis: an axis string or a 3D Vector Object
|
|
684
587
|
(optional when size is 2).
|
|
685
|
-
:type axis: Vector | collections.abc.Sequence[float] | str | None
|
|
686
588
|
:return: A new rotation matrix.
|
|
687
|
-
:rtype: typing_extensions.Self
|
|
688
589
|
"""
|
|
689
590
|
|
|
690
591
|
@classmethod
|
|
@@ -693,87 +594,79 @@ class Matrix:
|
|
|
693
594
|
factor: float,
|
|
694
595
|
size: int,
|
|
695
596
|
axis: Vector | collections.abc.Sequence[float] | None = [],
|
|
597
|
+
/,
|
|
696
598
|
) -> typing_extensions.Self:
|
|
697
599
|
"""Create a matrix representing a scaling.
|
|
698
600
|
|
|
699
601
|
:param factor: The factor of scaling to apply.
|
|
700
|
-
:type factor: float
|
|
701
602
|
:param size: The size of the scale matrix to construct [2, 4].
|
|
702
|
-
:type size: int
|
|
703
603
|
:param axis: Direction to influence scale. (optional).
|
|
704
|
-
:type axis: Vector | collections.abc.Sequence[float] | None
|
|
705
604
|
:return: A new scale matrix.
|
|
706
|
-
:rtype: typing_extensions.Self
|
|
707
605
|
"""
|
|
708
606
|
|
|
709
607
|
@classmethod
|
|
710
608
|
def Shear(
|
|
711
|
-
cls,
|
|
609
|
+
cls,
|
|
610
|
+
plane: typing.Literal["X", "Y", "XY", "XZ", "YZ"],
|
|
611
|
+
size: int,
|
|
612
|
+
factor: collections.abc.Sequence[float] | float,
|
|
613
|
+
/,
|
|
712
614
|
) -> typing_extensions.Self:
|
|
713
|
-
"""Create a matrix to represent
|
|
615
|
+
"""Create a matrix to represent a shear transformation.
|
|
714
616
|
|
|
715
|
-
:param plane:
|
|
617
|
+
:param plane: An axis string,
|
|
716
618
|
where a single axis is for a 2D matrix only.
|
|
717
|
-
:type plane: str
|
|
718
619
|
:param size: The size of the shear matrix to construct [2, 4].
|
|
719
|
-
:type size: int
|
|
720
620
|
:param factor: The factor of shear to apply. For a 2 size matrix use a single float. For a 3 or 4 size matrix pass a pair of floats corresponding with the plane axis.
|
|
721
|
-
:type factor: collections.abc.Sequence[float] | float
|
|
722
621
|
:return: A new shear matrix.
|
|
723
|
-
:rtype: typing_extensions.Self
|
|
724
622
|
"""
|
|
725
623
|
|
|
726
624
|
@classmethod
|
|
727
625
|
def Translation(
|
|
728
|
-
cls,
|
|
626
|
+
cls,
|
|
627
|
+
vector: Vector | collections.abc.Sequence[float],
|
|
628
|
+
/,
|
|
729
629
|
) -> typing_extensions.Self:
|
|
730
630
|
"""Create a matrix representing a translation.
|
|
731
631
|
|
|
732
632
|
:param vector: The translation vector.
|
|
733
|
-
:type vector: Vector | collections.abc.Sequence[float]
|
|
734
633
|
:return: An identity matrix with a translation.
|
|
735
|
-
:rtype: typing_extensions.Self
|
|
736
634
|
"""
|
|
737
635
|
|
|
738
|
-
def adjugate(self):
|
|
636
|
+
def adjugate(self) -> None:
|
|
739
637
|
"""Set the matrix to its adjugate.`Adjugate matrix <https://en.wikipedia.org/wiki/Adjugate_matrix>`__ on Wikipedia."""
|
|
740
638
|
|
|
741
639
|
def adjugated(self) -> typing_extensions.Self:
|
|
742
640
|
"""Return an adjugated copy of the matrix.
|
|
743
641
|
|
|
744
642
|
:return: the adjugated matrix.
|
|
745
|
-
:rtype: typing_extensions.Self
|
|
746
643
|
"""
|
|
747
644
|
|
|
748
645
|
def copy(self) -> typing_extensions.Self:
|
|
749
646
|
"""Returns a copy of this matrix.
|
|
750
647
|
|
|
751
648
|
:return: an instance of itself
|
|
752
|
-
:rtype: typing_extensions.Self
|
|
753
649
|
"""
|
|
754
650
|
|
|
755
651
|
def decompose(self) -> tuple[Vector, Quaternion, Vector]:
|
|
756
652
|
"""Return the translation, rotation, and scale components of this matrix.
|
|
757
653
|
|
|
758
654
|
:return: Tuple of translation, rotation, and scale.
|
|
759
|
-
:rtype: tuple[Vector, Quaternion, Vector]
|
|
760
655
|
"""
|
|
761
656
|
|
|
762
657
|
def determinant(self) -> float:
|
|
763
658
|
"""Return the determinant of a matrix.`Determinant <https://en.wikipedia.org/wiki/Determinant>`__ on Wikipedia.
|
|
764
659
|
|
|
765
660
|
:return: Return the determinant of a matrix.
|
|
766
|
-
:rtype: float
|
|
767
661
|
"""
|
|
768
662
|
|
|
769
663
|
def freeze(self) -> typing_extensions.Self:
|
|
770
664
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
771
665
|
|
|
772
666
|
:return: An instance of this object.
|
|
773
|
-
:rtype: typing_extensions.Self
|
|
774
667
|
"""
|
|
775
668
|
|
|
776
|
-
def identity(self):
|
|
669
|
+
def identity(self) -> None:
|
|
777
670
|
"""Set the matrix to the identity matrix.`Identity matrix <https://en.wikipedia.org/wiki/Identity_matrix>`__ on Wikipedia."""
|
|
778
671
|
|
|
779
672
|
def invert(
|
|
@@ -781,15 +674,15 @@ class Matrix:
|
|
|
781
674
|
fallback: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
782
675
|
| typing_extensions.Self
|
|
783
676
|
| None = None,
|
|
784
|
-
|
|
677
|
+
/,
|
|
678
|
+
) -> None:
|
|
785
679
|
"""Set the matrix to its inverse.`Inverse matrix <https://en.wikipedia.org/wiki/Inverse_matrix>`__ on Wikipedia.
|
|
786
680
|
|
|
787
681
|
:param fallback: Set the matrix to this value when the inverse cannot be calculated
|
|
788
682
|
(instead of raising a `ValueError` exception).
|
|
789
|
-
:type fallback: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self | None
|
|
790
683
|
"""
|
|
791
684
|
|
|
792
|
-
def invert_safe(self):
|
|
685
|
+
def invert_safe(self) -> None:
|
|
793
686
|
"""Set the matrix to its inverse, will never error.
|
|
794
687
|
If degenerated (e.g. zero scale on an axis), add some epsilon to its diagonal, to get an invertible one.
|
|
795
688
|
If tweaked matrix is still degenerated, set to the identity matrix instead.`Inverse Matrix <https://en.wikipedia.org/wiki/Inverse_matrix>`__ on Wikipedia.
|
|
@@ -797,15 +690,15 @@ class Matrix:
|
|
|
797
690
|
"""
|
|
798
691
|
|
|
799
692
|
def inverted(
|
|
800
|
-
self,
|
|
693
|
+
self,
|
|
694
|
+
fallback: typing.Any | None = None,
|
|
695
|
+
/,
|
|
801
696
|
) -> typing.Any | typing_extensions.Self:
|
|
802
697
|
"""Return an inverted copy of the matrix.
|
|
803
698
|
|
|
804
|
-
:param fallback: return this when the inverse
|
|
699
|
+
:param fallback: return this when the inverse cant be calculated
|
|
805
700
|
(instead of raising a `ValueError`).
|
|
806
|
-
:type fallback: typing.Any | None
|
|
807
701
|
:return: The inverted matrix or fallback when given.
|
|
808
|
-
:rtype: typing.Any | typing_extensions.Self
|
|
809
702
|
"""
|
|
810
703
|
|
|
811
704
|
def inverted_safe(self) -> typing_extensions.Self:
|
|
@@ -814,7 +707,6 @@ class Matrix:
|
|
|
814
707
|
If tweaked matrix is still degenerated, return the identity matrix instead.
|
|
815
708
|
|
|
816
709
|
:return: the inverted matrix.
|
|
817
|
-
:rtype: typing_extensions.Self
|
|
818
710
|
"""
|
|
819
711
|
|
|
820
712
|
def lerp(
|
|
@@ -822,28 +714,25 @@ class Matrix:
|
|
|
822
714
|
other: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
823
715
|
| typing_extensions.Self,
|
|
824
716
|
factor: float,
|
|
717
|
+
/,
|
|
825
718
|
) -> typing_extensions.Self:
|
|
826
719
|
"""Returns the interpolation of two matrices. Uses polar decomposition, see "Matrix Animation and Polar Decomposition", Shoemake and Duff, 1992.
|
|
827
720
|
|
|
828
721
|
:param other: value to interpolate with.
|
|
829
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
830
722
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
831
|
-
:type factor: float
|
|
832
723
|
:return: The interpolated matrix.
|
|
833
|
-
:rtype: typing_extensions.Self
|
|
834
724
|
"""
|
|
835
725
|
|
|
836
|
-
def normalize(self):
|
|
726
|
+
def normalize(self) -> None:
|
|
837
727
|
"""Normalize each of the matrix columns."""
|
|
838
728
|
|
|
839
729
|
def normalized(self) -> typing_extensions.Self:
|
|
840
730
|
"""Return a column normalized matrix
|
|
841
731
|
|
|
842
732
|
:return: a column normalized matrix
|
|
843
|
-
:rtype: typing_extensions.Self
|
|
844
733
|
"""
|
|
845
734
|
|
|
846
|
-
def resize_4x4(self):
|
|
735
|
+
def resize_4x4(self) -> None:
|
|
847
736
|
"""Resize the matrix to 4x4."""
|
|
848
737
|
|
|
849
738
|
def rotate(
|
|
@@ -853,85 +742,75 @@ class Matrix:
|
|
|
853
742
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
854
743
|
| collections.abc.Sequence[float]
|
|
855
744
|
| typing_extensions.Self,
|
|
856
|
-
|
|
745
|
+
/,
|
|
746
|
+
) -> None:
|
|
857
747
|
"""Rotates the matrix by another mathutils value.
|
|
858
748
|
|
|
859
749
|
:param other: rotation component of mathutils value
|
|
860
|
-
:type other: Euler | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
861
750
|
"""
|
|
862
751
|
|
|
863
752
|
def to_2x2(self) -> typing_extensions.Self:
|
|
864
753
|
"""Return a 2x2 copy of this matrix.
|
|
865
754
|
|
|
866
755
|
:return: a new matrix.
|
|
867
|
-
:rtype: typing_extensions.Self
|
|
868
756
|
"""
|
|
869
757
|
|
|
870
758
|
def to_3x3(self) -> typing_extensions.Self:
|
|
871
759
|
"""Return a 3x3 copy of this matrix.
|
|
872
760
|
|
|
873
761
|
:return: a new matrix.
|
|
874
|
-
:rtype: typing_extensions.Self
|
|
875
762
|
"""
|
|
876
763
|
|
|
877
764
|
def to_4x4(self) -> typing_extensions.Self:
|
|
878
765
|
"""Return a 4x4 copy of this matrix.
|
|
879
766
|
|
|
880
767
|
:return: a new matrix.
|
|
881
|
-
:rtype: typing_extensions.Self
|
|
882
768
|
"""
|
|
883
769
|
|
|
884
770
|
def to_euler(
|
|
885
771
|
self,
|
|
886
|
-
order
|
|
887
|
-
euler_compat: Euler | collections.abc.Sequence[float] | None =
|
|
772
|
+
order="XYZ",
|
|
773
|
+
euler_compat: Euler | collections.abc.Sequence[float] | None = None,
|
|
774
|
+
/,
|
|
888
775
|
) -> Euler:
|
|
889
776
|
"""Return an Euler representation of the rotation matrix
|
|
890
777
|
(3x3 or 4x4 matrix only).
|
|
891
778
|
|
|
892
|
-
:param order:
|
|
893
|
-
['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX'].
|
|
894
|
-
:type order: str | None
|
|
779
|
+
:param order: A rotation order string. :type order: Literal[XYZ, XZY, YXZ, YZX, ZXY, ZYX]
|
|
895
780
|
:param euler_compat: Optional euler argument the new euler will be made
|
|
896
781
|
compatible with (no axis flipping between them).
|
|
897
782
|
Useful for converting a series of matrices to animation curves.
|
|
898
|
-
:type euler_compat: Euler | collections.abc.Sequence[float] | None
|
|
899
783
|
:return: Euler representation of the matrix.
|
|
900
|
-
:rtype: Euler
|
|
901
784
|
"""
|
|
902
785
|
|
|
903
786
|
def to_quaternion(self) -> Quaternion:
|
|
904
787
|
"""Return a quaternion representation of the rotation matrix.
|
|
905
788
|
|
|
906
789
|
:return: Quaternion representation of the rotation matrix.
|
|
907
|
-
:rtype: Quaternion
|
|
908
790
|
"""
|
|
909
791
|
|
|
910
792
|
def to_scale(self) -> Vector:
|
|
911
793
|
"""Return the scale part of a 3x3 or 4x4 matrix.
|
|
912
794
|
|
|
913
795
|
:return: Return the scale of a matrix.
|
|
914
|
-
:rtype: Vector
|
|
915
796
|
"""
|
|
916
797
|
|
|
917
798
|
def to_translation(self) -> Vector:
|
|
918
799
|
"""Return the translation part of a 4 row matrix.
|
|
919
800
|
|
|
920
801
|
:return: Return the translation of a matrix.
|
|
921
|
-
:rtype: Vector
|
|
922
802
|
"""
|
|
923
803
|
|
|
924
|
-
def transpose(self):
|
|
804
|
+
def transpose(self) -> None:
|
|
925
805
|
"""Set the matrix to its transpose.`Transpose <https://en.wikipedia.org/wiki/Transpose>`__ on Wikipedia."""
|
|
926
806
|
|
|
927
807
|
def transposed(self) -> typing_extensions.Self:
|
|
928
808
|
"""Return a new, transposed matrix.
|
|
929
809
|
|
|
930
810
|
:return: a transposed matrix
|
|
931
|
-
:rtype: typing_extensions.Self
|
|
932
811
|
"""
|
|
933
812
|
|
|
934
|
-
def zero(self):
|
|
813
|
+
def zero(self) -> None:
|
|
935
814
|
"""Set all the matrix values to zero."""
|
|
936
815
|
|
|
937
816
|
def __init__(
|
|
@@ -942,11 +821,10 @@ class Matrix:
|
|
|
942
821
|
(0.0, 0.0, 1.0, 0.0),
|
|
943
822
|
(0.0, 0.0, 0.0, 1.0),
|
|
944
823
|
),
|
|
945
|
-
):
|
|
824
|
+
) -> None:
|
|
946
825
|
"""
|
|
947
826
|
|
|
948
827
|
:param rows:
|
|
949
|
-
:type rows: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
950
828
|
"""
|
|
951
829
|
|
|
952
830
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -955,7 +833,6 @@ class Matrix:
|
|
|
955
833
|
:param instance:
|
|
956
834
|
:param owner:
|
|
957
835
|
:return:
|
|
958
|
-
:rtype: typing_extensions.Self
|
|
959
836
|
"""
|
|
960
837
|
|
|
961
838
|
def __set__(
|
|
@@ -963,12 +840,11 @@ class Matrix:
|
|
|
963
840
|
instance,
|
|
964
841
|
value: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
965
842
|
| typing_extensions.Self,
|
|
966
|
-
):
|
|
843
|
+
) -> None:
|
|
967
844
|
"""
|
|
968
845
|
|
|
969
846
|
:param instance:
|
|
970
847
|
:param value:
|
|
971
|
-
:type value: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
972
848
|
"""
|
|
973
849
|
|
|
974
850
|
@typing.overload
|
|
@@ -976,9 +852,7 @@ class Matrix:
|
|
|
976
852
|
"""
|
|
977
853
|
|
|
978
854
|
:param key:
|
|
979
|
-
:type key: int
|
|
980
855
|
:return:
|
|
981
|
-
:rtype: Vector
|
|
982
856
|
"""
|
|
983
857
|
|
|
984
858
|
@typing.overload
|
|
@@ -986,19 +860,17 @@ class Matrix:
|
|
|
986
860
|
"""
|
|
987
861
|
|
|
988
862
|
:param key:
|
|
989
|
-
:type key: slice
|
|
990
863
|
:return:
|
|
991
|
-
:rtype: tuple[Vector, ...]
|
|
992
864
|
"""
|
|
993
865
|
|
|
994
866
|
@typing.overload
|
|
995
|
-
def __setitem__(
|
|
867
|
+
def __setitem__(
|
|
868
|
+
self, key: int, value: Vector | collections.abc.Iterable[float]
|
|
869
|
+
) -> None:
|
|
996
870
|
"""
|
|
997
871
|
|
|
998
872
|
:param key:
|
|
999
|
-
:type key: int
|
|
1000
873
|
:param value:
|
|
1001
|
-
:type value: Vector | collections.abc.Iterable[float]
|
|
1002
874
|
"""
|
|
1003
875
|
|
|
1004
876
|
@typing.overload
|
|
@@ -1007,20 +879,17 @@ class Matrix:
|
|
|
1007
879
|
key: slice,
|
|
1008
880
|
value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]]
|
|
1009
881
|
| Matrix,
|
|
1010
|
-
):
|
|
882
|
+
) -> None:
|
|
1011
883
|
"""
|
|
1012
884
|
|
|
1013
885
|
:param key:
|
|
1014
|
-
:type key: slice
|
|
1015
886
|
:param value:
|
|
1016
|
-
:type value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]] | Matrix
|
|
1017
887
|
"""
|
|
1018
888
|
|
|
1019
889
|
def __len__(self) -> int:
|
|
1020
890
|
"""
|
|
1021
891
|
|
|
1022
892
|
:return:
|
|
1023
|
-
:rtype: int
|
|
1024
893
|
"""
|
|
1025
894
|
|
|
1026
895
|
def __add__(
|
|
@@ -1031,9 +900,7 @@ class Matrix:
|
|
|
1031
900
|
"""
|
|
1032
901
|
|
|
1033
902
|
:param other:
|
|
1034
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1035
903
|
:return:
|
|
1036
|
-
:rtype: typing_extensions.Self
|
|
1037
904
|
"""
|
|
1038
905
|
|
|
1039
906
|
def __sub__(
|
|
@@ -1044,18 +911,14 @@ class Matrix:
|
|
|
1044
911
|
"""
|
|
1045
912
|
|
|
1046
913
|
:param other:
|
|
1047
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1048
914
|
:return:
|
|
1049
|
-
:rtype: typing_extensions.Self
|
|
1050
915
|
"""
|
|
1051
916
|
|
|
1052
917
|
def __mul__(self, other: float) -> typing_extensions.Self:
|
|
1053
918
|
"""
|
|
1054
919
|
|
|
1055
920
|
:param other:
|
|
1056
|
-
:type other: float
|
|
1057
921
|
:return:
|
|
1058
|
-
:rtype: typing_extensions.Self
|
|
1059
922
|
"""
|
|
1060
923
|
|
|
1061
924
|
@typing.overload
|
|
@@ -1067,9 +930,7 @@ class Matrix:
|
|
|
1067
930
|
"""
|
|
1068
931
|
|
|
1069
932
|
:param other:
|
|
1070
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1071
933
|
:return:
|
|
1072
|
-
:rtype: typing_extensions.Self
|
|
1073
934
|
"""
|
|
1074
935
|
|
|
1075
936
|
@typing.overload
|
|
@@ -1077,9 +938,7 @@ class Matrix:
|
|
|
1077
938
|
"""
|
|
1078
939
|
|
|
1079
940
|
:param other:
|
|
1080
|
-
:type other: Vector | collections.abc.Sequence[float]
|
|
1081
941
|
:return:
|
|
1082
|
-
:rtype: Vector
|
|
1083
942
|
"""
|
|
1084
943
|
|
|
1085
944
|
def __radd__(
|
|
@@ -1090,9 +949,7 @@ class Matrix:
|
|
|
1090
949
|
"""
|
|
1091
950
|
|
|
1092
951
|
:param other:
|
|
1093
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1094
952
|
:return:
|
|
1095
|
-
:rtype: typing_extensions.Self
|
|
1096
953
|
"""
|
|
1097
954
|
|
|
1098
955
|
def __rsub__(
|
|
@@ -1103,172 +960,135 @@ class Matrix:
|
|
|
1103
960
|
"""
|
|
1104
961
|
|
|
1105
962
|
:param other:
|
|
1106
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1107
963
|
:return:
|
|
1108
|
-
:rtype: typing_extensions.Self
|
|
1109
964
|
"""
|
|
1110
965
|
|
|
1111
966
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
1112
967
|
"""
|
|
1113
968
|
|
|
1114
969
|
:param other:
|
|
1115
|
-
:type other: float
|
|
1116
970
|
:return:
|
|
1117
|
-
:rtype: typing_extensions.Self
|
|
1118
971
|
"""
|
|
1119
972
|
|
|
1120
973
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
1121
974
|
"""
|
|
1122
975
|
|
|
1123
976
|
:param other:
|
|
1124
|
-
:type other: float
|
|
1125
977
|
:return:
|
|
1126
|
-
:rtype: typing_extensions.Self
|
|
1127
978
|
"""
|
|
1128
979
|
|
|
1129
980
|
class Quaternion:
|
|
1130
981
|
"""This object gives access to Quaternions in Blender.The constructor takes arguments in various forms:"""
|
|
1131
982
|
|
|
1132
983
|
angle: float
|
|
1133
|
-
""" Angle of the quaternion.
|
|
1134
|
-
|
|
1135
|
-
:type: float
|
|
1136
|
-
"""
|
|
984
|
+
""" Angle of the quaternion."""
|
|
1137
985
|
|
|
1138
986
|
axis: Vector
|
|
1139
|
-
""" Quaternion axis as a vector.
|
|
1140
|
-
|
|
1141
|
-
:type: Vector
|
|
1142
|
-
"""
|
|
987
|
+
""" Quaternion axis as a vector."""
|
|
1143
988
|
|
|
1144
989
|
is_frozen: bool
|
|
1145
|
-
""" True when this object has been frozen (read-only).
|
|
1146
|
-
|
|
1147
|
-
:type: bool
|
|
1148
|
-
"""
|
|
990
|
+
""" True when this object has been frozen (read-only)."""
|
|
1149
991
|
|
|
1150
992
|
is_valid: bool
|
|
1151
|
-
""" True when the owner of this data is valid.
|
|
1152
|
-
|
|
1153
|
-
:type: bool
|
|
1154
|
-
"""
|
|
993
|
+
""" True when the owner of this data is valid."""
|
|
1155
994
|
|
|
1156
995
|
is_wrapped: bool
|
|
1157
|
-
""" True when this object wraps external data (read-only).
|
|
1158
|
-
|
|
1159
|
-
:type: bool
|
|
1160
|
-
"""
|
|
996
|
+
""" True when this object wraps external data (read-only)."""
|
|
1161
997
|
|
|
1162
998
|
magnitude: float
|
|
1163
|
-
""" Size of the quaternion (read-only).
|
|
1164
|
-
|
|
1165
|
-
:type: float
|
|
1166
|
-
"""
|
|
999
|
+
""" Size of the quaternion (read-only)."""
|
|
1167
1000
|
|
|
1168
1001
|
owner: typing.Any
|
|
1169
1002
|
""" The item this is wrapping or None (read-only)."""
|
|
1170
1003
|
|
|
1171
1004
|
w: float
|
|
1172
|
-
""" Quaternion axis value.
|
|
1173
|
-
|
|
1174
|
-
:type: float
|
|
1175
|
-
"""
|
|
1005
|
+
""" Quaternion axis value."""
|
|
1176
1006
|
|
|
1177
1007
|
x: float
|
|
1178
|
-
""" Quaternion axis value.
|
|
1179
|
-
|
|
1180
|
-
:type: float
|
|
1181
|
-
"""
|
|
1008
|
+
""" Quaternion axis value."""
|
|
1182
1009
|
|
|
1183
1010
|
y: float
|
|
1184
|
-
""" Quaternion axis value.
|
|
1185
|
-
|
|
1186
|
-
:type: float
|
|
1187
|
-
"""
|
|
1011
|
+
""" Quaternion axis value."""
|
|
1188
1012
|
|
|
1189
1013
|
z: float
|
|
1190
|
-
""" Quaternion axis value.
|
|
1191
|
-
|
|
1192
|
-
:type: float
|
|
1193
|
-
"""
|
|
1014
|
+
""" Quaternion axis value."""
|
|
1194
1015
|
|
|
1195
|
-
def conjugate(self):
|
|
1016
|
+
def conjugate(self) -> None:
|
|
1196
1017
|
"""Set the quaternion to its conjugate (negate x, y, z)."""
|
|
1197
1018
|
|
|
1198
1019
|
def conjugated(self) -> typing_extensions.Self:
|
|
1199
1020
|
"""Return a new conjugated quaternion.
|
|
1200
1021
|
|
|
1201
1022
|
:return: a new quaternion.
|
|
1202
|
-
:rtype: typing_extensions.Self
|
|
1203
1023
|
"""
|
|
1204
1024
|
|
|
1205
1025
|
def copy(self) -> typing_extensions.Self:
|
|
1206
1026
|
"""Returns a copy of this quaternion.
|
|
1207
1027
|
|
|
1208
1028
|
:return: A copy of the quaternion.
|
|
1209
|
-
:rtype: typing_extensions.Self
|
|
1210
1029
|
"""
|
|
1211
1030
|
|
|
1212
1031
|
def cross(
|
|
1213
|
-
self,
|
|
1032
|
+
self,
|
|
1033
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1034
|
+
/,
|
|
1214
1035
|
) -> typing_extensions.Self:
|
|
1215
1036
|
"""Return the cross product of this quaternion and another.
|
|
1216
1037
|
|
|
1217
1038
|
:param other: The other quaternion to perform the cross product with.
|
|
1218
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1219
1039
|
:return: The cross product.
|
|
1220
|
-
:rtype: typing_extensions.Self
|
|
1221
1040
|
"""
|
|
1222
1041
|
|
|
1223
1042
|
def dot(
|
|
1224
|
-
self,
|
|
1043
|
+
self,
|
|
1044
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1045
|
+
/,
|
|
1225
1046
|
) -> float:
|
|
1226
1047
|
"""Return the dot product of this quaternion and another.
|
|
1227
1048
|
|
|
1228
1049
|
:param other: The other quaternion to perform the dot product with.
|
|
1229
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1230
1050
|
:return: The dot product.
|
|
1231
|
-
:rtype: float
|
|
1232
1051
|
"""
|
|
1233
1052
|
|
|
1234
1053
|
def freeze(self) -> typing_extensions.Self:
|
|
1235
1054
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
1236
1055
|
|
|
1237
1056
|
:return: An instance of this object.
|
|
1238
|
-
:rtype: typing_extensions.Self
|
|
1239
1057
|
"""
|
|
1240
1058
|
|
|
1241
|
-
def identity(self):
|
|
1059
|
+
def identity(self) -> None:
|
|
1242
1060
|
"""Set the quaternion to an identity quaternion."""
|
|
1243
1061
|
|
|
1244
|
-
def invert(self):
|
|
1062
|
+
def invert(self) -> None:
|
|
1245
1063
|
"""Set the quaternion to its inverse."""
|
|
1246
1064
|
|
|
1247
1065
|
def inverted(self) -> typing_extensions.Self:
|
|
1248
1066
|
"""Return a new, inverted quaternion.
|
|
1249
1067
|
|
|
1250
1068
|
:return: the inverted value.
|
|
1251
|
-
:rtype: typing_extensions.Self
|
|
1252
1069
|
"""
|
|
1253
1070
|
|
|
1254
|
-
def make_compatible(
|
|
1071
|
+
def make_compatible(
|
|
1072
|
+
self,
|
|
1073
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1074
|
+
/,
|
|
1075
|
+
) -> None:
|
|
1255
1076
|
"""Make this quaternion compatible with another,
|
|
1256
1077
|
so interpolating between them works as intended.
|
|
1257
1078
|
|
|
1258
|
-
:param other:
|
|
1079
|
+
:param other: The other quaternion to make compatible with.
|
|
1259
1080
|
"""
|
|
1260
1081
|
|
|
1261
|
-
def negate(self):
|
|
1082
|
+
def negate(self) -> None:
|
|
1262
1083
|
"""Set the quaternion to its negative."""
|
|
1263
1084
|
|
|
1264
|
-
def normalize(self):
|
|
1085
|
+
def normalize(self) -> None:
|
|
1265
1086
|
"""Normalize the quaternion."""
|
|
1266
1087
|
|
|
1267
1088
|
def normalized(self) -> typing_extensions.Self:
|
|
1268
1089
|
"""Return a new normalized quaternion.
|
|
1269
1090
|
|
|
1270
1091
|
:return: a normalized copy.
|
|
1271
|
-
:rtype: typing_extensions.Self
|
|
1272
1092
|
"""
|
|
1273
1093
|
|
|
1274
1094
|
def rotate(
|
|
@@ -1278,66 +1098,60 @@ class Quaternion:
|
|
|
1278
1098
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1279
1099
|
| collections.abc.Sequence[float]
|
|
1280
1100
|
| typing_extensions.Self,
|
|
1281
|
-
|
|
1101
|
+
/,
|
|
1102
|
+
) -> None:
|
|
1282
1103
|
"""Rotates the quaternion by another mathutils value.
|
|
1283
1104
|
|
|
1284
1105
|
:param other: rotation component of mathutils value
|
|
1285
|
-
:type other: Euler | Matrix | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
1286
1106
|
"""
|
|
1287
1107
|
|
|
1288
1108
|
def rotation_difference(
|
|
1289
|
-
self,
|
|
1109
|
+
self,
|
|
1110
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1111
|
+
/,
|
|
1290
1112
|
) -> typing_extensions.Self:
|
|
1291
1113
|
"""Returns a quaternion representing the rotational difference.
|
|
1292
1114
|
|
|
1293
1115
|
:param other: second quaternion.
|
|
1294
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1295
1116
|
:return: the rotational difference between the two quat rotations.
|
|
1296
|
-
:rtype: typing_extensions.Self
|
|
1297
1117
|
"""
|
|
1298
1118
|
|
|
1299
1119
|
def slerp(
|
|
1300
1120
|
self,
|
|
1301
1121
|
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1302
1122
|
factor: float,
|
|
1123
|
+
/,
|
|
1303
1124
|
) -> typing_extensions.Self:
|
|
1304
1125
|
"""Returns the interpolation of two quaternions.
|
|
1305
1126
|
|
|
1306
1127
|
:param other: value to interpolate with.
|
|
1307
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1308
1128
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
1309
|
-
:type factor: float
|
|
1310
1129
|
:return: The interpolated rotation.
|
|
1311
|
-
:rtype: typing_extensions.Self
|
|
1312
1130
|
"""
|
|
1313
1131
|
|
|
1314
1132
|
def to_axis_angle(self) -> tuple[Vector, float]:
|
|
1315
1133
|
"""Return the axis, angle representation of the quaternion.
|
|
1316
1134
|
|
|
1317
1135
|
:return: Axis, angle.
|
|
1318
|
-
:rtype: tuple[Vector, float]
|
|
1319
1136
|
"""
|
|
1320
1137
|
|
|
1321
1138
|
def to_euler(
|
|
1322
1139
|
self,
|
|
1323
|
-
order:
|
|
1324
|
-
euler_compat: Euler | collections.abc.Sequence[float] | None =
|
|
1140
|
+
order: typing.Literal["XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX"] = "XYZ",
|
|
1141
|
+
euler_compat: Euler | collections.abc.Sequence[float] | None = None,
|
|
1142
|
+
/,
|
|
1325
1143
|
) -> Euler:
|
|
1326
1144
|
"""Return Euler representation of the quaternion.
|
|
1327
1145
|
|
|
1328
|
-
:param order:
|
|
1329
|
-
['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX'].
|
|
1330
|
-
:type order: str | None
|
|
1146
|
+
:param order: Rotation order.
|
|
1331
1147
|
:param euler_compat: Optional euler argument the new euler will be made
|
|
1332
1148
|
compatible with (no axis flipping between them).
|
|
1333
1149
|
Useful for converting a series of matrices to animation curves.
|
|
1334
|
-
:type euler_compat: Euler | collections.abc.Sequence[float] | None
|
|
1335
1150
|
:return: Euler representation of the quaternion.
|
|
1336
|
-
:rtype: Euler
|
|
1337
1151
|
"""
|
|
1338
1152
|
|
|
1339
|
-
def to_exponential_map(self):
|
|
1340
|
-
"""Return the exponential map representation of the quaternion.This representation
|
|
1153
|
+
def to_exponential_map(self) -> None:
|
|
1154
|
+
"""Return the exponential map representation of the quaternion.This representation consists of the rotation axis multiplied by the rotation angle.
|
|
1341
1155
|
Such a representation is useful for interpolation between multiple orientations.To convert back to a quaternion, pass it to the `Quaternion` constructor.
|
|
1342
1156
|
|
|
1343
1157
|
:return: exponential map.
|
|
@@ -1347,30 +1161,29 @@ class Quaternion:
|
|
|
1347
1161
|
"""Return a matrix representation of the quaternion.
|
|
1348
1162
|
|
|
1349
1163
|
:return: A 3x3 rotation matrix representation of the quaternion.
|
|
1350
|
-
:rtype: Matrix
|
|
1351
1164
|
"""
|
|
1352
1165
|
|
|
1353
|
-
def to_swing_twist(
|
|
1166
|
+
def to_swing_twist(
|
|
1167
|
+
self,
|
|
1168
|
+
axis: typing.Literal["X", "Y", "Z"],
|
|
1169
|
+
/,
|
|
1170
|
+
) -> tuple[Quaternion, float]:
|
|
1354
1171
|
"""Split the rotation into a swing quaternion with the specified
|
|
1355
1172
|
axis fixed at zero, and the remaining twist rotation angle.
|
|
1356
1173
|
|
|
1357
|
-
:param axis: Twist axis as a string
|
|
1358
|
-
:type axis: str
|
|
1174
|
+
:param axis: Twist axis as a string.
|
|
1359
1175
|
:return: Swing, twist angle.
|
|
1360
|
-
:rtype: tuple[Quaternion, float]
|
|
1361
1176
|
"""
|
|
1362
1177
|
|
|
1363
1178
|
def __init__(
|
|
1364
1179
|
self,
|
|
1365
1180
|
seq: Vector | collections.abc.Sequence[float] = (1.0, 0.0, 0.0, 0.0),
|
|
1366
1181
|
angle: float = 0.0,
|
|
1367
|
-
):
|
|
1182
|
+
) -> None:
|
|
1368
1183
|
"""
|
|
1369
1184
|
|
|
1370
1185
|
:param seq:
|
|
1371
|
-
:type seq: Vector | collections.abc.Sequence[float]
|
|
1372
1186
|
:param angle:
|
|
1373
|
-
:type angle: float
|
|
1374
1187
|
"""
|
|
1375
1188
|
|
|
1376
1189
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -1379,24 +1192,21 @@ class Quaternion:
|
|
|
1379
1192
|
:param instance:
|
|
1380
1193
|
:param owner:
|
|
1381
1194
|
:return:
|
|
1382
|
-
:rtype: typing_extensions.Self
|
|
1383
1195
|
"""
|
|
1384
1196
|
|
|
1385
1197
|
def __set__(
|
|
1386
1198
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1387
|
-
):
|
|
1199
|
+
) -> None:
|
|
1388
1200
|
"""
|
|
1389
1201
|
|
|
1390
1202
|
:param instance:
|
|
1391
1203
|
:param value:
|
|
1392
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1393
1204
|
"""
|
|
1394
1205
|
|
|
1395
1206
|
def __len__(self) -> int:
|
|
1396
1207
|
"""
|
|
1397
1208
|
|
|
1398
1209
|
:return:
|
|
1399
|
-
:rtype: int
|
|
1400
1210
|
"""
|
|
1401
1211
|
|
|
1402
1212
|
@typing.overload
|
|
@@ -1404,9 +1214,7 @@ class Quaternion:
|
|
|
1404
1214
|
"""
|
|
1405
1215
|
|
|
1406
1216
|
:param key:
|
|
1407
|
-
:type key: int
|
|
1408
1217
|
:return:
|
|
1409
|
-
:rtype: float
|
|
1410
1218
|
"""
|
|
1411
1219
|
|
|
1412
1220
|
@typing.overload
|
|
@@ -1414,31 +1222,25 @@ class Quaternion:
|
|
|
1414
1222
|
"""
|
|
1415
1223
|
|
|
1416
1224
|
:param key:
|
|
1417
|
-
:type key: slice
|
|
1418
1225
|
:return:
|
|
1419
|
-
:rtype: tuple[float, ...]
|
|
1420
1226
|
"""
|
|
1421
1227
|
|
|
1422
1228
|
@typing.overload
|
|
1423
|
-
def __setitem__(self, key: int, value: float):
|
|
1229
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
1424
1230
|
"""
|
|
1425
1231
|
|
|
1426
1232
|
:param key:
|
|
1427
|
-
:type key: int
|
|
1428
1233
|
:param value:
|
|
1429
|
-
:type value: float
|
|
1430
1234
|
"""
|
|
1431
1235
|
|
|
1432
1236
|
@typing.overload
|
|
1433
1237
|
def __setitem__(
|
|
1434
1238
|
self, key: slice, value: collections.abc.Iterable[float] | Quaternion
|
|
1435
|
-
):
|
|
1239
|
+
) -> None:
|
|
1436
1240
|
"""
|
|
1437
1241
|
|
|
1438
1242
|
:param key:
|
|
1439
|
-
:type key: slice
|
|
1440
1243
|
:param value:
|
|
1441
|
-
:type value: collections.abc.Iterable[float] | Quaternion
|
|
1442
1244
|
"""
|
|
1443
1245
|
|
|
1444
1246
|
def __add__(
|
|
@@ -1447,9 +1249,7 @@ class Quaternion:
|
|
|
1447
1249
|
"""
|
|
1448
1250
|
|
|
1449
1251
|
:param other:
|
|
1450
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1451
1252
|
:return:
|
|
1452
|
-
:rtype: typing_extensions.Self
|
|
1453
1253
|
"""
|
|
1454
1254
|
|
|
1455
1255
|
def __sub__(
|
|
@@ -1458,9 +1258,7 @@ class Quaternion:
|
|
|
1458
1258
|
"""
|
|
1459
1259
|
|
|
1460
1260
|
:param other:
|
|
1461
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1462
1261
|
:return:
|
|
1463
|
-
:rtype: typing_extensions.Self
|
|
1464
1262
|
"""
|
|
1465
1263
|
|
|
1466
1264
|
def __mul__(
|
|
@@ -1469,31 +1267,23 @@ class Quaternion:
|
|
|
1469
1267
|
"""
|
|
1470
1268
|
|
|
1471
1269
|
:param other:
|
|
1472
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1473
1270
|
:return:
|
|
1474
|
-
:rtype: typing_extensions.Self
|
|
1475
1271
|
"""
|
|
1476
1272
|
|
|
1477
1273
|
@typing.overload
|
|
1478
|
-
def __matmul__(
|
|
1479
|
-
self, other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1480
|
-
) -> typing_extensions.Self:
|
|
1274
|
+
def __matmul__(self, other: typing_extensions.Self) -> typing_extensions.Self:
|
|
1481
1275
|
"""
|
|
1482
1276
|
|
|
1483
1277
|
:param other:
|
|
1484
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1485
1278
|
:return:
|
|
1486
|
-
:rtype: typing_extensions.Self
|
|
1487
1279
|
"""
|
|
1488
1280
|
|
|
1489
1281
|
@typing.overload
|
|
1490
|
-
def __matmul__(self, other: Vector
|
|
1282
|
+
def __matmul__(self, other: Vector) -> Vector:
|
|
1491
1283
|
"""
|
|
1492
1284
|
|
|
1493
1285
|
:param other:
|
|
1494
|
-
:type other: Vector | collections.abc.Sequence[float]
|
|
1495
1286
|
:return:
|
|
1496
|
-
:rtype: Vector
|
|
1497
1287
|
"""
|
|
1498
1288
|
|
|
1499
1289
|
def __radd__(
|
|
@@ -1502,9 +1292,7 @@ class Quaternion:
|
|
|
1502
1292
|
"""
|
|
1503
1293
|
|
|
1504
1294
|
:param other:
|
|
1505
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1506
1295
|
:return:
|
|
1507
|
-
:rtype: typing_extensions.Self
|
|
1508
1296
|
"""
|
|
1509
1297
|
|
|
1510
1298
|
def __rsub__(
|
|
@@ -1513,9 +1301,7 @@ class Quaternion:
|
|
|
1513
1301
|
"""
|
|
1514
1302
|
|
|
1515
1303
|
:param other:
|
|
1516
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1517
1304
|
:return:
|
|
1518
|
-
:rtype: typing_extensions.Self
|
|
1519
1305
|
"""
|
|
1520
1306
|
|
|
1521
1307
|
def __rmul__(
|
|
@@ -1524,9 +1310,7 @@ class Quaternion:
|
|
|
1524
1310
|
"""
|
|
1525
1311
|
|
|
1526
1312
|
:param other:
|
|
1527
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1528
1313
|
:return:
|
|
1529
|
-
:rtype: typing_extensions.Self
|
|
1530
1314
|
"""
|
|
1531
1315
|
|
|
1532
1316
|
def __imul__(
|
|
@@ -1535,2285 +1319,585 @@ class Quaternion:
|
|
|
1535
1319
|
"""
|
|
1536
1320
|
|
|
1537
1321
|
:param other:
|
|
1538
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1539
1322
|
:return:
|
|
1540
|
-
:rtype: typing_extensions.Self
|
|
1541
1323
|
"""
|
|
1542
1324
|
|
|
1543
1325
|
class Vector:
|
|
1544
1326
|
"""This object gives access to Vectors in Blender."""
|
|
1545
1327
|
|
|
1546
1328
|
is_frozen: bool
|
|
1547
|
-
""" True when this object has been frozen (read-only).
|
|
1548
|
-
|
|
1549
|
-
:type: bool
|
|
1550
|
-
"""
|
|
1329
|
+
""" True when this object has been frozen (read-only)."""
|
|
1551
1330
|
|
|
1552
1331
|
is_valid: bool
|
|
1553
|
-
""" True when the owner of this data is valid.
|
|
1554
|
-
|
|
1555
|
-
:type: bool
|
|
1556
|
-
"""
|
|
1332
|
+
""" True when the owner of this data is valid."""
|
|
1557
1333
|
|
|
1558
1334
|
is_wrapped: bool
|
|
1559
|
-
""" True when this object wraps external data (read-only).
|
|
1560
|
-
|
|
1561
|
-
:type: bool
|
|
1562
|
-
"""
|
|
1335
|
+
""" True when this object wraps external data (read-only)."""
|
|
1563
1336
|
|
|
1564
1337
|
length: float
|
|
1565
|
-
""" Vector Length.
|
|
1566
|
-
|
|
1567
|
-
:type: float
|
|
1568
|
-
"""
|
|
1338
|
+
""" Vector Length."""
|
|
1569
1339
|
|
|
1570
1340
|
length_squared: float
|
|
1571
|
-
""" Vector length squared (v.dot(v)).
|
|
1572
|
-
|
|
1573
|
-
:type: float
|
|
1574
|
-
"""
|
|
1341
|
+
""" Vector length squared (v.dot(v))."""
|
|
1575
1342
|
|
|
1576
1343
|
magnitude: float
|
|
1577
|
-
""" Vector Length.
|
|
1578
|
-
|
|
1579
|
-
:type: float
|
|
1580
|
-
"""
|
|
1344
|
+
""" Vector Length."""
|
|
1581
1345
|
|
|
1582
1346
|
owner: typing.Any
|
|
1583
1347
|
""" The item this is wrapping or None (read-only)."""
|
|
1584
1348
|
|
|
1585
1349
|
w: float
|
|
1586
|
-
""" Vector W axis (4D Vectors only).
|
|
1587
|
-
|
|
1588
|
-
:type: float
|
|
1589
|
-
"""
|
|
1350
|
+
""" Vector W axis (4D Vectors only)."""
|
|
1590
1351
|
|
|
1591
1352
|
ww: typing_extensions.Self
|
|
1592
|
-
"""
|
|
1593
|
-
|
|
1594
|
-
:type: typing_extensions.Self
|
|
1595
|
-
"""
|
|
1596
|
-
|
|
1597
1353
|
www: typing_extensions.Self
|
|
1598
|
-
"""
|
|
1599
|
-
|
|
1600
|
-
:type: typing_extensions.Self
|
|
1601
|
-
"""
|
|
1602
|
-
|
|
1603
1354
|
wwww: typing_extensions.Self
|
|
1604
|
-
"""
|
|
1605
|
-
|
|
1606
|
-
:type: typing_extensions.Self
|
|
1607
|
-
"""
|
|
1608
|
-
|
|
1609
1355
|
wwwx: typing_extensions.Self
|
|
1610
|
-
"""
|
|
1611
|
-
|
|
1612
|
-
:type: typing_extensions.Self
|
|
1613
|
-
"""
|
|
1614
|
-
|
|
1615
1356
|
wwwy: typing_extensions.Self
|
|
1616
|
-
"""
|
|
1617
|
-
|
|
1618
|
-
:type: typing_extensions.Self
|
|
1619
|
-
"""
|
|
1620
|
-
|
|
1621
1357
|
wwwz: typing_extensions.Self
|
|
1622
|
-
"""
|
|
1623
|
-
|
|
1624
|
-
:type: typing_extensions.Self
|
|
1625
|
-
"""
|
|
1626
|
-
|
|
1627
1358
|
wwx: typing_extensions.Self
|
|
1628
|
-
"""
|
|
1629
|
-
|
|
1630
|
-
:type: typing_extensions.Self
|
|
1631
|
-
"""
|
|
1632
|
-
|
|
1633
1359
|
wwxw: typing_extensions.Self
|
|
1634
|
-
"""
|
|
1635
|
-
|
|
1636
|
-
:type: typing_extensions.Self
|
|
1637
|
-
"""
|
|
1638
|
-
|
|
1639
1360
|
wwxx: typing_extensions.Self
|
|
1640
|
-
"""
|
|
1641
|
-
|
|
1642
|
-
:type: typing_extensions.Self
|
|
1643
|
-
"""
|
|
1644
|
-
|
|
1645
1361
|
wwxy: typing_extensions.Self
|
|
1646
|
-
"""
|
|
1647
|
-
|
|
1648
|
-
:type: typing_extensions.Self
|
|
1649
|
-
"""
|
|
1650
|
-
|
|
1651
1362
|
wwxz: typing_extensions.Self
|
|
1652
|
-
"""
|
|
1653
|
-
|
|
1654
|
-
:type: typing_extensions.Self
|
|
1655
|
-
"""
|
|
1656
|
-
|
|
1657
1363
|
wwy: typing_extensions.Self
|
|
1658
|
-
"""
|
|
1659
|
-
|
|
1660
|
-
:type: typing_extensions.Self
|
|
1661
|
-
"""
|
|
1662
|
-
|
|
1663
1364
|
wwyw: typing_extensions.Self
|
|
1664
|
-
"""
|
|
1665
|
-
|
|
1666
|
-
:type: typing_extensions.Self
|
|
1667
|
-
"""
|
|
1668
|
-
|
|
1669
1365
|
wwyx: typing_extensions.Self
|
|
1670
|
-
"""
|
|
1671
|
-
|
|
1672
|
-
:type: typing_extensions.Self
|
|
1673
|
-
"""
|
|
1674
|
-
|
|
1675
1366
|
wwyy: typing_extensions.Self
|
|
1676
|
-
"""
|
|
1677
|
-
|
|
1678
|
-
:type: typing_extensions.Self
|
|
1679
|
-
"""
|
|
1680
|
-
|
|
1681
1367
|
wwyz: typing_extensions.Self
|
|
1682
|
-
"""
|
|
1683
|
-
|
|
1684
|
-
:type: typing_extensions.Self
|
|
1685
|
-
"""
|
|
1686
|
-
|
|
1687
1368
|
wwz: typing_extensions.Self
|
|
1688
|
-
"""
|
|
1689
|
-
|
|
1690
|
-
:type: typing_extensions.Self
|
|
1691
|
-
"""
|
|
1692
|
-
|
|
1693
1369
|
wwzw: typing_extensions.Self
|
|
1694
|
-
"""
|
|
1695
|
-
|
|
1696
|
-
:type: typing_extensions.Self
|
|
1697
|
-
"""
|
|
1698
|
-
|
|
1699
1370
|
wwzx: typing_extensions.Self
|
|
1700
|
-
"""
|
|
1701
|
-
|
|
1702
|
-
:type: typing_extensions.Self
|
|
1703
|
-
"""
|
|
1704
|
-
|
|
1705
1371
|
wwzy: typing_extensions.Self
|
|
1706
|
-
"""
|
|
1707
|
-
|
|
1708
|
-
:type: typing_extensions.Self
|
|
1709
|
-
"""
|
|
1710
|
-
|
|
1711
1372
|
wwzz: typing_extensions.Self
|
|
1712
|
-
"""
|
|
1713
|
-
|
|
1714
|
-
:type: typing_extensions.Self
|
|
1715
|
-
"""
|
|
1716
|
-
|
|
1717
1373
|
wx: typing_extensions.Self
|
|
1718
|
-
"""
|
|
1719
|
-
|
|
1720
|
-
:type: typing_extensions.Self
|
|
1721
|
-
"""
|
|
1722
|
-
|
|
1723
1374
|
wxw: typing_extensions.Self
|
|
1724
|
-
"""
|
|
1725
|
-
|
|
1726
|
-
:type: typing_extensions.Self
|
|
1727
|
-
"""
|
|
1728
|
-
|
|
1729
1375
|
wxww: typing_extensions.Self
|
|
1730
|
-
"""
|
|
1731
|
-
|
|
1732
|
-
:type: typing_extensions.Self
|
|
1733
|
-
"""
|
|
1734
|
-
|
|
1735
1376
|
wxwx: typing_extensions.Self
|
|
1736
|
-
"""
|
|
1737
|
-
|
|
1738
|
-
:type: typing_extensions.Self
|
|
1739
|
-
"""
|
|
1740
|
-
|
|
1741
1377
|
wxwy: typing_extensions.Self
|
|
1742
|
-
"""
|
|
1743
|
-
|
|
1744
|
-
:type: typing_extensions.Self
|
|
1745
|
-
"""
|
|
1746
|
-
|
|
1747
1378
|
wxwz: typing_extensions.Self
|
|
1748
|
-
"""
|
|
1749
|
-
|
|
1750
|
-
:type: typing_extensions.Self
|
|
1751
|
-
"""
|
|
1752
|
-
|
|
1753
1379
|
wxx: typing_extensions.Self
|
|
1754
|
-
"""
|
|
1755
|
-
|
|
1756
|
-
:type: typing_extensions.Self
|
|
1757
|
-
"""
|
|
1758
|
-
|
|
1759
1380
|
wxxw: typing_extensions.Self
|
|
1760
|
-
"""
|
|
1761
|
-
|
|
1762
|
-
:type: typing_extensions.Self
|
|
1763
|
-
"""
|
|
1764
|
-
|
|
1765
1381
|
wxxx: typing_extensions.Self
|
|
1766
|
-
"""
|
|
1767
|
-
|
|
1768
|
-
:type: typing_extensions.Self
|
|
1769
|
-
"""
|
|
1770
|
-
|
|
1771
1382
|
wxxy: typing_extensions.Self
|
|
1772
|
-
"""
|
|
1773
|
-
|
|
1774
|
-
:type: typing_extensions.Self
|
|
1775
|
-
"""
|
|
1776
|
-
|
|
1777
1383
|
wxxz: typing_extensions.Self
|
|
1778
|
-
"""
|
|
1779
|
-
|
|
1780
|
-
:type: typing_extensions.Self
|
|
1781
|
-
"""
|
|
1782
|
-
|
|
1783
1384
|
wxy: typing_extensions.Self
|
|
1784
|
-
"""
|
|
1785
|
-
|
|
1786
|
-
:type: typing_extensions.Self
|
|
1787
|
-
"""
|
|
1788
|
-
|
|
1789
1385
|
wxyw: typing_extensions.Self
|
|
1790
|
-
"""
|
|
1791
|
-
|
|
1792
|
-
:type: typing_extensions.Self
|
|
1793
|
-
"""
|
|
1794
|
-
|
|
1795
1386
|
wxyx: typing_extensions.Self
|
|
1796
|
-
"""
|
|
1797
|
-
|
|
1798
|
-
:type: typing_extensions.Self
|
|
1799
|
-
"""
|
|
1800
|
-
|
|
1801
1387
|
wxyy: typing_extensions.Self
|
|
1802
|
-
"""
|
|
1803
|
-
|
|
1804
|
-
:type: typing_extensions.Self
|
|
1805
|
-
"""
|
|
1806
|
-
|
|
1807
1388
|
wxyz: typing_extensions.Self
|
|
1808
|
-
"""
|
|
1809
|
-
|
|
1810
|
-
:type: typing_extensions.Self
|
|
1811
|
-
"""
|
|
1812
|
-
|
|
1813
1389
|
wxz: typing_extensions.Self
|
|
1814
|
-
"""
|
|
1815
|
-
|
|
1816
|
-
:type: typing_extensions.Self
|
|
1817
|
-
"""
|
|
1818
|
-
|
|
1819
1390
|
wxzw: typing_extensions.Self
|
|
1820
|
-
"""
|
|
1821
|
-
|
|
1822
|
-
:type: typing_extensions.Self
|
|
1823
|
-
"""
|
|
1824
|
-
|
|
1825
1391
|
wxzx: typing_extensions.Self
|
|
1826
|
-
"""
|
|
1827
|
-
|
|
1828
|
-
:type: typing_extensions.Self
|
|
1829
|
-
"""
|
|
1830
|
-
|
|
1831
1392
|
wxzy: typing_extensions.Self
|
|
1832
|
-
"""
|
|
1833
|
-
|
|
1834
|
-
:type: typing_extensions.Self
|
|
1835
|
-
"""
|
|
1836
|
-
|
|
1837
1393
|
wxzz: typing_extensions.Self
|
|
1838
|
-
"""
|
|
1839
|
-
|
|
1840
|
-
:type: typing_extensions.Self
|
|
1841
|
-
"""
|
|
1842
|
-
|
|
1843
1394
|
wy: typing_extensions.Self
|
|
1844
|
-
"""
|
|
1845
|
-
|
|
1846
|
-
:type: typing_extensions.Self
|
|
1847
|
-
"""
|
|
1848
|
-
|
|
1849
1395
|
wyw: typing_extensions.Self
|
|
1850
|
-
"""
|
|
1851
|
-
|
|
1852
|
-
:type: typing_extensions.Self
|
|
1853
|
-
"""
|
|
1854
|
-
|
|
1855
1396
|
wyww: typing_extensions.Self
|
|
1856
|
-
"""
|
|
1857
|
-
|
|
1858
|
-
:type: typing_extensions.Self
|
|
1859
|
-
"""
|
|
1860
|
-
|
|
1861
1397
|
wywx: typing_extensions.Self
|
|
1862
|
-
"""
|
|
1863
|
-
|
|
1864
|
-
:type: typing_extensions.Self
|
|
1865
|
-
"""
|
|
1866
|
-
|
|
1867
1398
|
wywy: typing_extensions.Self
|
|
1868
|
-
"""
|
|
1869
|
-
|
|
1870
|
-
:type: typing_extensions.Self
|
|
1871
|
-
"""
|
|
1872
|
-
|
|
1873
1399
|
wywz: typing_extensions.Self
|
|
1874
|
-
"""
|
|
1875
|
-
|
|
1876
|
-
:type: typing_extensions.Self
|
|
1877
|
-
"""
|
|
1878
|
-
|
|
1879
1400
|
wyx: typing_extensions.Self
|
|
1880
|
-
"""
|
|
1881
|
-
|
|
1882
|
-
:type: typing_extensions.Self
|
|
1883
|
-
"""
|
|
1884
|
-
|
|
1885
1401
|
wyxw: typing_extensions.Self
|
|
1886
|
-
"""
|
|
1887
|
-
|
|
1888
|
-
:type: typing_extensions.Self
|
|
1889
|
-
"""
|
|
1890
|
-
|
|
1891
1402
|
wyxx: typing_extensions.Self
|
|
1892
|
-
"""
|
|
1893
|
-
|
|
1894
|
-
:type: typing_extensions.Self
|
|
1895
|
-
"""
|
|
1896
|
-
|
|
1897
1403
|
wyxy: typing_extensions.Self
|
|
1898
|
-
"""
|
|
1899
|
-
|
|
1900
|
-
:type: typing_extensions.Self
|
|
1901
|
-
"""
|
|
1902
|
-
|
|
1903
1404
|
wyxz: typing_extensions.Self
|
|
1904
|
-
"""
|
|
1905
|
-
|
|
1906
|
-
:type: typing_extensions.Self
|
|
1907
|
-
"""
|
|
1908
|
-
|
|
1909
1405
|
wyy: typing_extensions.Self
|
|
1910
|
-
"""
|
|
1911
|
-
|
|
1912
|
-
:type: typing_extensions.Self
|
|
1913
|
-
"""
|
|
1914
|
-
|
|
1915
1406
|
wyyw: typing_extensions.Self
|
|
1916
|
-
"""
|
|
1917
|
-
|
|
1918
|
-
:type: typing_extensions.Self
|
|
1919
|
-
"""
|
|
1920
|
-
|
|
1921
1407
|
wyyx: typing_extensions.Self
|
|
1922
|
-
"""
|
|
1923
|
-
|
|
1924
|
-
:type: typing_extensions.Self
|
|
1925
|
-
"""
|
|
1926
|
-
|
|
1927
1408
|
wyyy: typing_extensions.Self
|
|
1928
|
-
"""
|
|
1929
|
-
|
|
1930
|
-
:type: typing_extensions.Self
|
|
1931
|
-
"""
|
|
1932
|
-
|
|
1933
1409
|
wyyz: typing_extensions.Self
|
|
1934
|
-
"""
|
|
1935
|
-
|
|
1936
|
-
:type: typing_extensions.Self
|
|
1937
|
-
"""
|
|
1938
|
-
|
|
1939
1410
|
wyz: typing_extensions.Self
|
|
1940
|
-
"""
|
|
1941
|
-
|
|
1942
|
-
:type: typing_extensions.Self
|
|
1943
|
-
"""
|
|
1944
|
-
|
|
1945
1411
|
wyzw: typing_extensions.Self
|
|
1946
|
-
"""
|
|
1947
|
-
|
|
1948
|
-
:type: typing_extensions.Self
|
|
1949
|
-
"""
|
|
1950
|
-
|
|
1951
1412
|
wyzx: typing_extensions.Self
|
|
1952
|
-
"""
|
|
1953
|
-
|
|
1954
|
-
:type: typing_extensions.Self
|
|
1955
|
-
"""
|
|
1956
|
-
|
|
1957
1413
|
wyzy: typing_extensions.Self
|
|
1958
|
-
"""
|
|
1959
|
-
|
|
1960
|
-
:type: typing_extensions.Self
|
|
1961
|
-
"""
|
|
1962
|
-
|
|
1963
1414
|
wyzz: typing_extensions.Self
|
|
1964
|
-
"""
|
|
1965
|
-
|
|
1966
|
-
:type: typing_extensions.Self
|
|
1967
|
-
"""
|
|
1968
|
-
|
|
1969
1415
|
wz: typing_extensions.Self
|
|
1970
|
-
"""
|
|
1971
|
-
|
|
1972
|
-
:type: typing_extensions.Self
|
|
1973
|
-
"""
|
|
1974
|
-
|
|
1975
1416
|
wzw: typing_extensions.Self
|
|
1976
|
-
"""
|
|
1977
|
-
|
|
1978
|
-
:type: typing_extensions.Self
|
|
1979
|
-
"""
|
|
1980
|
-
|
|
1981
1417
|
wzww: typing_extensions.Self
|
|
1982
|
-
"""
|
|
1983
|
-
|
|
1984
|
-
:type: typing_extensions.Self
|
|
1985
|
-
"""
|
|
1986
|
-
|
|
1987
1418
|
wzwx: typing_extensions.Self
|
|
1988
|
-
"""
|
|
1989
|
-
|
|
1990
|
-
:type: typing_extensions.Self
|
|
1991
|
-
"""
|
|
1992
|
-
|
|
1993
1419
|
wzwy: typing_extensions.Self
|
|
1994
|
-
"""
|
|
1995
|
-
|
|
1996
|
-
:type: typing_extensions.Self
|
|
1997
|
-
"""
|
|
1998
|
-
|
|
1999
1420
|
wzwz: typing_extensions.Self
|
|
2000
|
-
"""
|
|
2001
|
-
|
|
2002
|
-
:type: typing_extensions.Self
|
|
2003
|
-
"""
|
|
2004
|
-
|
|
2005
1421
|
wzx: typing_extensions.Self
|
|
2006
|
-
"""
|
|
2007
|
-
|
|
2008
|
-
:type: typing_extensions.Self
|
|
2009
|
-
"""
|
|
2010
|
-
|
|
2011
1422
|
wzxw: typing_extensions.Self
|
|
2012
|
-
"""
|
|
2013
|
-
|
|
2014
|
-
:type: typing_extensions.Self
|
|
2015
|
-
"""
|
|
2016
|
-
|
|
2017
1423
|
wzxx: typing_extensions.Self
|
|
2018
|
-
"""
|
|
2019
|
-
|
|
2020
|
-
:type: typing_extensions.Self
|
|
2021
|
-
"""
|
|
2022
|
-
|
|
2023
1424
|
wzxy: typing_extensions.Self
|
|
2024
|
-
"""
|
|
2025
|
-
|
|
2026
|
-
:type: typing_extensions.Self
|
|
2027
|
-
"""
|
|
2028
|
-
|
|
2029
1425
|
wzxz: typing_extensions.Self
|
|
2030
|
-
"""
|
|
2031
|
-
|
|
2032
|
-
:type: typing_extensions.Self
|
|
2033
|
-
"""
|
|
2034
|
-
|
|
2035
1426
|
wzy: typing_extensions.Self
|
|
2036
|
-
"""
|
|
2037
|
-
|
|
2038
|
-
:type: typing_extensions.Self
|
|
2039
|
-
"""
|
|
2040
|
-
|
|
2041
1427
|
wzyw: typing_extensions.Self
|
|
2042
|
-
"""
|
|
2043
|
-
|
|
2044
|
-
:type: typing_extensions.Self
|
|
2045
|
-
"""
|
|
2046
|
-
|
|
2047
1428
|
wzyx: typing_extensions.Self
|
|
2048
|
-
"""
|
|
2049
|
-
|
|
2050
|
-
:type: typing_extensions.Self
|
|
2051
|
-
"""
|
|
2052
|
-
|
|
2053
1429
|
wzyy: typing_extensions.Self
|
|
2054
|
-
"""
|
|
2055
|
-
|
|
2056
|
-
:type: typing_extensions.Self
|
|
2057
|
-
"""
|
|
2058
|
-
|
|
2059
1430
|
wzyz: typing_extensions.Self
|
|
2060
|
-
"""
|
|
2061
|
-
|
|
2062
|
-
:type: typing_extensions.Self
|
|
2063
|
-
"""
|
|
2064
|
-
|
|
2065
1431
|
wzz: typing_extensions.Self
|
|
2066
|
-
"""
|
|
2067
|
-
|
|
2068
|
-
:type: typing_extensions.Self
|
|
2069
|
-
"""
|
|
2070
|
-
|
|
2071
1432
|
wzzw: typing_extensions.Self
|
|
2072
|
-
"""
|
|
2073
|
-
|
|
2074
|
-
:type: typing_extensions.Self
|
|
2075
|
-
"""
|
|
2076
|
-
|
|
2077
1433
|
wzzx: typing_extensions.Self
|
|
2078
|
-
"""
|
|
2079
|
-
|
|
2080
|
-
:type: typing_extensions.Self
|
|
2081
|
-
"""
|
|
2082
|
-
|
|
2083
1434
|
wzzy: typing_extensions.Self
|
|
2084
|
-
"""
|
|
2085
|
-
|
|
2086
|
-
:type: typing_extensions.Self
|
|
2087
|
-
"""
|
|
2088
|
-
|
|
2089
1435
|
wzzz: typing_extensions.Self
|
|
2090
|
-
"""
|
|
2091
|
-
|
|
2092
|
-
:type: typing_extensions.Self
|
|
2093
|
-
"""
|
|
2094
|
-
|
|
2095
1436
|
x: float
|
|
2096
|
-
""" Vector X axis.
|
|
2097
|
-
|
|
2098
|
-
:type: float
|
|
2099
|
-
"""
|
|
1437
|
+
""" Vector X axis."""
|
|
2100
1438
|
|
|
2101
1439
|
xw: typing_extensions.Self
|
|
2102
|
-
"""
|
|
2103
|
-
|
|
2104
|
-
:type: typing_extensions.Self
|
|
2105
|
-
"""
|
|
2106
|
-
|
|
2107
1440
|
xww: typing_extensions.Self
|
|
2108
|
-
"""
|
|
2109
|
-
|
|
2110
|
-
:type: typing_extensions.Self
|
|
2111
|
-
"""
|
|
2112
|
-
|
|
2113
1441
|
xwww: typing_extensions.Self
|
|
2114
|
-
"""
|
|
2115
|
-
|
|
2116
|
-
:type: typing_extensions.Self
|
|
2117
|
-
"""
|
|
2118
|
-
|
|
2119
1442
|
xwwx: typing_extensions.Self
|
|
2120
|
-
"""
|
|
2121
|
-
|
|
2122
|
-
:type: typing_extensions.Self
|
|
2123
|
-
"""
|
|
2124
|
-
|
|
2125
1443
|
xwwy: typing_extensions.Self
|
|
2126
|
-
"""
|
|
2127
|
-
|
|
2128
|
-
:type: typing_extensions.Self
|
|
2129
|
-
"""
|
|
2130
|
-
|
|
2131
1444
|
xwwz: typing_extensions.Self
|
|
2132
|
-
"""
|
|
2133
|
-
|
|
2134
|
-
:type: typing_extensions.Self
|
|
2135
|
-
"""
|
|
2136
|
-
|
|
2137
1445
|
xwx: typing_extensions.Self
|
|
2138
|
-
"""
|
|
2139
|
-
|
|
2140
|
-
:type: typing_extensions.Self
|
|
2141
|
-
"""
|
|
2142
|
-
|
|
2143
1446
|
xwxw: typing_extensions.Self
|
|
2144
|
-
"""
|
|
2145
|
-
|
|
2146
|
-
:type: typing_extensions.Self
|
|
2147
|
-
"""
|
|
2148
|
-
|
|
2149
1447
|
xwxx: typing_extensions.Self
|
|
2150
|
-
"""
|
|
2151
|
-
|
|
2152
|
-
:type: typing_extensions.Self
|
|
2153
|
-
"""
|
|
2154
|
-
|
|
2155
1448
|
xwxy: typing_extensions.Self
|
|
2156
|
-
"""
|
|
2157
|
-
|
|
2158
|
-
:type: typing_extensions.Self
|
|
2159
|
-
"""
|
|
2160
|
-
|
|
2161
1449
|
xwxz: typing_extensions.Self
|
|
2162
|
-
"""
|
|
2163
|
-
|
|
2164
|
-
:type: typing_extensions.Self
|
|
2165
|
-
"""
|
|
2166
|
-
|
|
2167
1450
|
xwy: typing_extensions.Self
|
|
2168
|
-
"""
|
|
2169
|
-
|
|
2170
|
-
:type: typing_extensions.Self
|
|
2171
|
-
"""
|
|
2172
|
-
|
|
2173
1451
|
xwyw: typing_extensions.Self
|
|
2174
|
-
"""
|
|
2175
|
-
|
|
2176
|
-
:type: typing_extensions.Self
|
|
2177
|
-
"""
|
|
2178
|
-
|
|
2179
1452
|
xwyx: typing_extensions.Self
|
|
2180
|
-
"""
|
|
2181
|
-
|
|
2182
|
-
:type: typing_extensions.Self
|
|
2183
|
-
"""
|
|
2184
|
-
|
|
2185
1453
|
xwyy: typing_extensions.Self
|
|
2186
|
-
"""
|
|
2187
|
-
|
|
2188
|
-
:type: typing_extensions.Self
|
|
2189
|
-
"""
|
|
2190
|
-
|
|
2191
1454
|
xwyz: typing_extensions.Self
|
|
2192
|
-
"""
|
|
2193
|
-
|
|
2194
|
-
:type: typing_extensions.Self
|
|
2195
|
-
"""
|
|
2196
|
-
|
|
2197
1455
|
xwz: typing_extensions.Self
|
|
2198
|
-
"""
|
|
2199
|
-
|
|
2200
|
-
:type: typing_extensions.Self
|
|
2201
|
-
"""
|
|
2202
|
-
|
|
2203
1456
|
xwzw: typing_extensions.Self
|
|
2204
|
-
"""
|
|
2205
|
-
|
|
2206
|
-
:type: typing_extensions.Self
|
|
2207
|
-
"""
|
|
2208
|
-
|
|
2209
1457
|
xwzx: typing_extensions.Self
|
|
2210
|
-
"""
|
|
2211
|
-
|
|
2212
|
-
:type: typing_extensions.Self
|
|
2213
|
-
"""
|
|
2214
|
-
|
|
2215
1458
|
xwzy: typing_extensions.Self
|
|
2216
|
-
"""
|
|
2217
|
-
|
|
2218
|
-
:type: typing_extensions.Self
|
|
2219
|
-
"""
|
|
2220
|
-
|
|
2221
1459
|
xwzz: typing_extensions.Self
|
|
2222
|
-
"""
|
|
2223
|
-
|
|
2224
|
-
:type: typing_extensions.Self
|
|
2225
|
-
"""
|
|
2226
|
-
|
|
2227
1460
|
xx: typing_extensions.Self
|
|
2228
|
-
"""
|
|
2229
|
-
|
|
2230
|
-
:type: typing_extensions.Self
|
|
2231
|
-
"""
|
|
2232
|
-
|
|
2233
1461
|
xxw: typing_extensions.Self
|
|
2234
|
-
"""
|
|
2235
|
-
|
|
2236
|
-
:type: typing_extensions.Self
|
|
2237
|
-
"""
|
|
2238
|
-
|
|
2239
1462
|
xxww: typing_extensions.Self
|
|
2240
|
-
"""
|
|
2241
|
-
|
|
2242
|
-
:type: typing_extensions.Self
|
|
2243
|
-
"""
|
|
2244
|
-
|
|
2245
1463
|
xxwx: typing_extensions.Self
|
|
2246
|
-
"""
|
|
2247
|
-
|
|
2248
|
-
:type: typing_extensions.Self
|
|
2249
|
-
"""
|
|
2250
|
-
|
|
2251
1464
|
xxwy: typing_extensions.Self
|
|
2252
|
-
"""
|
|
2253
|
-
|
|
2254
|
-
:type: typing_extensions.Self
|
|
2255
|
-
"""
|
|
2256
|
-
|
|
2257
1465
|
xxwz: typing_extensions.Self
|
|
2258
|
-
"""
|
|
2259
|
-
|
|
2260
|
-
:type: typing_extensions.Self
|
|
2261
|
-
"""
|
|
2262
|
-
|
|
2263
1466
|
xxx: typing_extensions.Self
|
|
2264
|
-
"""
|
|
2265
|
-
|
|
2266
|
-
:type: typing_extensions.Self
|
|
2267
|
-
"""
|
|
2268
|
-
|
|
2269
1467
|
xxxw: typing_extensions.Self
|
|
2270
|
-
"""
|
|
2271
|
-
|
|
2272
|
-
:type: typing_extensions.Self
|
|
2273
|
-
"""
|
|
2274
|
-
|
|
2275
1468
|
xxxx: typing_extensions.Self
|
|
2276
|
-
"""
|
|
2277
|
-
|
|
2278
|
-
:type: typing_extensions.Self
|
|
2279
|
-
"""
|
|
2280
|
-
|
|
2281
1469
|
xxxy: typing_extensions.Self
|
|
2282
|
-
"""
|
|
2283
|
-
|
|
2284
|
-
:type: typing_extensions.Self
|
|
2285
|
-
"""
|
|
2286
|
-
|
|
2287
1470
|
xxxz: typing_extensions.Self
|
|
2288
|
-
"""
|
|
2289
|
-
|
|
2290
|
-
:type: typing_extensions.Self
|
|
2291
|
-
"""
|
|
2292
|
-
|
|
2293
1471
|
xxy: typing_extensions.Self
|
|
2294
|
-
"""
|
|
2295
|
-
|
|
2296
|
-
:type: typing_extensions.Self
|
|
2297
|
-
"""
|
|
2298
|
-
|
|
2299
1472
|
xxyw: typing_extensions.Self
|
|
2300
|
-
"""
|
|
2301
|
-
|
|
2302
|
-
:type: typing_extensions.Self
|
|
2303
|
-
"""
|
|
2304
|
-
|
|
2305
1473
|
xxyx: typing_extensions.Self
|
|
2306
|
-
"""
|
|
2307
|
-
|
|
2308
|
-
:type: typing_extensions.Self
|
|
2309
|
-
"""
|
|
2310
|
-
|
|
2311
1474
|
xxyy: typing_extensions.Self
|
|
2312
|
-
"""
|
|
2313
|
-
|
|
2314
|
-
:type: typing_extensions.Self
|
|
2315
|
-
"""
|
|
2316
|
-
|
|
2317
1475
|
xxyz: typing_extensions.Self
|
|
2318
|
-
"""
|
|
2319
|
-
|
|
2320
|
-
:type: typing_extensions.Self
|
|
2321
|
-
"""
|
|
2322
|
-
|
|
2323
1476
|
xxz: typing_extensions.Self
|
|
2324
|
-
"""
|
|
2325
|
-
|
|
2326
|
-
:type: typing_extensions.Self
|
|
2327
|
-
"""
|
|
2328
|
-
|
|
2329
1477
|
xxzw: typing_extensions.Self
|
|
2330
|
-
"""
|
|
2331
|
-
|
|
2332
|
-
:type: typing_extensions.Self
|
|
2333
|
-
"""
|
|
2334
|
-
|
|
2335
1478
|
xxzx: typing_extensions.Self
|
|
2336
|
-
"""
|
|
2337
|
-
|
|
2338
|
-
:type: typing_extensions.Self
|
|
2339
|
-
"""
|
|
2340
|
-
|
|
2341
1479
|
xxzy: typing_extensions.Self
|
|
2342
|
-
"""
|
|
2343
|
-
|
|
2344
|
-
:type: typing_extensions.Self
|
|
2345
|
-
"""
|
|
2346
|
-
|
|
2347
1480
|
xxzz: typing_extensions.Self
|
|
2348
|
-
"""
|
|
2349
|
-
|
|
2350
|
-
:type: typing_extensions.Self
|
|
2351
|
-
"""
|
|
2352
|
-
|
|
2353
1481
|
xy: typing_extensions.Self
|
|
2354
|
-
"""
|
|
2355
|
-
|
|
2356
|
-
:type: typing_extensions.Self
|
|
2357
|
-
"""
|
|
2358
|
-
|
|
2359
1482
|
xyw: typing_extensions.Self
|
|
2360
|
-
"""
|
|
2361
|
-
|
|
2362
|
-
:type: typing_extensions.Self
|
|
2363
|
-
"""
|
|
2364
|
-
|
|
2365
1483
|
xyww: typing_extensions.Self
|
|
2366
|
-
"""
|
|
2367
|
-
|
|
2368
|
-
:type: typing_extensions.Self
|
|
2369
|
-
"""
|
|
2370
|
-
|
|
2371
1484
|
xywx: typing_extensions.Self
|
|
2372
|
-
"""
|
|
2373
|
-
|
|
2374
|
-
:type: typing_extensions.Self
|
|
2375
|
-
"""
|
|
2376
|
-
|
|
2377
1485
|
xywy: typing_extensions.Self
|
|
2378
|
-
"""
|
|
2379
|
-
|
|
2380
|
-
:type: typing_extensions.Self
|
|
2381
|
-
"""
|
|
2382
|
-
|
|
2383
1486
|
xywz: typing_extensions.Self
|
|
2384
|
-
"""
|
|
2385
|
-
|
|
2386
|
-
:type: typing_extensions.Self
|
|
2387
|
-
"""
|
|
2388
|
-
|
|
2389
1487
|
xyx: typing_extensions.Self
|
|
2390
|
-
"""
|
|
2391
|
-
|
|
2392
|
-
:type: typing_extensions.Self
|
|
2393
|
-
"""
|
|
2394
|
-
|
|
2395
1488
|
xyxw: typing_extensions.Self
|
|
2396
|
-
"""
|
|
2397
|
-
|
|
2398
|
-
:type: typing_extensions.Self
|
|
2399
|
-
"""
|
|
2400
|
-
|
|
2401
1489
|
xyxx: typing_extensions.Self
|
|
2402
|
-
"""
|
|
2403
|
-
|
|
2404
|
-
:type: typing_extensions.Self
|
|
2405
|
-
"""
|
|
2406
|
-
|
|
2407
1490
|
xyxy: typing_extensions.Self
|
|
2408
|
-
"""
|
|
2409
|
-
|
|
2410
|
-
:type: typing_extensions.Self
|
|
2411
|
-
"""
|
|
2412
|
-
|
|
2413
1491
|
xyxz: typing_extensions.Self
|
|
2414
|
-
"""
|
|
2415
|
-
|
|
2416
|
-
:type: typing_extensions.Self
|
|
2417
|
-
"""
|
|
2418
|
-
|
|
2419
1492
|
xyy: typing_extensions.Self
|
|
2420
|
-
"""
|
|
2421
|
-
|
|
2422
|
-
:type: typing_extensions.Self
|
|
2423
|
-
"""
|
|
2424
|
-
|
|
2425
1493
|
xyyw: typing_extensions.Self
|
|
2426
|
-
"""
|
|
2427
|
-
|
|
2428
|
-
:type: typing_extensions.Self
|
|
2429
|
-
"""
|
|
2430
|
-
|
|
2431
1494
|
xyyx: typing_extensions.Self
|
|
2432
|
-
"""
|
|
2433
|
-
|
|
2434
|
-
:type: typing_extensions.Self
|
|
2435
|
-
"""
|
|
2436
|
-
|
|
2437
1495
|
xyyy: typing_extensions.Self
|
|
2438
|
-
"""
|
|
2439
|
-
|
|
2440
|
-
:type: typing_extensions.Self
|
|
2441
|
-
"""
|
|
2442
|
-
|
|
2443
1496
|
xyyz: typing_extensions.Self
|
|
2444
|
-
"""
|
|
2445
|
-
|
|
2446
|
-
:type: typing_extensions.Self
|
|
2447
|
-
"""
|
|
2448
|
-
|
|
2449
1497
|
xyz: typing_extensions.Self
|
|
2450
|
-
"""
|
|
2451
|
-
|
|
2452
|
-
:type: typing_extensions.Self
|
|
2453
|
-
"""
|
|
2454
|
-
|
|
2455
1498
|
xyzw: typing_extensions.Self
|
|
2456
|
-
"""
|
|
2457
|
-
|
|
2458
|
-
:type: typing_extensions.Self
|
|
2459
|
-
"""
|
|
2460
|
-
|
|
2461
1499
|
xyzx: typing_extensions.Self
|
|
2462
|
-
"""
|
|
2463
|
-
|
|
2464
|
-
:type: typing_extensions.Self
|
|
2465
|
-
"""
|
|
2466
|
-
|
|
2467
1500
|
xyzy: typing_extensions.Self
|
|
2468
|
-
"""
|
|
2469
|
-
|
|
2470
|
-
:type: typing_extensions.Self
|
|
2471
|
-
"""
|
|
2472
|
-
|
|
2473
1501
|
xyzz: typing_extensions.Self
|
|
2474
|
-
"""
|
|
2475
|
-
|
|
2476
|
-
:type: typing_extensions.Self
|
|
2477
|
-
"""
|
|
2478
|
-
|
|
2479
1502
|
xz: typing_extensions.Self
|
|
2480
|
-
"""
|
|
2481
|
-
|
|
2482
|
-
:type: typing_extensions.Self
|
|
2483
|
-
"""
|
|
2484
|
-
|
|
2485
1503
|
xzw: typing_extensions.Self
|
|
2486
|
-
"""
|
|
2487
|
-
|
|
2488
|
-
:type: typing_extensions.Self
|
|
2489
|
-
"""
|
|
2490
|
-
|
|
2491
1504
|
xzww: typing_extensions.Self
|
|
2492
|
-
"""
|
|
2493
|
-
|
|
2494
|
-
:type: typing_extensions.Self
|
|
2495
|
-
"""
|
|
2496
|
-
|
|
2497
1505
|
xzwx: typing_extensions.Self
|
|
2498
|
-
"""
|
|
2499
|
-
|
|
2500
|
-
:type: typing_extensions.Self
|
|
2501
|
-
"""
|
|
2502
|
-
|
|
2503
1506
|
xzwy: typing_extensions.Self
|
|
2504
|
-
"""
|
|
2505
|
-
|
|
2506
|
-
:type: typing_extensions.Self
|
|
2507
|
-
"""
|
|
2508
|
-
|
|
2509
1507
|
xzwz: typing_extensions.Self
|
|
2510
|
-
"""
|
|
2511
|
-
|
|
2512
|
-
:type: typing_extensions.Self
|
|
2513
|
-
"""
|
|
2514
|
-
|
|
2515
1508
|
xzx: typing_extensions.Self
|
|
2516
|
-
"""
|
|
2517
|
-
|
|
2518
|
-
:type: typing_extensions.Self
|
|
2519
|
-
"""
|
|
2520
|
-
|
|
2521
1509
|
xzxw: typing_extensions.Self
|
|
2522
|
-
"""
|
|
2523
|
-
|
|
2524
|
-
:type: typing_extensions.Self
|
|
2525
|
-
"""
|
|
2526
|
-
|
|
2527
1510
|
xzxx: typing_extensions.Self
|
|
2528
|
-
"""
|
|
2529
|
-
|
|
2530
|
-
:type: typing_extensions.Self
|
|
2531
|
-
"""
|
|
2532
|
-
|
|
2533
1511
|
xzxy: typing_extensions.Self
|
|
2534
|
-
"""
|
|
2535
|
-
|
|
2536
|
-
:type: typing_extensions.Self
|
|
2537
|
-
"""
|
|
2538
|
-
|
|
2539
1512
|
xzxz: typing_extensions.Self
|
|
2540
|
-
"""
|
|
2541
|
-
|
|
2542
|
-
:type: typing_extensions.Self
|
|
2543
|
-
"""
|
|
2544
|
-
|
|
2545
1513
|
xzy: typing_extensions.Self
|
|
2546
|
-
"""
|
|
2547
|
-
|
|
2548
|
-
:type: typing_extensions.Self
|
|
2549
|
-
"""
|
|
2550
|
-
|
|
2551
1514
|
xzyw: typing_extensions.Self
|
|
2552
|
-
"""
|
|
2553
|
-
|
|
2554
|
-
:type: typing_extensions.Self
|
|
2555
|
-
"""
|
|
2556
|
-
|
|
2557
1515
|
xzyx: typing_extensions.Self
|
|
2558
|
-
"""
|
|
2559
|
-
|
|
2560
|
-
:type: typing_extensions.Self
|
|
2561
|
-
"""
|
|
2562
|
-
|
|
2563
1516
|
xzyy: typing_extensions.Self
|
|
2564
|
-
"""
|
|
2565
|
-
|
|
2566
|
-
:type: typing_extensions.Self
|
|
2567
|
-
"""
|
|
2568
|
-
|
|
2569
1517
|
xzyz: typing_extensions.Self
|
|
2570
|
-
"""
|
|
2571
|
-
|
|
2572
|
-
:type: typing_extensions.Self
|
|
2573
|
-
"""
|
|
2574
|
-
|
|
2575
1518
|
xzz: typing_extensions.Self
|
|
2576
|
-
"""
|
|
2577
|
-
|
|
2578
|
-
:type: typing_extensions.Self
|
|
2579
|
-
"""
|
|
2580
|
-
|
|
2581
1519
|
xzzw: typing_extensions.Self
|
|
2582
|
-
"""
|
|
2583
|
-
|
|
2584
|
-
:type: typing_extensions.Self
|
|
2585
|
-
"""
|
|
2586
|
-
|
|
2587
1520
|
xzzx: typing_extensions.Self
|
|
2588
|
-
"""
|
|
2589
|
-
|
|
2590
|
-
:type: typing_extensions.Self
|
|
2591
|
-
"""
|
|
2592
|
-
|
|
2593
1521
|
xzzy: typing_extensions.Self
|
|
2594
|
-
"""
|
|
2595
|
-
|
|
2596
|
-
:type: typing_extensions.Self
|
|
2597
|
-
"""
|
|
2598
|
-
|
|
2599
1522
|
xzzz: typing_extensions.Self
|
|
2600
|
-
"""
|
|
2601
|
-
|
|
2602
|
-
:type: typing_extensions.Self
|
|
2603
|
-
"""
|
|
2604
|
-
|
|
2605
1523
|
y: float
|
|
2606
|
-
""" Vector Y axis.
|
|
2607
|
-
|
|
2608
|
-
:type: float
|
|
2609
|
-
"""
|
|
1524
|
+
""" Vector Y axis."""
|
|
2610
1525
|
|
|
2611
1526
|
yw: typing_extensions.Self
|
|
2612
|
-
"""
|
|
2613
|
-
|
|
2614
|
-
:type: typing_extensions.Self
|
|
2615
|
-
"""
|
|
2616
|
-
|
|
2617
1527
|
yww: typing_extensions.Self
|
|
2618
|
-
"""
|
|
2619
|
-
|
|
2620
|
-
:type: typing_extensions.Self
|
|
2621
|
-
"""
|
|
2622
|
-
|
|
2623
1528
|
ywww: typing_extensions.Self
|
|
2624
|
-
"""
|
|
2625
|
-
|
|
2626
|
-
:type: typing_extensions.Self
|
|
2627
|
-
"""
|
|
2628
|
-
|
|
2629
1529
|
ywwx: typing_extensions.Self
|
|
2630
|
-
"""
|
|
2631
|
-
|
|
2632
|
-
:type: typing_extensions.Self
|
|
2633
|
-
"""
|
|
2634
|
-
|
|
2635
1530
|
ywwy: typing_extensions.Self
|
|
2636
|
-
"""
|
|
2637
|
-
|
|
2638
|
-
:type: typing_extensions.Self
|
|
2639
|
-
"""
|
|
2640
|
-
|
|
2641
1531
|
ywwz: typing_extensions.Self
|
|
2642
|
-
"""
|
|
2643
|
-
|
|
2644
|
-
:type: typing_extensions.Self
|
|
2645
|
-
"""
|
|
2646
|
-
|
|
2647
1532
|
ywx: typing_extensions.Self
|
|
2648
|
-
"""
|
|
2649
|
-
|
|
2650
|
-
:type: typing_extensions.Self
|
|
2651
|
-
"""
|
|
2652
|
-
|
|
2653
1533
|
ywxw: typing_extensions.Self
|
|
2654
|
-
"""
|
|
2655
|
-
|
|
2656
|
-
:type: typing_extensions.Self
|
|
2657
|
-
"""
|
|
2658
|
-
|
|
2659
1534
|
ywxx: typing_extensions.Self
|
|
2660
|
-
"""
|
|
2661
|
-
|
|
2662
|
-
:type: typing_extensions.Self
|
|
2663
|
-
"""
|
|
2664
|
-
|
|
2665
1535
|
ywxy: typing_extensions.Self
|
|
2666
|
-
"""
|
|
2667
|
-
|
|
2668
|
-
:type: typing_extensions.Self
|
|
2669
|
-
"""
|
|
2670
|
-
|
|
2671
1536
|
ywxz: typing_extensions.Self
|
|
2672
|
-
"""
|
|
2673
|
-
|
|
2674
|
-
:type: typing_extensions.Self
|
|
2675
|
-
"""
|
|
2676
|
-
|
|
2677
1537
|
ywy: typing_extensions.Self
|
|
2678
|
-
"""
|
|
2679
|
-
|
|
2680
|
-
:type: typing_extensions.Self
|
|
2681
|
-
"""
|
|
2682
|
-
|
|
2683
1538
|
ywyw: typing_extensions.Self
|
|
2684
|
-
"""
|
|
2685
|
-
|
|
2686
|
-
:type: typing_extensions.Self
|
|
2687
|
-
"""
|
|
2688
|
-
|
|
2689
1539
|
ywyx: typing_extensions.Self
|
|
2690
|
-
"""
|
|
2691
|
-
|
|
2692
|
-
:type: typing_extensions.Self
|
|
2693
|
-
"""
|
|
2694
|
-
|
|
2695
1540
|
ywyy: typing_extensions.Self
|
|
2696
|
-
"""
|
|
2697
|
-
|
|
2698
|
-
:type: typing_extensions.Self
|
|
2699
|
-
"""
|
|
2700
|
-
|
|
2701
1541
|
ywyz: typing_extensions.Self
|
|
2702
|
-
"""
|
|
2703
|
-
|
|
2704
|
-
:type: typing_extensions.Self
|
|
2705
|
-
"""
|
|
2706
|
-
|
|
2707
1542
|
ywz: typing_extensions.Self
|
|
2708
|
-
"""
|
|
2709
|
-
|
|
2710
|
-
:type: typing_extensions.Self
|
|
2711
|
-
"""
|
|
2712
|
-
|
|
2713
1543
|
ywzw: typing_extensions.Self
|
|
2714
|
-
"""
|
|
2715
|
-
|
|
2716
|
-
:type: typing_extensions.Self
|
|
2717
|
-
"""
|
|
2718
|
-
|
|
2719
1544
|
ywzx: typing_extensions.Self
|
|
2720
|
-
"""
|
|
2721
|
-
|
|
2722
|
-
:type: typing_extensions.Self
|
|
2723
|
-
"""
|
|
2724
|
-
|
|
2725
1545
|
ywzy: typing_extensions.Self
|
|
2726
|
-
"""
|
|
2727
|
-
|
|
2728
|
-
:type: typing_extensions.Self
|
|
2729
|
-
"""
|
|
2730
|
-
|
|
2731
1546
|
ywzz: typing_extensions.Self
|
|
2732
|
-
"""
|
|
2733
|
-
|
|
2734
|
-
:type: typing_extensions.Self
|
|
2735
|
-
"""
|
|
2736
|
-
|
|
2737
1547
|
yx: typing_extensions.Self
|
|
2738
|
-
"""
|
|
2739
|
-
|
|
2740
|
-
:type: typing_extensions.Self
|
|
2741
|
-
"""
|
|
2742
|
-
|
|
2743
1548
|
yxw: typing_extensions.Self
|
|
2744
|
-
"""
|
|
2745
|
-
|
|
2746
|
-
:type: typing_extensions.Self
|
|
2747
|
-
"""
|
|
2748
|
-
|
|
2749
1549
|
yxww: typing_extensions.Self
|
|
2750
|
-
"""
|
|
2751
|
-
|
|
2752
|
-
:type: typing_extensions.Self
|
|
2753
|
-
"""
|
|
2754
|
-
|
|
2755
1550
|
yxwx: typing_extensions.Self
|
|
2756
|
-
"""
|
|
2757
|
-
|
|
2758
|
-
:type: typing_extensions.Self
|
|
2759
|
-
"""
|
|
2760
|
-
|
|
2761
1551
|
yxwy: typing_extensions.Self
|
|
2762
|
-
"""
|
|
2763
|
-
|
|
2764
|
-
:type: typing_extensions.Self
|
|
2765
|
-
"""
|
|
2766
|
-
|
|
2767
1552
|
yxwz: typing_extensions.Self
|
|
2768
|
-
"""
|
|
2769
|
-
|
|
2770
|
-
:type: typing_extensions.Self
|
|
2771
|
-
"""
|
|
2772
|
-
|
|
2773
1553
|
yxx: typing_extensions.Self
|
|
2774
|
-
"""
|
|
2775
|
-
|
|
2776
|
-
:type: typing_extensions.Self
|
|
2777
|
-
"""
|
|
2778
|
-
|
|
2779
1554
|
yxxw: typing_extensions.Self
|
|
2780
|
-
"""
|
|
2781
|
-
|
|
2782
|
-
:type: typing_extensions.Self
|
|
2783
|
-
"""
|
|
2784
|
-
|
|
2785
1555
|
yxxx: typing_extensions.Self
|
|
2786
|
-
"""
|
|
2787
|
-
|
|
2788
|
-
:type: typing_extensions.Self
|
|
2789
|
-
"""
|
|
2790
|
-
|
|
2791
1556
|
yxxy: typing_extensions.Self
|
|
2792
|
-
"""
|
|
2793
|
-
|
|
2794
|
-
:type: typing_extensions.Self
|
|
2795
|
-
"""
|
|
2796
|
-
|
|
2797
1557
|
yxxz: typing_extensions.Self
|
|
2798
|
-
"""
|
|
2799
|
-
|
|
2800
|
-
:type: typing_extensions.Self
|
|
2801
|
-
"""
|
|
2802
|
-
|
|
2803
1558
|
yxy: typing_extensions.Self
|
|
2804
|
-
"""
|
|
2805
|
-
|
|
2806
|
-
:type: typing_extensions.Self
|
|
2807
|
-
"""
|
|
2808
|
-
|
|
2809
1559
|
yxyw: typing_extensions.Self
|
|
2810
|
-
"""
|
|
2811
|
-
|
|
2812
|
-
:type: typing_extensions.Self
|
|
2813
|
-
"""
|
|
2814
|
-
|
|
2815
1560
|
yxyx: typing_extensions.Self
|
|
2816
|
-
"""
|
|
2817
|
-
|
|
2818
|
-
:type: typing_extensions.Self
|
|
2819
|
-
"""
|
|
2820
|
-
|
|
2821
1561
|
yxyy: typing_extensions.Self
|
|
2822
|
-
"""
|
|
2823
|
-
|
|
2824
|
-
:type: typing_extensions.Self
|
|
2825
|
-
"""
|
|
2826
|
-
|
|
2827
1562
|
yxyz: typing_extensions.Self
|
|
2828
|
-
"""
|
|
2829
|
-
|
|
2830
|
-
:type: typing_extensions.Self
|
|
2831
|
-
"""
|
|
2832
|
-
|
|
2833
1563
|
yxz: typing_extensions.Self
|
|
2834
|
-
"""
|
|
2835
|
-
|
|
2836
|
-
:type: typing_extensions.Self
|
|
2837
|
-
"""
|
|
2838
|
-
|
|
2839
1564
|
yxzw: typing_extensions.Self
|
|
2840
|
-
"""
|
|
2841
|
-
|
|
2842
|
-
:type: typing_extensions.Self
|
|
2843
|
-
"""
|
|
2844
|
-
|
|
2845
1565
|
yxzx: typing_extensions.Self
|
|
2846
|
-
"""
|
|
2847
|
-
|
|
2848
|
-
:type: typing_extensions.Self
|
|
2849
|
-
"""
|
|
2850
|
-
|
|
2851
1566
|
yxzy: typing_extensions.Self
|
|
2852
|
-
"""
|
|
2853
|
-
|
|
2854
|
-
:type: typing_extensions.Self
|
|
2855
|
-
"""
|
|
2856
|
-
|
|
2857
1567
|
yxzz: typing_extensions.Self
|
|
2858
|
-
"""
|
|
2859
|
-
|
|
2860
|
-
:type: typing_extensions.Self
|
|
2861
|
-
"""
|
|
2862
|
-
|
|
2863
1568
|
yy: typing_extensions.Self
|
|
2864
|
-
"""
|
|
2865
|
-
|
|
2866
|
-
:type: typing_extensions.Self
|
|
2867
|
-
"""
|
|
2868
|
-
|
|
2869
1569
|
yyw: typing_extensions.Self
|
|
2870
|
-
"""
|
|
2871
|
-
|
|
2872
|
-
:type: typing_extensions.Self
|
|
2873
|
-
"""
|
|
2874
|
-
|
|
2875
1570
|
yyww: typing_extensions.Self
|
|
2876
|
-
"""
|
|
2877
|
-
|
|
2878
|
-
:type: typing_extensions.Self
|
|
2879
|
-
"""
|
|
2880
|
-
|
|
2881
1571
|
yywx: typing_extensions.Self
|
|
2882
|
-
"""
|
|
2883
|
-
|
|
2884
|
-
:type: typing_extensions.Self
|
|
2885
|
-
"""
|
|
2886
|
-
|
|
2887
1572
|
yywy: typing_extensions.Self
|
|
2888
|
-
"""
|
|
2889
|
-
|
|
2890
|
-
:type: typing_extensions.Self
|
|
2891
|
-
"""
|
|
2892
|
-
|
|
2893
1573
|
yywz: typing_extensions.Self
|
|
2894
|
-
"""
|
|
2895
|
-
|
|
2896
|
-
:type: typing_extensions.Self
|
|
2897
|
-
"""
|
|
2898
|
-
|
|
2899
1574
|
yyx: typing_extensions.Self
|
|
2900
|
-
"""
|
|
2901
|
-
|
|
2902
|
-
:type: typing_extensions.Self
|
|
2903
|
-
"""
|
|
2904
|
-
|
|
2905
1575
|
yyxw: typing_extensions.Self
|
|
2906
|
-
"""
|
|
2907
|
-
|
|
2908
|
-
:type: typing_extensions.Self
|
|
2909
|
-
"""
|
|
2910
|
-
|
|
2911
1576
|
yyxx: typing_extensions.Self
|
|
2912
|
-
"""
|
|
2913
|
-
|
|
2914
|
-
:type: typing_extensions.Self
|
|
2915
|
-
"""
|
|
2916
|
-
|
|
2917
1577
|
yyxy: typing_extensions.Self
|
|
2918
|
-
"""
|
|
2919
|
-
|
|
2920
|
-
:type: typing_extensions.Self
|
|
2921
|
-
"""
|
|
2922
|
-
|
|
2923
1578
|
yyxz: typing_extensions.Self
|
|
2924
|
-
"""
|
|
2925
|
-
|
|
2926
|
-
:type: typing_extensions.Self
|
|
2927
|
-
"""
|
|
2928
|
-
|
|
2929
1579
|
yyy: typing_extensions.Self
|
|
2930
|
-
"""
|
|
2931
|
-
|
|
2932
|
-
:type: typing_extensions.Self
|
|
2933
|
-
"""
|
|
2934
|
-
|
|
2935
1580
|
yyyw: typing_extensions.Self
|
|
2936
|
-
"""
|
|
2937
|
-
|
|
2938
|
-
:type: typing_extensions.Self
|
|
2939
|
-
"""
|
|
2940
|
-
|
|
2941
1581
|
yyyx: typing_extensions.Self
|
|
2942
|
-
"""
|
|
2943
|
-
|
|
2944
|
-
:type: typing_extensions.Self
|
|
2945
|
-
"""
|
|
2946
|
-
|
|
2947
1582
|
yyyy: typing_extensions.Self
|
|
2948
|
-
"""
|
|
2949
|
-
|
|
2950
|
-
:type: typing_extensions.Self
|
|
2951
|
-
"""
|
|
2952
|
-
|
|
2953
1583
|
yyyz: typing_extensions.Self
|
|
2954
|
-
"""
|
|
2955
|
-
|
|
2956
|
-
:type: typing_extensions.Self
|
|
2957
|
-
"""
|
|
2958
|
-
|
|
2959
1584
|
yyz: typing_extensions.Self
|
|
2960
|
-
"""
|
|
2961
|
-
|
|
2962
|
-
:type: typing_extensions.Self
|
|
2963
|
-
"""
|
|
2964
|
-
|
|
2965
1585
|
yyzw: typing_extensions.Self
|
|
2966
|
-
"""
|
|
2967
|
-
|
|
2968
|
-
:type: typing_extensions.Self
|
|
2969
|
-
"""
|
|
2970
|
-
|
|
2971
1586
|
yyzx: typing_extensions.Self
|
|
2972
|
-
"""
|
|
2973
|
-
|
|
2974
|
-
:type: typing_extensions.Self
|
|
2975
|
-
"""
|
|
2976
|
-
|
|
2977
1587
|
yyzy: typing_extensions.Self
|
|
2978
|
-
"""
|
|
2979
|
-
|
|
2980
|
-
:type: typing_extensions.Self
|
|
2981
|
-
"""
|
|
2982
|
-
|
|
2983
1588
|
yyzz: typing_extensions.Self
|
|
2984
|
-
"""
|
|
2985
|
-
|
|
2986
|
-
:type: typing_extensions.Self
|
|
2987
|
-
"""
|
|
2988
|
-
|
|
2989
1589
|
yz: typing_extensions.Self
|
|
2990
|
-
"""
|
|
2991
|
-
|
|
2992
|
-
:type: typing_extensions.Self
|
|
2993
|
-
"""
|
|
2994
|
-
|
|
2995
1590
|
yzw: typing_extensions.Self
|
|
2996
|
-
"""
|
|
2997
|
-
|
|
2998
|
-
:type: typing_extensions.Self
|
|
2999
|
-
"""
|
|
3000
|
-
|
|
3001
1591
|
yzww: typing_extensions.Self
|
|
3002
|
-
"""
|
|
3003
|
-
|
|
3004
|
-
:type: typing_extensions.Self
|
|
3005
|
-
"""
|
|
3006
|
-
|
|
3007
1592
|
yzwx: typing_extensions.Self
|
|
3008
|
-
"""
|
|
3009
|
-
|
|
3010
|
-
:type: typing_extensions.Self
|
|
3011
|
-
"""
|
|
3012
|
-
|
|
3013
1593
|
yzwy: typing_extensions.Self
|
|
3014
|
-
"""
|
|
3015
|
-
|
|
3016
|
-
:type: typing_extensions.Self
|
|
3017
|
-
"""
|
|
3018
|
-
|
|
3019
1594
|
yzwz: typing_extensions.Self
|
|
3020
|
-
"""
|
|
3021
|
-
|
|
3022
|
-
:type: typing_extensions.Self
|
|
3023
|
-
"""
|
|
3024
|
-
|
|
3025
1595
|
yzx: typing_extensions.Self
|
|
3026
|
-
"""
|
|
3027
|
-
|
|
3028
|
-
:type: typing_extensions.Self
|
|
3029
|
-
"""
|
|
3030
|
-
|
|
3031
1596
|
yzxw: typing_extensions.Self
|
|
3032
|
-
"""
|
|
3033
|
-
|
|
3034
|
-
:type: typing_extensions.Self
|
|
3035
|
-
"""
|
|
3036
|
-
|
|
3037
1597
|
yzxx: typing_extensions.Self
|
|
3038
|
-
"""
|
|
3039
|
-
|
|
3040
|
-
:type: typing_extensions.Self
|
|
3041
|
-
"""
|
|
3042
|
-
|
|
3043
1598
|
yzxy: typing_extensions.Self
|
|
3044
|
-
"""
|
|
3045
|
-
|
|
3046
|
-
:type: typing_extensions.Self
|
|
3047
|
-
"""
|
|
3048
|
-
|
|
3049
1599
|
yzxz: typing_extensions.Self
|
|
3050
|
-
"""
|
|
3051
|
-
|
|
3052
|
-
:type: typing_extensions.Self
|
|
3053
|
-
"""
|
|
3054
|
-
|
|
3055
1600
|
yzy: typing_extensions.Self
|
|
3056
|
-
"""
|
|
3057
|
-
|
|
3058
|
-
:type: typing_extensions.Self
|
|
3059
|
-
"""
|
|
3060
|
-
|
|
3061
1601
|
yzyw: typing_extensions.Self
|
|
3062
|
-
"""
|
|
3063
|
-
|
|
3064
|
-
:type: typing_extensions.Self
|
|
3065
|
-
"""
|
|
3066
|
-
|
|
3067
1602
|
yzyx: typing_extensions.Self
|
|
3068
|
-
"""
|
|
3069
|
-
|
|
3070
|
-
:type: typing_extensions.Self
|
|
3071
|
-
"""
|
|
3072
|
-
|
|
3073
1603
|
yzyy: typing_extensions.Self
|
|
3074
|
-
"""
|
|
3075
|
-
|
|
3076
|
-
:type: typing_extensions.Self
|
|
3077
|
-
"""
|
|
3078
|
-
|
|
3079
1604
|
yzyz: typing_extensions.Self
|
|
3080
|
-
"""
|
|
3081
|
-
|
|
3082
|
-
:type: typing_extensions.Self
|
|
3083
|
-
"""
|
|
3084
|
-
|
|
3085
1605
|
yzz: typing_extensions.Self
|
|
3086
|
-
"""
|
|
3087
|
-
|
|
3088
|
-
:type: typing_extensions.Self
|
|
3089
|
-
"""
|
|
3090
|
-
|
|
3091
1606
|
yzzw: typing_extensions.Self
|
|
3092
|
-
"""
|
|
3093
|
-
|
|
3094
|
-
:type: typing_extensions.Self
|
|
3095
|
-
"""
|
|
3096
|
-
|
|
3097
1607
|
yzzx: typing_extensions.Self
|
|
3098
|
-
"""
|
|
3099
|
-
|
|
3100
|
-
:type: typing_extensions.Self
|
|
3101
|
-
"""
|
|
3102
|
-
|
|
3103
1608
|
yzzy: typing_extensions.Self
|
|
3104
|
-
"""
|
|
3105
|
-
|
|
3106
|
-
:type: typing_extensions.Self
|
|
3107
|
-
"""
|
|
3108
|
-
|
|
3109
1609
|
yzzz: typing_extensions.Self
|
|
3110
|
-
"""
|
|
3111
|
-
|
|
3112
|
-
:type: typing_extensions.Self
|
|
3113
|
-
"""
|
|
3114
|
-
|
|
3115
1610
|
z: float
|
|
3116
|
-
""" Vector Z axis (3D Vectors only).
|
|
3117
|
-
|
|
3118
|
-
:type: float
|
|
3119
|
-
"""
|
|
1611
|
+
""" Vector Z axis (3D Vectors only)."""
|
|
3120
1612
|
|
|
3121
1613
|
zw: typing_extensions.Self
|
|
3122
|
-
"""
|
|
3123
|
-
|
|
3124
|
-
:type: typing_extensions.Self
|
|
3125
|
-
"""
|
|
3126
|
-
|
|
3127
1614
|
zww: typing_extensions.Self
|
|
3128
|
-
"""
|
|
3129
|
-
|
|
3130
|
-
:type: typing_extensions.Self
|
|
3131
|
-
"""
|
|
3132
|
-
|
|
3133
1615
|
zwww: typing_extensions.Self
|
|
3134
|
-
"""
|
|
3135
|
-
|
|
3136
|
-
:type: typing_extensions.Self
|
|
3137
|
-
"""
|
|
3138
|
-
|
|
3139
1616
|
zwwx: typing_extensions.Self
|
|
3140
|
-
"""
|
|
3141
|
-
|
|
3142
|
-
:type: typing_extensions.Self
|
|
3143
|
-
"""
|
|
3144
|
-
|
|
3145
1617
|
zwwy: typing_extensions.Self
|
|
3146
|
-
"""
|
|
3147
|
-
|
|
3148
|
-
:type: typing_extensions.Self
|
|
3149
|
-
"""
|
|
3150
|
-
|
|
3151
1618
|
zwwz: typing_extensions.Self
|
|
3152
|
-
"""
|
|
3153
|
-
|
|
3154
|
-
:type: typing_extensions.Self
|
|
3155
|
-
"""
|
|
3156
|
-
|
|
3157
1619
|
zwx: typing_extensions.Self
|
|
3158
|
-
"""
|
|
3159
|
-
|
|
3160
|
-
:type: typing_extensions.Self
|
|
3161
|
-
"""
|
|
3162
|
-
|
|
3163
1620
|
zwxw: typing_extensions.Self
|
|
3164
|
-
"""
|
|
3165
|
-
|
|
3166
|
-
:type: typing_extensions.Self
|
|
3167
|
-
"""
|
|
3168
|
-
|
|
3169
1621
|
zwxx: typing_extensions.Self
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
:type: typing_extensions.Self
|
|
3173
|
-
"""
|
|
3174
|
-
|
|
3175
|
-
zwxy: typing_extensions.Self
|
|
3176
|
-
"""
|
|
3177
|
-
|
|
3178
|
-
:type: typing_extensions.Self
|
|
3179
|
-
"""
|
|
3180
|
-
|
|
1622
|
+
zwxy: typing_extensions.Self
|
|
3181
1623
|
zwxz: typing_extensions.Self
|
|
3182
|
-
"""
|
|
3183
|
-
|
|
3184
|
-
:type: typing_extensions.Self
|
|
3185
|
-
"""
|
|
3186
|
-
|
|
3187
1624
|
zwy: typing_extensions.Self
|
|
3188
|
-
"""
|
|
3189
|
-
|
|
3190
|
-
:type: typing_extensions.Self
|
|
3191
|
-
"""
|
|
3192
|
-
|
|
3193
1625
|
zwyw: typing_extensions.Self
|
|
3194
|
-
"""
|
|
3195
|
-
|
|
3196
|
-
:type: typing_extensions.Self
|
|
3197
|
-
"""
|
|
3198
|
-
|
|
3199
1626
|
zwyx: typing_extensions.Self
|
|
3200
|
-
"""
|
|
3201
|
-
|
|
3202
|
-
:type: typing_extensions.Self
|
|
3203
|
-
"""
|
|
3204
|
-
|
|
3205
1627
|
zwyy: typing_extensions.Self
|
|
3206
|
-
"""
|
|
3207
|
-
|
|
3208
|
-
:type: typing_extensions.Self
|
|
3209
|
-
"""
|
|
3210
|
-
|
|
3211
1628
|
zwyz: typing_extensions.Self
|
|
3212
|
-
"""
|
|
3213
|
-
|
|
3214
|
-
:type: typing_extensions.Self
|
|
3215
|
-
"""
|
|
3216
|
-
|
|
3217
1629
|
zwz: typing_extensions.Self
|
|
3218
|
-
"""
|
|
3219
|
-
|
|
3220
|
-
:type: typing_extensions.Self
|
|
3221
|
-
"""
|
|
3222
|
-
|
|
3223
1630
|
zwzw: typing_extensions.Self
|
|
3224
|
-
"""
|
|
3225
|
-
|
|
3226
|
-
:type: typing_extensions.Self
|
|
3227
|
-
"""
|
|
3228
|
-
|
|
3229
1631
|
zwzx: typing_extensions.Self
|
|
3230
|
-
"""
|
|
3231
|
-
|
|
3232
|
-
:type: typing_extensions.Self
|
|
3233
|
-
"""
|
|
3234
|
-
|
|
3235
1632
|
zwzy: typing_extensions.Self
|
|
3236
|
-
"""
|
|
3237
|
-
|
|
3238
|
-
:type: typing_extensions.Self
|
|
3239
|
-
"""
|
|
3240
|
-
|
|
3241
1633
|
zwzz: typing_extensions.Self
|
|
3242
|
-
"""
|
|
3243
|
-
|
|
3244
|
-
:type: typing_extensions.Self
|
|
3245
|
-
"""
|
|
3246
|
-
|
|
3247
1634
|
zx: typing_extensions.Self
|
|
3248
|
-
"""
|
|
3249
|
-
|
|
3250
|
-
:type: typing_extensions.Self
|
|
3251
|
-
"""
|
|
3252
|
-
|
|
3253
1635
|
zxw: typing_extensions.Self
|
|
3254
|
-
"""
|
|
3255
|
-
|
|
3256
|
-
:type: typing_extensions.Self
|
|
3257
|
-
"""
|
|
3258
|
-
|
|
3259
1636
|
zxww: typing_extensions.Self
|
|
3260
|
-
"""
|
|
3261
|
-
|
|
3262
|
-
:type: typing_extensions.Self
|
|
3263
|
-
"""
|
|
3264
|
-
|
|
3265
1637
|
zxwx: typing_extensions.Self
|
|
3266
|
-
"""
|
|
3267
|
-
|
|
3268
|
-
:type: typing_extensions.Self
|
|
3269
|
-
"""
|
|
3270
|
-
|
|
3271
1638
|
zxwy: typing_extensions.Self
|
|
3272
|
-
"""
|
|
3273
|
-
|
|
3274
|
-
:type: typing_extensions.Self
|
|
3275
|
-
"""
|
|
3276
|
-
|
|
3277
1639
|
zxwz: typing_extensions.Self
|
|
3278
|
-
"""
|
|
3279
|
-
|
|
3280
|
-
:type: typing_extensions.Self
|
|
3281
|
-
"""
|
|
3282
|
-
|
|
3283
1640
|
zxx: typing_extensions.Self
|
|
3284
|
-
"""
|
|
3285
|
-
|
|
3286
|
-
:type: typing_extensions.Self
|
|
3287
|
-
"""
|
|
3288
|
-
|
|
3289
1641
|
zxxw: typing_extensions.Self
|
|
3290
|
-
"""
|
|
3291
|
-
|
|
3292
|
-
:type: typing_extensions.Self
|
|
3293
|
-
"""
|
|
3294
|
-
|
|
3295
1642
|
zxxx: typing_extensions.Self
|
|
3296
|
-
"""
|
|
3297
|
-
|
|
3298
|
-
:type: typing_extensions.Self
|
|
3299
|
-
"""
|
|
3300
|
-
|
|
3301
1643
|
zxxy: typing_extensions.Self
|
|
3302
|
-
"""
|
|
3303
|
-
|
|
3304
|
-
:type: typing_extensions.Self
|
|
3305
|
-
"""
|
|
3306
|
-
|
|
3307
1644
|
zxxz: typing_extensions.Self
|
|
3308
|
-
"""
|
|
3309
|
-
|
|
3310
|
-
:type: typing_extensions.Self
|
|
3311
|
-
"""
|
|
3312
|
-
|
|
3313
1645
|
zxy: typing_extensions.Self
|
|
3314
|
-
"""
|
|
3315
|
-
|
|
3316
|
-
:type: typing_extensions.Self
|
|
3317
|
-
"""
|
|
3318
|
-
|
|
3319
1646
|
zxyw: typing_extensions.Self
|
|
3320
|
-
"""
|
|
3321
|
-
|
|
3322
|
-
:type: typing_extensions.Self
|
|
3323
|
-
"""
|
|
3324
|
-
|
|
3325
1647
|
zxyx: typing_extensions.Self
|
|
3326
|
-
"""
|
|
3327
|
-
|
|
3328
|
-
:type: typing_extensions.Self
|
|
3329
|
-
"""
|
|
3330
|
-
|
|
3331
1648
|
zxyy: typing_extensions.Self
|
|
3332
|
-
"""
|
|
3333
|
-
|
|
3334
|
-
:type: typing_extensions.Self
|
|
3335
|
-
"""
|
|
3336
|
-
|
|
3337
1649
|
zxyz: typing_extensions.Self
|
|
3338
|
-
"""
|
|
3339
|
-
|
|
3340
|
-
:type: typing_extensions.Self
|
|
3341
|
-
"""
|
|
3342
|
-
|
|
3343
1650
|
zxz: typing_extensions.Self
|
|
3344
|
-
"""
|
|
3345
|
-
|
|
3346
|
-
:type: typing_extensions.Self
|
|
3347
|
-
"""
|
|
3348
|
-
|
|
3349
1651
|
zxzw: typing_extensions.Self
|
|
3350
|
-
"""
|
|
3351
|
-
|
|
3352
|
-
:type: typing_extensions.Self
|
|
3353
|
-
"""
|
|
3354
|
-
|
|
3355
1652
|
zxzx: typing_extensions.Self
|
|
3356
|
-
"""
|
|
3357
|
-
|
|
3358
|
-
:type: typing_extensions.Self
|
|
3359
|
-
"""
|
|
3360
|
-
|
|
3361
1653
|
zxzy: typing_extensions.Self
|
|
3362
|
-
"""
|
|
3363
|
-
|
|
3364
|
-
:type: typing_extensions.Self
|
|
3365
|
-
"""
|
|
3366
|
-
|
|
3367
1654
|
zxzz: typing_extensions.Self
|
|
3368
|
-
"""
|
|
3369
|
-
|
|
3370
|
-
:type: typing_extensions.Self
|
|
3371
|
-
"""
|
|
3372
|
-
|
|
3373
1655
|
zy: typing_extensions.Self
|
|
3374
|
-
"""
|
|
3375
|
-
|
|
3376
|
-
:type: typing_extensions.Self
|
|
3377
|
-
"""
|
|
3378
|
-
|
|
3379
1656
|
zyw: typing_extensions.Self
|
|
3380
|
-
"""
|
|
3381
|
-
|
|
3382
|
-
:type: typing_extensions.Self
|
|
3383
|
-
"""
|
|
3384
|
-
|
|
3385
1657
|
zyww: typing_extensions.Self
|
|
3386
|
-
"""
|
|
3387
|
-
|
|
3388
|
-
:type: typing_extensions.Self
|
|
3389
|
-
"""
|
|
3390
|
-
|
|
3391
1658
|
zywx: typing_extensions.Self
|
|
3392
|
-
"""
|
|
3393
|
-
|
|
3394
|
-
:type: typing_extensions.Self
|
|
3395
|
-
"""
|
|
3396
|
-
|
|
3397
1659
|
zywy: typing_extensions.Self
|
|
3398
|
-
"""
|
|
3399
|
-
|
|
3400
|
-
:type: typing_extensions.Self
|
|
3401
|
-
"""
|
|
3402
|
-
|
|
3403
1660
|
zywz: typing_extensions.Self
|
|
3404
|
-
"""
|
|
3405
|
-
|
|
3406
|
-
:type: typing_extensions.Self
|
|
3407
|
-
"""
|
|
3408
|
-
|
|
3409
1661
|
zyx: typing_extensions.Self
|
|
3410
|
-
"""
|
|
3411
|
-
|
|
3412
|
-
:type: typing_extensions.Self
|
|
3413
|
-
"""
|
|
3414
|
-
|
|
3415
1662
|
zyxw: typing_extensions.Self
|
|
3416
|
-
"""
|
|
3417
|
-
|
|
3418
|
-
:type: typing_extensions.Self
|
|
3419
|
-
"""
|
|
3420
|
-
|
|
3421
1663
|
zyxx: typing_extensions.Self
|
|
3422
|
-
"""
|
|
3423
|
-
|
|
3424
|
-
:type: typing_extensions.Self
|
|
3425
|
-
"""
|
|
3426
|
-
|
|
3427
1664
|
zyxy: typing_extensions.Self
|
|
3428
|
-
"""
|
|
3429
|
-
|
|
3430
|
-
:type: typing_extensions.Self
|
|
3431
|
-
"""
|
|
3432
|
-
|
|
3433
1665
|
zyxz: typing_extensions.Self
|
|
3434
|
-
"""
|
|
3435
|
-
|
|
3436
|
-
:type: typing_extensions.Self
|
|
3437
|
-
"""
|
|
3438
|
-
|
|
3439
1666
|
zyy: typing_extensions.Self
|
|
3440
|
-
"""
|
|
3441
|
-
|
|
3442
|
-
:type: typing_extensions.Self
|
|
3443
|
-
"""
|
|
3444
|
-
|
|
3445
1667
|
zyyw: typing_extensions.Self
|
|
3446
|
-
"""
|
|
3447
|
-
|
|
3448
|
-
:type: typing_extensions.Self
|
|
3449
|
-
"""
|
|
3450
|
-
|
|
3451
1668
|
zyyx: typing_extensions.Self
|
|
3452
|
-
"""
|
|
3453
|
-
|
|
3454
|
-
:type: typing_extensions.Self
|
|
3455
|
-
"""
|
|
3456
|
-
|
|
3457
1669
|
zyyy: typing_extensions.Self
|
|
3458
|
-
"""
|
|
3459
|
-
|
|
3460
|
-
:type: typing_extensions.Self
|
|
3461
|
-
"""
|
|
3462
|
-
|
|
3463
1670
|
zyyz: typing_extensions.Self
|
|
3464
|
-
"""
|
|
3465
|
-
|
|
3466
|
-
:type: typing_extensions.Self
|
|
3467
|
-
"""
|
|
3468
|
-
|
|
3469
1671
|
zyz: typing_extensions.Self
|
|
3470
|
-
"""
|
|
3471
|
-
|
|
3472
|
-
:type: typing_extensions.Self
|
|
3473
|
-
"""
|
|
3474
|
-
|
|
3475
1672
|
zyzw: typing_extensions.Self
|
|
3476
|
-
"""
|
|
3477
|
-
|
|
3478
|
-
:type: typing_extensions.Self
|
|
3479
|
-
"""
|
|
3480
|
-
|
|
3481
1673
|
zyzx: typing_extensions.Self
|
|
3482
|
-
"""
|
|
3483
|
-
|
|
3484
|
-
:type: typing_extensions.Self
|
|
3485
|
-
"""
|
|
3486
|
-
|
|
3487
1674
|
zyzy: typing_extensions.Self
|
|
3488
|
-
"""
|
|
3489
|
-
|
|
3490
|
-
:type: typing_extensions.Self
|
|
3491
|
-
"""
|
|
3492
|
-
|
|
3493
1675
|
zyzz: typing_extensions.Self
|
|
3494
|
-
"""
|
|
3495
|
-
|
|
3496
|
-
:type: typing_extensions.Self
|
|
3497
|
-
"""
|
|
3498
|
-
|
|
3499
1676
|
zz: typing_extensions.Self
|
|
3500
|
-
"""
|
|
3501
|
-
|
|
3502
|
-
:type: typing_extensions.Self
|
|
3503
|
-
"""
|
|
3504
|
-
|
|
3505
1677
|
zzw: typing_extensions.Self
|
|
3506
|
-
"""
|
|
3507
|
-
|
|
3508
|
-
:type: typing_extensions.Self
|
|
3509
|
-
"""
|
|
3510
|
-
|
|
3511
1678
|
zzww: typing_extensions.Self
|
|
3512
|
-
"""
|
|
3513
|
-
|
|
3514
|
-
:type: typing_extensions.Self
|
|
3515
|
-
"""
|
|
3516
|
-
|
|
3517
1679
|
zzwx: typing_extensions.Self
|
|
3518
|
-
"""
|
|
3519
|
-
|
|
3520
|
-
:type: typing_extensions.Self
|
|
3521
|
-
"""
|
|
3522
|
-
|
|
3523
1680
|
zzwy: typing_extensions.Self
|
|
3524
|
-
"""
|
|
3525
|
-
|
|
3526
|
-
:type: typing_extensions.Self
|
|
3527
|
-
"""
|
|
3528
|
-
|
|
3529
1681
|
zzwz: typing_extensions.Self
|
|
3530
|
-
"""
|
|
3531
|
-
|
|
3532
|
-
:type: typing_extensions.Self
|
|
3533
|
-
"""
|
|
3534
|
-
|
|
3535
1682
|
zzx: typing_extensions.Self
|
|
3536
|
-
"""
|
|
3537
|
-
|
|
3538
|
-
:type: typing_extensions.Self
|
|
3539
|
-
"""
|
|
3540
|
-
|
|
3541
1683
|
zzxw: typing_extensions.Self
|
|
3542
|
-
"""
|
|
3543
|
-
|
|
3544
|
-
:type: typing_extensions.Self
|
|
3545
|
-
"""
|
|
3546
|
-
|
|
3547
1684
|
zzxx: typing_extensions.Self
|
|
3548
|
-
"""
|
|
3549
|
-
|
|
3550
|
-
:type: typing_extensions.Self
|
|
3551
|
-
"""
|
|
3552
|
-
|
|
3553
1685
|
zzxy: typing_extensions.Self
|
|
3554
|
-
"""
|
|
3555
|
-
|
|
3556
|
-
:type: typing_extensions.Self
|
|
3557
|
-
"""
|
|
3558
|
-
|
|
3559
1686
|
zzxz: typing_extensions.Self
|
|
3560
|
-
"""
|
|
3561
|
-
|
|
3562
|
-
:type: typing_extensions.Self
|
|
3563
|
-
"""
|
|
3564
|
-
|
|
3565
1687
|
zzy: typing_extensions.Self
|
|
3566
|
-
"""
|
|
3567
|
-
|
|
3568
|
-
:type: typing_extensions.Self
|
|
3569
|
-
"""
|
|
3570
|
-
|
|
3571
1688
|
zzyw: typing_extensions.Self
|
|
3572
|
-
"""
|
|
3573
|
-
|
|
3574
|
-
:type: typing_extensions.Self
|
|
3575
|
-
"""
|
|
3576
|
-
|
|
3577
1689
|
zzyx: typing_extensions.Self
|
|
3578
|
-
"""
|
|
3579
|
-
|
|
3580
|
-
:type: typing_extensions.Self
|
|
3581
|
-
"""
|
|
3582
|
-
|
|
3583
1690
|
zzyy: typing_extensions.Self
|
|
3584
|
-
"""
|
|
3585
|
-
|
|
3586
|
-
:type: typing_extensions.Self
|
|
3587
|
-
"""
|
|
3588
|
-
|
|
3589
1691
|
zzyz: typing_extensions.Self
|
|
3590
|
-
"""
|
|
3591
|
-
|
|
3592
|
-
:type: typing_extensions.Self
|
|
3593
|
-
"""
|
|
3594
|
-
|
|
3595
1692
|
zzz: typing_extensions.Self
|
|
3596
|
-
"""
|
|
3597
|
-
|
|
3598
|
-
:type: typing_extensions.Self
|
|
3599
|
-
"""
|
|
3600
|
-
|
|
3601
1693
|
zzzw: typing_extensions.Self
|
|
3602
|
-
"""
|
|
3603
|
-
|
|
3604
|
-
:type: typing_extensions.Self
|
|
3605
|
-
"""
|
|
3606
|
-
|
|
3607
1694
|
zzzx: typing_extensions.Self
|
|
3608
|
-
"""
|
|
3609
|
-
|
|
3610
|
-
:type: typing_extensions.Self
|
|
3611
|
-
"""
|
|
3612
|
-
|
|
3613
1695
|
zzzy: typing_extensions.Self
|
|
3614
|
-
"""
|
|
3615
|
-
|
|
3616
|
-
:type: typing_extensions.Self
|
|
3617
|
-
"""
|
|
3618
|
-
|
|
3619
1696
|
zzzz: typing_extensions.Self
|
|
3620
|
-
"""
|
|
3621
|
-
|
|
3622
|
-
:type: typing_extensions.Self
|
|
3623
|
-
"""
|
|
3624
1697
|
|
|
3625
1698
|
@classmethod
|
|
3626
|
-
def Fill(
|
|
1699
|
+
def Fill(
|
|
1700
|
+
cls,
|
|
1701
|
+
size: int,
|
|
1702
|
+
fill: float = 0.0,
|
|
1703
|
+
/,
|
|
1704
|
+
) -> typing_extensions.Self:
|
|
3627
1705
|
"""Create a vector of length size with all values set to fill.
|
|
3628
1706
|
|
|
3629
1707
|
:param size: The length of the vector to be created.
|
|
3630
|
-
:type size: int
|
|
3631
1708
|
:param fill: The value used to fill the vector.
|
|
3632
|
-
:
|
|
1709
|
+
:return: A new vector.
|
|
3633
1710
|
"""
|
|
3634
1711
|
|
|
3635
1712
|
@classmethod
|
|
3636
|
-
def Linspace(
|
|
1713
|
+
def Linspace(
|
|
1714
|
+
cls,
|
|
1715
|
+
start: float,
|
|
1716
|
+
stop: float,
|
|
1717
|
+
size: int,
|
|
1718
|
+
/,
|
|
1719
|
+
) -> typing_extensions.Self:
|
|
3637
1720
|
"""Create a vector of the specified size which is filled with linearly spaced values between start and stop values.
|
|
3638
1721
|
|
|
3639
1722
|
:param start: The start of the range used to fill the vector.
|
|
3640
|
-
:type start: int
|
|
3641
1723
|
:param stop: The end of the range used to fill the vector.
|
|
3642
|
-
:type stop: int
|
|
3643
1724
|
:param size: The size of the vector to be created.
|
|
3644
|
-
:
|
|
1725
|
+
:return: A new vector.
|
|
3645
1726
|
"""
|
|
3646
1727
|
|
|
3647
1728
|
@classmethod
|
|
3648
|
-
def Range(
|
|
3649
|
-
|
|
1729
|
+
def Range(
|
|
1730
|
+
cls,
|
|
1731
|
+
start: int,
|
|
1732
|
+
stop: int,
|
|
1733
|
+
step: int = 1,
|
|
1734
|
+
/,
|
|
1735
|
+
) -> typing_extensions.Self:
|
|
1736
|
+
"""Create a vector filled with a range of values.
|
|
3650
1737
|
|
|
3651
1738
|
:param start: The start of the range used to fill the vector.
|
|
3652
|
-
:type start: int
|
|
3653
1739
|
:param stop: The end of the range used to fill the vector.
|
|
3654
|
-
:type stop: int
|
|
3655
1740
|
:param step: The step between successive values in the vector.
|
|
3656
|
-
:
|
|
1741
|
+
:return: A new vector.
|
|
3657
1742
|
"""
|
|
3658
1743
|
|
|
3659
1744
|
@classmethod
|
|
3660
1745
|
def Repeat(
|
|
3661
|
-
cls,
|
|
3662
|
-
|
|
1746
|
+
cls,
|
|
1747
|
+
vector: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1748
|
+
size: int,
|
|
1749
|
+
/,
|
|
1750
|
+
) -> typing_extensions.Self:
|
|
3663
1751
|
"""Create a vector by repeating the values in vector until the required size is reached.
|
|
3664
1752
|
|
|
3665
1753
|
:param vector: The vector to draw values from.
|
|
3666
|
-
:type vector: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3667
1754
|
:param size: The size of the vector to be created.
|
|
3668
|
-
:
|
|
1755
|
+
:return: A new vector.
|
|
3669
1756
|
"""
|
|
3670
1757
|
|
|
3671
1758
|
def angle(
|
|
3672
1759
|
self,
|
|
3673
1760
|
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
3674
1761
|
fallback: typing.Any | None = None,
|
|
1762
|
+
/,
|
|
3675
1763
|
) -> float | typing.Any:
|
|
3676
1764
|
"""Return the angle between two vectors.
|
|
3677
1765
|
|
|
3678
1766
|
:param other: another vector to compare the angle with
|
|
3679
|
-
:
|
|
3680
|
-
:param fallback: return this when the angle can't be calculated (zero length vector),
|
|
1767
|
+
:param fallback: return this when the angle cant be calculated (zero length vector),
|
|
3681
1768
|
(instead of raising a `ValueError`).
|
|
3682
|
-
:type fallback: typing.Any | None
|
|
3683
1769
|
:return: angle in radians or fallback when given
|
|
3684
|
-
:rtype: float | typing.Any
|
|
3685
1770
|
"""
|
|
3686
1771
|
|
|
3687
1772
|
def angle_signed(
|
|
3688
1773
|
self,
|
|
3689
1774
|
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
3690
1775
|
fallback: typing.Any | None = None,
|
|
1776
|
+
/,
|
|
3691
1777
|
) -> float | typing.Any:
|
|
3692
1778
|
"""Return the signed angle between two 2D vectors (clockwise is positive).
|
|
3693
1779
|
|
|
3694
1780
|
:param other: another vector to compare the angle with
|
|
3695
|
-
:
|
|
3696
|
-
:param fallback: return this when the angle can't be calculated (zero length vector),
|
|
1781
|
+
:param fallback: return this when the angle cant be calculated (zero length vector),
|
|
3697
1782
|
(instead of raising a `ValueError`).
|
|
3698
|
-
:type fallback: typing.Any | None
|
|
3699
1783
|
:return: angle in radians or fallback when given
|
|
3700
|
-
:rtype: float | typing.Any
|
|
3701
1784
|
"""
|
|
3702
1785
|
|
|
3703
1786
|
def copy(self) -> typing_extensions.Self:
|
|
3704
1787
|
"""Returns a copy of this vector.
|
|
3705
1788
|
|
|
3706
1789
|
:return: A copy of the vector.
|
|
3707
|
-
:rtype: typing_extensions.Self
|
|
3708
1790
|
"""
|
|
3709
1791
|
|
|
3710
1792
|
def cross(
|
|
3711
|
-
self,
|
|
1793
|
+
self,
|
|
1794
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1795
|
+
/,
|
|
3712
1796
|
) -> float | typing_extensions.Self:
|
|
3713
1797
|
"""Return the cross product of this vector and another.
|
|
3714
1798
|
|
|
3715
1799
|
:param other: The other vector to perform the cross product with.
|
|
3716
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3717
1800
|
:return: The cross product as a vector or a float when 2D vectors are used.
|
|
3718
|
-
:rtype: float | typing_extensions.Self
|
|
3719
1801
|
"""
|
|
3720
1802
|
|
|
3721
1803
|
def dot(
|
|
3722
|
-
self,
|
|
1804
|
+
self,
|
|
1805
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1806
|
+
/,
|
|
3723
1807
|
) -> float:
|
|
3724
1808
|
"""Return the dot product of this vector and another.
|
|
3725
1809
|
|
|
3726
1810
|
:param other: The other vector to perform the dot product with.
|
|
3727
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3728
1811
|
:return: The dot product.
|
|
3729
|
-
:rtype: float
|
|
3730
1812
|
"""
|
|
3731
1813
|
|
|
3732
1814
|
def freeze(self) -> typing_extensions.Self:
|
|
3733
1815
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
3734
1816
|
|
|
3735
1817
|
:return: An instance of this object.
|
|
3736
|
-
:rtype: typing_extensions.Self
|
|
3737
1818
|
"""
|
|
3738
1819
|
|
|
3739
1820
|
def lerp(
|
|
3740
1821
|
self,
|
|
3741
1822
|
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
3742
1823
|
factor: float,
|
|
1824
|
+
/,
|
|
3743
1825
|
) -> typing_extensions.Self:
|
|
3744
1826
|
"""Returns the interpolation of two vectors.
|
|
3745
1827
|
|
|
3746
1828
|
:param other: value to interpolate with.
|
|
3747
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3748
1829
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
3749
|
-
:type factor: float
|
|
3750
1830
|
:return: The interpolated vector.
|
|
3751
|
-
:rtype: typing_extensions.Self
|
|
3752
1831
|
"""
|
|
3753
1832
|
|
|
3754
|
-
def negate(self):
|
|
1833
|
+
def negate(self) -> None:
|
|
3755
1834
|
"""Set all values to their negative."""
|
|
3756
1835
|
|
|
3757
|
-
def normalize(self):
|
|
1836
|
+
def normalize(self) -> None:
|
|
3758
1837
|
"""Normalize the vector, making the length of the vector always 1.0."""
|
|
3759
1838
|
|
|
3760
1839
|
def normalized(self) -> typing_extensions.Self:
|
|
3761
1840
|
"""Return a new, normalized vector.
|
|
3762
1841
|
|
|
3763
1842
|
:return: a normalized copy of the vector
|
|
3764
|
-
:rtype: typing_extensions.Self
|
|
3765
1843
|
"""
|
|
3766
1844
|
|
|
3767
1845
|
def orthogonal(self) -> typing_extensions.Self:
|
|
3768
1846
|
"""Return a perpendicular vector.
|
|
3769
1847
|
|
|
3770
1848
|
:return: a new vector 90 degrees from this vector.
|
|
3771
|
-
:rtype: typing_extensions.Self
|
|
3772
1849
|
"""
|
|
3773
1850
|
|
|
3774
1851
|
def project(
|
|
3775
|
-
self,
|
|
1852
|
+
self,
|
|
1853
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1854
|
+
/,
|
|
3776
1855
|
) -> typing_extensions.Self:
|
|
3777
1856
|
"""Return the projection of this vector onto the other.
|
|
3778
1857
|
|
|
3779
1858
|
:param other: second vector.
|
|
3780
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3781
1859
|
:return: the parallel projection vector
|
|
3782
|
-
:rtype: typing_extensions.Self
|
|
3783
1860
|
"""
|
|
3784
1861
|
|
|
3785
1862
|
def reflect(
|
|
3786
|
-
self,
|
|
1863
|
+
self,
|
|
1864
|
+
mirror: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1865
|
+
/,
|
|
3787
1866
|
) -> typing_extensions.Self:
|
|
3788
1867
|
"""Return the reflection vector from the mirror argument.
|
|
3789
1868
|
|
|
3790
1869
|
:param mirror: This vector could be a normal from the reflecting surface.
|
|
3791
|
-
:type mirror: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3792
1870
|
:return: The reflected vector matching the size of this vector.
|
|
3793
|
-
:rtype: typing_extensions.Self
|
|
3794
1871
|
"""
|
|
3795
1872
|
|
|
3796
|
-
def resize(
|
|
1873
|
+
def resize(
|
|
1874
|
+
self,
|
|
1875
|
+
size: int,
|
|
1876
|
+
/,
|
|
1877
|
+
) -> None:
|
|
3797
1878
|
"""Resize the vector to have size number of elements.
|
|
3798
1879
|
|
|
3799
|
-
:param size:
|
|
1880
|
+
:param size: The new size of the vector.
|
|
3800
1881
|
"""
|
|
3801
1882
|
|
|
3802
|
-
def resize_2d(self):
|
|
3803
|
-
"""Resize the vector to 2D
|
|
1883
|
+
def resize_2d(self) -> None:
|
|
1884
|
+
"""Resize the vector to 2D (x, y)."""
|
|
3804
1885
|
|
|
3805
|
-
def resize_3d(self):
|
|
3806
|
-
"""Resize the vector to 3D
|
|
1886
|
+
def resize_3d(self) -> None:
|
|
1887
|
+
"""Resize the vector to 3D (x, y, z)."""
|
|
3807
1888
|
|
|
3808
|
-
def resize_4d(self):
|
|
1889
|
+
def resize_4d(self) -> None:
|
|
3809
1890
|
"""Resize the vector to 4D (x, y, z, w)."""
|
|
3810
1891
|
|
|
3811
|
-
def resized(
|
|
1892
|
+
def resized(
|
|
1893
|
+
self,
|
|
1894
|
+
size: int,
|
|
1895
|
+
/,
|
|
1896
|
+
) -> typing_extensions.Self:
|
|
3812
1897
|
"""Return a resized copy of the vector with size number of elements.
|
|
3813
1898
|
|
|
3814
|
-
:param size:
|
|
3815
|
-
:return:
|
|
3816
|
-
:rtype: typing_extensions.Self
|
|
1899
|
+
:param size: The new size of the vector.
|
|
1900
|
+
:return: A new vector.
|
|
3817
1901
|
"""
|
|
3818
1902
|
|
|
3819
1903
|
def rotate(
|
|
@@ -3823,23 +1907,23 @@ class Vector:
|
|
|
3823
1907
|
| Quaternion
|
|
3824
1908
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
3825
1909
|
| collections.abc.Sequence[float],
|
|
3826
|
-
|
|
1910
|
+
/,
|
|
1911
|
+
) -> None:
|
|
3827
1912
|
"""Rotate the vector by a rotation value.
|
|
3828
1913
|
|
|
3829
1914
|
:param other: rotation component of mathutils value
|
|
3830
|
-
:type other: Euler | Matrix | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float]
|
|
3831
1915
|
"""
|
|
3832
1916
|
|
|
3833
1917
|
def rotation_difference(
|
|
3834
|
-
self,
|
|
1918
|
+
self,
|
|
1919
|
+
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
1920
|
+
/,
|
|
3835
1921
|
) -> Quaternion:
|
|
3836
1922
|
"""Returns a quaternion representing the rotational difference between this
|
|
3837
1923
|
vector and another.
|
|
3838
1924
|
|
|
3839
1925
|
:param other: second vector.
|
|
3840
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3841
1926
|
:return: the rotational difference between the two vectors.
|
|
3842
|
-
:rtype: Quaternion
|
|
3843
1927
|
"""
|
|
3844
1928
|
|
|
3845
1929
|
def slerp(
|
|
@@ -3847,69 +1931,66 @@ class Vector:
|
|
|
3847
1931
|
other: collections.abc.Sequence[float] | typing_extensions.Self,
|
|
3848
1932
|
factor: float,
|
|
3849
1933
|
fallback: typing.Any | None = None,
|
|
1934
|
+
/,
|
|
3850
1935
|
) -> typing_extensions.Self:
|
|
3851
1936
|
"""Returns the interpolation of two non-zero vectors (spherical coordinates).
|
|
3852
1937
|
|
|
3853
1938
|
:param other: value to interpolate with.
|
|
3854
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3855
1939
|
:param factor: The interpolation value typically in [0.0, 1.0].
|
|
3856
|
-
:
|
|
3857
|
-
:param fallback: return this when the vector can't be calculated (zero length vector or direct opposites),
|
|
1940
|
+
:param fallback: return this when the vector cant be calculated (zero length vector or direct opposites),
|
|
3858
1941
|
(instead of raising a `ValueError`).
|
|
3859
|
-
:type fallback: typing.Any | None
|
|
3860
1942
|
:return: The interpolated vector.
|
|
3861
|
-
:rtype: typing_extensions.Self
|
|
3862
1943
|
"""
|
|
3863
1944
|
|
|
3864
1945
|
def to_2d(self) -> typing_extensions.Self:
|
|
3865
1946
|
"""Return a 2d copy of the vector.
|
|
3866
1947
|
|
|
3867
1948
|
:return: a new vector
|
|
3868
|
-
:rtype: typing_extensions.Self
|
|
3869
1949
|
"""
|
|
3870
1950
|
|
|
3871
1951
|
def to_3d(self) -> typing_extensions.Self:
|
|
3872
1952
|
"""Return a 3d copy of the vector.
|
|
3873
1953
|
|
|
3874
1954
|
:return: a new vector
|
|
3875
|
-
:rtype: typing_extensions.Self
|
|
3876
1955
|
"""
|
|
3877
1956
|
|
|
3878
1957
|
def to_4d(self) -> typing_extensions.Self:
|
|
3879
1958
|
"""Return a 4d copy of the vector.
|
|
3880
1959
|
|
|
3881
1960
|
:return: a new vector
|
|
3882
|
-
:rtype: typing_extensions.Self
|
|
3883
1961
|
"""
|
|
3884
1962
|
|
|
3885
|
-
def to_track_quat(
|
|
1963
|
+
def to_track_quat(
|
|
1964
|
+
self,
|
|
1965
|
+
track: typing.Literal["-", "X", "Y", "Z", "-X", "-Y", "-Z"] = "Z",
|
|
1966
|
+
up: typing.Literal["X", "Y", "Z"] = "Y",
|
|
1967
|
+
/,
|
|
1968
|
+
) -> Quaternion:
|
|
3886
1969
|
"""Return a quaternion rotation from the vector and the track and up axis.
|
|
3887
1970
|
|
|
3888
|
-
:param track: Track axis
|
|
3889
|
-
:
|
|
3890
|
-
:param up: Up axis in ['X', 'Y', 'Z'].
|
|
3891
|
-
:type up: str
|
|
1971
|
+
:param track: Track axis string.
|
|
1972
|
+
:param up: Up axis string.
|
|
3892
1973
|
:return: rotation from the vector and the track and up axis.
|
|
3893
|
-
:rtype: Quaternion
|
|
3894
1974
|
"""
|
|
3895
1975
|
|
|
3896
|
-
def to_tuple(
|
|
3897
|
-
|
|
1976
|
+
def to_tuple(
|
|
1977
|
+
self,
|
|
1978
|
+
precision: int = -1,
|
|
1979
|
+
/,
|
|
1980
|
+
) -> tuple[float, ...]:
|
|
1981
|
+
"""Return this vector as a tuple with a given precision.
|
|
3898
1982
|
|
|
3899
1983
|
:param precision: The number to round the value to in [-1, 21].
|
|
3900
|
-
:type precision: int
|
|
3901
1984
|
:return: the values of the vector rounded by precision
|
|
3902
|
-
:rtype: tuple[float, ...]
|
|
3903
1985
|
"""
|
|
3904
1986
|
|
|
3905
|
-
def zero(self):
|
|
1987
|
+
def zero(self) -> None:
|
|
3906
1988
|
"""Set all values to zero."""
|
|
3907
1989
|
|
|
3908
|
-
def __init__(self, seq: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)):
|
|
1990
|
+
def __init__(self, seq: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)) -> None:
|
|
3909
1991
|
"""
|
|
3910
1992
|
|
|
3911
1993
|
:param seq:
|
|
3912
|
-
:type seq: collections.abc.Sequence[float]
|
|
3913
1994
|
"""
|
|
3914
1995
|
|
|
3915
1996
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -3918,24 +1999,21 @@ class Vector:
|
|
|
3918
1999
|
:param instance:
|
|
3919
2000
|
:param owner:
|
|
3920
2001
|
:return:
|
|
3921
|
-
:rtype: typing_extensions.Self
|
|
3922
2002
|
"""
|
|
3923
2003
|
|
|
3924
2004
|
def __set__(
|
|
3925
2005
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3926
|
-
):
|
|
2006
|
+
) -> None:
|
|
3927
2007
|
"""
|
|
3928
2008
|
|
|
3929
2009
|
:param instance:
|
|
3930
2010
|
:param value:
|
|
3931
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3932
2011
|
"""
|
|
3933
2012
|
|
|
3934
2013
|
def __len__(self) -> int:
|
|
3935
2014
|
"""
|
|
3936
2015
|
|
|
3937
2016
|
:return:
|
|
3938
|
-
:rtype: int
|
|
3939
2017
|
"""
|
|
3940
2018
|
|
|
3941
2019
|
@typing.overload
|
|
@@ -3943,9 +2021,7 @@ class Vector:
|
|
|
3943
2021
|
"""
|
|
3944
2022
|
|
|
3945
2023
|
:param key:
|
|
3946
|
-
:type key: int
|
|
3947
2024
|
:return:
|
|
3948
|
-
:rtype: float
|
|
3949
2025
|
"""
|
|
3950
2026
|
|
|
3951
2027
|
@typing.overload
|
|
@@ -3953,36 +2029,31 @@ class Vector:
|
|
|
3953
2029
|
"""
|
|
3954
2030
|
|
|
3955
2031
|
:param key:
|
|
3956
|
-
:type key: slice
|
|
3957
2032
|
:return:
|
|
3958
|
-
:rtype: tuple[float, ...]
|
|
3959
2033
|
"""
|
|
3960
2034
|
|
|
3961
2035
|
@typing.overload
|
|
3962
|
-
def __setitem__(self, key: int, value: float):
|
|
2036
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
3963
2037
|
"""
|
|
3964
2038
|
|
|
3965
2039
|
:param key:
|
|
3966
|
-
:type key: int
|
|
3967
2040
|
:param value:
|
|
3968
|
-
:type value: float
|
|
3969
2041
|
"""
|
|
3970
2042
|
|
|
3971
2043
|
@typing.overload
|
|
3972
|
-
def __setitem__(
|
|
2044
|
+
def __setitem__(
|
|
2045
|
+
self, key: slice, value: collections.abc.Iterable[float] | Vector
|
|
2046
|
+
) -> None:
|
|
3973
2047
|
"""
|
|
3974
2048
|
|
|
3975
2049
|
:param key:
|
|
3976
|
-
:type key: slice
|
|
3977
2050
|
:param value:
|
|
3978
|
-
:type value: collections.abc.Iterable[float] | Vector
|
|
3979
2051
|
"""
|
|
3980
2052
|
|
|
3981
2053
|
def __neg__(self) -> typing_extensions.Self:
|
|
3982
2054
|
"""
|
|
3983
2055
|
|
|
3984
2056
|
:return:
|
|
3985
|
-
:rtype: typing_extensions.Self
|
|
3986
2057
|
"""
|
|
3987
2058
|
|
|
3988
2059
|
def __add__(
|
|
@@ -3991,9 +2062,7 @@ class Vector:
|
|
|
3991
2062
|
"""
|
|
3992
2063
|
|
|
3993
2064
|
:param other:
|
|
3994
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3995
2065
|
:return:
|
|
3996
|
-
:rtype: typing_extensions.Self
|
|
3997
2066
|
"""
|
|
3998
2067
|
|
|
3999
2068
|
def __sub__(
|
|
@@ -4002,9 +2071,7 @@ class Vector:
|
|
|
4002
2071
|
"""
|
|
4003
2072
|
|
|
4004
2073
|
:param other:
|
|
4005
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4006
2074
|
:return:
|
|
4007
|
-
:rtype: typing_extensions.Self
|
|
4008
2075
|
"""
|
|
4009
2076
|
|
|
4010
2077
|
@typing.overload
|
|
@@ -4012,9 +2079,7 @@ class Vector:
|
|
|
4012
2079
|
"""
|
|
4013
2080
|
|
|
4014
2081
|
:param other:
|
|
4015
|
-
:type other: float
|
|
4016
2082
|
:return:
|
|
4017
|
-
:rtype: typing_extensions.Self
|
|
4018
2083
|
"""
|
|
4019
2084
|
|
|
4020
2085
|
@typing.overload
|
|
@@ -4024,18 +2089,14 @@ class Vector:
|
|
|
4024
2089
|
"""
|
|
4025
2090
|
|
|
4026
2091
|
:param other:
|
|
4027
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4028
2092
|
:return:
|
|
4029
|
-
:rtype: typing_extensions.Self
|
|
4030
2093
|
"""
|
|
4031
2094
|
|
|
4032
2095
|
def __truediv__(self, other: float) -> typing_extensions.Self:
|
|
4033
2096
|
"""
|
|
4034
2097
|
|
|
4035
2098
|
:param other:
|
|
4036
|
-
:type other: float
|
|
4037
2099
|
:return:
|
|
4038
|
-
:rtype: typing_extensions.Self
|
|
4039
2100
|
"""
|
|
4040
2101
|
|
|
4041
2102
|
@typing.overload
|
|
@@ -4045,9 +2106,7 @@ class Vector:
|
|
|
4045
2106
|
"""
|
|
4046
2107
|
|
|
4047
2108
|
:param other:
|
|
4048
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4049
2109
|
:return:
|
|
4050
|
-
:rtype: float
|
|
4051
2110
|
"""
|
|
4052
2111
|
|
|
4053
2112
|
@typing.overload
|
|
@@ -4057,9 +2116,7 @@ class Vector:
|
|
|
4057
2116
|
"""
|
|
4058
2117
|
|
|
4059
2118
|
:param other:
|
|
4060
|
-
:type other: Matrix | collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
4061
2119
|
:return:
|
|
4062
|
-
:rtype: typing_extensions.Self
|
|
4063
2120
|
"""
|
|
4064
2121
|
|
|
4065
2122
|
def __radd__(
|
|
@@ -4068,9 +2125,7 @@ class Vector:
|
|
|
4068
2125
|
"""
|
|
4069
2126
|
|
|
4070
2127
|
:param other:
|
|
4071
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4072
2128
|
:return:
|
|
4073
|
-
:rtype: typing_extensions.Self
|
|
4074
2129
|
"""
|
|
4075
2130
|
|
|
4076
2131
|
def __rsub__(
|
|
@@ -4079,27 +2134,21 @@ class Vector:
|
|
|
4079
2134
|
"""
|
|
4080
2135
|
|
|
4081
2136
|
:param other:
|
|
4082
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4083
2137
|
:return:
|
|
4084
|
-
:rtype: typing_extensions.Self
|
|
4085
2138
|
"""
|
|
4086
2139
|
|
|
4087
2140
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
4088
2141
|
"""
|
|
4089
2142
|
|
|
4090
2143
|
:param other:
|
|
4091
|
-
:type other: float
|
|
4092
2144
|
:return:
|
|
4093
|
-
:rtype: typing_extensions.Self
|
|
4094
2145
|
"""
|
|
4095
2146
|
|
|
4096
2147
|
def __rtruediv__(self, other: float) -> typing_extensions.Self:
|
|
4097
2148
|
"""
|
|
4098
2149
|
|
|
4099
2150
|
:param other:
|
|
4100
|
-
:type other: float
|
|
4101
2151
|
:return:
|
|
4102
|
-
:rtype: typing_extensions.Self
|
|
4103
2152
|
"""
|
|
4104
2153
|
|
|
4105
2154
|
def __iadd__(
|
|
@@ -4108,9 +2157,7 @@ class Vector:
|
|
|
4108
2157
|
"""
|
|
4109
2158
|
|
|
4110
2159
|
:param other:
|
|
4111
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4112
2160
|
:return:
|
|
4113
|
-
:rtype: typing_extensions.Self
|
|
4114
2161
|
"""
|
|
4115
2162
|
|
|
4116
2163
|
def __isub__(
|
|
@@ -4119,25 +2166,19 @@ class Vector:
|
|
|
4119
2166
|
"""
|
|
4120
2167
|
|
|
4121
2168
|
:param other:
|
|
4122
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4123
2169
|
:return:
|
|
4124
|
-
:rtype: typing_extensions.Self
|
|
4125
2170
|
"""
|
|
4126
2171
|
|
|
4127
2172
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
4128
2173
|
"""
|
|
4129
2174
|
|
|
4130
2175
|
:param other:
|
|
4131
|
-
:type other: float
|
|
4132
2176
|
:return:
|
|
4133
|
-
:rtype: typing_extensions.Self
|
|
4134
2177
|
"""
|
|
4135
2178
|
|
|
4136
2179
|
def __itruediv__(self, other: float) -> typing_extensions.Self:
|
|
4137
2180
|
"""
|
|
4138
2181
|
|
|
4139
2182
|
:param other:
|
|
4140
|
-
:type other: float
|
|
4141
2183
|
:return:
|
|
4142
|
-
:rtype: typing_extensions.Self
|
|
4143
2184
|
"""
|