Package | Description |
---|---|
application | |
cube | |
robot | |
twophase |
Modifier and Type | Method and Description |
---|---|
private static Color |
CubeSolver.convertOrientation2FaceColor(Orientation orientation)
Convert cube's orientation to face's color
|
Modifier and Type | Field and Description |
---|---|
(package private) Orientation |
Cube.Face.dynamicOrientation |
private static Orientation[][] |
ColorCorrector.LEFT_CORNERS_FACE |
(package private) Orientation |
RawColor.orientation |
(package private) Orientation |
Cube.Face.orientation |
private static Orientation[][] |
Cube.ORIENTATION_MAT
This is a static orientation matrix that represent the new position of every face
whenever any face is brought to be at the bottom (DOWN orientation). |
private static Orientation[][] |
ColorCorrector.RIGHT_CORNERS_FACE |
Modifier and Type | Method and Description |
---|---|
static Orientation |
Orientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
Orientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private void |
Cube.changePosition(FlipMethod cubeFlips,
Direction direction,
Orientation orientation)
Move the face from its current orientation to the bottom (to be the DOWN face).
|
IFace |
ICube.getFace(Orientation orientation) |
Cube.Face |
Cube.getFace(Orientation orientation)
returns the face which is currently in the orientation requested
|
(package private) void |
Cube.updateOrientations(Orientation orientation)
Updates the new orientations of the faces after a transition of the cube.
|
Constructor and Description |
---|
Cube.Face(Orientation orientation)
Constructor of an object of the type face.
|
RawColor(Orientation orientation,
int row,
int col,
int[] rawColor)
Create new raw color from RGB sample
|
Modifier and Type | Method and Description |
---|---|
static void |
Robot.scanFace(ArrayList<RawColor> allColors,
Orientation orientation)
Scan cube's face
|
Modifier and Type | Field and Description |
---|---|
Orientation |
Move.orientation |
Constructor and Description |
---|
Move(Orientation orientation,
Direction direction) |