All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

a. Variable in class primitives.machines.Inversor1
The length of the bars connecting the anchor & the supporting joints
A. Static variable in class primitives.machines.NarmsMachineProof
Strings used as arms labels.
a2scalar. Variable in class primitives.machines.Adder
The object preforming multiplication by 2 initialized with one input joint.
activeJoint. Variable in class primitives.machines.Adder
Stores the active joint (the joint the mouse pointer is over)
activeJoint. Variable in class primitives.machines.Inversor1
The acitive joint is the joint the mouse pointer is over.
activeJoint. Variable in class primitives.machines.ScalarMultiplier1
activeJoint. Variable in class primitives.machines.ScMultForZero
The enumerated joint the mouse pointer is over
activeJoint. Variable in class primitives.machines.Translator1
activeLinkage. Variable in class primitives.machines.Multiplier
The active linkage is the linkage which owns the joint the mouse pointer is over.
adder. Variable in class primitives.machines.Multiplier
Adder(Rectangle). Constructor for class primitives.machines.Adder
adderInputs. Variable in class primitives.machines.Multiplier
alpha. Variable in class primitives.machines.SmallMachine
the angle of the current state of the machine.
alpha. Variable in class primitives.machines.StraightLineMachine
alphaRange. Variable in class primitives.machines.SmallMachine
Specifies the angle limits of motion.
ANCHOR_SIZE. Static variable in class primitives.geomtry.Geomtry
Determines the size in pixels of a drawn machine's anchor.
anchors. Variable in class primitives.machines.Machine
The integer location of the anchors.
anchorStr. Static variable in class primitives.machines.Translator1
angles. Variable in class primitives.machines.TwoArmsMachine
The limit angles of motion [should be private]
angles. Variable in class primitives.machines.TwolegsMachine
A list of current angles between adjacent joints.
annulus. Static variable in interface primitives.machines.FunctionalLinkage
anotherJoint. Variable in class primitives.machines.SmallMachineDemo
integeral representation of the 2 locations of the right joint.
anti. Variable in class primitives.machines.Multiplier
Preforms multiplication by -1
antiInputs. Variable in class primitives.machines.Multiplier
arms. Variable in class primitives.machines.NarmsMachine
Number of arms of the machine.
armStreched(int). Method in class primitives.machines.NarmsMachine
average. Variable in class primitives.machines.Adder
The object preforming the average computation initialized with 2 input joints.

B

b. Variable in class primitives.machines.Inversor1
The length of the bars connecting the supporting joints and the input/output joints
B. Static variable in class primitives.machines.NarmsMachineProof
b. Variable in class primitives.machines.ScMultForZero
The real vector of translation
Back. Static variable in class primitives.frames.TextBox
backBuffer. Variable in class primitives.frames.CanvasArea
The memory set for the backbuffer.
backBufferG. Variable in class primitives.frames.CanvasArea
The graphic context of backBuffer.
barLength. Variable in class primitives.machines.Machine
The length of the rigid bar.
bendStates. Variable in class primitives.machines.Machine
Each joint can take to bending positions.
bigCenter. Variable in class primitives.machines.StraightLineMachine
bLabels. Static variable in class primitives.frames.TextBox
bracket. Static variable in interface primitives.machines.FunctionalLinkage
buttons. Variable in class primitives.frames.TextBox

C

C. Static variable in class primitives.machines.NarmsMachineProof
CanvasArea(). Constructor for class primitives.frames.CanvasArea
center. Variable in class primitives.machines.NarmsMachine
The integral representation of the central joint.
centralJoint. Variable in class primitives.machines.StraightLineMachine
changeFrame(int). Method in interface primitives.frames.FramesListener
This method is called by a TextBox object to notify this object the user has requested a change in the applet frames.
changeFrames(). Method in class primitives.frames.Frames
changeFrames is repeatedly called by the run method every period stated by the waitFor field.
comma. Static variable in interface primitives.machines.FunctionalLinkage
Coordinate(). Constructor for class primitives.geomtry.Coordinate
Constructs and initializes a Coordinate at the origin (0, 0) of the coordinate space.
Coordinate(Coordinate). Constructor for class primitives.geomtry.Coordinate
Constructs and initializes a coordinate with the same location as the specified Coordinate object.
Coordinate(double, double). Constructor for class primitives.geomtry.Coordinate
Constructs and initializes a coordinate at the specified (xy) location in the coordinate space.
Coordinate(Point). Constructor for class primitives.geomtry.Coordinate
Constructs and initializes a coordinate with the same location as the specified Point object.
copyCoordinates(Coordinate[], Coordinate[]). Static method in class primitives.machines.Adder
Copies an array of coordinates The method does not prefrom any length checking.
Current. Static variable in class primitives.frames.TextBox
currentFrame. Variable in class primitives.frames.TextBox
The current index of the text shown in the TextArea component.

