HOG2
Public Member Functions | Public Attributes | List of all members
RubikEdgeStateArray Class Reference

#include <RubiksCubeEdges.h>

Public Member Functions

 RubikEdgeStateArray ()
 
void Reset ()
 
void Clear ()
 
void GetDual (RubikEdgeStateArray &s) const
 
int GetCubeInLoc (int whichLoc) const
 
void SetCubeInLoc (int whichLoc, int cube)
 
bool GetCubeOrientation (int whichLoc) const
 
void SetCubeOrientation (int whichLoc, bool flip)
 
void FlipCubeOrientation (int whichLoc)
 

Public Attributes

uint8_t state [24]
 

Detailed Description

Definition at line 37 of file RubiksCubeEdges.h.

Constructor & Destructor Documentation

◆ RubikEdgeStateArray()

RubikEdgeStateArray::RubikEdgeStateArray ( )

Definition at line 120 of file RubiksCubeEdges.cpp.

References Reset().

Member Function Documentation

◆ Clear()

void RubikEdgeStateArray::Clear ( )

Definition at line 132 of file RubiksCubeEdges.cpp.

References Reset().

◆ FlipCubeOrientation()

void RubikEdgeStateArray::FlipCubeOrientation ( int  whichLoc)

Definition at line 167 of file RubiksCubeEdges.cpp.

References state.

Referenced by RotateRubikEdgeClockwise().

◆ GetCubeInLoc()

int RubikEdgeStateArray::GetCubeInLoc ( int  whichLoc) const

◆ GetCubeOrientation()

bool RubikEdgeStateArray::GetCubeOrientation ( int  whichLoc) const

◆ GetDual()

void RubikEdgeStateArray::GetDual ( RubikEdgeStateArray s) const

◆ Reset()

void RubikEdgeStateArray::Reset ( )

Definition at line 124 of file RubiksCubeEdges.cpp.

References SetCubeInLoc(), and state.

Referenced by Clear(), and RubikEdgeStateArray().

◆ SetCubeInLoc()

void RubikEdgeStateArray::SetCubeInLoc ( int  whichLoc,
int  cube 
)

◆ SetCubeOrientation()

void RubikEdgeStateArray::SetCubeOrientation ( int  whichLoc,
bool  flip 
)

Member Data Documentation

◆ state

uint8_t RubikEdgeStateArray::state[24]

The documentation for this class was generated from the following files: