An epitrochoid is a shape traced by a point attached to a circle of radius r rolling around the outside of a fixed circle of radius R, where the point is a distance d from the centre of the exterior circle. It is the shape of the cylinder in a Wankel engine.