Skip to content

Commit

Permalink
Add static lists for the various grid subcategories
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Mar 23, 2024
1 parent 02a5569 commit c4feff3
Showing 1 changed file with 63 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public enum GridShapes
Sphere,
Polar,
}

public enum GridTypes
{
// Regular
Expand Down Expand Up @@ -73,6 +73,68 @@ public enum GridTypes
TriTriSquare2 = 33, // 3.3.3.3.3.3;3.3.3.4.4: B
}

public static List<GridTypes> RegularGridTypes = new()
{
GridTypes.Triangular,
GridTypes.Square,
GridTypes.Hexagonal,
};

public static List<GridTypes> ArchimedeanGridTypes = new()
{
GridTypes.SnubTrihexagonal,
GridTypes.ElongatedTriangular, // 3.3.3.4.4
GridTypes.SnubSquare, // 3.3.4.3.4
GridTypes.Rhombitrihexagonal, // 3.4.6.4
GridTypes.Trihexagonal, // 3.6.3.6
GridTypes.TruncatedHexagonal, // 3.12.12
GridTypes.TruncatedTrihexagonal, // 4.6.12
GridTypes.TruncatedSquare, // 4.8.8
};

public static List<GridTypes> CatalanGridTypes = new()
{
GridTypes.TetrakisSquare, // Dual of TruncatedSquare
GridTypes.CairoPentagonal, // Dual of SnubSquare
GridTypes.Rhombille, // Dual of Trihexagonal
GridTypes.TriakisTriangular, // Dual of TruncatedHexagonal
GridTypes.DeltoidalTrihexagonal, // Dual of Rhombitrihexagonal
GridTypes.Kisrhombille, // Dual of TruncatedTrihexagonal
GridTypes.FloretPentagonal, // Dual of SnubTrihexagonal
GridTypes.PrismaticPentagonal, // Dual of ElongatedTriangular
};

public static List<GridTypes> DurerGridTypes = new()
{
GridTypes.Durer1,
GridTypes.Durer2,
};

public static List<GridTypes> TwoUniformGridTypes = new()
{
GridTypes.DissectedRhombitrihexagonal, // 3.3.3.3.3.3;3.3.4.3.4
GridTypes.DissectedTruncatedHexagonal1, // 3.4.6.4;3.3.4.3.4
GridTypes.DissectedTruncatedHexagonal2, // 3.4.6.4;3.3.3.4.4
GridTypes.HexagonalTruncatedTriangular, // 3.4.6.4;3.4.4.6 ??
GridTypes.DemiregularHexagonal, // 4.6.12;3.4.6.4
GridTypes.DissectedTruncatedTrihexagonal1, // 3.3.3.3.3.3;3.3.4.12
GridTypes.DemiregularSquare, // 3.12.12;3.4.3.12

GridTypes.DissectedHexagonal1, // 3.3.3.3.3.3;3.3.6.6
GridTypes.DissectedHexagonal2, // 3.3.3.3.3.3;3.3.3.3.6: A
GridTypes.DissectedHexagonal3, // 3.3.3.3.3.3;3.3.3.3.6: B ??
GridTypes.AlternatingTrihexagonal, // 3.3.6.6;3.3.3.3.6 ???
GridTypes.DissectedRhombiHexagonal, // 3.6.3.6;3.3.6.6
GridTypes.AlternatingTrihexSquare, // 3.4.4.6;3.6.3.6: A ???
GridTypes.TrihexSquare, // 3.4.4.6;3.6.3.6: B

GridTypes.AlternatingTriSquare, // 3.3.3.4.4;3.3.4.3.4: A
GridTypes.SemiSnubTriSquare, // 3.3.3.4.4;3.3.4.3.4: B
GridTypes.TriSquareSquare1, // 4.4.4.4;3.3.3.4.4: A
GridTypes.TriSquareSquare2, // 4.4.4.4;3.3.3.4.4: B
GridTypes.TriTriSquare1, // 3.3.3.3.3.3;3.3.3.4.4: A
GridTypes.TriTriSquare2, // 3.3.3.3.3.3;3.3.3.4.4: B
};
}

public static class Grids
Expand Down

0 comments on commit c4feff3

Please sign in to comment.