azavea/geotrellis — pull request #261 by lossyrob (2012-12-07 02:12:47+00:00)
Title: Focal Operations optimization & API refactor

- Improved the FocalOp API.
- Allow for calling Cellwise or Cursor strategies based on neighborhood type.
- Allow for the indirection calculation of Hillshade through Aspect and Slope operations.
- Created a SurfacePointCalculation that allows better sharing of code between slope,aspect, and hillshade calculations.
- Use trigonometric identities to avoid calling out to any trig functions in Hillshade calculation (much faster).
- Moved Aspect and Slope into their own files.

Fixes #257