voronoi generator could create empty cells

Open
#47 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start at voronoi_diagram::_build(), which the issue identifies as the cleanup entry point for degenerate edges and vertices. Trace how cells reference edges, then ensure cells with no edge are removed by the same cleanup process. The work is done when the builder no longer returns empty or invalid cells.

Written by the indexing model from the issue text.

Description

The voronoi builder calls voronoi_diagram::_build()
to remove degenerate edges and vertices. Once this is done, Voronoi cells are sometimes left, which reference no edge. These invalid cells should be removed as well by the same method.

Dominant language
C++
Stars
70
Forks
76
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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/polygon

All issues in boostorg/polygon

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.