Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat: Provide boundary loop support for `SurfaceMesh`

Abierto
#226 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp

Línea de trabajo

Start by locating SurfaceMesh boundary-edge and boundary-loop construction, including the warning described in the issue; no file or test is named. Done means unambiguous boundary-edge collections are represented as boundary loops while ambiguous nonmanifold cases retain the current behavior, with coverage for both cases.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Currently, SurfaceMesh does not encode boundary loops, as indicated by this warning:

Image

The reason is that, in general, boundary loops in a nonmanifold complex do not necessarily define a collection of disjoint loops. See the example below, for instance, where either (i) "outer" halfedges would have to be assigned to more than one boundary loop or (ii) a subset of possible loops would have to be chosen arbitrarily.

Image

Still, for boundary loops of a SurfaceMesh that are well-defined, this approach feels like a bit of a cop-out. A reasonable policy might be:

  • If a collection of boundary edges makes an unambiguous loop, add it to the set of boundary loops.
  • Otherwise, retain the current behavior: these edges are marked as boundary edges, but do not belong to any boundary loop.

This policy is indeed harder to understand than "there are no boundary loops on SurfaceMesh." But maybe still strikes a good balance between simplicity and utility.

Lenguaje dominante
C++
Estrellas
1.3k
Forks
183
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nmwsharp/geometry-central

Todos los issues de nmwsharp/geometry-central

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.