Skip to content

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

Description

@wrtobin

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions