MEDYAN.boundary_capsule

Tuple{}

boundary_capsule(
;
    center,
    axis,
    radius,
    stiffness
) -> MEDYAN.Boundary

Return a capsule boundary.

center(nm): The center of the capsule.

axis(nm): The direction and length of the capsule spine. The spine line segment goes from center - axis/2 to center + axis/2 If zero the capsule is a sphere.

radius(nm): Radius of capsule, the full length of the capsule is norm(axis) + 2radius.

stiffness(pN/nm): How strong the boundary is.