A circle is a planar shape whose points remain a constant distance from a center. Its shape requires one parameter: a radius or diameter. section 6.1.5
Use the circle as a compact geometric primitive:
- Separate shape from pose: the radius describes the circle, while position and orientation are handled separately. section 6.1.5
- Represent a circle centered at the origin with x² + y² = r². section 6.1.5
- Render its outline by evaluating x = r cos(t) and y = r sin(t) as t ranges from 0 to 2π. section 6.1.5
- Use parametrized geometry to test whether points lie inside the shape or whether shapes intersect. section 6.1.5
Shape signature
A programmer-friendly abstraction is def circle(radius): the single argument fully determines the circle’s shape, unlike a rectangle’s width and length. section 6.1.5
The parametric equations provide a direct way to generate circle points for drawing or geometric processing. section 6.1.5


