RE: Calculating points in a circle

new topic     » topic index » view thread      » older message » newer message

>This will give you a simple circle.
>angle is from -PI to PI.
>Calculating how to increment angle
>still needs to be figured out.

>x=sin(angle)*diameter
>y=cos(angle)*diameter

Thank you. This is exactly what I needed. Your sample code was also a big
help.

David S.


---
Outgoing mail is certified Virus Free unless this too is a virus.....hmmmm.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu