Find Point on Rect Inside Circle Given Angle

  • Context: Undergrad 
  • Thread starter Thread starter Norpyx
  • Start date Start date
  • Tags Tags
    Angle Circle Point
Click For Summary

Discussion Overview

The discussion revolves around finding the coordinates of points on the edge of a rectangle that is inscribed within a circle, given the angle and the dimensions (height and width) of the rectangle. Participants explore the geometric relationships and mathematical approaches necessary to solve this problem, which involves trigonometry and the properties of circles and rectangles.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant expresses confusion about how to derive the coordinates of the rectangle's edge points based on the given angle and dimensions.
  • Another participant suggests using trigonometry to find the opposite side of a right triangle formed by the rectangle's dimensions and the angle.
  • A later post highlights the complication that the angle may exceed 90 degrees, indicating a need for a more comprehensive approach to the problem.
  • Participants introduce additional variables and relationships, noting the need to translate certain points based on known and unknown variables.
  • One participant proposes that since all corners of the rectangle lie on the circle's circumference, the diameter can be calculated from the rectangle's dimensions, leading to a potential method for finding the distance between a point on the rectangle and the circle's center.

Areas of Agreement / Disagreement

Participants do not reach a consensus, as there are multiple competing views on how to approach the problem, particularly regarding the implications of angles greater than 90 degrees and the methods for calculating distances and translations.

Contextual Notes

The discussion includes various assumptions about the relationships between the rectangle and the circle, as well as the dependence on specific angle measures and dimensions. Some mathematical steps remain unresolved, particularly in the context of translating points and calculating distances.

Norpyx
Messages
5
Reaction score
0
Alright, this is a bit of a confusing one for me.

The problem:
getpoint_incircle.png

The ultimate objective is to get the coordinates of the points on the edge of the rectangle (labeled: (?,?) ), given the angle, and the height and width of the rectangle.

The more I think about this problem, however, the more I confuse myself. Before I was going to outline some steps I thought I needed to take to get that point (and ask for the equations) but now I'm not sure what I need to do anymore.I want to highlight that I know the height and width of the rectangle, and the angle.

I know I can find the distance between the center dot by dividing the height or width by two, depending on what axis, since its the point in the center of the rectangle.

Any help at all?
 
Physics news on Phys.org
You've got a right triangle there. You know an angle a1 and an adjacent side (it's h/2). Use trigonometry to find the opposite side.
 
The problem is, as you see with the faded a2 angle (which would also be known), the angle isn't always less than or equal to 90 degrees.

I've wrapped my head around the concept a bit more, so I'll post up a more relevant question/example in a second.
getpointtotranslate.png


The above is a better example of exactly what I need to do.

Known variables: h, w, a, b, c1, d1, e1, f1, and z.
Unknown variables: c2, d2, e2, f2, m, and n

I need to find m,n and then translate c1,d1 to c2,d2 and the same for e1,f1 to e2,f2. Originally I was going to do the translation and what not myself, but its easier to explain the entire problem in one go.
 
Last edited:
New Data!

Given the fact that all corner points of the rectangle are points on the circle's circumference, we can find the diameter by calculating the distance between two opposite corners of the rectangle.

For example, if the width of the rectangle was 1280, and the height was 960, then the circle's diameter is 1600, making the radius 800.

sqrt( (1280-0)^2 + (960-0)^2 )

Now, is it possible to find the distance between the point on the rectangle and the center of the circle, since the angle will be the same, and we can find the point on the circle's circumference, now that we have the diameter?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 12 ·
Replies
12
Views
7K
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K