mathutils.geometry.intersect_line_line_2d doesn't operate on lines, but on line segments #46002
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#46002
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The function
mathutils.geometry.intersect_line_line_2d
is described as "Takes 2 lines (as 4 vectors) and returns a vector for their point of intersection or None". However, it does not intersect lines. It intersects line segments. To add to the confusion, the 3D variantmathutils.geometry.intersect_line_line
is described in the exact same way, but does intersect lines.We should at least update the documentation for the functions to reflect this difference. In my opinion the name should change too, but this would introduce backward compatibilities.
Changed status to: 'Open'
Added subscribers: @dr.sybren, @ideasman42
Added subscriber: @Sergey
Added subscriber: @mont29
Will fix the comment for now… Name is… yuck, ugly issue, but better not break compat for now imho. :(
This issue was referenced by blender/blender@e1b67c9bc0
Changed status from 'Open' to: 'Resolved'