A C D E F G I J L M N O P R S T W X Y

A

addCycle(LineWA[], int, int, int, double) - Method in class movingregion.ObjectMatcher
Adds a cycle to one of the snapshots.
adjustmentValueChanged(AdjustmentEvent) - Method in class movingregion.TriRepOutPutCanvas
 
angle - Variable in class movingregion.LineWA
 

C

compareTo(Object) - Method in class movingregion.LineWA
Compares two LineWA objects.
compareTo(Object) - Method in class movingregion.OverlapGraphEdge
This function compares two overlap graph edges with respect to how high the overlap is.
computeLineAngles(LineWA[]) - Static method in class movingregion.TriRepUtil
Computes the angle between two consecutive lines for all the lines given, and stores this in the LineWA objects.
computeOverlapGraph() - Method in class movingregion.ObjectMatcher
Computes the overlap graphs between the two sets of cycles already stored in this object.
computeOverlapGraph(ConvexHullTreeNode, ConvexHullTreeNode, double) - Static method in class movingregion.TriRepUtil
Computes the overlaps between objects at the same level of the line tree.
computeOverlapGraphIter(ConvexHullTreeNode, ConvexHullTreeNode, double) - Static method in class movingregion.TriRepUtil
Iterator function used by computeOverlapGraph.
convexHull(LineWA[]) - Static method in class movingregion.TriRepUtil
Computes the convex hull of a list of lines and places this at the beginning of the array given in the input.
convexHullDistance(LineWA[], LineWA[]) - Static method in class movingregion.TriRepUtil
This function computes the distance between two polygons by computing the smallest convex hull containing both polygons and then computing how much each of the polygons overlap with this convex hull.
ConvexHullTreeNode - class movingregion.ConvexHullTreeNode.
This class represents a node in the convex hull tree.
ConvexHullTreeNode() - Constructor for class movingregion.ConvexHullTreeNode
Creates an empty convex hull tree node
ConvexHullTreeNode(LineWA[], double, double) - Constructor for class movingregion.ConvexHullTreeNode
Creates a convex hull tree from the given polygon.
ConvexHullTreeNode(LineWA[], int, double, double) - Constructor for class movingregion.ConvexHullTreeNode
Creates a convex hull tree from the given polygon.
createChild(int) - Method in class movingregion.ConvexHullTreeNode
This function creates an empty convex hull tree node and associates it with a given line in this object.
createLineList(int[], int[]) - Static method in class movingregion.TriRepUtil
Creates a LineWA list from two sets of coordinate values.
createLineList(Vector) - Static method in class movingregion.TriRepUtil
This function turns a vector of LineWA values into an array of LineWA.

D

drawThis(Graphics, int, int) - Method in class movingregion.ConvexHullTreeNode
This function draws this convex hull three node in a "flattened" way.
drawTree(Graphics, int, int) - Method in class movingregion.ConvexHullTreeNode
Draws the convex hull tree with this node as its root.

E

endpoints - Variable in class movingregion.TriangleRep
 
equals(Object) - Method in class movingregion.LineWA
Tests equality of two LineWA objects.

F

findArea(LineWA[]) - Static method in class movingregion.TriRepUtil
Finds the area of a polygon represented by a point list.
findMatches(int) - Method in class movingregion.ObjectMatcher
Matches all cycles in one snapshot which have matches in the other snapshot and adds the graph representations to the trianglereps list.
findOverlap(LineWA[], LineWA[]) - Static method in class movingregion.TriRepUtil
Finds the overlap between two polygons represented by point lists.
findPoint(int, int, int) - Method in class movingregion.TriangleRep
This function determines which point in the graph structure lies at a given coordinate value.

G

getChildren() - Method in class movingregion.ConvexHullTreeNode
Returns all children of this node.
getCorrespondingPoint(int, int) - Method in class movingregion.TriangleRep
Given two points in the same snapshot, finds the third point which forms a triangle with the two points.
getCorrespondingPoint(int, int, int, int, int) - Method in class movingregion.TriangleRep
Given two points in the same snapshot, finds the third point which forms a triangle with the two points.
getLine(int) - Method in class movingregion.ConvexHullTreeNode
This function returns the line at a given position in the line list.
getLineForChild(ConvexHullTreeNode) - Method in class movingregion.ConvexHullTreeNode
This function finds the line a given child of this node is associated with.
getLines() - Method in class movingregion.ConvexHullTreeNode
Gets the polygon stored in the convex hull tree that has this node as its root.
getMatchEdges() - Method in class movingregion.ObjectMatcher
This function returns which cycles were used to create each moving cycle.
getMaximumYPosition() - Method in class movingregion.TriRepOutPutCanvas
 
getMinimumSize() - Method in class movingregion.TriRepOutPutCanvas
 
