|
-
Nov 11th, 2002, 08:30 AM
#1
Thread Starter
Addicted Member
Rectangles in Rectangle
perhaps someone knows how to calculate how many small rectangles fit into one big (rectangles can by rotaded 90 degree) ?
-
Nov 11th, 2002, 08:34 AM
#2
PowerPoster
Since a line cannot be less than one pixel wide, so the maximum number of rectangles within a rectangle will always be lesser of these two:
Rectangle_Width/2 OR Rectangle_Height/2
-
Nov 11th, 2002, 08:34 AM
#3
Frenzied Member
I think it is
Area of large rectangle / Area of small rectangle
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
-
Nov 11th, 2002, 08:36 AM
#4
PowerPoster
I might be confused here, what are you trying to ask:
How many rectangles of a given size fit into a bigger rectangle?
or
How many rectangles can be drawn inside a given rectangle?
-
Nov 11th, 2002, 08:36 AM
#5
Thread Starter
Addicted Member
===========
I think it is
Area of large rectangle / Area of small rectangle
==============
No way. In your case all space wil be used.
P.S. Sorry for my poor English...
-
Nov 11th, 2002, 08:55 AM
#6
Frenzied Member
Originally posted by amitabh
I might be confused here, what are you trying to ask:
How many rectangles of a given size fit into a bigger rectangle?
or
How many rectangles can be drawn inside a given rectangle?
U got UR answer
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
-
Nov 11th, 2002, 09:00 AM
#7
Thread Starter
Addicted Member
Originally posted by amitabh
I might be confused here, what are you trying to ask:
How many rectangles of a given size fit into a bigger rectangle?
or
How many rectangles can be drawn inside a given rectangle?
OK How many rectangles of given size can be drawn inside a given rectangle of biger size.
P.S. Sorry for my poor English...
-
Nov 11th, 2002, 09:08 AM
#8
PowerPoster
Will it be (big_rect_width - small_rect_width) * (big_rect_height - small_rect_height)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|