Top "Rectangles" questions

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

Calculating vertices of a rotated rectangle

I am trying to calculate the vertices of a rotated rectangle (2D). It's easy enough if the rectangle has not …

c++ math matrix trigonometry rectangles
SVG Rectangle display HTML title on mouseover

I try to display a tooltip on mouse hover a rectangle. My attempt were using <g> and set …

html css svg tooltip rectangles
How can I create Rectangles in WPF dynamically?

I am trying to create rectangles and the number of rectangles is depend on data passed from database. For example, …

c# wpf rectangles
Finding an axis-aligned rectangle inside a polygon

I am looking for a good algorithm to find an axis-aligned rectangle inside a (not necessarily convex) polygon. A maximal …

algorithm geometry polygon rectangles
Find number of rectangles from a given set of coordinates

I have to find max number of rectangles from a given set of coordinates. Consider the following coordinates are given …

geometry coordinates rectangles
How to check whether a NSPoint lays inside a NSRect

I've created a mutable array containing NSRect values. I want to check whether the NSPoint I created is within this …

cocoa points rectangles
What is the best way to convert from a RectF to a Rect in Android?

I would like to convert from a RectF to a Rect in Android. Currently I have: RectF rectF = new RectF(); …

android graphics rectangles
What's a good, simple, 2D rectangles-only collision detection algorithm?

I'm designing a collision detection game tutorial for young adults, so I want this to be as simple as possible …

algorithm 2d collision-detection rectangles
an algorithm for fitting a rectangle inside a polygon

I have a kind of cutting problem. There is an irregular polygon that doesn't have any holes and a list …

algorithm polygon computational-geometry rectangles
How can I make the rectangles clickable, C#

The code can generate rectangles (Rectangle rectangle) at runtime. The position of rectangles may change according to users' choices. I …

c# winforms graphics clickable rectangles