getNeighbours(int) - Method in class movingregion.TriangleRep
This function is used to find which points are the neighbours of a given point.
getNeighbours(Object) - Method in class movingregion.TriangleRep
This function is used to find which points are the neighbours of a given point.
getNumberOfNeighbours(int) - Method in class movingregion.TriangleRep
Get the number of neighbours that a given point has.
getNumberOfPoints() - Method in class movingregion.TriangleRep
Determines how many points there are in the graph representation.
getOrderedOutLine() - Method in class movingregion.ConvexHullTreeNode
Gets the polygon stored in the node with the point with the smallest y-coordinate first.
getOrderedSnapshot(int) - Method in class movingregion.TriangleRep
This function is used to get the points in one snapshot from the graph representation and sort them so that they come in counterclockwise order.
getOutLine() - Method in class movingregion.ConvexHullTreeNode
Gets the polygon stored in the node in the order in which it is stored internally.
getOverlapEdges() - Method in class movingregion.ConvexHullTreeNode
Returns all overlap graph edges going from this node.
getOverlappingNodes() - Method in class movingregion.ConvexHullTreeNode
Returns all convex hull tree nodes that overlaps with this node.
getPoint(int) - Method in class movingregion.TriangleRep
 
getPoints() - Method in class movingregion.TriangleRep
This function returns the list of points as an array of objects.
getPosition(int) - Method in class movingregion.TriangleRep
Returns the position of a point in space-time as an integer array.
getPreferredSize() - Method in class movingregion.TriRepOutPutCanvas
 
getSmallestPoint() - Method in class movingregion.ConvexHullTreeNode
Gets the smallest point.
getSnapshot(int) - Method in class movingregion.TriangleRep
This function is used to get the points in one snapshot from the graph representation.
getTriangleReps() - Method in class movingregion.ObjectMatcher
Gets the result of the interpolation.

I

indexOf(Object[], Object) - Static method in class movingregion.TriRepUtil
Finds where in an array a given object is.
indexOf(Object[], Object, int) - Static method in class movingregion.TriRepUtil
Finds where in an array a given object is.
insertChild(int, ConvexHullTreeNode) - Method in class movingregion.ConvexHullTreeNode
This function links a particular line in this object to a given convex hull tree node, thereby making it a child of this node.
insertConcavity(TriangleRep, ConvexHullTreeNode, ConvexHullTreeNode) - Method in class movingregion.TriangleRep
Inserts a concavity into this graph representation by removing two lines from the graph representation and replacing them with the graph representation of the concavity object.
insertHalfConcavity(LineWA[], int, int, int, int) - Method in class movingregion.TriangleRep
Insert a concavity in one snapshot that is matched to a point in the other into the graph representation.
insertLine(int, int) - Method in class movingregion.TriangleRep
Inserts a line from p1 to p2 into the graph.
insertLine(LineWA) - Method in class movingregion.ConvexHullTreeNode
This function inserts a new line at the end of the list of lines defining the polygon represented by this object.
insertOverlap(double, ConvexHullTreeNode) - Method in class movingregion.ConvexHullTreeNode
This function inserts an overlap graph edge between this node and another node.
insertPoint(int, int, int) - Method in class movingregion.TriangleRep
Inserts a point into the graph structure.
isMatched() - Method in class movingregion.ConvexHullTreeNode
Finds whether this object has already been matched to another convex hull tree node or not.

J

joinChildren(ConvexHullTreeNode[]) - Method in class movingregion.ConvexHullTreeNode
This function takes the given nodes, which must be children of this node, and creates a single convex hull tree node out of them.

L

LineWA - class movingregion.LineWA.
This class is meant to store lines and the angle between them.
LineWA() - Constructor for class movingregion.LineWA
Constructor without parameters.
LineWA(int, int) - Constructor for class movingregion.LineWA
This constructor initializes the angle to 0.
LineWA(int, int, double) - Constructor for class movingregion.LineWA
This constructor initializes all variables to given values.
LineWA(LineWA) - Constructor for class movingregion.LineWA
This constructor initializes this object to be an exact copy of another LineWA object.

M

matchCycles() - Method in class movingregion.ObjectMatcher
Matches the cycles of the two consecutive snapshots stored in this object.
min_overlap - Variable in class movingregion.TriangleRep
 
min_overlap_match - Variable in class movingregion.TriangleRep
 

N

neighbours(int, int) - Method in class movingregion.TriangleRep
Test whether two points are neighbours.
numberOfLines() - Method in class movingregion.ConvexHullTreeNode
Finds the number of lines that makes op the polygon stored in this node.

O

ObjectMatcher - class movingregion.ObjectMatcher.
This class contains the code to discover which cycles in two sets of cycles that overlap, and run the moving cycle creation algorithm found in the TriangleRep class.
ObjectMatcher() - Constructor for class movingregion.ObjectMatcher
Constructor without parameters.
ObjectMatcher(double, double, double) - Constructor for class movingregion.ObjectMatcher
Constructor with only the matching criterion parameters.
ObjectMatcher(LineWA[][], LineWA[][], double, double, double) - Constructor for class movingregion.ObjectMatcher
Constructor with all parameters.
overlap - Variable in class movingregion.OverlapGraphEdge
 
