When you say top or bottom do you mean the column (or row)?
And then left or right is the row (or column)?
Then the element at top=1,left=1 is is on the first row in the first column
This would...
Type: Posts; User: Norm
When you say top or bottom do you mean the column (or row)?
And then left or right is the row (or column)?
Then the element at top=1,left=1 is is on the first row in the first column
This would...
Is this what you mean:
1 is at location (0,0)
2 is at location (1,0)
3 is at location (2, 0)
4 is at location (0, 1)
.
The values in () are the indexes to the location in the array??
{{(0,0)...
How are the points x,y value placed in the array?
Something like this: {{p1x, p1y}, {p2x,p2y}
What are the point's x,y values in this array:
int[][] image1 =
{ {1, 2, 3},
{4, 5, 6},
{7, 8,...
Ok, the 4 numbers define two points: x1,y1 and x2, y2
and x1 < x2 and y1 < y2
Where does the test for overlap come in?
Are there two sets of the two points?
How do you get a shape with only one variable. You need an x and y value to be able to define a shape with 4 points: top, bottom, left, right. If you have only an x value then you can only define...