edu.mit.sketch.uml
Class UMLCreateUMLChecker
java.lang.Object
|
+--edu.mit.sketch.uml.UMLCreateUMLChecker
- All Implemented Interfaces:
- Cloneable, Serializable
- Direct Known Subclasses:
- UMLArrowChecker, UMLCreateInterfaceChecker, UMLCreateLinkChecker, UMLCreateObjectChecker
- public abstract class UMLCreateUMLChecker
- extends Object
- implements Serializable, Cloneable
- See Also:
- Serialized Form
num_strokes
protected int num_strokes
program_strokes
protected Vector program_strokes
examine_strokes
protected Vector examine_strokes
totalStrokesLength
protected double totalStrokesLength
allPoints
protected Vector allPoints
UMLCreateUMLChecker
public UMLCreateUMLChecker()
clone
public Object clone()
- Clone current object
- Overrides:
clone in class Object
getExamineStrokes
public Vector getExamineStrokes()
recognizeStrokes
public void recognizeStrokes()
makePointVector
protected Vector makePointVector()
- Creates a point vector of the last n strokes from the program
strokesLength
protected double strokesLength()
- Returns the total length of a bunch of strokes
strokesJoined
protected boolean strokesJoined(Vector examine_strokes)
- Checks if head points are close to one another.
Should also check if they intersect. (just as good)