: Index

Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I K L M N O P Q R S T U V W X Y

## A

a_is_valid - Variable in class Tablet
a_menu - Variable in class Tablet
a_scale - Variable in class Tablet
a_window - Variable in class Tablet
a_window_graphics - Variable in class Tablet
ABOVE - Static variable in class SpatialRelation
  | | | X | ___|___|___ | | | | ___|___|___ | | | | | |
ABOVE_BELOW - Static variable in class Direction
  | X | | X | ___|___|___ | | | X | ___|___|___ | | | X | | X |
acceleration - Variable in class Tablet
actionPerformed(ActionEvent) - Method in class ControlModule
  Handle action events
actionPerformed(ActionEvent) - Method in class StatisticsModule
  Handle action events
actionPerformed(ActionEvent) - Method in class Tablet
  Handle action events
addObject(Object) - Method in class ObjectManager
  Adds an object to the objects vector after filtering.
addObjectInternal(Object) - Method in class ObjectManager
  Adds an object to the objects vector.
addPoint(Point, long) - Method in class Tablet
  Add a new point to points, and the corresponding time info to time.
addPointDouble(double, double) - Method in class Polygon
  add point for doubles
angle - Variable in class Rectangle
  angle as described by getAngle() This is always between -PI and PI
area() - Method in class Rectangle
  Return area.
averageSpeed() - Method in class Tablet
  Average speed

## B

bar_statistics_module - Static variable in class Tablet
BELOW - Static variable in class SpatialRelation
  | | | | ___|___|___ | | | | ___|___|___ | | | X | | |
body - Variable in class Motor
  Original body of the motor.

## C

cartesian2screen(int) - Static method in class SpatialRelation
  To String
center - Variable in class Tablet
children - Variable in class Cross
  children
children - Variable in class Ground
  children
children - Variable in class Motor
  children
children - Variable in class Pin
  children
chooseApproximateAngle(double[]) - Method in class Line
  Returns the angle that is closest to the angle that this line makes with the x axis from the input argument.
circle - Variable in class Pin
  Modified circle.
CIRCLE - Static variable in interface GeometricObject
clear(Graphics) - Method in class ObjectManager
  Clear the screen
clearScreen() - Method in class StatisticsModule
  Clear screen
clearScreen() - Method in class Tablet
  Clear screen
clearScreenStrong() - Method in class Tablet
  Clear screen strong (works in debug mode).
closestNeighborIndex(Point) - Method in class Polygon
  Returns the index of the vertices that is closest to point p.
COCENTRIC - Static variable in class SpatialRelation
  | | | | ___|___|___ | | | X | ___|___|___ | | | | | |
combine_treshold - Variable in class Tablet
combineEndPoints() - Method in class Tablet
  Combines the ends of the polygon if they are sufficiently close.
containsGeometricObject(GeometricObject) - Method in class Ellipse
  Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in interface GeometricObject
  Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class Line
  Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class Point
  Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class Polygon
  Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class Rectangle
  Returns false if the argument is not completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class Ellipse
  Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in interface GeometricObject
  Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class Line
  Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class Point
  Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class Polygon
  Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class Rectangle
  Returns false if the objects in the input array are completely inside this object.
control_module - Variable in class Tablet
ControlModule - class ControlModule.
  This class is used for controlling and changing the parameters in the main application.
ControlModule(Tablet) - Constructor for class ControlModule
  The constructor.
controls_menu - Variable in class Tablet
cosTheoremAngle(Point, Point, Point) - Static method in class GeometryUtil
  Return angle between |AB| and |BC|
cross - Variable in class Pin
  Modified cross.
Cross - class Cross.
  A basic Cross with a two perpendicular lines.
Cross(Line, Line) - Constructor for class Cross
  The constructor.

## D

d - Variable in class Tablet
d_is_valid - Variable in class Tablet
d_menu - Variable in class Tablet
d_theta_scale - Variable in class Tablet
d_window - Variable in class Tablet
d_window_graphics - Variable in class Tablet
dd_dt - Variable in class Tablet
dd_dt_is_valid - Variable in class Tablet
dd_dt_menu - Variable in class Tablet
dd_dt_window - Variable in class Tablet
dd_dt_window_graphics - Variable in class Tablet
debug - Static variable in class Tablet
debug_graphics - Static variable in class Tablet
debug2 - Static variable in class Tablet
degree2radian(double) - Static method in class GeometryUtil
  degree2radian
derive_d() - Method in class Tablet
  Derive direction, and fill in the d array.
derive_dd_dt() - Method in class Tablet
  Derive time derivative of direction, and fill in the dd_dt array.
deriveAcceleration() - Method in class Tablet
  Derive acceleration, and fill in the acceleration array.
deriveBoundingBox() - Method in class Tablet
  Derive the bounding box for thee points.
derivePolarCoordinates() - Method in class Tablet
  Derive the polar coordinates of the points with respect to the center.
