|
-
February 17th, 2011, 09:46 AM
#1
Interior angle of polygon
I have a closed polygon made up of n points. Could be convex, concave or self intersecting.
Given 3 consecutive points (ie two adjacent lines) I want to draw an arc between the two lines such that the arc is on the interior of the polygon.
Just like an angle indicator in geometry.
Starting from line 1, I can either draw the arc cw or ccw to get to line 2. One way will draw the interior angle, the other way will draw the exterior angle, but how do I tell which?
Hope the decsription is clear, I am going round in circles trying to find a reasonable way to do this. Maybe there is a simple solution I just can't see.
-
February 23rd, 2011, 04:23 AM
#2
Re: Interior angle of polygon
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|