|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.algorithm.signature.Grid
public class Grid
Implementation of the grid that is used to create the signature.
| Constructor Summary | |
|---|---|
Grid(int size)
Constructs a new grid. |
|
| Method Summary | |
|---|---|
static Grid |
createInstance(int size)
Returns the grid with the desired size. |
int |
getBitStringLength()
|
BitSet |
getSignature(int x,
int y)
Returns the signature of a given field of the grid. |
void |
setCell(int x,
int y,
BitSet bitSet)
Sets the signature of a field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Grid(int size)
size - the size of the grid (size*size).| Method Detail |
|---|
public int getBitStringLength()
public BitSet getSignature(int x,
int y)
x - the x coordinate.y - the y coordinate.
public void setCell(int x,
int y,
BitSet bitSet)
x - the x coordinate.y - the y coordinate.bitSet - the signature of the field.public static Grid createInstance(int size)
size - the size of the grid to be returned.
public String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||