Capsule

In CORA, capsules are instantiated by
% C = capsule(c,g,r);
where c is the center, g is the generator, and r is the radius.
Example:
% initialize capsule
c = [1;0];
g = [-1;1];
r = 0.5;
C = capsule(c,g,r);
 
% plot capsule
plot(C);
For more information, type
help capsule
capsule - object constructor for capsules Description: This class represents capsule objects defined as C := L + S, L = {c + g*a | a