D

d. Variable in class primitives.machines.Machine
The dimension of the rectangle the machine is being drawn in.
D. Static variable in class primitives.machines.NarmsMachineProof
d. Variable in class primitives.machines.ScalarMultiplier1
d. Variable in class primitives.machines.StraightLineMachine
dalpha. Variable in class primitives.machines.NarmsMachineProof
Stores the change rate.
dAnchors. Variable in class primitives.machines.Machine
The array of the location of the machine's anchors.
danotherJoints. Variable in class primitives.machines.SmallMachineDemo
Stores the 2 locations of the right joint.
dCenter. Variable in class primitives.machines.NarmsMachine
The central joint.
dcentralJoint. Variable in class primitives.machines.StraightLineMachine
def. Static variable in class primitives.machines.Adder
def. Static variable in class primitives.machines.Inversor1
def. Static variable in class primitives.machines.Multiplier
def. Static variable in class primitives.machines.ScalarMultiplier1
def. Static variable in class primitives.machines.ScMultForZero
def. Static variable in class primitives.machines.Translator1
demo. Variable in class primitives.machines.StraightLineMachine
destory(). Method in class primitives.frames.Frames
Clears memory set for awt objects associated with this Frames class object.
destroy(). Method in class primitives.frames.TextBox
clears components
distance(Coordinate, Coordinate). Static method in class primitives.geomtry.Geomtry
Returns the euclidean distance between 2 coordinate objects.
distances. Variable in class primitives.machines.TwolegsMachine
A list of the machine's rigid bars' lenghts.
dJoints. Variable in class primitives.machines.Machine
The array of the location of the machine's joints.
dot. Static variable in interface primitives.machines.FunctionalLinkage
doutputJoint. Variable in class primitives.machines.StraightLineMachine
dradialJoints. Variable in class primitives.machines.StraightLineMachine
drawAnchor(Graphics, Point). Static method in class primitives.geomtry.Geomtry
Draws a machine's anchor.
drawAnchors(Graphics). Method in class primitives.machines.Machine
Draws the anchors of this machine.
drawArea. Variable in class primitives.frames.DrawFrame
A canvas which contains most of the area this object;
DrawFrame(). Constructor for class primitives.frames.DrawFrame
initialize the panel with a CanvasArea member.
drawJoint(Graphics, Point). Static method in class primitives.geomtry.Geomtry
Draws a machine's joint.
drawJoints(Graphics). Method in class primitives.machines.Machine
Draws the machine's joints.
drawLine(Graphics, Point, Point). Static method in class primitives.machines.Machine
Draws a line between to locations.
drawLine(Graphics, Point, Point). Method in class primitives.machines.StraightLineMachine

E

e. Variable in class primitives.machines.MachineException
provides indexing information.
ExtPoint(int, int). Constructor for class primitives.geomtry.ExtPoint
Constructs and initializes an ExtPoint at the specified (xy) location in integer values in the coordinate space.

F

finalize(). Method in class primitives.frames.CanvasArea
finalize(). Method in class primitives.frames.DrawFrame
sets drawArea member to null.
finalize(). Method in class primitives.machines.Machine
Sets object fields to null.
finalize(). Method in class primitives.machines.NarmsMachine
Sets object fields to null.
finalize(). Method in class primitives.machines.NarmsMachineProof
Sets object fields to null
finalize(). Method in class primitives.machines.SmallMachine
Sets object field to null.
finalize(). Method in class primitives.machines.SmallMachineDemo
Sets object fields to null
finalize(). Method in class primitives.machines.StraightLineMachine
Sets object fields to null.
finalize(). Method in class primitives.machines.TwoArmsMachine
findConstraintAngles(). Method in class primitives.machines.NarmsMachine
findConstraints(). Method in class primitives.machines.NarmsMachine
Return a Polyogn objects which locations are the locations of the central joint in which 2 adjacent arms are streched out.
findConstraintsEx(). Method in class primitives.machines.NarmsMachine
Returns the locations of the central joint in which adjacent arms are streched.
findPointOnPolygon(Coordinate, Coordinate, Polygon). Static method in class primitives.geomtry.Geomtry
Returns the location of the intersection of a convex polygon and the line connecting 2 coordinates.
findPointOnPolygon(Coordinate, double, Polygon). Static method in class primitives.geomtry.Geomtry
Returns the location of the intersection of a convex polygon and the line projecting of the coordinate with the given angle.
fixed. Variable in class primitives.machines.ScalarMultiplier1
Determines if this object should have 2 input joints or one anchor pinned at relative(0,0)
forceInputJoints(Coordinate[]). Method in class primitives.machines.Adder
forceInputJoints(Coordinate[]). Method in interface primitives.machines.FunctionalLinkage
Forces the input joints to be moved to the specified locations.
forceInputJoints(Coordinate[]). Method in class primitives.machines.Inversor1
forceInputJoints(Coordinate[]). Method in class primitives.machines.Multiplier
forceInputJoints(Coordinate[]). Method in class primitives.machines.ScalarMultiplier1
forceInputJoints(Coordinate[]). Method in class primitives.machines.ScMultForZero
forceInputJoints(Coordinate[]). Method in class primitives.machines.Translator1
framed. Variable in class primitives.frames.TextBox
Panel containing TextArea.
frameNumber. Variable in class primitives.frames.Frames
Number of frames contained by the applet.
frames. Variable in class primitives.frames.Frames
Array of DrawFrame Objects
Frames(). Constructor for class primitives.frames.Frames
freeBuffers(). Method in class primitives.frames.CanvasArea
clears the memory associated with the backbuffer objects.

G

Geomtry(). Constructor for class primitives.geomtry.Geomtry
Don't let anyone instantiate this class.
getActiveJoint(). Method in class primitives.machines.Adder
getActiveJoint(). Method in interface primitives.machines.FunctionalLinkage
getActiveJoint(). Method in class primitives.machines.Inversor1
getActiveJoint(). Method in class primitives.machines.Multiplier
getActiveJoint(). Method in class primitives.machines.ScalarMultiplier1
getActiveJoint(). Method in class primitives.machines.ScMultForZero
getActiveJoint(). Method in class primitives.machines.Translator1
getActiveStr(int). Method in class primitives.machines.Adder
getActiveStr(int). Method in interface primitives.machines.FunctionalLinkage
Returns a String to be displayed.
getActiveStr(int). Method in class primitives.machines.Inversor1
getActiveStr(int). Method in class primitives.machines.Multiplier
getActiveStr(int). Method in class primitives.machines.ScalarMultiplier1
getActiveStr(int). Method in class primitives.machines.ScMultForZero
getActiveStr(int). Method in class primitives.machines.Translator1
getAngle(Coordinate, Coordinate). Static method in class primitives.geomtry.Geomtry
Returns the angle in radians between 2 coordinates.
getAnnolus(). Method in class primitives.machines.ScalarMultiplier1
getChangeRate(). Method in interface primitives.machines.CircularMotion
provide information on the chageRate of the object
getChangeRate(). Method in class primitives.machines.NarmsMachineProof
getCurrentAngle(). Method in interface primitives.machines.CircularMotion
provde information on the current status of the object.
getCurrentAngle(). Method in class primitives.machines.NarmsMachine
getCurrentAngle(). Method in class primitives.machines.NarmsMachineProof
getInputJoints(). Method in class primitives.machines.Adder
getInputJoints(). Method in interface primitives.machines.FunctionalLinkage
getInputJoints(). Method in class primitives.machines.Inversor1
getInputJoints(). Method in class primitives.machines.Multiplier
getInputJoints(). Method in class primitives.machines.ScalarMultiplier1
getInputJoints(). Method in class primitives.machines.ScMultForZero
getInputJoints(). Method in class primitives.machines.Translator1
getInsets(). Method in class primitives.frames.DrawFrame
getJoint(int). Method in class primitives.machines.NarmsMachine
Returns the integral location of an indexed joint.
getJointEx(int). Method in class primitives.machines.NarmsMachine
Returns the location of an indexed joint.
getMaxDistance(double). Method in class primitives.machines.NarmsMachine
getMaxPoint(double). Method in class primitives.machines.NarmsMachine
Returns the extremum location of the central joint from the origin in direction specified by the angle.
getMidPoint(Coordinate, Coordinate, double). Static method in class primitives.geomtry.Geomtry
Returns the convex sum of 2 locations.
getOutputJoints(). Method in class primitives.machines.Adder
getOutputJoints(). Method in interface primitives.machines.FunctionalLinkage
getOutputJoints(). Method in class primitives.machines.Inversor1
getOutputJoints(). Method in class primitives.machines.Multiplier
getOutputJoints(). Method in class primitives.machines.ScalarMultiplier1
getOutputJoints(). Method in class primitives.machines.ScMultForZero
getOutputJoints(). Method in class primitives.machines.Translator1
getParam(String, int). Method in class primitives.frames.Frames
Returns parses a given applet Tag parameter to an integer value.
getParameters(). Method in class primitives.machines.Adder
Not implemented.
getParameters(). Method in interface primitives.machines.FunctionalLinkage
getParameters(). Method in class primitives.machines.Inversor1
getParameters(). Method in class primitives.machines.Multiplier
Not implemeted
getParameters(). Method in class primitives.machines.ScalarMultiplier1
getParameters(). Method in class primitives.machines.ScMultForZero
getParameters(). Method in class primitives.machines.Translator1
getPointByVector(Coordinate, double, double). Static method in class primitives.geomtry.Geomtry
Returns the coordinate location with the specified distance and angle from the given coordinate.
getRatioDistance(double). Method in class primitives.machines.NarmsMachine
getStandartAngle(double). Static method in class primitives.geomtry.Geomtry
Returns the corresponding argument value in the range 0-Math.PI*2
getTotalChange(). Method in interface primitives.machines.CircularMotion
provide information on the total change of the object.
getTotalChange(). Method in class primitives.machines.NarmsMachineProof
getTriPoint(Coordinate, double, Coordinate, double). Static method in class primitives.geomtry.Geomtry
Returns the 2 possible locations of a point with the specified distances from 2 locations.
getTriPointEx(Coordinate, double, Coordinate, double, Coordinate, Coordinate). Static method in class primitives.geomtry.Geomtry
Returns a location of a point with the specified distances from 2 locations.

