Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful

Subject: CGAL users discussion list

List archive

[cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful


Chronological Thread 
  • From: "LoadCom" <>
  • To: "cgal-discuss" <>
  • Subject: [cgal-discuss][Nef_polyhedron] How to convert a Nef_polyhedron_3 into a Nef_polyhedron_2 if meaningful
  • Date: Mon, 7 Jan 2008 15:38:05 +0800
  • Disposition-notification-to: "LoadCom" <>
  • Organization: LoadCom

Hello,

Suppose I have a closed Nef_polyhedron_3 N, and I construct a plane with
Nef_polyhedron_3 in this manner

Nef_polyhedron_3 N; // closed

// now constructing a plane Nef
Plane_3 pl(1, 1, 1, 0);
Nef_polyhedron_3 N_plane(Nef_polyhedron_3(pl) * !Nef_polyhedron_3(pl,
Nef_polyhedron::EXCLUDED));

// Now I intersect these 2 Nef:

Nef_polyhedron_3 N_res = N * N_plane;

Now N_res is actually a Nef_polyhedron_2, but is there a way to convert it
into a Nef_polyhedron_2
and then explore it accordingly?

Thanks in advance.
Max




Archive powered by MHonArc 2.6.16.

Top of Page