Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Volume of alpha shape

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Volume of alpha shape


Chronological Thread 
  • From: Mariette Yvinec <>
  • To:
  • Subject: Re: [cgal-discuss] Volume of alpha shape
  • Date: Tue, 06 Feb 2007 16:15:03 +0100

Dmitry Kan wrote:


On 25/01/07, Andreas Fabri <> wrote:
wrote:
> Hello list!
>
> Is it possible to calculate the volume of a constructed 3D alpha shape?


If it is watertight sum up the volumes of the tetrahedra.
If it is not watertight there is no volume.

andreas
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss

I'm a newbie to the library and a got a bit messed.

I've found the following code in examples:

        typedef Alpha_shape_3::Cell_handle                    Cell_handle;
        std::list<Cell_handle> cells;
        as.get_alpha_shape_cells(back_inserter(cells), Alpha_shape_3::INTERIOR);
        cout << cells.size() << " interior tetrahedra" << std::endl;

Is it correct way to fetch tetrahedra? If yes, how can I get the volumes now?

--
best wishes,
Dmitry Kan
compute the volume of each tetrahedra in cells
and add them up



Archive powered by MHonArc 2.6.16.

Top of Page