H

heights. Variable in class primitives.machines.Translator1
Stores the 2 heights of the parallograms.

I

i. Variable in class primitives.machines.Multiplier
Used internaly by setInputJoints method
i. Variable in class primitives.machines.ScMultForZero
used internaly by setInputJoints method
in. Variable in class primitives.machines.NarmsMachine
index. Variable in class primitives.frames.Frames
[?]
init(). Method in class primitives.frames.Frames
creates a Frames object with a number of DrawFrame and Labels set by the "frames" parameter of the applet Tag.
init(). Method in class primitives.frames.TextBox
Creates 2 panels one for the buttons and one for the TextArea and reads the texts to the textFrames object.
input1. Variable in class primitives.machines.ScalarMultiplier1
input2. Variable in class primitives.machines.ScalarMultiplier1
inputs. Variable in class primitives.machines.Adder
A copy of the 2 input joints.
inputs. Variable in class primitives.machines.Inversor1
Store the location of the input joint
inputs. Variable in class primitives.machines.Multiplier
inputs. Variable in class primitives.machines.ScalarMultiplier1
inputs. Variable in class primitives.machines.ScMultForZero
inputs. Variable in class primitives.machines.Translator1
Used to store a copy of the input location
inputStr. Static variable in class primitives.machines.Inversor1
inputStr. Static variable in class primitives.machines.ScalarMultiplier1
inputStr. Static variable in class primitives.machines.Translator1
integrizeAnchors(). Method in class primitives.machines.Machine
Rounds the location of the anchors to the nearest integer location.
inver3Inputs. Variable in class primitives.machines.Multiplier
inversInputs. Variable in class primitives.machines.Multiplier
Inversor1(Rectangle). Constructor for class primitives.machines.Inversor1
inversors. Variable in class primitives.machines.Multiplier
Array of the 3 Inversor1 objects used by this object

J

j. Variable in class primitives.frames.Frames
joint5Str1. Static variable in class primitives.machines.ScalarMultiplier1
joint5Str2. Static variable in class primitives.machines.ScalarMultiplier1
JOINT_SIZE. Static variable in class primitives.geomtry.Geomtry
Determines the size in pixels of a drawn Machine's joint.
joints. Variable in class primitives.machines.Machine
The integer location of the joints.
jointStr. Static variable in class primitives.machines.Translator1
jointStr1. Static variable in class primitives.machines.Inversor1

L

L. Static variable in class primitives.machines.NarmsMachineProof
labels. Variable in class primitives.frames.Frames
Array of the Label objects.
lamda. Variable in class primitives.machines.ScalarMultiplier1
The scalar multiplication parameter
lamda. Variable in class primitives.machines.ScMultForZero
The scalar multiplier
leader. Variable in class primitives.machines.StraightLineMachine
leaderJoint. Variable in class primitives.machines.StraightLineMachine
legs. Variable in class primitives.machines.TwolegsMachine
Numner of legs in the machine.
limits. Variable in class primitives.machines.NarmsMachineProof
Stores the limit angles of motion [should be declared private].
line. Variable in class primitives.machines.StraightLineMachine
linkages. Variable in class primitives.machines.Multiplier
An enumeration of the 8 FunctionalLinkage objects, memebers of Multiplier The array points to the following objects:
linkages[0-1]=translators[0-1]
linkages[2-3] = inversors[0-1];
linkages[4] = anti;
linkages[5] = adder;
linkages[6] = inversors[2];
linkages[7] = translators[2];
linkages. Variable in class primitives.machines.ScMultForZero
An enumeration of the 3 linkages composing this linkage:
linkages[0]=translators[0]
linkages[1]=scMult;
linkages[2]=translators[1]


