D
D
DALVROT2020-05-13 23:55:38
Mathematics
DALVROT, 2020-05-13 23:55:38

How to decompose the number of points in a circle?

It is necessary to decompose the n-th number of objects in a circle, with equal intervals. I remembered that any n-gonal convex figure can be placed in a circle, maybe you can start from this ... Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2020-05-14
@DALVROT

If you need to place the points along the circle, then the easiest way to do this is in the polar coordinate system . The conversion formulas are:

x = R*cos(phi) + x0
y = R*sin(phi) + y0

, where R is the radius of the circle, phi is the angle of rotation from the x-axis counterclockwise, the center of the circle is at the point M(x0, y0) . Accordingly, if you need N points, then
phi = (0,1,2...N-1)*(2*pi/N)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question