Sign in to follow this  
charlie_says

Angular position on a rectangle

Recommended Posts

If you imagine a rectangular clock face, I need to calculate the positions where the numbers go (i.e. at the edge of the rectangle).

Calculating the position on a circle is trivial, but my brain is not engaging with how I can get the position on a rectangle this morning...

...can anyone point me in the right direction?

Share this post


Link to post
Share on other sites

Actually, I played around with this some more, and the clock anaology is incorrect.

 

The actual problem is this:

I need to place n tiles on the edge of a rectangle (dimensions w & h), if there's too many pieces to fit then add additionally to w & h so they can...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.