M

machine. Variable in class primitives.frames.CanvasArea
The interface to call its redraw method from the paint method of this object.
Machine(int, int, Dimension). Constructor for class primitives.machines.Machine
MachineException(int). Constructor for class primitives.machines.MachineException
sets the field e.
MachineException(String). Constructor for class primitives.machines.MachineException
modulo(double, double). Static method in class primitives.geomtry.Geomtry
return the positive mod of an argument.
mouseClicked(MouseEvent). Method in class primitives.frames.Frames
a mouse click switch the values of the run field.
mouseClicked(MouseEvent). Method in class primitives.frames.TextBox
Locates the FrameListener object with the name of the recieverName field, if successfull calls its changeFrame method and sets the text displayed according to the user action.
mouseDragged(MouseEvent). Method in class primitives.machines.Adder
mouseDragged(MouseEvent). Method in interface primitives.machines.FunctionalLinkage
A method which controls mouse darg user requests.
mouseDragged(MouseEvent). Method in class primitives.machines.Inversor1
mouseDragged(MouseEvent). Method in class primitives.machines.Multiplier
mouseDragged(MouseEvent). Method in class primitives.machines.ScalarMultiplier1
Process a a change according to the activeJoint (a joint the mouse pointer is over).
mouseDragged(MouseEvent). Method in class primitives.machines.ScMultForZero
mouseDragged(MouseEvent). Method in class primitives.machines.Translator1
mouseEntered(MouseEvent). Method in class primitives.frames.Frames
Not implemented.
mouseEntered(MouseEvent). Method in class primitives.frames.TextBox
Not implemented.
mouseExited(MouseEvent). Method in class primitives.frames.Frames
Not implemented.
mouseExited(MouseEvent). Method in class primitives.frames.TextBox
Not implemented.
mouseMoved(MouseEvent). Method in class primitives.machines.Adder
mouseMoved(MouseEvent). Method in interface primitives.machines.FunctionalLinkage
A method which controls mouse move user requests.
mouseMoved(MouseEvent). Method in class primitives.machines.Inversor1
mouseMoved(MouseEvent). Method in class primitives.machines.Multiplier
mouseMoved(MouseEvent). Method in class primitives.machines.ScalarMultiplier1
mouseMoved(MouseEvent). Method in class primitives.machines.ScMultForZero
mouseMoved(MouseEvent). Method in class primitives.machines.Translator1
mousePressed(MouseEvent). Method in class primitives.frames.Frames
Not implemented.
mousePressed(MouseEvent). Method in class primitives.frames.TextBox
Not implemented.
mouseReleased(MouseEvent). Method in class primitives.frames.Frames
Not implemented.
mouseReleased(MouseEvent). Method in class primitives.frames.TextBox
Not implemented.
move(Coordinate). Method in class primitives.geomtry.Coordinate
Moves this coordinate to the same location as the specified Coordinate object
move(double, double). Method in class primitives.geomtry.Coordinate
Moves this point to the specificed location in the (xy) coordinate plane.
moveCenter(double, double). Method in class primitives.machines.NarmsMachine
Conditionaly moves the machine by setting a new location for the central joint.
moveCenterEx(double, double). Method in class primitives.machines.NarmsMachine
moves the machine by setting a new location for the central joint The method will always change the position of the machine.
moveJointsA(). Method in class primitives.machines.NarmsMachine
calculates the location of the periferial joints by the current location of the central joint.
moveJointsEx(). Method in class primitives.machines.NarmsMachine
calculates the locations of the periferial joint has the same effect as moveJointsA.
moveMachine(double). Method in class primitives.machines.StraightLineMachine
preforms a motion of the machine
moveToMaxCoordinate(Coordinate). Method in class primitives.machines.NarmsMachine
Moves the central joint to an extermum location in the direction of a given location.
Multiplier(Rectangle). Constructor for class primitives.machines.Multiplier

N