deriveSpeed() - Method in class Tablet
  Derive speed, and fill in the speed array.
deselectObjects() - Method in class ObjectManager
  Deselect the objects
Direction - class Direction.
  This class lists the direction of an object's bounding box may have.
direction_menu - Variable in class Tablet
Direction() - Constructor for class Direction
display_lsq_vectors - Variable in class Tablet
display_menu - Variable in class Tablet
distance(Point, Point) - Static method in class GeometryUtil
  Return distnace |p1-p2|
drawAngleAt(int, Point) - Method in class Polygon
  Draws an arc (angle) on the ith vertex (start from 0) using the current graphics context.
drawThickLine(double, Graphics, double, double, double, double) - Static method in class GraphicsUtil
  Plot a thick line from (x1, y1) to (x2,y2) with radius r
drawThickLine(int, Graphics, int, int, int, int) - Static method in class GraphicsUtil
  Plot a thick line from (x1, y1) to (x2,y2) with radius r
drawThickOval(int, Graphics, int, int, int, int) - Static method in class GraphicsUtil
  Plot a thick line from (x1, y1) to (x2,y2) with radius r

## E

edge - Variable in class Ground
  Original edge of the ground object.
edit - Variable in class Tablet
Ellipse - class Ellipse.
  This class represents an Ellipse described by its upper_left, corner width and height of the encapsulating rectangle.
ELLIPSE - Static variable in interface GeometricObject
Ellipse() - Constructor for class Ellipse
  The constructor.
Ellipse(double, double, double, double) - Constructor for class Ellipse
  The constructor.
Ellipse(Point, Dimension) - Constructor for class Ellipse
  The constructor.
Ellipse(Point, int, int) - Constructor for class Ellipse
  The constructor.
end_points - Variable in class Spring
  End points of the spring stored in a line.
equalDoubles(double, double, double) - Static method in class GeometryUtil
  Return true if |a-b| < tolerance

## F

file - Variable in class ControlModule
file - Variable in class StatisticsModule
file - Variable in class Tablet
filter - Variable in class ObjectManager
Filter - class Filter.
  This class manages the objects recognized by the Tablet.
FILTER_ON - Variable in class Tablet
filter() - Method in class Tablet
  Try to get rid of some of the noise.
filter(Object) - Method in class Filter
  Filters the object.
Filter(ObjectManager) - Constructor for class Filter
  The constructor.

## G

GeometricComputationException - exception GeometricComputationException.
  Thrown when an exception occurs in a geometric computation.
GeometricComputationException(String) - Constructor for class GeometricComputationException
  The constructor.
GeometricObject - interface GeometricObject.
  All the objects who want to be Geometric must implement this interface.
GeometryUtil - class GeometryUtil.
  Implements geometry related utility functions
GeometryUtil() - Constructor for class GeometryUtil
getAbsoluteAngles() - Method in class Polygon
  Returns an array containing the angles that each edge makes with the x axis.
getAbsolutePositiveAngles() - Method in class Polygon
  Returns an array containing the angles that each edge makes with the x axis.
getAngle() - Method in class Cross
  Returns the angle of the motor WRT the x axis in radians.
getAngle() - Method in class Ground
  Returns the angle of the Ground WRT the x axis in radians.
getAngle() - Method in class Line
  Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class Motor
  Returns the angle of the motor WRT the x axis in radians.
getAngle() - Method in class Rectangle
  Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in interface Rotatable
  Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class Shade
  Returns the angle of the object WRT the x axis in radians.
getCartesianAngle() - Method in class Line
  Returns the angle of the object WRT the x axis in radians.
getCenter() - Method in class Rectangle
  Returns the center of this rectangle.
getChildren() - Method in class Cross
  This method should return a vector containing the children of this object.
getChildren() - Method in class Ground
  This method should return a vector containing the children of this object.
getChildren() - Method in class Motor
  This method should return a vector containing the children of this object.
getChildren() - Method in interface NonTerminal
  This method should return a vector containing the children of this object.
getChildren() - Method in class Pin
  This method should return a vector containing the children of this object.
getComplement(int) - Static method in class SpatialRelation
  To String
getDataPoints() - Method in class Ellipse
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in interface GeometricObject
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class Line
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class Point
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class Polygon
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class Rectangle
  This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class Tablet
  Put the valid points in the points array in a Polygon and return it.
getEdge(int) - Method in class Polygon
  This method returns the nth edge of this Polygon.
getHeight() - Method in class Rectangle
  Returns the height
getHorizontalBounds() - Method in class Polygon
  Supplied for completeness.
getIntersection(Line) - Method in class Line
  Returns the intersection of the two infinite length lines described by this line and the argument.
getMajorAngles() - Method in class Polygon
  Return the major angles in this polygon
getMajorAxisAngle() - Method in class Rectangle
  Returns the angle between the longer of width or height vectors and the x axis.
