You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be useful to add functionality to compute the distance between a point and a line. That is the distance of the segment perpendicular to the line that passes through the point.
We may want to make a solution that supports both 2D and 3D data.
Additional context
We can use shapely for this, or maybe wrap it for a line drawn in the napari GUI?
A quick search took me to this napari-shapely snippet but maybe there is something more sophisticated out there.
The line in 2D could for example represent a plane (e.g. a wall) in a top view, which is relevant for boundary vector cells analyses.
Is your feature request related to a problem? Please describe.
It would be useful to add functionality to compute the distance between a point and a line. That is the distance of the segment perpendicular to the line that passes through the point.
We may want to make a solution that supports both 2D and 3D data.
Additional context
We can use shapely for this, or maybe wrap it for a line drawn in the napari GUI?
A quick search took me to this napari-shapely snippet but maybe there is something more sophisticated out there.
The line in 2D could for example represent a plane (e.g. a wall) in a top view, which is relevant for boundary vector cells analyses.
Related to #370
The text was updated successfully, but these errors were encountered: