Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nef_polyhedron : intersection and volume

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nef_polyhedron : intersection and volume


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Nef_polyhedron : intersection and volume
  • Date: Tue, 19 Jun 2012 19:46:53 +0200

An easy solution is to convert each Polyhedron_3 to a Nef_polyhedron
and then subtract it from your polyhedron.

Sebastien.

On 06/19/2012 05:55 PM, Tomislav Maric wrote:
Hi everyone,

can I intersect a Nef_polyhedron with a set of Polyhedron_3 facets, and
compute
the resulting volume? Will this work regardless of the composition of
faces?

I have attached a picture: the Polyhedron_3 is used as a surface mesh,
the bounding
box heuristic intersection test would be used to find the face sets that
intersect each
Nef_polyhedron, after which I would execute the intersection. Is this
the way to
calculate the blue shaded volume on the attached picture?

Thanks,
Tomislav





Archive powered by MHonArc 2.6.18.

Top of Page