[vtkusers] Unit of vtkMassProperties::GetVolume()?

David Gobbi david.gobbi at gmail.com
Wed Jul 20 11:02:11 EDT 2011


VTK is unitless.  The units you get out are the units you put in.

If your input polydata has points defined in terms of millimetres, then
the volume will be in cubic millimetres.  If your data is measured in inches,
then the the volume will be cubic inches.

On Wed, Jul 20, 2011 at 8:55 AM, Jothy <jothybasu at gmail.com> wrote:
> Hi,
>
> I am trying to calculate the volume of a mesh using vtkMassProperties
> GetVolume() method. it give some number like 1.5e07. What is the unit
> of this volume, there is nothing mentioned in the docs about this.
>
> Thanks
>
> Jothy



More information about the vtkusers mailing list