A solid capsule shape geometry. A capsule is two semicircles connected by a rectangle.
Local center of the first semicircle
Local center of the second semicircle
The radius of the semicircles