For each point X[i] this function computes the shortest
distance to the boundary of the observation window or domain of the
point pattern.
The function distbdry is generic, with methods for
class "ppp", "pp3" and other classes.
For a two-dimensional spatial point pattern X of class "ppp",
distbdry(X) is equivalent to bdist.points(X).