Search:

Type: Posts; User: javapenguin

Search: Search took 0.11 seconds.

  1. Replies
    25
    Views
    3,527

    Help!!!

    I really need to know how to do that last thing with the union!!!

    Too late now! I had to turn it in!

    /:)[-([-([-([-([-(:-":-":mad::mad::mad::mad::mad::mad::mad:
  2. Replies
    25
    Views
    3,527

    One last question

    How do you get it to do something like this:

    where there is an array of Rectangles of size n;

    Rectangle superRect = rect[n-1].union(rect[n-2].union(rect[n-3].union(etc... .union(rect[0]))
    ...
  3. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    Ok how do I get something to perform the union method on Rectangles in an array of size n;

    Rectangle rectBig =...
  4. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    #-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o
  5. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    I have the problem where I'm not sure how to get a class that takes a Rectangle as a parameter to compare it to another Rectangle inside the class itself.


    public boolean overlaps(Rectangle a)...
  6. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    I need to know how to set up a switch structure.
  7. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    How to write a switch struture.

    Am sending a document with stuff in it:

    In this assignment you will write a class to represent an “axis-aligned” rectangle, i.e. a rectangle with only...
  8. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    Assignment 1: Rectangles
    Out: 24th August 2010 Due: 2nd September 2010 (Thu) at 11:59pm
    In this assignment you will write a class to represent an “axis-aligned” rectangle, i.e. a rectangle with...
  9. Replies
    25
    Views
    3,527

    Re: I think I need an algorith

    Here's what they want me to do. I'm not sure how to do a switch structure.

    ^:)^^:)^^:)^^:)^^:)^~X(~X(~X(~X(~X(~X(~X(~X(~X(~X(
  10. Replies
    25
    Views
    3,527

    I think I need an algorith

    I'm trying to get it to compare rectangles in an array.

    I want it to compare Rectangle 0 and Rectangle 1 and Rectangle 0 and Rectangle 2, etc.

    The number of rectangles is being specified by the...
Results 1 to 10 of 10