getMajorAxisDirection() - Method in class Rectangle
  Returns the direction of the major axis of this Rectangle Known eksik: Should be tested.
getMajorAxisLength() - Method in class Rectangle
  Returns the larger of width and height.
getMinorAxisAngle() - Method in class Rectangle
  Returns the angle between the shorter of width or height vectors and the x axis.
getMinorAxisLength() - Method in class Rectangle
  Returns the smaller of width and height.
getNeighborObjects(Point, int) - Method in class ObjectManager
  Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getNeighborObjectsOriginal(Point, int) - Method in class ObjectManager
  Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getPolygonalBounds() - Method in class Ellipse
  This method should return a polygon that corresponds to this object.
getPolygonalBounds() - Method in interface GeometricObject
  This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class Line
  This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class Point
  This method should return a polygon that corresponds to this object.
getPolygonalBounds() - Method in class Polygon
  This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class Rectangle
  This method should return a polygon that corresponds to this object.
getPolygonalBoundsArray() - Method in class Cross
  This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class Ground
  This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class Motor
  This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in interface NonTerminal
  This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class Pin
  This method should return the polygonal array bounds of this non-terminal object.
getPolygonIndices() - Method in class Tablet
  calculate the lsq error.
getRectangularBounds() - Method in class Cross
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class Ellipse
  Supplied for completeness.
getRectangularBounds() - Method in interface GeometricObject
  This method should return the Rectangular bounds of the object.
getRectangularBounds() - Method in class Ground
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class Line
  Supplied for completeness.
getRectangularBounds() - Method in class Motor
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in interface NonTerminal
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class Pin
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class Point
  Supplied for completeness.
getRectangularBounds() - Method in class Polygon
  Supplied for completeness.
getRectangularBounds() - Method in class Rectangle
  Supplied for completeness.
getRectangularBounds() - Method in class Shade
  Supplied for completeness.
getRectangularBounds() - Method in class Spring
  This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds(int) - Method in class Polygon
  Supplied for completeness.
getSlidingWindowHistogram(double[], double, double, double, double) - Static method in class StatisticsModule
  Plot sliding window
getTimeStamp() - Method in class Ellipse
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in class Line
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in class Point
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in class Polygon
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in class Rectangle
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in class Shade
  Returns the time stamp of the current Terminal
getTimeStamp() - Method in interface Terminal
  Returns the time stamp of the current Terminal
getType() - Method in class Cross
  Implement Paintable
getType() - Method in class Ellipse
  Implement GeometricObject
getType() - Method in class Ground
  Implement Paintable
getType() - Method in class Line
  Implement GeometricObject
getType() - Method in class Motor
  Implement Paintable
getType() - Method in interface Paintable
  Returns the type of this NonTerminal
getType() - Method in class Pin
  Implement Paintable
getType() - Method in class Point
  Implement GeometricObject
getType() - Method in class Polygon
  Implement GeometricObject
getType() - Method in class Rectangle
  Implement GeometricObject
getType() - Method in class Shade
  Implement GeometricObject
getType() - Method in class Spring
  Implement Paintable
getTypeWithTolerance(double) - Method in class Ellipse
  This returns "circle" if the width/height ratio is within tolerance neighborhood of 1.
getWidth() - Method in class Rectangle
  Returns the width
graphics - Variable in class Cross
  Graphics context for this Geometric object.
graphics - Variable in class Ellipse
  Graphics context for this Geometric object.
graphics - Variable in class Ground
  Graphics context for this Geometric object.
graphics - Variable in class Line
  Graphics context for this Geometric object.
graphics - Variable in class Motor
  Graphics context for this Geometric object.
graphics - Variable in class Pin
  Graphics context for this Geometric object.
graphics - Variable in class Point
  Graphics context for this Geometric object.
graphics - Variable in class Polygon
  Graphics context for this Geometric object.
graphics - Variable in class Rectangle
  Graphics context for this Geometric object.
GraphicsUtil - class GraphicsUtil.
  Implements some methods not found in jdk 1.1
GraphicsUtil() - Constructor for class GraphicsUtil
Ground - class Ground.
  A basic Ground object with shading and edges.
Ground(Shade, Polygon) - Constructor for class Ground
  The constructor.

## H

hasOnMajorAxisDirection(GeometricObject) - Method in class Rectangle
  This method should return true if the input object lies in the major axis direction of this Rectangle.
height - Variable in class Rectangle
  height
height_x - Variable in class Rectangle
  x component of the height vector.
height_y - Variable in class Rectangle
  y component of the height vector.

## I

in_recognition_mode - Variable in class Tablet
invalidateCaches() - Method in class Tablet
  Invalidates caches
isLine(Polygon) - Static method in class Line
  Returns true if the input Polygon is a line.
isRectangle(Polygon) - Static method in class Rectangle
  Returns true if the input polygon looks like a Rectangle Can be optimized by eliminating Polygon conversions.
