Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Question on using polyhedron_cut_plane_3.h

Subject: CGAL users discussion list

List archive

[cgal-discuss] Question on using polyhedron_cut_plane_3.h


Chronological Thread 
  • From: Martin Baeker <>
  • To: CGAL Mailinglist <>
  • Subject: [cgal-discuss] Question on using polyhedron_cut_plane_3.h
  • Date: Wed, 10 Feb 2010 11:41:23 +0100 (CET)
  • Organization: Institut fuer Werkstoffe TU Braunschweig

Dear all,

I'm trying to develop an application where I have to cut a polyhedron
along a plane, shift one part of it in the plane and glue the two
together again.

I succeeded doing this for a simple cube using
polyhedron_cut_plane_3.h. However, after re-joining the two parts of
the polyhedron, each rectangular facet in the new polyhedron consists now
of two triangles.

Thus it is not possible to re-do the same thing with a different plane
because the algorithm in polyhedron_cut_plane_3.h seems to rely on the
facets being non-coplanar.

Is there any simple way of getting around this problem by, for example,

a) rejoining the triangles to rectangles on the polyhedron
or
b) re-writing the polyhedron_cut_plane_3-routine, so that it looks
directly at the edges instead of intersections of facets?

I'm grateful for any help,

Martin.


Priv.-Doz. Dr. Martin Bäker
Institut für Werkstoffe
Technische Universität Braunschweig
Langer Kamp 8
38106 Braunschweig
Germany
Tel.: 00-49-531-391-3073
Fax 00-49-531-391-3058
e-mail
<>

  • [cgal-discuss] Question on using polyhedron_cut_plane_3.h, Martin Baeker, 02/10/2010

Archive powered by MHonArc 2.6.16.

Top of Page