Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How to get the intersected lines?
- Date: Wed, 11 Sep 2013 18:02:26 +0200
- Organization: GeometryFactory
Le mardi 10 septembre 2013 21:26:01 ChaoM a écrit :
> Hello all:
> I use the Nef to do the 3d boolean operation susscefully, now when i
> take a plane to intersect the nef polyhedron, i want to get the intersected
> plane , and draw it out.
> Since i look the polyhedron convert to Nef polyhedron. there is one
> precondition: nef is simple () or polyhedron is closed.
> And my problem is if i get the intersected plane (just a plane
> ,surely not closed ), how can i realize it with Nef or other way ?
There is such a functionality in the Polyhedron demo, in
CGAL/demo/Polyhedron/Polyhedron_demo_cut_plugin.cpp, where the AABB Tree
module of CGAL is used.
The code might be complicated, because of the framework of the demo, but the
use of AABB_tree in itself is not. Let us know if you manage to dig into that
code, or if you need more hints.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] How to get the intersected lines?, ChaoM, 09/11/2013
- Re: [cgal-discuss] How to get the intersected lines?, Laurent Rineau (CGAL/GeometryFactory), 09/11/2013
- Re: [cgal-discuss] How to get the intersected lines?, ChaoM, 09/16/2013
- Re: [cgal-discuss] How to get the intersected lines?, Laurent Rineau (CGAL/GeometryFactory), 09/11/2013
Archive powered by MHonArc 2.6.18.