Message-ID: <CANVKczOnoniLMqNy=hjpw-Uh_Evk0dBiQ3jMnv4gBO34NTdSxw@mail.gmail.com>
Date: 2013-11-08T14:32:00Z
From: Barry Rowlingson
Subject: how to derive true surface area from `computeContour3d' (misc3d package) -- follow up
In-Reply-To: <e2beb18b22534675afed3a8109d66e5d@EX-0-HT0.lancs.local>
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.
Barry