isSpring(Polygon) - Static method in class Spring
  Returns true if the input polygon looks like a Spring.

## K

keyPressed(KeyEvent) - Method in class ControlModule
  Handle key stroke events
keyPressed(KeyEvent) - Method in class ObjectManager
  Handle key stroke events
keyPressed(KeyEvent) - Method in class StatisticsModule
  Handle key stroke events
keyPressed(KeyEvent) - Method in class Tablet
  Handle key stroke events
keyReleased(KeyEvent) - Method in class ControlModule
  Handle key stroke events
keyReleased(KeyEvent) - Method in class ObjectManager
  Handle key stroke events
keyReleased(KeyEvent) - Method in class StatisticsModule
  Handle key stroke events
keyReleased(KeyEvent) - Method in class Tablet
  Handle key stroke events
keyTyped(KeyEvent) - Method in class ControlModule
  Handle key stroke events
keyTyped(KeyEvent) - Method in class ObjectManager
  Handle key stroke events
keyTyped(KeyEvent) - Method in class StatisticsModule
  Handle key stroke events
keyTyped(KeyEvent) - Method in class Tablet
  Handle key stroke events

## L

l1 - Variable in class Cross
  First line of the cross.
l2 - Variable in class Cross
  Modified l2 to be perpendicular to l1.
last_index - Variable in class Tablet
leastSquaresForCircle() - Method in class Tablet
  calculate the lsq error.
leastSquaresForPolygon() - Method in class Tablet
  calculate the lsq error.
LEFT - Static variable in class SpatialRelation
  | | | | ___|___|___ | | X | | ___|___|___ | | | | | |
LEFT_RIGHT - Static variable in class Direction
  | | | | ___|___|___ | | XX | X | XX ___|___|___ | | | | | |
length() - Method in class Line
  Returns the length of this line.
line - Variable in class Tablet
Line - class Line.
  This class represents a line described by its end-points p, q.
LINE - Static variable in interface GeometricObject
line_sequences - Variable in class Filter
  The vector for holding the line sequences.
Line() - Constructor for class Line
  The constructor.
Line(double, double, double, double) - Constructor for class Line
  The constructor.
Line(Line) - Constructor for class Line
  The constructor.
Line(Point, Point) - Constructor for class Line
  The constructor.
lines - Variable in class Shade
  Lines that formed this Shade.
linesParallel(Line, Line, double) - Static method in class GeometryUtil
  Return true if two lines are roughly parallel Tolerance is the tolerance in the difference of slopes.
loops - Variable in class Spring
  The number of loops that the spring makes.
lower_left - Variable in class Tablet
LOWER_LEFT - Static variable in class SpatialRelation
  | | | | ___|___|___ | | | | ___|___|___ | | X | | | |
LOWER_RIGHT - Static variable in class SpatialRelation
  | | | | ___|___|___ | | | | ___|___|___ | | | | X | |

## M

main(String[]) - Static method in class VisiPad
menubar - Variable in class ControlModule
menubar - Variable in class StatisticsModule
menubar - Variable in class Tablet
Motor - class Motor.
  A basic motor with a body and a rotor
Motor(Rectangle, Line) - Constructor for class Motor
  The constructor.
mouseClicked(MouseEvent) - Method in class ObjectManager
  Handle mouse events
mouseClicked(MouseEvent) - Method in class StatisticsModule
  Handle mouse events
mouseClicked(MouseEvent) - Method in class Tablet
  Handle mouse events
mouseDragged(MouseEvent) - Method in class ObjectManager
  Mouse events
mouseDragged(MouseEvent) - Method in class StatisticsModule
  Handle mouse motion events
mouseDragged(MouseEvent) - Method in class Tablet
  Handle mouse motion events
mouseEntered(MouseEvent) - Method in class ObjectManager
  Handle mouse events
mouseEntered(MouseEvent) - Method in class StatisticsModule
  Handle mouse events
mouseEntered(MouseEvent) - Method in class Tablet
  Handle mouse events
mouseExited(MouseEvent) - Method in class ObjectManager
  Handle mouse events
mouseExited(MouseEvent) - Method in class StatisticsModule
  Handle mouse events
mouseExited(MouseEvent) - Method in class Tablet
  Handle mouse events
mouseMoved(MouseEvent) - Method in class ObjectManager
  Mouse events
mouseMoved(MouseEvent) - Method in class StatisticsModule
  Handle mouse motion events
mouseMoved(MouseEvent) - Method in class Tablet
  Handle mouse motion events
mousePressed(MouseEvent) - Method in class ObjectManager
  Handle mouse events
mousePressed(MouseEvent) - Method in class StatisticsModule
  Handle mouse events
mousePressed(MouseEvent) - Method in class Tablet
  Handle mouse events
mouseReleased(MouseEvent) - Method in class ObjectManager
  Handle mouse events
