Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Nef polyhedron: Volume to Polyhedron conversion

Subject: CGAL users discussion list

List archive

[cgal-discuss] Nef polyhedron: Volume to Polyhedron conversion


Chronological Thread 
  • From: Mihai Pomarlan <>
  • To: <>
  • Subject: [cgal-discuss] Nef polyhedron: Volume to Polyhedron conversion
  • Date: Thu, 7 Apr 2016 13:16:49 +0000 (UTC)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:CaEIcx/KmaZOTf9uRHKM819IXTAuvvDOBiVQ1KB92ugcTK2v8tzYMVDF4r011RmSDdWdt6kP1rGempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lSsiO1I/qjKibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0o8VPWKG/c6UjRqFDFxwnNXo07Yvlr0+QdwaX4mogVTAzkxpBAkD96xTzRJP4tGOus/J63SCAOcTwZaE9WTOlqaxsDgLr3nQpLTk8pUTWisVxxJpcpRu7oxV5i9rReIaQPeB6d6X1bNoaQm0HVcEXSi8XUdD0VJcGE+dUZbUQlIL6vVZb9RY=

Hello,

I was wondering if there is an already implemented way to convert from a
Nef_polyhedron::Volume object to a Polyhedron object (similar to
Nef_polyhedron::convert_to_Polyhedron). Alternatively, whether there is a way
to initialize a Nef_polyhedron B so that it contains only one of the volumes
from Nef_polyhedron A.

(where
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
)

What I actually need: from a mesh with several connected components, produce
several meshes each with one connected component, corresponding to some
connected component from the original mesh.

To explain the whole Nef/Polyhedron mix: I can rely on the meshes to all be
nice closed orientable manifolds, and because I need binary ops, I represent
the meshes as Nefs. I convert to Polyhedron because it's friendlier to access
elements such as vertices and faces, and therefore friendlier to I/O
extensions. I'd rather not add yet another representation (the Mesh type, and
the Mesh processing package) if I can avoid it.

Thank you!

Best regards,
Mihai Pomarlan


  • [cgal-discuss] Nef polyhedron: Volume to Polyhedron conversion, Mihai Pomarlan, 04/07/2016

Archive powered by MHonArc 2.6.18.

Top of Page