GEOS-DEV / GEOS-DEV/Shiva

Change geometric shape bounded adjacency count information from absolute to relative?

Open
#23 0 comments 0 reactions 1 assignee View on GitHub

@wrtobin is already working on this.

Since Dec 7, 2023.

Dominant language
C++
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I think faces, edges, vertices, etc are fine names to use, but generally should be defined in terms of the dimensionality of the main geometric type.

So e.g. for an N-cube we'd talk about the N-1-faces, N-2-edges, and N-3-vertices.

So the definition of e.g. the numFaces function shouldn't be numMCubes< 2 >(), it should be based on the dimensionality of the current type and be numMCubes< DIM - 1 >().

We can also have an absolute version numAdjacent< DIM >() which replicates the current implementation (which may get more use generally).

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.