OverlapGraphEdge - class movingregion.OverlapGraphEdge.
This class represents an edge in the overlap graph.
OverlapGraphEdge() - Constructor for class movingregion.OverlapGraphEdge
 
overlapswith - Variable in class movingregion.OverlapGraphEdge
 

P

paint(Graphics) - Method in class movingregion.TriRepOutPutCanvas
 
pointExists(int) - Method in class movingregion.TriangleRep
This function checks whether a point is stored in a given index in the point list.
printLineList(LineWA[]) - Static method in class movingregion.TriRepUtil
For debugging purposes: prints the coordinate values of the points in a line list to the screen.

R

recomputeOverlapGraph(ConvexHullTreeNode, ConvexHullTreeNode, double) - Static method in class movingregion.TriRepUtil
Computes the overlaps between objects at the same level of the line tree.
removeAllOverlaps() - Method in class movingregion.ConvexHullTreeNode
Removes all overlap edges going out from this node.
removeAllOverlaps(ConvexHullTreeNode) - Static method in class movingregion.TriRepUtil
Removes all overlap references to a given convex hull tree node and all it's children from the convex hull tree.
removeDuplicates(List) - Static method in class movingregion.TriRepUtil
Removes duplicate objects from the given list.
removeDuplicatesR(Vector) - Static method in class movingregion.TriRepUtil
Removes duplicated without sorting.
removeLine(int) - Method in class movingregion.ConvexHullTreeNode
This function removes a line from the polygon.
removeLine(int, int) - Method in class movingregion.TriangleRep
Removes a previously inserted line from the graph structure.
removeOverlap(ConvexHullTreeNode) - Method in class movingregion.ConvexHullTreeNode
This function removes an overlap graph edge between this node and another node.
removePoint(int) - Method in class movingregion.TriangleRep
Removes a point from the graph structure.
rotateCycle(LineWA[], double) - Static method in class movingregion.TriRepUtil
This function rotates the given cycle around its center.

S

sameSide(LineWA, LineWA, LineWA, LineWA) - Static method in class movingregion.TriRepUtil
Checks whether the points p1 and p2 are on the same side of the line represented by line1 and line2.
saveAsVRML(String) - Method in class movingregion.TriangleRep
Creates a VRML file containing a VRML representation of the graph (an indexedFaceSet).
setMatched(boolean) - Method in class movingregion.ConvexHullTreeNode
Sets the variable indicating whether this object has been matched to another or not.
sortOverlapEdges() - Method in class movingregion.ConvexHullTreeNode
This function sorts the overlap graph edges of this node by the amount of overlap.

T

translateCycle(LineWA[], int, int) - Static method in class movingregion.TriRepUtil
Moves the given cycle by dx and dy.
translateSnapshot(int, int, int) - Method in class movingregion.TriangleRep
This function moves the coordinate values of each point in the given snapshot.
TriangleRep - class movingregion.TriangleRep.
This class is used to create a time slice of a moving cycle.
TriangleRep() - Constructor for class movingregion.TriangleRep
Constructor without parameters.
TriangleRep(ConvexHullTreeNode, ConvexHullTreeNode, double) - Constructor for class movingregion.TriangleRep
Constructs the graph representation from two arbitrarily shaped polygons represented by convex hull trees.
TriangleRep(LineWA[], LineWA[], double) - Constructor for class movingregion.TriangleRep
Constructs the graph representation from two arbitrarily shaped polygons represented as lists of lines.
TriRepCreationException - exception movingregion.TriRepCreationException.
 
TriRepCreationException() - Constructor for class movingregion.TriRepCreationException
 
TriRepCreationException(String) - Constructor for class movingregion.TriRepCreationException
 
TriRepException - exception movingregion.TriRepException.
 
TriRepException() - Constructor for class movingregion.TriRepException
 
TriRepException(String) - Constructor for class movingregion.TriRepException
 
TriRepOutPutCanvas - class movingregion.TriRepOutPutCanvas.
 
TriRepOutPutCanvas(TriangleRep) - Constructor for class movingregion.TriRepOutPutCanvas
 
TriRepUtil - class movingregion.TriRepUtil.
This class contains a number of static utility methods used by the other classes.
TriRepUtil() - Constructor for class movingregion.TriRepUtil
 

W

writeTriangles(int, OutputStreamWriter, Vector) - Method in class movingregion.TriangleRep
Writes the individual triangular surfaces containing one line from the given snapshot into the VRML file.

X

x - Variable in class movingregion.LineWA
 
X_DISP - Static variable in class movingregion.ConvexHullTreeNode
 

Y

y - Variable in class movingregion.LineWA
 
Y_DISP - Static variable in class movingregion.ConvexHullTreeNode
 

A C D E F G I J L M N O P R S T W X Y