This software computes: (i) the exact closed-form probability density function and (ii)
the exact closed-form cumulative density function of the distance between a randomly located
node and any arbitrary reference point inside a regular L-sided polygon. These results
can be used to obtain the closed-form probability density function of the Euclidean distance between any arbitrary reference
point and its nth neighbor node when N nodes are uniformly and independently distributed (i.e. according to a uniform Binomial Point Process) inside a
regular -sided polygon. These distance distributions have many applications in wireless networks.