On Sat, May 29, 2010 at 8:52 PM, Jacob van Etten <jacobvanet...@yahoo.com>wrote:

> Hi Barry,
>
> What do you mean with a broken OO model?
>
>
It's one of the red flags of Object-oriented programming. You shouldn't test
for the class of an object and then do something based on that - you should
write methods for those classes so the code gets executed magically by the
OO mechanism.

 So there should be a generic 'projection', and methods
projection.BasicRaster and projection.Spatial (in S3 terms).

Barry

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to