Solved

# drawing polygon with 9 vertices and 6 vertices

Posted on 2002-04-13
954 Views
how can I draw a polygon with radius 10 and 9 vertices?
same thing for 6 vertices?

also what is the name of such polygons?
0
Question by:slok
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2

LVL 4

Accepted Solution

joachimc earned 100 total points
ID: 6941208
Hmm doesn't this look like a school question ?

You can use a triangle fan with a center point and 8 vertices around it.

The angle between points are 2PI/8

/Joachim
0

LVL 3

Author Comment

ID: 6941312
yes, this is related to school question.

my main probelm is at the angle. I have not touch maths for
like 12 years. the use of PI reminds me of radians (spelling?)
and degrees. I went back to library to read up on the diff.
between them. It helps.

Thanks
0

LVL 4

Expert Comment

ID: 6941335
You are right. D3D normally uses radians instead of the normal 360 degree system, so that's why I used it.

/Joachim
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

### Suggested Solutions

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I wasâ€¦
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundrâ€¦
Progress
###### Suggested Courses
Course of the Month4 days, 9 hours left to enroll