mouseReleased(MouseEvent) - Method in class StatisticsModule
  Handle mouse events
mouseReleased(MouseEvent) - Method in class Tablet
  Handle mouse events

## N

new_edge - Variable in class Ground
  Modified edge.
new_rotor - Variable in class Motor
  Modified rotor of the motor to be parallel to major axis.
NonTerminal - interface NonTerminal.
  All the objects who want to be NonTerminal must implement this interface.
normalize(double[]) - Method in class Polygon
  Normalize the polygon edges so that the angles they make with the x axis are chosen from the given angle set.
normalizeObject(Object) - Method in class ObjectManager
  Look at the statistical information and modify the polygons to look like as they were intended to be.
normalizePolygon() - Method in class Tablet
  Modify the polygon, so that the lines appear as the user wanted them to be (ie, get rid of the small rotations and shifts.

## O

object_manager - Variable in class Filter
  The object manager associated with this object.
object_manager - Variable in class ParseSupervisor
  The spatial parser
object_manager - Variable in class StatisticsModule
object_manager - Variable in class Tablet
ObjectManager - class ObjectManager.
  This class manages the objects recognized by the Tablet.
ObjectManager(Tablet) - Constructor for class ObjectManager
  The constructor.
objects - Variable in class ObjectManager
off_dimension - Variable in class Tablet
options - Variable in class Tablet
orientation_angle - Variable in class ControlModule
orientation_angle - Variable in class Tablet
original_circle - Variable in class Pin
  Original circle
original_cross - Variable in class Pin
  Original cross.
original_l2 - Variable in class Cross
  Original l2.
output_polygon - Variable in class Tablet

## P

paint() - Method in class Cross
  Draw the Cross.
paint() - Method in class Ellipse
  Draw the object
paint() - Method in class Ground
  Draw the Ground
paint() - Method in class Line
  Draw the object
paint() - Method in class Motor
  Draw the Motor
paint() - Method in interface Paintable
  Draw the objects
paint() - Method in class Pin
  Draw the Pin.
paint() - Method in class Point
  Draw the object
paint() - Method in class Polygon
  Draw the object
paint() - Method in class Rectangle
  Draw the object
paint() - Method in class Shade
  Draw the object
paint() - Method in class Spring
  Draw the Spring
paint(Graphics) - Method in class Cross
  Draw the Cross
paint(Graphics) - Method in class Ellipse
  Draw the object
paint(Graphics) - Method in class Ground
  Draw the Ground
paint(Graphics) - Method in class Line
  Draw the object
paint(Graphics) - Method in class Motor
  Draw the Motor
paint(Graphics) - Method in class ObjectManager
  Draw the objects
paint(Graphics) - Method in interface Paintable
  Draw the objects using the given graphics context.
paint(Graphics) - Method in class Pin
  Draw the Pin
paint(Graphics) - Method in class Point
  Draw the object
paint(Graphics) - Method in class Polygon
  Draw the object
paint(Graphics) - Method in class Rectangle
  Draw the object
paint(Graphics) - Method in class Shade
  Draw the object
paint(Graphics) - Method in class Spring
  Draw the Spring Can be made faster by incrementing theta in larger chunks.
paint(Graphics) - Method in class StatisticsModule
  Overloaded for double buffering.
paint(Graphics) - Method in class Tablet
  Overloaded for double buffering.
paint(Graphics, int) - Method in class Rectangle
  Draw the object
Paintable - interface Paintable.
  All the objects who want to be Paintable must implement this interface.
paintOriginal(Graphics) - Method in class Cross
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Ellipse
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Ground
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Line
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Motor
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in interface Paintable
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Pin
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Point
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Polygon
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Rectangle
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Shade
  This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class Spring
  This method is used to paint the original data points that forms this GeometricObject
parallelAngles(double, double, double) - Static method in class GeometryUtil
  Return true if two lines with angles a and b are roughly parallel within the tolerance t.
parse_supervisor - Variable in class ObjectManager
parse() - Method in class ObjectManager
  Call the parse method in spatial_parser
parse(ObjectManager) - Method in class SpatialParser
  Handle key stroke events
parseCross(ObjectManager) - Method in class SpatialParser
  Parse Cross
parseGround(ObjectManager) - Method in class SpatialParser
  Parse Ground
parseMotor(ObjectManager) - Method in class SpatialParser
  Parse Motor
parsePin(ObjectManager) - Method in class SpatialParser
  Parse Pin
ParseSupervisor - class ParseSupervisor.
  This subclass of Thread automatically calls the parser.
ParseSupervisor(ObjectManager) - Constructor for class ParseSupervisor
  The constructor.
pen_menu - Variable in class Tablet
Pin - class Pin.
  A basic Pin with a round top and a cross.
Pin(Ellipse, Cross) - Constructor for class Pin
  The constructor.
plot_output_circle() - Method in class Tablet
  Plot the recognized circle if one was recognized.
plot_output_line() - Method in class Tablet
  Plot the recognized line if one was recognized.
plot_output_polygon() - Method in class Tablet
  Plot the recognized polygon if one was recognized.
plotBarGraph(double[], double, double, double) - Method in class StatisticsModule
  Plot bar graph
plotSlidingWindowGraph(double[], double, double, double, double) - Method in class StatisticsModule
  Plot sliding window
Point - class Point.
  This class represents a Point described by a java.awt.geom.Line2D.Double
POINT - Static variable in interface GeometricObject
Point() - Constructor for class Point
  The constructor.
Point(int, int) - Constructor for class Point
  The constructor.
Point(Point) - Constructor for class Point
  The constructor.
pointAt(int) - Method in class Polygon
  Returns the ith point in this Polygon
pointDown() - Method in class Line
  Swaps the first and the second points if needed so that the second point is below the first one.
pointIsOn(Point, int) - Method in class Ellipse
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in interface GeometricObject
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class Line
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class Point
  Returns true if the point is within +-radius distance from this point.
pointIsOn(Point, int) - Method in class Polygon
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class Rectangle
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class Shade
  Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOnOriginal(Point, int) - Method in class Ellipse
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in interface GeometricObject
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class Line
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class Point
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class Polygon
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class Rectangle
  Returns true if the point is within +-radius distance from the original curve defining the object.
pointLeft() - Method in class Line
  Swaps the first and the second points if needed so that the second point is to the left of the first one.
pointRight() - Method in class Line
  Swaps the first and the second points if needed so that the second point is to the right of the first one.
points - Variable in class Ellipse
  The original data points
points - Variable in class Line
  The original data points
points - Variable in class Point
  The original data points
points - Variable in class Polygon
  The original data points
points - Variable in class Rectangle
  The original data points
points - Variable in class Tablet
pointUp() - Method in class Line
  Swaps the first and the second points if needed so that the second point is above the first one.
polar_points - Variable in class Tablet
polar_points_is_valid - Variable in class Tablet
PolarPoint - class PolarPoint.
  Polar Point object that stores an angle and a radius.
PolarPoint() - Constructor for class PolarPoint
  Polar Point constructor
PolarPoint(double, double) - Constructor for class PolarPoint
  Polar Point constructor
polygon - Variable in class Spring
  The polygon that was used to construct the spring.
Polygon - class Polygon.
  This class represents a polygon described by its vertices.
POLYGON - Static variable in interface GeometricObject
Polygon() - Constructor for class Polygon
  The constructor.
Polygon(int[], int[], int) - Constructor for class Polygon
  The constructor.
Polygon(Line) - Constructor for class Polygon
  The constructor.
Polygon(Point[]) - Constructor for class Polygon
  The constructor.
Polygon(Polygon) - Constructor for class Polygon
  The constructor.
Polygon(Polygon) - Constructor for class Polygon
  The constructor.
ptSegDist(Point, Point, Point) - Static method in class GeometryUtil
  A different version of ptSegDist
ptSegDistSq(double, double, double, double, double, double) - Static method in class GeometryUtil
  From Sun's java.awt.geom.Line2D.java Returns the square of the distance from a point to a line segment.
ptSegDistSq(Point, Point, Point) - Static method in class GeometryUtil
  A different version of ptSegDistSq

## Q

quit_menu - Variable in class ControlModule
quit_menu - Variable in class StatisticsModule
quit_menu - Variable in class Tablet

## R

radian2degree(double) - Static method in class GeometryUtil
  radian2degree
radius - Variable in class PolarPoint
radius - Variable in class Tablet
Rectangle - class Rectangle.
  This class represents a Rectangle described by its width and height vectors.
RECTANGLE - Static variable in interface GeometricObject
  Available GeometricObject types.
Rectangle(double, double, double, double, double) - Constructor for class Rectangle
  The constructor.
Rectangle(double, double, Point, double) - Constructor for class Rectangle
  The constructor.
Rectangle(int, int, int, int) - Constructor for class Rectangle
  The constructor.
Rectangle(Point, Dimension) - Constructor for class Rectangle
  The constructor.
Rectangle(Point, Dimension, double) - Constructor for class Rectangle
  The constructor.
Rectangle(Rectangle) - Constructor for class Rectangle
  The constructor.
Rectangle(Rectangle) - Constructor for class Rectangle
  The constructor.
relative_rotor_angle - Variable in class Motor
  Angle that the line from the center of the body to the tip rotor makes with the x axis.
relativeCCW(double, double, double, double, double, double) - Static method in class GeometryUtil
  From Sun's java.awt.geom.Line2D.java Returns an indicator of where the specified point (PX, PY) lies with respect to the line segment from (X1, Y1) to (X2, Y2).
relativeCCW(Point, Point, Point) - Static method in class GeometryUtil
  A different version of relativeCCW
removeObject(Object) - Method in class ObjectManager
  Removes the argument object from the objects Vector.
reset() - Method in class ObjectManager
  Removes all the objects.
reset() - Method in class Tablet
  Reset the arrays
RIGHT - Static variable in class SpatialRelation
  | | | | ___|___|___ | | | | X ___|___|___ | | | | | |
Rotatable - interface Rotatable.
  All the objects whose rotation makes sense must implement this interface.
rotate(double) - Method in class Polygon
  This method rotates the polygon by theta radians CCW.
rotateAbout(Point, double) - Method in class Rectangle
  Rotates the rectangle about the point p theta radians CCW.
rotor - Variable in class Motor
  Original rotor of the motor.
rotor_length - Variable in class Motor
  Rotor length of the rotor.
roundAngles(double[], double) - Static method in class GeometryUtil
  return a double array which is the same length as the input array, except the array entries are rounded up or down to be integral multiples of dx.
run() - Method in class ParseSupervisor
  run

## S

scale - Variable in class ControlModule
scale - Variable in class Tablet
scaleAboutCenter(double) - Method in class Rectangle
  scaleAboutCenter
screen2cartesian(int) - Static method in class SpatialRelation
  To String
sd_scale - Variable in class Tablet
selected_objects - Variable in class ObjectManager
selectObjects(GeometricObject[]) - Method in class ObjectManager
  Select the objects in the argument vector.
sequence_delay - Static variable in class Tablet
SequenceTerminal - interface SequenceTerminal.
  All the objects who want to be NonTerminal must implement this interface.
setDataPoints(Polygon) - Method in class Ellipse
  This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in interface GeometricObject
  This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class Line
  This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class Point
  This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class Polygon
  This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class Rectangle
  This method is used to set the original data points that forms this GeometricObject
setDebugging(boolean) - Method in class Tablet
  Set debugging mode
setGraphicsContext(Graphics) - Method in class Cross
  Set graphics context for this Cross object.
setGraphicsContext(Graphics) - Method in class Ellipse
  Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class Ground
  Set graphics context for this Ground object.
setGraphicsContext(Graphics) - Method in class Line
  Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class Motor
  Set graphics context for this Motor object.
setGraphicsContext(Graphics) - Method in interface Paintable
  Set graphics context for this Paintable object.
setGraphicsContext(Graphics) - Method in class Pin
  Set graphics context for this Pin object.
setGraphicsContext(Graphics) - Method in class Point
  Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class Polygon
  Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class Rectangle
  Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class Spring
  Set graphics context for this Pin object.
setRecognitionMode(boolean) - Method in class Tablet
  Disable or enable recognition process by turning mouse event listening off or on.
setRectangle(Rectangle) - Method in class Rectangle
  setRectangle
setTimeStamp(long) - Method in class Ellipse
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class Line
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class Point
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class Polygon
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class Rectangle
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class Shade
  Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in interface Terminal
  Sets the time stamp of the current Terminal
shade - Variable in class Ground
  Original body of the shade.
Shade - class Shade.
  This class represents a line described by its end-points p, q.
shade(Graphics, int) - Method in class Rectangle
  Shade the object
shade(Graphics, int, int, int) - Method in class Rectangle
  Shade the object
Shade(Vector) - Constructor for class Shade
  The constructor.
shades - Variable in class Shade
  Number of shades to draw.
show_parsed_objects - Variable in class ObjectManager
  This is true if the parsed stuff is to be painted.
show_parsed_objects - Variable in class Tablet
simplifyPolygon() - Method in class Tablet
  Simplify the polygon to get rid of consecutive lines which are sufficiently parallel.
sleep(int) - Method in class Tablet
  Do useless work for some number of iterations specified by the argument.
sliding_window_statistics_module - Static variable in class Tablet
spatial_parser - Variable in class ObjectManager
SpatialParser - class SpatialParser.
  This class parses the objects drawn by the user.
SpatialParser() - Constructor for class SpatialParser
  The constructor.
SpatialRelation - class SpatialRelation.
  This class lists the binary spatial relations that two objects may have
SpatialRelation() - Constructor for class SpatialRelation
spatialRelation(GeometricObject) - Method in class Ellipse
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in interface GeometricObject
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class Line
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class Point
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class Polygon
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class Rectangle
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject, double) - Method in class Rectangle
  This method should return the spatial relation of the input parameter with respect to this object.