NarmsMachine(Dimension, int, double). Constructor for class primitives.machines.NarmsMachine
NarmsMachineProof(Dimension, int, double). Constructor for class primitives.machines.NarmsMachineProof
Next. Static variable in class primitives.frames.TextBox

O

origin. Variable in class primitives.machines.Inversor1
The location on the canvas of the relative orign
origin. Variable in class primitives.machines.NarmsMachine
The location of equal distances from all anchors.
origin. Variable in class primitives.machines.ScalarMultiplier1
The relative origin
origin. Variable in class primitives.machines.ScMultForZero
The location on the canvas of the relative origin
origin. Variable in class primitives.machines.Translator1
The relative origin, initialized to the location of the first anchor
output. Variable in class primitives.machines.Inversor1
Stores a copy of the output joint location
output. Variable in class primitives.machines.ScalarMultiplier1
output. Variable in class primitives.machines.Translator1
Used to store a copy of the output joint location.
outputJoint. Variable in class primitives.machines.StraightLineMachine
outputs. Variable in class primitives.machines.ScalarMultiplier1
outputStr. Static variable in class primitives.machines.Inversor1
outputStr. Static variable in class primitives.machines.ScalarMultiplier1
outputStr. Static variable in class primitives.machines.Translator1

P

p. Static variable in class primitives.machines.StraightLineMachine
paint(Graphics). Method in class primitives.frames.CanvasArea
calls the redraw method of the machine member.
paint(Graphics). Method in class primitives.frames.DrawFrame
Draws a 3D square as the border of this Panel.
parameters. Variable in class primitives.machines.Inversor1
stores a copy of a and b
parameters. Variable in class primitives.machines.ScalarMultiplier1
parameters. Variable in class primitives.machines.Translator1
polarToCartes(Coordinate). Static method in class primitives.geomtry.Geomtry
Converts polar coordinate to cartesian coordinate.

R

r. Variable in class primitives.machines.StraightLineMachine
radialJoints. Variable in class primitives.machines.StraightLineMachine
radius. Variable in class primitives.machines.Inversor1
The radius of inversion
reachedEnd. Static variable in class primitives.machines.StraightLineMachine
reachEnd(). Method in class primitives.machines.SmallMachine
streches the right leg.
reachEnd(). Method in class primitives.machines.SmallMachineDemo
streches the right joint.
reciever. Variable in class primitives.frames.TextBox
The object which recieves notification by calling its FrameListener.changeFrame.
recieverName. Variable in class primitives.frames.TextBox
name of the reciever read from the reciever parameter.
redraw(Graphics). Method in class primitives.machines.Adder
Draws an Adder Linkage.
redraw(Graphics). Method in class primitives.machines.Inversor1
Implementation of the MachineListener interface.
redraw(Graphics). Method in class primitives.machines.Machine
Implementation of the MachineListener interface.
redraw(Graphics). Method in interface primitives.machines.MachineListener
This method is called by CanvasArea.paint.
redraw(Graphics). Method in class primitives.machines.Multiplier
Draws a Squaring Linkage.
redraw(Graphics). Method in class primitives.machines.NarmsMachine
Draws this machine.
redraw(Graphics). Method in class primitives.machines.NarmsMachineProof
Draws the machine to a graphic context.
redraw(Graphics). Method in class primitives.machines.ScalarMultiplier1
Drawing the pantoghraph
redraw(Graphics). Method in class primitives.machines.ScMultForZero
Draws a Scalar Multiplier around Zero linkage
redraw(Graphics). Method in class primitives.machines.SmallMachine
Redraws the machine.
redraw(Graphics). Method in class primitives.machines.SmallMachineDemo
Redraws the machine.
redraw(Graphics). Method in class primitives.machines.StraightLineMachine
Redraws the machine.
redraw(Graphics). Method in class primitives.machines.Translator1
Draws the translator linkage
redraw(Graphics). Method in class primitives.machines.TwoArmsMachine
draws the machine using a specified graphic context.
redraw(Graphics). Method in class primitives.machines.TwolegsMachine
Draws the machine.
Restart. Static variable in class primitives.frames.TextBox
restorePoints(). Method in class primitives.machines.Machine
Restores the location of the joints by setting its location to the locations saved in tempJoints.
restorePoints(). Method in class primitives.machines.NarmsMachine
restorePoints(). Method in class primitives.machines.StraightLineMachine
restores to the last valid state of the machine in case the current state is not valid.
rotateCenter(int, double). Method in class primitives.machines.NarmsMachine
conditionaly rotates the central joint.
rotateCenterA(int, double). Method in class primitives.machines.NarmsMachine
rotates the central joint with respect to the i,i>th joint.
rotateCenterEx(int, double). Method in class primitives.machines.NarmsMachine
rotates the central joint with respect to the i,i>th joint.
rotateJoint(Coordinate, Coordinate, double). Method in class primitives.machines.Machine
rotates specified joint c2 around joint c1 in dalpha radians.
rotateJoint(double). Method in class primitives.machines.SmallMachine
rotates the right joint with respect to the left joint.
rotateJoint(double). Method in class primitives.machines.SmallMachineDemo
rotates the right joint with respect to the left joint.
rotateJoint(int, double). Method in class primitives.machines.TwoArmsMachine
rotates the central joint relative to a given periferial joint.
rotateJoint(int, double). Method in class primitives.machines.TwolegsMachine
Rotates the machine by physically rotating the specified joint.
run. Variable in class primitives.frames.Frames
A Frames objects signals the refreshing thread it should call its changeFrames method by setting this flag to true.
run(). Method in class primitives.frames.Frames
calls the changeFrame method of all Frames object on this appletContext with the run flag set to true.

