Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Create class for intrinsic triangulation without correspondence?

Aperta
#180 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

No files or tests are named. Start by comparing EdgeLengthGeometry, the existing flip(Edge) logic in the GC implementation, and the mutation manager; determine whether edge-flip queries, direct mutation, or edge-based mutators best support intrinsic triangulations without correspondence data. Done means providing a decided, maintainable API for flipping or evaluating edges.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

design-decision enhancement

There are situations where one wants to work with intrinsic triangulations that do not correspond to an extrinsic mesh, and hence where no correspondence data structure is needed.

Currently, one option is to use an EdgeLengthGeometry, but (if I understand correctly) this class does not support flipping. So, one possibility is to add edge flip methods to this class, though this would break with parallel structure of other geometry classes (e.g., VertexPositionGeometry also does not support edge flips). Alternatively, we could add methods to this class that allow one to query (i) whether an edge is flippable, and (ii) the flipped edge length, without actually performing the flip.

Another option, which I currently adopt, is to re-implement flip(Edge) locally in my project, i.e., a method that mutates the surface mesh associated with an EdgeLengthGeometry, using this geometry to do convexity checks, etc. The drawback here is that I duplicate a bunch of code (diamond layout, convexity checks, flipping logic) locally in my project by copy-pasting it from within the GC implementation.

A third option would be to extend the mutation manager to support mutations of edge-based quantities, and provide some mutators suitable for intrinsic triangulation options.

@MarkGillespie has talked through this with me a bit, but may have additional thoughts…

Lingua principale
C++
Stelle
1.3k
Fork
183
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nmwsharp/geometry-central

Tutte le issue di nmwsharp/geometry-central

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.