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

Đang mở
#260 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
computer-graphics

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
1.3k
Fork
188
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nmwsharp/geometry-central

Tất cả issue của nmwsharp/geometry-central

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.