Exact geodesics: near-zero negative intersection denominator leaves reachable edges without intervals

オープン
#260 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nmwsharp/geometry-central のほかの issue

nmwsharp/geometry-central の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。