mhwombat / grid

Tools for working with regular grids/graphs/lattices.
Other
106 stars 12 forks source link

A class for embedding into a plane #15

Closed ChristopherKing42 closed 6 years ago

ChristopherKing42 commented 8 years ago

One interesting class to consider would be a planar graph class, which embeds a grid into the plane. Another would be one that embeds it into the plane, such that all edges are length 1 (or n) (this would be impossible for the octagon grid). This would be useful for, say, games.

I can implement this, if this is something we want.

mhwombat commented 8 years ago

I think it's an excellent idea, but it might be more suitable for a separate package that uses a graph metaphor rather than a grid metaphor. The graph package would be useful as a basis for this.