[R] how to derive true surface area from `computeContour3d' (misc3d package) -- follow up

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Fri Nov 8 15:32:00 CET 2013

On Fri, Nov 8, 2013 at 1:01 PM, j. van den hoff
<veedeehjay at googlemail.com> wrote:

> ps: it of course would still be nice, if the surface area (or a vector
> containing the individual triangle areas)
> were returned to the caller as well ...

 Does the 'surfaceArea' function in the sp package do what you want?
It's Edzer's integration of an R function that I wrote that calls some
C code that someone else wrote that implements an algorithm from 2004.

 You just need to coerce your grid data into the right form.


More information about the R-help mailing list