Marking criteria for Assignment 1, Q5 and Q6:

Q5:  There were a total of 6 test cases used.  1 mark was assigned to each test case.  The test cases are as follows:
 

case1:

0 0
3
-1 -1
1 -1
0 1

correct answer: in

case2:

0 0
3
0 -1
2 -1
1 1

correct answer: out

case 3:
 

0.5 1.0
4
0 0
0 2
2 0
2 2

correct answer: in

case 4:

-1 0
4
0 0
0 2
2 0
2 2

correct answer: out

case 5:

0.5 0.5
3
0 0
1 0.5
0 1

correct answer: in

case 6:

-1 0.5
3
0 0
1 0.5
0 1

correct answer: out
 

1 mark was taken off for each wrong answer.

Q6:

This question was marked out of 3 parts.  Each part was out of 2:

2/2 - fully functional
1/2 - paritally functional
0/2 - non-functional

error code a):  dragging the center of the square.

You lost marks if the rectangle does not respond to dragging, or gets resized/changed in any way while being dragged by the center.

error code b): dragging the edge:

You lost marks if the rectangle does not respond to reshaping by dragging on the edges,  if the rectangle changes shape in both directions (ie. the edge drag is behaving like a vertex drag), or if the re-shaping stops before I let go of the mouse button.

error code c): dragging the vertex:

Marks were deducted if the rectangle does not respond to reshaping by dragging near the vertices, if the shape became non-rectangular as a result of the dragging or if the dragging stops before the mouse button is let go.

Further notes:

error code d): The code did not compile, a mark of 0 will be assigned.

error code g): There was no submission.  A mark of 0 will be assinged.

You could also lose a maximum of 1 point for any number of the following:

error code f):  submitting your assignment under alq6 instead of a1q6
error code a):  The initial rectangle sits in the bottom corner - but not all of it is visible. When this rectangle is dragged, it looks like it's being resized.
error code e):  it was very difficult to drag onto the edge or vertex (tolerance set too low).