Exact geodesics: near-zero negative intersection denominator leaves reachable edges without intervals
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
Start by reading compute_positive_intersection() and tracing how its denominator and zero-numerator checks handle the near-zero boundary case. Reproduce the flat square mesh case with a corner source and compare edge-point distances with queries through adjacent faces. Done means reachable edge points receive intervals and return the analytic distance without breaking other intersection cases.
由索引模型根据 Issue 内容生成。
描述
On a flat square mesh with a corner source, GeodesicAlgorithmExact returns GEODESIC_INF for some reachable edge points. Querying the same location through either adjacent face returns the correct analytic distance. The affected edges have empty interval lists.
Tracing propagation identifies a numerical boundary case in compute_positive_intersection(): the denominator evaluates to approximately -4.34e-19, while the numerator is zero. The strict denominator < 0.0 check rejects the intersection before reaching the zero-numerator handling, preventing intervals from being created. In a diagnostic run, moving the angle by one representable step creates the missing interval and restores the correct distance.
- 主要语言
- C++
- 星标
- 1.3k
- 派生
- 188
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nmwsharp/geometry-central 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
nmwsharp/geometry-central#265 · 1 条评论 ·
-
warning: control reaches end of non-void function in VectorHeatMethodSolver::computeLogMap可能已有人在做 @dyollb 于 105 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
nmwsharp/geometry-central#256 ·
-
BFF::flattenFromScaleFactors gives an overlap where it should give a notch (sign bug in dirichletToNeumann)可能已有人在做 @joaoajmatos 于 19 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
nmwsharp/geometry-central#263 ·
-
难度 4/5 3-5 天 新手友好度 48/100
nmwsharp/geometry-central#255 · 1 条评论 ·
-
FlipEdgeNetwork::iterativeShorten() hangs on a contractible closed loop可能已有人在做 @designbynumbers 于 156 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 30/100
nmwsharp/geometry-central#253 ·
查看 nmwsharp/geometry-central 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
uxlfoundation/oneDNN#6604 · 1 条评论 ·
维护者通常 2 天内回复
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13可能已有人在做 @fmu1337 今天认领。 未关闭Bug
难度 2/5 1-3 小时 新手友好度 62/100
alliedmodders/sourcemod#2627 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
lballabio/QuantLib#3134 · 1 条评论 ·
维护者通常 3 天内回复
-
new issue
难度 2/5 1-3 小时 新手友好度 62/100
llvm/llvm-project#245835 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 72/100
EchoTools/nevr-runtime#2823 ·
维护者通常 1 天内回复