| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Rhomb jj)
Determine if this contains a given Rhomb.
|
SimpleHex |
createSimpleHex(java.util.List<Rhomb> allJoins,
java.util.List<Rhomb> newJoins)
Create a simplified version of this.
|
java.util.List<Hex> |
flip()
Flip the
Rhombs in this Hex. |
SimplePolygon2D |
getHex()
Getter method.
|
Rhomb[] |
getJoins()
Getter method.
|
boolean |
valid()
Determine if this represents a hexagon--i.e., if the three
Rhombs are still in contact. |
Rhomb[] getJoins()
SimplePolygon2D getHex()
SimpleHex createSimpleHex(java.util.List<Rhomb> allJoins, java.util.List<Rhomb> newJoins)
boolean valid()
Rhombs are still in contact.boolean contains(Rhomb jj)
jj - The Rhomb we're looking for.