rubine
Class Gesture

java.lang.Object
  extended byrubine.Gesture

public class Gesture
extends java.lang.Object

A gesture.

Author:
Caroline Appert

Constructor Summary
Gesture()
          Builds a new gesture.
Gesture(Classifier c)
          Builds a new gesture to classify with a given classifier.
 
Method Summary
 Gesture addPoint(double x, double y)
          Adds a point to this gesture.
 void reset()
          Resets this gesture (i.e. removes any point).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gesture

public Gesture()
Builds a new gesture.


Gesture

public Gesture(Classifier c)
Builds a new gesture to classify with a given classifier.

Parameters:
c - The classifier.
Method Detail

reset

public void reset()
Resets this gesture (i.e. removes any point).


addPoint

public Gesture addPoint(double x,
                        double y)
Adds a point to this gesture.

Parameters:
x - The x coordinate of the point to add.
y - The y coordinate of the point to add.