Questions tagged [rectangles]

A rectangle is a geometric shape: any quadrilateral with four right angles

1277 questions
-5
votes
1 answer

Getting the best rectangle

I have a rectangle, and a list of other rectangles. I want to get the rectangle from the list, that has the best width, height, and aspect ratio according to my rectangle. Example After I run my code, the best rectangle should be rectangle 3. Note…
Boldijar Paul
  • 4,925
  • 7
  • 39
  • 83
-6
votes
1 answer

Drawing a rectangle with a certain angle of degree

I'm using Windows visual studio 2015 winforms to draw rectangles on a panel. I get my information from a list of objects(bricks). I just check the rotation for each brick: My brick holds the following information: string ID; PointF…
Bart
  • 647
  • 1
  • 8
  • 26
1 2 3
85
86