Diameter of an Object
Computes the diameter of an object such as a two-dimensional window or three-dimensional box.
diameter(x)
x |
A window or other object whose diameter will be computed. |
This function computes the diameter of an object such as a two-dimensional window or a three-dimensional box. The diameter is the maximum distance between any two points in the object.
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).
The numerical value of the diameter of the object.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.