S

savePoints(). Method in class primitives.machines.Machine
sets the tempJoints array to the current location of the dJoints array.
savePoints(). Method in class primitives.machines.NarmsMachine
savePoints(). Method in class primitives.machines.StraightLineMachine
preform backup of last valid state incase next step is not legal.
sBar. Variable in class primitives.machines.ScalarMultiplier1
scalar. Variable in class primitives.machines.ScalarMultiplier1
The parameter used by the machine for computing its state.
ScalarMultiplier1(Rectangle, double, boolean). Constructor for class primitives.machines.ScalarMultiplier1
scMult. Variable in class primitives.machines.ScMultForZero
ScMultForZero(Rectangle, double). Constructor for class primitives.machines.ScMultForZero
setActiveJoint(int). Method in class primitives.machines.Adder
setActiveJoint(int). Method in interface primitives.machines.FunctionalLinkage
Sets the activeJoint.
setActiveJoint(int). Method in class primitives.machines.Inversor1
setActiveJoint(int). Method in class primitives.machines.Multiplier
Not implemented.
setActiveJoint(int). Method in class primitives.machines.ScalarMultiplier1
setActiveJoint(int). Method in class primitives.machines.ScMultForZero
setActiveJoint(int). Method in class primitives.machines.Translator1
setChangeRate(double). Method in class primitives.machines.NarmsMachineProof
Sets the change rate of this CircularMotion Object.
setCurrentObject(MachineListener). Method in class primitives.frames.CanvasArea
sets the MachineListener object to be called by the paint method of this object.
setInputJoints(Coordinate[]). Method in class primitives.machines.Adder
setInputJoints(Coordinate[]). Method in interface primitives.machines.FunctionalLinkage
changes the state of the machine by moving the location of the input joints.
setInputJoints(Coordinate[]). Method in class primitives.machines.Inversor1
setInputJoints(Coordinate[]). Method in class primitives.machines.Multiplier
setInputJoints(Coordinate[]). Method in class primitives.machines.ScalarMultiplier1
setInputJoints(Coordinate[]). Method in class primitives.machines.ScMultForZero
setInputJoints(Coordinate[]). Method in class primitives.machines.Translator1
setParameters(double[]). Method in class primitives.machines.Adder
Not implemented.
setParameters(double[]). Method in interface primitives.machines.FunctionalLinkage
Request the implementation to change its parameters.
setParameters(double[]). Method in class primitives.machines.Inversor1
setParameters(double[]). Method in class primitives.machines.Multiplier
Not implemented.
setParameters(double[]). Method in class primitives.machines.ScalarMultiplier1
setParameters(double[]). Method in class primitives.machines.ScMultForZero
Not implemented
setParameters(double[]). Method in class primitives.machines.Translator1
setScalar(double). Method in class primitives.machines.ScalarMultiplier1
Used to translate between the parameter used by the object (allways >1) and the scalar used to compute the output joint location.
setStr. Static variable in class primitives.machines.ScalarMultiplier1
smallCenter. Variable in class primitives.machines.StraightLineMachine
SmallMachine(Dimension). Constructor for class primitives.machines.SmallMachine
SmallMachineDemo(Dimension). Constructor for class primitives.machines.SmallMachineDemo
squareFormula(double, double, double). Static method in class primitives.geomtry.Geomtry
Returns the 2 solutions of a quadratic equation.
start(). Method in class primitives.frames.Frames
start(). Method in class primitives.frames.TextBox
displays the first text of the textFrame object.
startThread(). Method in class primitives.frames.Frames
activates the static thread t.
state. Variable in class primitives.machines.SmallMachine
Switching state of the 2 joints.
stop(). Method in class primitives.frames.Frames
sets the thread t to null, this ensurse that the thread t will be envoced by a Frames object of the current appletContext.
stop(). Method in class primitives.frames.TextBox
Sets the reciever to null.
StraightLineMachine(Dimension, boolean). Constructor for class primitives.machines.StraightLineMachine
strechArm(int). Method in class primitives.machines.NarmsMachine
strech the given arm
switchBend(). Method in class primitives.machines.SmallMachine
Switches the bending state of the right joint.
switchBend(Coordinate, Coordinate, Coordinate). Static method in class primitives.machines.Machine
Returns the second possible location of of mid.
switchBend(int). Method in class primitives.machines.NarmsMachine
Switch the bending of a given periferial joint with respect to the central joint and its anchor.
switchLeader(). Method in class primitives.machines.StraightLineMachine
switches between 2 supporting joints.

