Add and export View2D.calculateExtent
Merge pull request #700 from elemoine/calculate-extent

Add and export View2D.calculateExtent