|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.stanford.hci.r3.units.coordinates.Coordinates edu.stanford.hci.r3.units.coordinates.StreamedPatternCoordinates
public class StreamedPatternCoordinates
Represents a location in the Anoto PHYSICAL coordinate space. We can only get these coordinates through streaming. Batched coordinates will have to operate differently, as they will be bound to a PAD file which has translated the physical coordinates into page addresses.
This software is distributed under the BSD License.
Field Summary |
---|
Fields inherited from class edu.stanford.hci.r3.units.coordinates.Coordinates |
---|
x, y |
Constructor Summary | |
---|---|
StreamedPatternCoordinates(PatternDots xCoord,
PatternDots yCoord)
|
|
StreamedPatternCoordinates(PenSample sample)
Constructs one of these from the streaming pen sample. |
Method Summary | |
---|---|
PatternDots |
getX()
|
double |
getXVal()
|
PatternDots |
getY()
|
double |
getYVal()
|
void |
setX(PatternDots xCoord)
|
void |
setX(Units xCoord)
Subclasses of Coordinates should verify that the passed-in unit is in fact of the right type! |
void |
setY(PatternDots yCoord)
|
void |
setY(Units yCoord)
Subclasses of Coordinates should verify that the passed-in unit is in fact of the right type! |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamedPatternCoordinates(PatternDots xCoord, PatternDots yCoord)
xCoord
- yCoord
- public StreamedPatternCoordinates(PenSample sample)
sample
- Method Detail |
---|
public PatternDots getX()
getX
in class Coordinates
public double getXVal()
public PatternDots getY()
getY
in class Coordinates
public double getYVal()
public void setX(PatternDots xCoord)
xCoord
- public void setX(Units xCoord)
Coordinates
setX
in class Coordinates
Coordinates.setX(edu.stanford.hci.r3.units.Units)
public void setY(PatternDots yCoord)
yCoord
- public void setY(Units yCoord)
Coordinates
setY
in class Coordinates
Coordinates.setY(edu.stanford.hci.r3.units.Units)
public java.lang.String toString()
toString
in class Coordinates
Coordinates.toString()
|
Copyright 2006 Stanford University | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |