[vtkusers] negative volumes from vtkTetra.ComputeVolume

Dominik Szczerba dominik at itis.ethz.ch
Thu Feb 18 10:06:43 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This probably has to do with the tet orientation. To only compute the
volume is OK to take the absolute value. But you should at least check
if the volume is not -inf for example, which would indicate illegal element.

Murat Aydın wrote:
> 
> Hi,
>  
> We are estimating the volume of a solid which is constructed by
> delaunay3D filter. We used vtkmassproperties and vtkTetra.ComputeVolume.
> We saw that vtkTetra.ComputeVolume gives negative volumes for some
> tetrahedrons. Should we take absolute value of those volumes? Why
> vtkTetra.ComputeVolume gives negative volumes?
>  
> Kind Regards,
>  
> murat aydin  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkt9V3wACgkQ/EBMh9bUuzJ7HQCgtjkC59hJmkwkjlZpD9+wlIng
degAoIJtGSMvzQVxh4nwl/dU5hi4wWcM
=xmBc
-----END PGP SIGNATURE-----



More information about the vtkusers mailing list