T

t. Static variable in class primitives.frames.Frames
a thread object used to refresh Frames object located in appletContext of this object.
t1. Variable in class primitives.machines.SmallMachine
t2. Variable in class primitives.machines.SmallMachine
t3. Variable in class primitives.machines.SmallMachineDemo
tBar. Variable in class primitives.machines.ScalarMultiplier1
temp. Variable in class primitives.machines.Inversor1
Used by mouseMoved method
temp. Variable in class primitives.machines.ScalarMultiplier1
temp. Variable in class primitives.machines.StraightLineMachine
temp. Variable in class primitives.machines.Translator1
tempCenter. Variable in class primitives.machines.NarmsMachine
A backup for the central joint.
tempJoints. Variable in class primitives.machines.Adder
Used for storing a backup of the locations of one of the ScalarMultiplier1 members
tempJoints. Variable in class primitives.machines.Machine
stores the last joints locations for if restore is needed.
tempPoints. Variable in class primitives.machines.StraightLineMachine
testRun(). Method in class primitives.machines.NarmsMachineProof
preforms a virtual motion to compute the angle limits of the objects motion.
TextBox(). Constructor for class primitives.frames.TextBox
textFrames. Variable in class primitives.frames.TextBox
Vector containing the texts from the applet Tag parameters: framei
threadSuspended. Variable in class primitives.frames.Frames
tInputs. Variable in class primitives.machines.ScMultForZero
toAngle(double). Static method in class primitives.geomtry.Geomtry
Converts radians to degrees.
toCoordinate(). Method in class primitives.geomtry.ExtPoint
Returns a Coordinate object with the same location as this point.
toPoint(). Method in class primitives.geomtry.Coordinate
Returns a representation of this coordinate and its location in the (xy) coordinate space as a Point object.
toRadian(double). Static method in class primitives.geomtry.Geomtry
Converts degrees to radians.
trans3Inputs. Variable in class primitives.machines.Multiplier
transInputs. Variable in class primitives.machines.Multiplier
translate(double, double). Method in class primitives.geomtry.Coordinate
Translates this coordinate, at location (xy), by dx along the x axis and dy along the y axis so that it now represents the coordinate (x + dx, y + dy).
translator. Variable in class primitives.machines.Translator1
The vector of translation
Translator1(Point, Coordinate). Constructor for class primitives.machines.Translator1
translators. Variable in class primitives.machines.Multiplier
array of the 3 Translator1 objects used by this object.
translators. Variable in class primitives.machines.ScMultForZero
An array containing the 2 Translator1 objects used by this linkage.
TwoArmsMachine(Dimension, double, int). Constructor for class primitives.machines.TwoArmsMachine
initializes the machines and checks the limit angles of its motion.
TwolegsMachine(Dimension, int). Constructor for class primitives.machines.TwolegsMachine
Initializes a machine with a given number of legs.

U

U. Static variable in class primitives.machines.NarmsMachineProof
update(Graphics). Method in class primitives.frames.CanvasArea
overrides update method of Canvas class.
update(Graphics). Method in interface primitives.machines.MachineUpdate
updatePoints(Coordinate[], ExtPoint[]). Static method in class primitives.machines.Machine
copies the locations of array of Coordinate to an array of ExtPoint.

W

waitFor. Variable in class primitives.frames.Frames
Number of miliseconds to wait between refreshing the Frames object for which run=true.

X

x. Variable in class primitives.geomtry.Coordinate
The x coordinate.
x. Variable in class primitives.machines.StraightLineMachine

Y

y. Variable in class primitives.geomtry.Coordinate
The y coordinate.
y. Variable in class primitives.machines.StraightLineMachine