
Last chance! 50% off unlimited learning
Sale ends in
diameter.box3(x)
volume.box3(x)
shortside.box3(x)
eroded.volumes(x, r)
"box3"
).diameter.box3
, shortside.box3
and
volume.box3
, a single numeric
value. For eroded.volumes
, a numeric vector of the same length
as r
.diameter.box3
computes the diameter of the box.
volume.box3
computes the volume of the box.
shortside.box3
finds the shortest of the three side lengths
of the box. eroded.volumes
computes, for each entry r[i]
,
the volume of the smaller box obtained by removing a slab of
thickness r[i]
from each face of the box. This smaller box is
the subset consisting of points that lie at least r[i]
units
away from the boundary of the box.
as.box3
X <- box3(c(0,10),c(0,10),c(0,5))
diameter.box3(X)
volume.box3(X)
shortside.box3(X)
hd <- shortside.box3(X)/2
eroded.volumes(X, seq(0,hd, length=10))
Run the code above in your browser using DataLab