healpy/healpy — pull request #68 by PaulPrice (2012-12-05 20:35:40+00:00)
Title: Add function to generate pixel boundaries

I had a similar desire as #67, and so went ahead and implemented it.

Porting the `HealpixBase.boundaries` method required adding a few additional methods: `Healpix_Base::xyf2loc` to provide a translation from (x,y, face) to (z, phi); and `vec3::fromLoc` to translate (z,phi) to (x,y,z), which is what comes out of the new `Healpix_Base::boundary` method.

I hope that, even if the style or organisation is a little different than you might like (I tried to keep my additions consistent), this has saved you a bit of work.