spatialRelationCartesian(GeometricObject) - Method in class Rectangle
  This method should return the spatial relation of the input parameter with respect to this object.
speed - Variable in class Tablet
Spring - class Spring.
  A basic Spring
Spring(Polygon) - Constructor for class Spring
  The constructor constructs a spring that is approximated by the input polygon.
SQUARE - Static variable in interface GeometricObject
statistics_menu - Variable in class Tablet
StatisticsModule - class StatisticsModule.
  This class is supposed to show basic statistical data about the recognized objects.
StatisticsModule(ObjectManager) - Constructor for class StatisticsModule
  The constructor.
step_angle - Variable in class ControlModule
step_angle - Variable in class Tablet
swapPoints() - Method in class Line
  Swaps the first and the secons points.

## T

t_scale - Variable in class Tablet
tablet - Variable in class ControlModule
tablet - Variable in class ObjectManager
tablet - Static variable in class VisiPad
Tablet - class Tablet.
  In this class last_index refers to the index of the last point read in the points array (ie.
Tablet(int, double, double, String) - Constructor for class Tablet
  The constructor.
Terminal - interface Terminal.
  All the objects who want to be NonTerminal must implement this interface.
test_circle() - Method in class Tablet
  See if the input was meant to be a circle.
test_line() - Method in class Tablet
  See if the input is a line.
test_polygon() - Method in class Tablet
  See if the input is a polygon.
theta - Variable in class PolarPoint
theta_scale - Variable in class Tablet
time - Variable in class Tablet
time_stamp - Variable in class Ellipse
  Time stamp of this object.
time_stamp - Variable in class Line
  Time stamp of this object.
time_stamp - Variable in class Point
  Time stamp of this object.
time_stamp - Variable in class Polygon
  Time stamp of this object.
time_stamp - Variable in class Rectangle
  Time stamp of this object.
tip_position - Variable in class Motor
  The position of the tip relative to the center of the body.
toPolygon() - Method in class Line
  This method is used to get the original data points that forms this GeometricObject
toString() - Method in class Ellipse
  Override toString
toString() - Method in class Line
  Override toString
toString() - Method in class Point
  Override toString
toString() - Method in class PolarPoint
  Simple printing
toString() - Method in class Polygon
  Override toString
toString() - Method in class Rectangle
  Override toString
toString() - Method in class Shade
  Override toString
toString(int) - Static method in class Direction
  | | | | ___|___|___ | | | | ___|___|___ | | | | X | |
toString(int) - Static method in class SpatialRelation
  To String
touches(GeometricObject) - Method in class Ellipse
  This method should return true if the input objects touch.
touches(GeometricObject) - Method in interface GeometricObject
  This method should return true if the input object touches this geometric object.
touches(GeometricObject) - Method in class Line
  This method should return true if the input objects touch.
touches(GeometricObject) - Method in class Point
  This method should return true if the input objects touch.
touches(GeometricObject) - Method in class Polygon
  This method should return true if the input objects touch.
touches(GeometricObject) - Method in class Rectangle
  This method should return true if the input objects touch.
tryCombining(Object) - Method in class ObjectManager
  Try combining the input object with whatever is present in the objects vector.
tryCombining(Object, int) - Method in class Polygon
  Try combining the input object with this Polygon.
turn_angle_treshold - Variable in class Tablet

## U

undo_menu - Variable in class Tablet
undo() - Method in class ObjectManager
  A very primitive undo
union(Rectangle) - Method in class Rectangle
  Return the rectangularBounds of the union of this rectangle and the argument.
update_d() - Method in class Tablet
  Update the direction graph.
update_dd_dt() - Method in class Tablet
  Update change in direction
update(Graphics) - Method in class StatisticsModule
  Handle double buffering and do the real drawing.
update(Graphics) - Method in class Tablet
  Handle double buffering and do the real drawing.
updateAcceleration() - Method in class Tablet
  Update the acceleration graph.
updateMain() - Method in class Tablet
  Update the main graph.
updateVelocity() - Method in class Tablet
  Update the velocity graph.
UPPER_LEFT - Static variable in class SpatialRelation
  | | X | | ___|___|___ | | | | ___|___|___ | | | | | |
upper_right - Variable in class Tablet
UPPER_RIGHT - Static variable in class SpatialRelation
  | | | | X ___|___|___ | | | | ___|___|___ | | | | | |

## V

v_is_valid - Variable in class Tablet
v_menu - Variable in class Tablet
v_scale - Variable in class Tablet
v_window - Variable in class Tablet
v_window_graphics - Variable in class Tablet
vectors_menu - Variable in class Tablet
VisiPad - class VisiPad.
  See the end of the file for the log of changes.
VisiPad() - Constructor for class VisiPad

## W

width - Variable in class Rectangle
  width
width_x - Variable in class Rectangle
  x component of the width vector.
width_y - Variable in class Rectangle
  y component of the width vector.
window_width - Variable in class ControlModule
window_width - Static variable in class Tablet
windows - Variable in class Tablet

## X

x - Variable in class Rectangle
  The x coordinate of the position of width vector.
x_window_graphics - Static variable in class Tablet

## Y

y - Variable in class Rectangle
  The y coordinate of the position of width vector

A B C D E F G H I K L M N O P Q R S T U V W X Y

Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES