capsule/convex and capsule/rectangle support