[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

06/17/2004 at 12:22PM PDT, ID: 21029386
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.2

Math - get bounds of rotated rectangle

Asked by Slick812 in Math & Science

Tags: rectangle, rotated

Hello, , I am rotating a Rectangle (90 degree corners) to an angle from zero to 360 degrees, for a computer programming graphics operation, I'll call this the Rotated Rectangle.
I need to find the width and height of a "Bounds" rectangle around the rotated rectangle (containing all), , this Bounds Rectangle will have sides that are parralell to the x and y axis and will have it's width and height equal to the Rotated Rectangle at 0 degrees and 180 degrees.
The data that I start with is the width and height of the Rotated Rectangle and the Angle of Rotation, what I need is a formular or way to get the Width and Height of the Bounds Rect, after the rotation.
Lets say "Ang" is the angle of rotation in degrees, and the rrWidth and rrHeight is the Width and Height of the Rotated Rectangle, so bWidth and bHeight are the results I need, as the width and height of the Bounds Rectangle. . .

so I need some math like

bWidth = Cos Ang x rrWidth
bHeight = Sin Ang x rrHeight

but incorperating the the sides of the Rotated Rectangle to get a container size for the rotated rectangle

a picture may help to see the spatial relations, look at -

http://www.angelfire.com/hi5/delphizeus/rotate.html

I can get some "Partial" solutions, for a single quadrent of the rotation, but since the corners of the rotated rect change their left and right and upper and lower reference, I can not seem to get a good way to do this

any help will be apreciated !
[+][-]06/17/04 12:32 PM, ID: 11338097

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/17/04 12:46 PM, ID: 11338259

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Math & Science
Tags: rectangle, rotated
Sign Up Now!
Solution Provided By: Gregory_Scot_Greer
Participating Experts: 4
Solution Grade: A
 
 
[+][-]06/17/04 12:47 PM, ID: 11338271

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 12:49 PM, ID: 11338302

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 02:10 PM, ID: 11339186

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/17/04 02:10 PM, ID: 11339196

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 02:15 PM, ID: 11339237

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 02:30 PM, ID: 11339353

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/17/04 02:33 PM, ID: 11339374

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/17/04 03:37 PM, ID: 11339723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/17/04 08:53 PM, ID: 11341093

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 09:00 PM, ID: 11341200

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/17/04 10:56 PM, ID: 11341684

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/18/04 12:19 PM, ID: 11347681

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/19/04 08:51 AM, ID: 11351400

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/19/04 09:14 AM, ID: 11351491

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74