Line3.isparallel()/__or__ still scale-dependent, like the distance() bug fixed in #224
維護者通常 1 天內回覆
評估
研究方向
Start at the Line3.isparallel() entry point and trace its callers, including or, ^/isintersecting, and commonperp(). Compare the tolerance handling with the distance() fix in #224; done means the parallel decision no longer changes when Plucker direction vectors are rescaled, while the related closest_to_line() check remains separate.
由索引模型根據 Issue 內容生成。
描述
#224 fixed Line3.distance() so it no longer depends on the magnitude of the Plucker direction vectors (w), only their direction — it was giving wrong results whenever a line's Plucker coordinates were rescaled by a factor other than 1, and crashing outright on parallel lines.
isparallel() (and hence __or__, ^/isintersecting, and commonperp(), all of which call it) has the same shape of bug: it tests norm(cross(l1.w, l2.w)) < tol * eps using the raw, non-unit direction vectors, rather than unit directions. Two lines with the same true angular separation can cross or miss the parallel threshold depending purely on how their Plucker coordinates happen to be scaled.
closest_to_line() wasn't checked for the same issue — worth a separate look.
Not urgent (no crash, unlike the distance() case), but the same class of bug and probably the same fix shape: normalize to unit vectors before the tolerance comparison.
Cross-ref: #224
- 主要語言
- Python
- 星號
- 642
- 分支
- 102
- 平均合併
- 11 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
rai-opensource/spatialmath-python 的其他 Issue
-
documentation
難度 2/5 1-3 小時 新手友好度 74/100
rai-opensource/spatialmath-python#235 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 65/100
rai-opensource/spatialmath-python#32 · 4 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 4/5 3-5 天 新手友好度 68/100
rai-opensource/spatialmath-python#234 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 50/100
rai-opensource/spatialmath-python#177 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 42/100
rai-opensource/spatialmath-python#171 ·
維護者通常 1 天內回覆
查看 rai-opensource/spatialmath-python 的全部 Issue
相似的 Issue
-
docs pydanty:is-working
難度 2/5 1-3 小時 新手友好度 75/100
pydantic/pydantic-ai#9800 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
-
[Bug]: With --api-server-count > 1, gauges such as vllm:num_requests_running have no samples until the first request可能已有人在做 @roy6n23 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
vllm-project/vllm#59988 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
pymc-devs/pymc-examples#897 ·
-
難度 1/5 1 小時以內 新手友好度 91/100