bg::intersection() always returns true for some combinations of geometries

Open
#1,206 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start at include/boost/geometry/algorithms/detail/intersection/interface.hpp#L66 and trace bg::intersection() for the reported Segment*Segment -> Point case. Reproduce the affected geometry combinations and verify that the return value reflects the actual intersection result, with regression coverage for those cases.

Written by the indexing model from the issue text.

Description

bug
Dominant language
C++
Stars
519
Forks
241
Avg merge
4d 15h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/geometry

All issues in boostorg/geometry

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.