mapbox / mapbox/delaunator

How to get hull's halfedges ?

Open
#75 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
2.6k
Forks
152
PR merge metrics
No merged PRs in 30d

Description

How to get hull's halfedges ? Is there anything to get them directly or must I check all edges around hull's points ?
I need this to close the triangulation on a sphere. The last triangles are made with a pole in sterographic projection connected to each hull's edge. This pole/point is removed before running delaunator then added after and so all new triangles with this new point.

hull give points but hulltri, hullhash, hullnext and hullprev are not related to hull's actual edges.

Contributor guide

Open the contributing guide

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.

Research direction

Start by examining how the hull, hulltri, hullhash, hullnext, and hullprev data are represented and related to the triangulation. The issue does not name a source file or test, so locating the relevant hull-handling entry point is required first. Done would be a supported way to obtain the hull's halfedges for the described spherical-closing workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.