Given a radius length r and an angle t in radians and a circle’s center (h,k), you can calculate the coordinates of a point on the circumference as follows (this is pseudo-code, you’ll have to adapt it to your language):
float x = r*cos(t) + h;
float y = r*sin(t) + k;
More Related Contents:
- How to determine if a point is in a 2D triangle? [closed]
- Circle line-segment collision detection algorithm?
- How do I calculate a point on a circle’s circumference?
- Algorithm to detect intersection of two rectangles?
- How to calculate an angle from three points? [closed]
- Sort points in clockwise order?
- How do you calculate the average of a set of circular data? [closed]
- How do Trigonometric functions work? [closed]
- Puzzle: Find largest rectangle (maximal rectangle problem)
- Calculate largest inscribed rectangle in a rotated rectangle
- Circle-circle intersection points
- Determining if two line segments intersect? [duplicate]
- How do you find a point at a given perpendicular distance from a line?
- What is the method for converting radians to degrees?
- determine if a point sits inside an arbitrary shape?
- How can I perform Collision Detection on rotated rectangles? [closed]
- Location of highest density on a sphere
- Custom Weighted Scale [closed]
- Evenly distributing n points on a sphere
- Select k random elements from a list whose elements have weights
- How to find the intersection point between a line and a rectangle?
- Is there an efficient algorithm to generate a 2D concave hull?
- Modulus power of big numbers
- How to find two most distant points?
- Create non-intersecting polygon passing through all given points
- Fastest algorithm for circle shift N sized array for M position
- Find if a point is inside a convex hull for a set of points without computing the hull itself
- Given Prime Number N, Compute the Next Prime?
- Find out which combinations of numbers in a set add up to a given total
- Algorithm for reflecting a point across a line