[vtkusers] Regarding volume calculation of two combined poly datasets

David Doria daviddoria at gmail.com
Mon Nov 21 09:31:16 EST 2011


n Mon, Nov 21, 2011 at 8:53 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hi All,
>
>
>
> I have two poly datasets and tried to combine them and calculate its volume.
> First, I applied vtkAppendPolyData to combine them. And then I used
> vtkMassProperties to calculate its volume. However, obviously, I got a wrong
> volume value. Does anybody know what mistake I made?
>
>
>
> Thanks,
>
> Xiaopeng

You could probably combine them using the "intersection" concept here:

http://www.midasjournal.org/browse/publication/797

David



More information about the vtkusers mailing list