[vtkusers] Re: Volume of a tetrahedron

Will Schroeder will.schroeder at kitware.com
Thu Jun 7 11:28:04 EDT 2001


I added vtkTetra::ComputeVolume method. Someone please double check it for me.
Will

At 01:59 PM 6/6/2001 -0400, anast.jm at pg.com wrote:

>The definition I have (CRC Standard Math Tables and Formulae) states volume of a
>tetrahedron
> with one vertex at the origin and the other vertices at        x1y1z1    x2y2z2
>x3y3z3
>
>        | x1 y1 z1 |
>v= 1/6  | x2 y2 z2 |
>        | x3 y3 z3 |
>
>so it seems to me the W matrix in Peter's simplified equation below should be
>
>W=[p2-p1, p3-p1, p4-p1] so as to translate all points relative to p1 as the
>origin.


William J. Schroeder, Ph.D.
Kitware, Inc.
469 Clifton Corporate Parkway
Clifton Park, NY 12065
will.schroeder at kitware.com
1-518-371-3971 x102 (phone)
1-518-371-3971 (fax)





More information about the vtkusers mailing list