diameter(x) The function diameter is generic, with methods for
the class "owin" (two-dimensional windows),
"box3" (three-dimensional boxes),
"boxx" (multi-dimensional boxes)
and "linnet" (linear networks).
diameter.owin,
diameter.box3,
diameter.boxx,
diameter.linnet