Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] mesh division

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] mesh division


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] mesh division
  • Date: Mon, 06 Feb 2012 16:43:28 +0100

Can't you cut by planes and then discard parts you are not interested in (for example discard those that are not in contact with both planes)?

You can use the AABB tree for doing the intersection with a plane.

see:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/AABB_tree/Chapter_main.html

You can also have a look at the AABB_tree demo where the intersection
polyline of a mesh with a plane can be computed
(Algorithms -> Cut plane -> Intersection; keep 'Ctrl' while manipulating
the arcball to move the cut plane).
.

Sebastien.




On 02/02/2012 07:51 PM, gregthom992 wrote:
HEllo experts

my task at hand is to subdivide a cylindrical object into shorter segments.
My cylindrical object is a mesh oriented along the z-axis with triangles and
edges but it sort of bends like an N at a certain points. Now I want to
obtain a section of the bended cylinder. I could simply clip with a plane at
a certain z distance along the length but my trouble is clipping this way
will yield a funny section if I clip it a the level of the "N" bend. Does
anyone how some ideas how to go about obtaining a single continuous section
of such a shape using CGAL ?

In the image the black lines are clip planes
In the attached image the shape is what I want to extract various sections
of but because the shape bends on itself I get two pieces, however I wanted
just one continuous section from the start through the end to the second
intersection with the clip plane B.

http://cgal-discuss.949826.n4.nabble.com/file/n4352427/test.jpg ?

Thank

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/mesh-division-tp4352427p4352427.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page